PageSourceSearch

https://www.creatorcrack.com/_next/static/chunks/2667-59b96b4010058b62.js?dpl=dpl_3WUDChJetWMcJwJPXcMSSPuRAYCB

js creatorcrack.com collected 2026-09-24 14:41:20 UTC 9,523 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2667],{92790:function(e,t,n){n.d(t,{l:function(){return s}});var r=n(57437),l=n(62837),a=n(77522);function s(e){var t,n,s;let{channel:u,size:i="md"}=e,{privat:c}=(0,l.A)(),o="sm"===i?"w-8 h-8 text-sm":"w-10 h-10 text-lg";return c?(0,r.jsx)("div",{className:"".concat(o," rounded-md flex items-center justify-center font-heading font-bold text-white"),style:{backgroundColor:null!==(t=u.color)&&void 0!==t?t:"#3f3f46"},title:"Verborgen",children:(0,r.jsx)("span",{className:"sm"===i?"text-[10px]":"text-xs",children:(0,a.js)(u.id)})}):u.avatar_url?(0,r.jsx)("img",{src:u.avatar_url,alt:u.name,className:"".concat(o," rounded-md object-cover"),style:{outline:"2px solid ".concat(null!==(n=u.color)&&void 0!==n?n:"#3f3f46")}}):(0,r.jsx)("div",{className:"".concat(o," rounded-md flex items-center justify-center font-heading font-bold text-white"),style:{backgroundColor:null!==(s=u.color)&&void 0!==s?s:"#3f3f46"},children:u.name.slice(0,1).toUpperCase()})}},87615:function(e,t,n){n.d(t,{j:function(){return c}});var r=n(57437),l=n(16463),a=n(33907),s=n(90837),u=n(50495);let i=["Deine 3 besten Videos als Referenz w\xe4hlen","Eigene Skripte ablegen","Ton-Profil pr\xfcfen und anpassen","Der st\xe4rkste Hebel: ein Vorher/Nachher-Paar (KI-Entwurf + deine Fassung) im Voice-Training"];function c(e){let{channel:t,onClose:n}=e,c=(0,l.useRouter)();return t?(0,r.jsx)(s.Vq,{open:!0,onOpenChange:e=>!e&&n(),children:(0,r.jsxs)(s.cZ,{children:[(0,r.jsx)(s.fK,{children:(0,r.jsx)(s.$N,{children:(0,r.jsxs)("span",{className:"inline-flex items-center gap-2",children:["Kanal angelegt ",(0,r.jsx)("span",{"aria-hidden":!0,children:"\uD83C\uDF89"})]})})}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:[(0,r.jsxs)("strong",{className:"text-foreground",children:["„",t.name,'"']})," steht. Jetzt bring dem Tool deinen Stil bei, dann schreibt es jedes Skript wie du:"]}),(0,r.jsx)("ol",{className:"space-y-2",children:i.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-start gap-2.5 text-sm",children:[(0,r.jsx)("span",{className:"w-5 h-5 rounded-full flex items-center justify-center text-[11px] font-heading font-black shrink-0 mt-px",style:{background:"rgba(255,31,110,0.15)",color:"#ff1f6e"},children:t+1}),(0,r.jsx)("span",{className:3===t?"text-foreground":"text-muted-foreground",children:e})]},t))}),(0,r.jsxs)("div",{className:"flex items-center justify-end gap-3 pt-2",children:[(0,r.jsx)("button",{type:"button",onClick:n,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"Sp\xe4ter"}),(0,r.jsxs)(u.z,{onClick:function(){n(),c.push("/studio/channel/".concat(t.id,"/infos"))},children:[(0,r.jsx)(a.Z,{className:"w-4 h-4 mr-1.5"}),"Stil einrichten (2 Minuten)"]})]})]})]})}):null}},12460:function(e,t,n){n.d(t,{d:function(){return o}});var r=n(57437),l=n(2265),a=n(90837),s=n(50495),u=n(83102),i=n(25271);let c=["#DC2626","#F59E0B","#2563EB","#16A34A","#9333EA","#FF1F6E","#71717A"];function o(e){let{open:t,onClose:n,onSubmit:o}=e,[d,f]=(0,l.useState)(""),[h,m]=(0,l.useState)("#71717A"),[x,g]=(0,l.useState)(""),[p,v]=(0,l.useState)(""),[j,b]=(0,l.useState)(!1),[y,C]=(0,l.useState)(null);async function N(){let e=d.trim(),t=p.trim();if(!t&&(0,i.y)(e)&&(t=e,e=""),e||t){if(t&&!(0,i.y)(t)){C("Das ist kein YouTube-Link. Erwartet: youtube.com/@handle oder youtube.com/channel/UCxxx");return}b(!0),C(null);try{await o({name:e||void 0,color:h,niche:x.trim()||null,youtube_url:t||null}),f(""),g(""),v(""),n()}catch(e){C(e instanceof Error?e.message:"Anlegen fehlgeschlagen")}finally{b(!1)}}}return(0,r.jsx)(a.Vq,{open:t,onOpenChange:e=>!e&&n(),children:(0,r.jsxs)(a.cZ,{children:[(0,r.jsx)(a.fK,{children:(0,r.jsx)(a.$N,{children:"Neuer Kanal"})}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-sm text-muted-foreground",children:"YouTube-Kanal-Link"}),(0,r.jsx)(u.I,{value:p,onChange:e=>{v(e.target.value),C(null)},placeholder:"https://youtube.com/@deinkanal"}
1),(0,r.jsx)("p",{className:"text-xs text-muted-foreground/60 mt-1",children:"Name, Avatar und Stats kommen damit automatisch von YouTube - sp\xe4ter in den Einstellungen \xe4nderbar."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-sm text-muted-foreground",children:"Kein Link? Nur ein Name (optional)"}),(0,r.jsx)(u.I,{value:d,onChange:e=>f(e.target.value),placeholder:"z.B. Mein True-Crime-Kanal"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-sm text-muted-foreground",children:"Nische (optional)"}),(0,r.jsx)(u.I,{value:x,onChange:e=>g(e.target.value),placeholder:"z.B. True Crime"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-sm text-muted-foreground",children:"Farbe"}),(0,r.jsx)("div",{className:"flex items-center gap-2 mt-1",children:c.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>m(e),className:"w-7 h-7 rounded-md transition-transform hover:scale-110",style:{backgroundColor:e,outline:h===e?"2px solid white":"none",outlineOffset:2},title:e},e))})]}),y&&(0,r.jsx)("p",{className:"text-sm text-rose-500",children:y}),(0,r.jsxs)("div",{className:"flex justify-end gap-2 pt-2",children:[(0,r.jsx)(s.z,{variant:"outline",onClick:n,children:"Abbrechen"}),(0,r.jsx)(s.z,{onClick:N,disabled:j||!d.trim()&&!p.trim(),children:j?"Speichern...":"Anlegen"})]})]})]})})}},60645:function(e,t,n){n.d(t,{D:function(){return f},My:function(){return o},dS:function(){return d}});var r=n(57437),l=n(2265),a=n(16463),s=n(71135),u=n(475);let i="studio:lastChannel",c=(0,l.createContext)(null);function o(e){let{children:t}=e,n=(0,a.usePathname)(),{channels:o,loading:d,create:f}=(0,s.l)(),[h,m]=(0,l.useState)(null),[x,g]=(0,l.useState)(null);(0,l.useEffect)(()=>{try{g(localStorage.getItem(i))}catch(e){}},[]);let p=(0,l.useMemo)(()=>(0,u.D3)({pathname:n,channels:o,lastUsedId:x,routeChannelId:h}),[n,o,x,h]);(0,l.useEffect)(()=>{if(p){try{localStorage.setItem(i,p)}catch(e){}g(p)}},[p]),(0,l.useEffect)(()=>{let e=null!=n?n:"";((0,u.Cf)(e)||!e.startsWith("/studio/video/"))&&m(null)},[n]);let v=(0,l.useCallback)(e=>m(e),[]),j=(0,l.useMemo)(()=>({activeChannelId:p,channels:o,loading:d,setRouteChannel:v,createChannel:f}),[p,o,d,v,f]);return(0,r.jsx)(c.Provider,{value:j,children:t})}function d(){let e=(0,l.useContext)(c);if(!e)throw Error("useActiveChannel ausserhalb des ActiveChannelProvider");let{activeChannelId:t,channels:n,loading:r,createChannel:a}=e;return{activeChannelId:t,channels:n,loading:r,createChannel:a}}function f(){var e;let t=(0,l.useContext)(c);return null!==(e=null==t?void 0:t.setRouteChannel)&&void 0!==e?e:()=>{}}},77522:function(e,t,n){n.d(t,{Bv:function(){return u},Zm:function(){return r},js:function(){return l},nL:function(){return s},u3:function(){return a}});let r="•••";function l(e){let t=0;for(let n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)>>>0;return t.toString(36).toUpperCase().slice(-2).padStart(2,"0")}function a(e){return e?"Kanal ".concat(l(e)):"Kanal"}function s(e,t){return e?r:t}function u(e,t){return t?e?"verborgen":t:null!=t?t:null}},62837:function(e,t,n){n.d(t,{A:function(){return i},C:function(){return u}});var r=n(57437),l=n(2265);let a="studio:privacy",s=(0,l.createContext)({privat:!1,toggle:()=>{}});function u(e){let{children:t}=e,[n,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{try{u("1"===localStorage.getItem(a))}catch(e){}},[]);let i=(0,l.useCallback)(()=>{u(e=>{let t=!e;try{localStorage.setItem(a,t?"1":"0")}catch(e){}return t})},[]),c=(0,l.useMemo)(()=>({privat:n,toggle:i}),[n,i]);return(0,r.jsx)(s.Provider,{value:c,children:t})}function i(){return(0,l.useContext)(s)}},475:function(e,t,n){function r(e){return(null!=e?e:"").startsWith("/studio/assistant")?"chat":"nav"}n.d(t,{Cf:function(){return a},D3:function(){return s},DP:function(){return u},r2:function(){return r}});let l=/^\/studio\/channel\/([^/]+)/;function a(e){let t=l.exec(null!=e?e:"");return t?t[1]:null}function s(e){var t,n;let{pathname:r,channels:l,lastUsedId:s,routeChannelId:u}=e;return a(r)||u||(s&&l.some(e=>e.id===s)?s:null!==(n=null===(t=l[0])||void 0===t?void 0:t.id)&&void 0!==n?n:null)}function u(e){let t=null!=e?e:"";return t.startsWith("/studio")&&!t.startsWith("/studio/assistant")?t:"/studio"}},71135:function(e,t,n){n.d(t,{l:function(){return a}});var r=n(2265),l=n(47134);function a(){let[e,t]=(0,r.useState)([]),[n,a]=(0,r.useState)(!0),[s,u]=(0,r.useState)(null),i=(0,r.useCallback)(async()=>{a(!0);try{let e=await l.l.get("/channels");t(e.channels),u(null)}catch(e){u(e instanceof Error?e.message:"unknown")}finally{a(!1)}},[]);(0,r.useEffect)(()=>{function e(){i()}return i(),window.addEventListener("channels-refresh",e),()=>window.removeEventListener("channels-refresh",e)},[i]);let c=(0,r.useCallback)(async e=>{let t=await l.l.post("/channels",e);return await i(),t.channel},[i]),o=(0,r.useCallback)(async(e,t)=>{await l.l.patch("/channels/".concat(e),t),await i()},[i]),d=(0,r.useCallback)(async e=>{await l.l.del("/channels/".concat(e)),await i()},[i]);return{channels:e,loading:n,error:s,reload:i,create:c,update:o,remove:d}}},25271:function(e,t,n){n.d(t,{y:function(){return l}});let r=new Set(["youtube.com","m.youtube.com","music.youtube.com","youtube-nocookie.com","youtu.be"]);function l(e){let t=(null!=e?e:"").trim();if(!t)return!1;try{let e=new URL(t.startsWith("http")?t:"https://".concat(t)).hostname.toLowerCase().replace(/^www\./,"");return r.has(e)}catch(e){return!1}}}}]);

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.