PageSourceSearch

https://app.ausha.co/assets/route-DJ3LlR4o.js

js ausha.co collected 2026-09-24 08:25:07 UTC 3,681 bytes, 60 lines download raw bytes

1import{cN as S,cG as v,u as A,gx as T,gy as z,gO as O,j as e,aI as R,a8 as _,ac as N,aJ as l,aK as h,gP as E,c_ as p,aa as L,gQ as C,p as M,g as t,F as x,R as $,O as k}from"./index-DUWMLp_A.js";import{a as m}from"./index-D1ml6xH8.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"03512784fd78c0db53b8a0e370b452e2333ce80d"};var i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="a4536fa0-21ee-42ed-b2f2-749185204e45",n._sentryDebugIdIdentifier="sentry-dbid-a4536fa0-21ee-42ed-b2f2-749185204e45")}catch{}})();const D=M("/_authenticated/app/channel/$channelId/show/$showId/monetization"),H=({children:n})=>{const{showId:i,channelId:o}=D.useParams(),{data:c}=S(Number(i)),w=c?.languageId===47,{data:s}=v(Number(o)),{t:a}=A(),I=T(s),y=s?.isOwnerHostingFreemium,b=s?.isHostingPro||z({pricing:I?.level,allowedPricings:["boost","supersonic"]}),{hasAccess:j,reason:d}=O({show:c,channel:s});return e.jsxs(P,{children:[e.jsxs(B,{children:[e.jsx(W,{children:a("Q9vMNy",{description:"Monetization",default:"Monétisation"})}),e.jsxs(R,{children:[e.jsxs(_,{isDisabled:d!==p.ROLE_NOT_ALLOWED,children:[e.jsx(N,{children:e.jsx(l,{to:"/app/channel/$channelId/show/$showId/monetization/auto",params:{channelId:o,showId:i},fuzzy:!0,children:r=>e.jsxs(h,{isActive:!!r,isDisabled:!j&&d!==p.MISSING_HOSTING_SUBSCRIPTION,children:[e.jsx(u,{icon:E}),e.jsx(f,{to:"/app/channel/$channelId/show/$showId/monetization/auto",params:{channelId:o,showId:i},children:w?a("dLfvce",{description:"Automatic",default:"Automatique"}):a("5rYcdu",{description:"Sponsorship",default:"Partenariat"})}),y&&e.jsx(g,{icon:m})]})})}),e.jsx(L,{placement:"top",children:a("Sof8v5",{description:"Only the owner of the show can access to automatic monetization",default:"Seul le propriétaire de l'émission peut accéder à la monétisation automatique."})})]}),e.jsx(l,{to:"/app/channel/$channelId/show/$showId/monetization/manual",params:{channelId:o,showId:i},fuzzy:!0,children:r=>e.jsxs(h,{isActive:!!r,children:[e.jsx(u,{icon:C}),e.jsx(f,{to:"/app/channel/$channelId/show/$showId/monetization/manual",params:{channelId:o,showId:i},children:a("hwx9qB",{description:"Manual",default:"Manuelle"})}),!b&&e.jsx(g,{icon:m})]})})]})]}),e.jsx(F,{children:e.jsx(G,{children:n})})]})},P=t.div`
2    display: block;
3    padding-inline: 1rem;
4    padding-block: 1rem;
5    display: flex;
6    flex-direction: column;
7    gap: 2rem;
8    width: 100%;
9
10    @media screen and (min-width: 1200px) {
11        flex-direction: row;
12        gap: 1rem;
13    }
14`,F=t.div`
15    display: flex;
16    justify-content: center;
17    flex-grow: 1;
18    min-width: 0;
19`,G=t.div`
20    display: flex;
21    height: max-content;
22    flex-direction: column;
23    gap: 1rem;
24    min-width: 0;
25    flex-grow: 1;
26
27    @media screen and (min-width: 1200px) {
28        max-width: var(--container-width);
29    }
30`,B=t.aside`
31    display: flex;
32    flex-direction: column;
33    height: fit-content;
34    gap: 1rem;
35
36    @media screen and (min-width: 1200px) {
37        position: sticky;
38        top: 1rem;
39        left: 0;
40        flex-shrink: 0;
41        gap: 1.5rem;
42        padding: 0.5rem;
43        width: 12.5rem;
44    }
45`,W=t.h2`
46    font-weight: var(--fw-bold);
47    font-size: var(--fs-heading-m);
48    line-height: var(--lh-heading-m);
49`,u=t(x)`
50    width: 1rem;
51    height: 1rem;
52`,g=t(x)`
53    color: var(--primary);
54    width: 0.75rem;
55    height: 0.75rem;
56`,f=t($)`
57    transition: color 0.2s;
58    color: inherit;
59`,U=function(){return e.jsx(H,{children:e.jsx(k,{})})};export{U as component};
60//# sourceMappingURL=route-DJ3LlR4o.js.map

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.