PageSourceSearch

https://videotranscriber.pro/_next/static/chunks/app/%5Blocale%5D/(default)/dashboard/page-db3e6c1041868a26.js

js videotranscriber.pro collected 2026-10-08 08:24:10 UTC 29,299 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3369],{12201:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("AudioLines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]])},16651:(e,t,l)=>{Promise.resolve().then(l.bind(l,72879))},17394:(e,t,l)=>{"use strict";l.d(t,{FD:()=>y,MY:()=>a,PJ:()=>n,Wl:()=>o,XP:()=>x,_x:()=>s,bL:()=>u,po:()=>c,ql:()=>d,wO:()=>i,yL:()=>b});var r=l(55036);function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function a(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function n(e,t){let l=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),l+=t}function i(e,t){return t===e||t.startsWith(`${e}/`)}function o(e,t,l){return"string"==typeof e?e:e[t]||l}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}();if("/"!==e){let l=e.endsWith("/");t&&!l?e+="/":!t&&l&&(e=e.slice(0,-1))}return e}function d(e,t){let l=c(e),r=c(t);return(function(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(l).test(r)}function x(e,t){return"never"!==t.mode&&t.prefixes?.[e]||u(e)}function u(e){return"/"+e}function m(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function h(e){return e.includes("[")}function f(e,t){let l=e.split("/"),r=t.split("/"),s=Math.max(l.length,r.length);for(let e=0;e<s;e++){let t=l[e],s=r[e];if(!t&&s)return -1;if(t&&!s)return 1;if(t||s){if(!h(t)&&h(s))return -1;if(h(t)&&!h(s))return 1;if(!p(t)&&p(s))return -1;if(p(t)&&!p(s))return 1;if(!m(t)&&m(s))return -1;if(m(t)&&!m(s))return 1}}return 0}function y(e){return e.sort(f)}function b(e){return"function"==typeof e.then}},17512:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},23381:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var r=l(37712),s=l(90751),a=l.t(s,2),n=l(59094),i=a["use".trim()],o=l(17394),c=l(66347),d=l(78295),x=l(49687),u=l(98445);function m(e){let{Link:t,config:l,getPathname:a,...m}=function(e,t){var l,a,n;let u={...l=t||{},localePrefix:"object"==typeof(n=l.localePrefix)?n:{mode:n||"always"},localeCookie:!!((a=l.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof a&&a},localeDetection:l.localeDetection??!0,alternateLinks:l.alternateLinks??!0},m=u.pathnames,p=(0,s.forwardRef)(function({href:t,locale:l,...r},s){let a,n;"object"==typeof t?(a=t.pathname,n=t.params):a=t;let d=(0,o._x)(t),p=e(),f=(0,o.yL)(p)?i(p):p,y=d?h({locale:l||f,href:null==m?a:{pathname:a,params:n},forcePrefix:null!=l||void 0}):a;return(0,x.jsx)(c.default,{ref:s,href:"object"==typeof t?{...t,pathname:y}:y,locale:l,localeCookie:u.localeCookie,...r})});function h(e){let t,{forcePrefix:l,href:r,locale:s}=e;return null==m?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,d.Zn)(r.query))):t=r:t=(0,d.FP)({locale:s,...(0,d.TK)(r),pathnames:u.pathnames}),(0,d.x3)(t,s,u,l)}function f(e){return function(t,...l){return e(h(t),...l)}}return{config:u,Link:p,redirect:f(r.redirect),permanentRedirect:f(r.permanentRedirect),getPathname:h}}(n.Ym,e);return{...m,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),l=(0,n.Ym)();return(0,s.useMemo)(()=>{if(!t)return t;let r=t,s=(0,o.XP)(l,e.localePrefix);if((0,o.wO)(s,t))r=(0,o.MY)(t,s);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,o.bL)(l);(0,o.wO)(e,t)&&(r=(0,o.MY)(t,e))}return r},[e.localePrefix,l,t])}(l),t=(0,n.Ym)();return(0,s.useMemo)(()=>e&&l.pathnames?(0,d.aM)(t,e,l.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,n.Ym)(),i=(0,r.usePathname)();return(0,s.useMemo)(()=>{function r(e){return function(r,s){let{locale:n,...o}=s||{},c=[a({href:r,locale:n||t})];Object.keys(o).length>0&&c.push(o),e(...c),(0,u.A)(l.localeCookie,i,t,n)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,i,e])},getPathname:a}}},28761:(e,t,l)=>{"use strict";function r(e){return e}l.d(t,{A:()=>r})},36169:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},45295:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},61360:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},63383:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]])},66347:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var r=l(65231),s=l(37712),a=l(90751),n=l(59094),i=l(98445),o=l(49687),c=(0,a.forwardRef)(function(e,t){let{href:l,locale:a,localeCookie:c,onClick:d,prefetch:x,...u}=e,m=(0,n.Ym)(),p=null!=a&&a!==m,h=(0,s.usePathname)();return p&&(x=!1),(0,o.jsx)(r,{ref:t,href:l,hrefLang:p?a:void 0,onClick:function(e){(0,i.A)(c,h,m,a),d&&d(e)},prefetch:x,...u})})},72879:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var r=l(49687),s=l(90751),a=l(90449),n=l(61436),i=l(99446),o=l(30034),c=l(17527),d=l(68519);function x(e){if(!e)return"";
1try{return new Date(e).toLocaleString(void 0,{dateStyle:"medium",timeStyle:"short"})}catch(t){return e}}function u(e){var t,l;let{paid:x=!1,initialTab:u="orders"}=e,{data:m,status:p}=(0,a.wV)(),f=(null==m||null==(t=m.user)?void 0:t.email)||(null==m||null==(l=m.user)?void 0:l.email)||null,y=function(e){var t,l;let r=null==e?void 0:e.user;return(null==r||null==(t=r.nickname)?void 0:t.trim())||(null==r||null==(l=r.name)?void 0:l.trim())||null}(m),[j,g]=(0,s.useState)(u),[N,v]=(0,s.useState)(x),[k,w]=(0,s.useState)(!0),[C,V]=(0,s.useState)(null),[F,A]=(0,s.useState)([]),[S,P]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if("loading"===p)return;if("authenticated"!==p||!f)return void w(!1);let e=!1;return(async()=>{w(!0);try{let a=await fetch("/api/get-user-credits",{method:"POST",cache:"no-store"}),n=await a.json().catch(()=>({}));if(!e&&a.ok&&(null==n?void 0:n.code)===0){var t,l,r,s;V(null!=(s=null==n||null==(t=n.data)?void 0:t.left_credits)?s:0),A((null==n||null==(l=n.data)?void 0:l.lots)||[]),P(!!(null==n||null==(r=n.data)?void 0:r.is_recharged))}}catch(e){}finally{e||w(!1)}})(),()=>{e=!0}},[p,f]);let _="authenticated"===p&&!!f;return(0,r.jsxs)("div",{className:"flex min-h-screen font-sans antialiased",style:{backgroundColor:d.V.bg,color:d.V.ink},"data-theme":"light",children:[(0,r.jsx)(o.default,{}),(0,r.jsxs)("div",{className:"flex min-h-screen min-w-0 flex-1 flex-col",children:[(0,r.jsx)(n.default,{hideBrandOnDesktop:!0}),(0,r.jsxs)("section",{className:"px-5 pb-14 pt-12 text-center sm:px-8 sm:pb-16 sm:pt-14",style:{backgroundColor:d.V.accent},children:[(0,r.jsx)("h1",{className:"font-black tracking-tight text-white",style:{fontSize:"clamp(1.75rem, 4vw, 2.5rem)",letterSpacing:"-0.03em"},children:"My Dashboard"}),_?(0,r.jsxs)("p",{className:"mt-3 text-[14px] text-white/70",children:[y?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-white/90",children:y}),(0,r.jsx)("span",{className:"mx-2 text-white/35",children:"|"})]}):null,f]}):(0,r.jsx)("p",{className:"mt-3 text-[14px] text-white/70",children:"Sign in to see your orders and credits."})]}),(0,r.jsx)("div",{className:"relative z-10 -mt-5 flex justify-center px-5",children:(0,r.jsx)("div",{className:"inline-flex rounded-full p-1",style:{backgroundColor:"#F4F4F5",boxShadow:"0 8px 24px rgba(0,0,0,0.08)"},role:"tablist","aria-label":"Dashboard sections",children:[["orders","My Orders"],["credits","Credits & Plan"]].map(e=>{let[t,l]=e;return(0,r.jsx)("button",{type:"button",role:"tab","aria-selected":j===t,onClick:()=>g(t),className:"rounded-full px-3 py-2 text-[12px] font-semibold transition-colors sm:px-5 sm:text-[14px] ".concat(j===t?"bg-white text-[#0a0a0a] shadow-sm":"text-[#71717A] hover:text-[#3F3F46]"),children:l},t)})})}),(0,r.jsxs)("main",{className:"mx-auto w-full max-w-[1152px] flex-1 px-5 pb-16 pt-10 sm:px-8",children:[N?(0,r.jsx)("div",{className:"mb-8 rounded-[16px] border px-5 py-4 text-center",style:{borderColor:"rgba(159,18,57,0.2)",backgroundColor:"#FFF1F2"},children:(0,r.jsx)("p",{className:"text-[15px] font-semibold",style:{color:d.V.accent},children:"Payment successful. Your credits are ready."})}):null,"loading"===p||k?(0,r.jsx)("p",{className:"text-center text-sm text-[#737373]",children:"Loading your dashboard…"}):_?"orders"===j?(0,r.jsx)(h,{}):(0,r.jsx)(b,{credits:C,lots:F,isRecharged:S}
1):(0,r.jsxs)("div",{className:"rounded-2xl border border-[#e5e5e5] bg-[#fafafa] px-6 py-10 text-center",children:[(0,r.jsx)("p",{className:"text-sm text-[#525252]",children:"Sign in to see orders and credits."}),(0,r.jsx)(c.N_,{href:"/auth/signin?callbackUrl=/dashboard",className:"mt-5 inline-flex h-10 items-center rounded-full bg-[#9F1239] px-5 text-sm font-bold text-white",children:"Log in"})]})]}),(0,r.jsx)(i.A,{})]})]})}function m(e){let{page:t,pageCount:l,onPageChange:s,label:a}=e;return l<=1?null:(0,r.jsxs)("nav",{className:"mt-8 flex items-center justify-center gap-1.5","aria-label":a,children:[(0,r.jsx)("button",{type:"button",disabled:t<=1,onClick:()=>s(t-1),className:"rounded-full px-3 py-1.5 text-[13px] font-medium text-[#525252] disabled:opacity-40",children:"Previous"}),Array.from({length:l},(e,t)=>t+1).map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>s(e),"aria-current":e===t?"page":void 0,className:"min-w-8 rounded-full px-2.5 py-1.5 text-[13px] font-semibold ".concat(e===t?"bg-[#9F1239] text-white":"text-[#525252] hover:bg-[#F5F5F4]"),children:e},e)),(0,r.jsx)("button",{type:"button",disabled:t>=l,onClick:()=>s(t+1),className:"rounded-full px-3 py-1.5 text-[13px] font-medium text-[#525252] disabled:opacity-40",children:"Next"})]})}function p(e){return"Monthly"===e?{bg:"#FFF1F2",color:d.V.accent}:"Yearly"===e?{bg:"#F5F5F4",color:d.V.ink}:{bg:"#F4F4F5",color:"#525252"}}
1function h(){let[e,t]=(0,s.useState)("orders"),[l,a]=(0,s.useState)(1),[n,i]=(0,s.useState)(1),[o,x]=(0,s.useState)([]),[u,p]=(0,s.useState)(0),[h,b]=(0,s.useState)(!1),[j,g]=(0,s.useState)(null),[N,v]=(0,s.useState)(!0),[k,w]=(0,s.useState)([]),[C,V]=(0,s.useState)(0),[F,A]=(0,s.useState)(null),[S,P]=(0,s.useState)(!1),[_,M]=(0,s.useState)(!1);async function L(){M(!0);try{var e;let t=await fetch("/api/create-portal-session",{method:"POST",headers:{"Content-Type":"application/json"}}),l=await t.json();if(0===l.code&&(null==(e=l.data)?void 0:e.url)){window.location.href=l.data.url;return}window.alert(l.message||"Could not open billing portal")}catch(e){window.alert("Could not open billing portal")}finally{M(!1)}}(0,s.useEffect)(()=>{let e=!1;return(async()=>{v(!0);try{let a=await fetch("/api/orders?page=".concat(l,"&limit=").concat(10),{cache:"no-store"}),n=await a.json().catch(()=>({}));if(e)return;if(a.ok&&0===n.code){var t,r,s;x((null==(t=n.data)?void 0:t.items)||[]),p(Number(null==(r=n.data)?void 0:r.total)||0),b(!!(null==(s=n.data)?void 0:s.hasSubscription)),g(null)}else g(n.message||"Failed to load orders")}catch(t){e||g("Failed to load orders")}finally{e||v(!1)}})(),()=>{e=!0}},[l]),(0,s.useEffect)(()=>{if("credits"!==e)return;let t=!1;return(async()=>{P(!0);try{let r=await fetch("/api/credits/records?page=".concat(n,"&limit=").concat(10),{cache:"no-store"}),s=await r.json().catch(()=>({}));if(t)return;if(r.ok&&0===s.code){var e,l;w((null==(e=s.data)?void 0:e.items)||[]),V(Number(null==(l=s.data)?void 0:l.total)||0),A(null)}else A(s.message||"Failed to load credit records")}catch(e){t||A("Failed to load credit records")}finally{t||P(!1)}})(),()=>{t=!0}},[e,n]);let E=Math.max(1,Math.ceil(u/10)),O=Math.max(1,Math.ceil(C/10));return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-5 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)("div",{className:"inline-flex rounded-full p-0.5",style:{backgroundColor:d.V.surfaceAlt},role:"tablist","aria-label":"Orders or credit records",children:[["orders","Orders"],["credits","Credits record"]].map(l=>{let[s,a]=l;return(0,r.jsx)("button",{type:"button",role:"tab","aria-selected":e===s,onClick:()=>t(s),className:"rounded-full px-3 py-1.5 text-[12px] font-semibold sm:text-[13px] ".concat(e===s?"bg-white text-[#0a0a0a] shadow-sm":"text-[#71717A] hover:text-[#3F3F46]"),children:a},s)})}),h?(0,r.jsx)("button",{type:"button",disabled:_,onClick:()=>void L(),className:"inline-flex h-10 items-center justify-center rounded-full px-4 text-[13px] font-semibold text-white disabled:opacity-60",style:{backgroundColor:d.V.accent},children:_?"Opening…":"Manage subscription"}):null]}),"credits"===e?S&&0===k.length?(0,r.jsx)("p",{className:"text-center text-sm text-[#737373]",children:"Loading credit records…"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{records:k,error:F}),(0,r.jsx)(m,{page:n,pageCount:O,onPageChange:i,label:"Credit record pages"})]}):N&&0===o.length&&!j?(0,r.jsx)("p",{className:"text-center text-sm text-[#737373]",children:"Loading orders…"}):j?(0,r.jsx)("p",{className:"text-sm font-medium text-red-600",children:j}):0===o.length?(0,r.jsxs)("div",{className:"rounded-2xl border border-dashed border-[#e5e5e5] px-6 py-12 text-center",children:[(0,r.jsx)("p",{className:"text-base font-bold",children:"No orders yet"}),(0,r.jsx)("p",{className:"mt-2 text-sm text-[#737373]",children:"Subscribe or buy a pack and it will show up here."}),(0,r.jsx)(c.N_,{href:"/pricing",className:"mt-6 inline-flex h-10 items-center rounded-full bg-[#9F1239] px-5 text-sm font-bold text-white",children:"View plans"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{orders:o}),(0,r.jsx)(m,{page:l,pageCount:E,onPageChange:a,label:"Order pages"})]})]})}function f(e){let{orders:t}=e;return(0,r.jsxs)("div",{className:"overflow-hidden rounded-[16px] border bg-white",style:{borderColor:d.V.line},children:[(0,r.jsx)("div",{className:"hidden overflow-x-auto md:block",children:(0,r.jsxs)("table",{className:"w-full text-left text-[13px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{style:{backgroundColor:d.V.surfaceAlt,color:d.V.muted},children:[(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Order"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Product"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Amount"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Billing"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Credits"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Paid"})]})}),(0,r.jsx)("tbody",{children:t.map(e=>(0,r.jsxs)("tr",{className:"border-t",style:{borderColor:d.V.line},children:[(0,r.jsx)("td",{className:"px-5 py-4 font-medium tabular-nums",style:{color:d.V.ink},children:e.orderNo}),(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.ink},children:e.productName}),(0,r.jsx)("td",{className:"px-5 py-4 tabular-nums",style:{color:d.V.ink},children:e.amountLabel}),(0,r.jsx)("td",{className:"px-5 py-4",children:(0,r.jsx)("span",{className:"inline-flex rounded-full px-2.5 py-1 text-[12px] font-semibold",style:p(e.intervalLabel),children:e.intervalLabel})}),(0,r.jsx)("td",{className:"px-5 py-4 tabular-nums",style:{color:d.V.ink},children:e.credits}),(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.muted},children:x(e.paidAt)})]},e.orderNo))})]})}),(0,r.jsx)("ul",{className:"divide-y md:hidden",style:{borderColor:d.V.line},children:t.map(e=>(0,r.jsxs)("li",{className:"px-4 py-4",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[15px] font-semibold",style:{color:d.V.ink},children:e.productName}),(0,r.jsx)("p",{className:"mt-1 text-[12px] tabular-nums",style:{color:d.V.muted},children:e.orderNo})]}),(0,r.jsx)("p",{className:"text-[15px] font-bold tabular-nums",style:{color:d.V.ink},children:e.amountLabel})]}),(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-[12px]",style:{color:d.V.muted},children:[(0,r.jsx)("span",{className:"inline-flex rounded-full px-2.5 py-1 font-semibold",style:p(e.intervalLabel),children:e.intervalLabel}),(0,r.jsxs)("span",{children:[e.credits," credits"]}),e.paidAt?(0,r.jsx)("span",{children:x(e.paidAt)}):null]})]},e.orderNo))})]})}function y(e){let{records:t,error:l}=e;return l?(0,r.jsx)("p",{className:"text-sm font-medium text-red-600",children:l}):0===t.length?(0,r.jsxs)("div",{className:"rounded-2xl border border-dashed border-[#e5e5e5] px-6 py-12 text-center",children:[(0,r.jsx)("p",{className:"text-base font-bold",children:"No credit records yet"}),(0,r.jsx)("p",{className:"mt-2 text-sm text-[#737373]",children:"Purchases, grants, and conversions will show up here."})]}):(0,r.jsxs)("div",{className:"overflow-hidden rounded-[16px] border bg-white",style:{borderColor:d.V.line},children:[(0,r.jsx)("div",{className:"hidden overflow-x-auto md:block",children:(0,r.jsxs)("table",{className:"w-full text-left text-[13px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{style:{backgroundColor:d.V.surfaceAlt,color:d.V.muted},children:[(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Source"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Type"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Credits"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Created"}),(0,r.jsx)("th",{className:"px-5 py-3 font-semibold",children:"Expires"})]})}),(0,r.jsx)("tbody",{children:t.map(e=>(0,r.jsxs)("tr",{className:"border-t",style:{borderColor:d.V.line},children:[(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.ink},children:e.source}),(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.muted},children:e.type}),(0,r.jsx)("td",{className:"px-5 py-4 font-semibold tabular-nums",style:{color:e.credits<0?d.V.muted:d.V.accent},children:e.credits>0?"+".concat(e.credits):e.credits}),(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.muted},children:x(e.created_at)}),(0,r.jsx)("td",{className:"px-5 py-4",style:{color:d.V.muted},children:e.expires_at?x(e.expires_at):"—"})]},e.trans_no))})]})}),(0,r.jsx)("ul",{className:"divide-y md:hidden",style:{borderColor:d.V.line},children:t.map(e=>(0,r.jsx)("li",{className:"px-4 py-4",children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[15px] font-semibold",style:{color:d.V.ink},children:e.source}),(0,r.jsxs)("p",{className:"mt-1 text-[12px]",style:{color:d.V.muted},children:[e.type,e.created_at?" \xb7 ".concat(x(e.created_at)):""]}),(0,r.jsx)("p",{className:"mt-1 text-[12px]",style:{color:d.V.muted},children:e.expires_at?"Expires ".concat(x(e.expires_at)):"No expiry"})]}),(0,r.jsx)("p",{className:"text-[15px] font-bold tabular-nums",style:{color:e.credits<0?d.V.muted:d.V.accent},children:e.credits>0?"+".concat(e.credits):e.credits})]})},e.trans_no))})]})}function b(e){let{credits:t,lots:l,isRecharged:s}=e,a=null!=t?t:0,n=l.filter(e=>Number(e.remaining)>0);return(0,r.jsxs)("div",{className:"mx-auto max-w-2xl",children:[(0,r.jsxs)("div",{className:"rounded-[22px] border bg-white px-8 py-10 text-center",style:{borderColor:d.V.line,boxShadow:"0 12px 40px rgba(0,0,0,0.06)"},children:[(0,r.jsx)("p",{className:"text-[56px] font-black leading-none tracking-tight tabular-nums",style:{color:d.V.accent},children:a}),(0,r.jsx)("p",{className:"mt-3 text-[17px] font-semibold",style:{color:d.V.ink},children:1===a?"conversion left":"conversions left"}),(0,r.jsx)("p",{className:"mt-2 text-[14px]",style:{color:d.V.muted},children:"Each conversion uses 1 credit. Oldest lots are used first."})]}),(0,r.jsx)("p",{className:"mt-10 text-center text-[11px] font-semibold uppercase tracking-[0.16em]",style:{color:"#A1A1AA"},children:"Credit lots"}),0===n.length?(0,r.jsx)("p",{className:"mt-4 text-center text-[14px]",style:{color:d.V.muted},children:"No unused credits right now."}):(0,r.jsx)("ul",{className:"mt-4 overflow-hidden rounded-[16px] border bg-white",style:{borderColor:d.V.line},children:n.map((e,t)=>{let l=null!=e.days_left&&e.days_left<=7;return(0,r.jsxs)("li",{className:"flex items-start justify-between gap-4 px-5 py-4",style:{borderTop:0===t?void 0:"1px solid ".concat(d.V.line)},children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[15px] font-semibold",style:{color:d.V.ink},children:e.source}),(0,r.jsx)("p",{className:"mt-1 text-[13px]",style:{color:l?d.V.accent:d.V.muted},children:function(e){if(!e.expires_at)return"No expiry";let t=new Date(e.expires_at),l=Number.isNaN(t.getTime())?"":t.toLocaleDateString(void 0,{dateStyle:"medium"});return null==e.days_left?l?"Expires ".concat(l):"Expires later":e.days_left<=0?l?"Expired ".concat(l):"Expired":1===e.days_left?l?"Expires tomorrow \xb7 ".concat(l):"Expires tomorrow":e.days_left<30?l?"Expires in ".concat(e.days_left," days \xb7 ").concat(l):"Expires in ".concat(e.days_left," days"):l?"Expires ".concat(l):"Expires in ".concat(e.days_left," days")}(e)})]}),(0,r.jsx)("p",{className:"shrink-0 text-[22px] font-black tabular-nums leading-none",style:{color:d.V.accent},children:e.remaining})]},"".concat(e.source,"-").concat(e.expires_at,"-").concat(t))})}),(0,r.jsx)("p",{className:"mt-10 text-center text-[11px] font-semibold uppercase tracking-[0.16em]",style:{color:"#A1A1AA"},children:"Your plan"}),(0,r.jsxs)("div",{className:"mt-4 grid gap-3 sm:grid-cols-2",children:[(0,r.jsxs)("div",{className:"rounded-[16px] px-5 py-5",style:{backgroundColor:d.V.surfaceAlt},children:[(0,r.jsx)("p",{className:"text-[16px] font-bold",style:{color:d.V.ink},children:s?"Paid plan":"Free Plan"}),(0,r.jsx)("p",{className:"mt-1 text-[13px]",style:{color:d.V.muted},children:s?"Credits from your purchase":"No active subscription"}),(0,r.jsx)(c.N_,{href:"/pricing",className:"mt-5 inline-flex h-10 items-center rounded-full bg-[#9F1239] px-4 text-[13px] font-semibold text-white",children:"View plans"})]}),(0,r.jsxs)("div",{className:"rounded-[16px] px-5 py-5",style:{backgroundColor:d.V.surfaceAlt},children:[(0,r.jsx)("p",{className:"text-[16px] font-bold",style:{color:d.V.ink},children:"Need more credits?"}),(0,r.jsx)("p",{className:"mt-1 text-[13px]",style:{color:d.V.muted},children:"Subscribe for a lower rate, or buy a pack that expires in 12 months."}),(0,r.jsx)(c.N_,{href:"/pricing?tab=packs",className:"mt-5 inline-flex h-10 items-center rounded-full bg-[#9F1239] px-4 text-[13px] font-semibold text-white",children:"Buy credits"})]})]})]})}},78295:(e,t,l)=>{"use strict";l.d(t,{DT:()=>o,FP:()=>n,TK:()=>s,Zn:()=>a,aM:()=>i,x3:()=>c});var r=l(17394);function s(e){return"string"==typeof e?{pathname:e}:e}function a(e){let t=new URLSearchParams;
1for(let[l,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(l,String(e))}):t.set(l,String(r));return"?"+t.toString()}function n({pathname:e,locale:t,params:l,pathnames:s,query:n}){function i(e){let t=s[e];return t||(t=e),t}function o(e,s){let i=(0,r.Wl)(e,t,s);return l&&Object.entries(l).forEach(([e,t])=>{let l,r;Array.isArray(t)?(l=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(l=`\\[${e}\\]`,r=String(t)),i=i.replace(RegExp(l,"g"),r)}),i=i.replace(/\[\[\.\.\..+\]\]/g,""),i=(0,r.po)(i),n&&(i+=a(n)),i}if("string"==typeof e)return o(i(e),e);{let{pathname:t,...l}=e;return{...l,pathname:o(i(t),t)}}}function i(e,t,l){let s=(0,r.FD)(Object.keys(l)),a=decodeURI(t);for(let t of s){let s=l[t];if("string"==typeof s){if((0,r.ql)(s,a))return t}else if((0,r.ql)((0,r.Wl)(s,e,t),a))return t}return t}function o(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,l,s){let a,{mode:n}=l.localePrefix;return void 0!==s?a=s:(0,r._x)(e)&&("always"===n?a=!0:"as-needed"===n&&(a=l.domains?!l.domains.some(e=>e.defaultLocale===t):t!==l.defaultLocale)),a?(0,r.PJ)((0,r.XP)(t,l.localePrefix),e):e}},83317:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},89194:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(8152).A)("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},98445:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var r=l(78295);function s(e,t,l,s){if(!e||s===l||null==s||!t)return;let a=(0,r.DT)(t),{name:n,...i}=e;i.path||(i.path=""!==a?a:"/");let o=`${n}=${s};`;for(let[e,t]of Object.entries(i))o+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(o+="="+t),o+=";";document.cookie=o}},99446:(e,t,l)=>{"use strict";l.d(t,{A:()=>x});var r=l(49687),s=l(65231),a=l.n(s);let n=l(46184).Qs.nav.menus[0].groups,i=[[{title:n[0].title,links:n[0].items}],[{title:n[1].title,links:n[1].items},{title:n[2].title,links:n[2].items}],[{title:"About",links:[{label:"Pricing",href:"/pricing"},{label:"Blog",href:"/posts"},{label:"Privacy",href:"/privacy-policy"},{label:"Terms",href:"/terms-of-service"},{label:"Contact Us",href:"mailto:[email protected]"},{label:"Help Center",href:"/#faq"}]}]],o=["English","简体中文","繁體中文","日本語","한국어","Espa\xf1ol","Portugu\xeas","Fran\xe7ais","Bahasa Indonesia","Deutsch","Русский"];function c(e){let{hideName:t=!1}=e;return(0,r.jsxs)("span",{className:"inline-flex items-center gap-2.5",children:[(0,r.jsx)("img",{src:"/favicon.svg",alt:"",width:32,height:32,className:"h-8 w-8 object-contain"}),t?null:(0,r.jsx)("span",{className:"text-xl font-bold tracking-tight text-[#5270FF]",children:"Video Transcriber"})]})}function d(e){let{group:t}=e;return(0,r.jsxs)("div",{className:"mb-8 last:mb-0",children:[(0,r.jsx)("p",{className:"mb-3 text-sm font-semibold text-[#0F172A]",children:t.title}),(0,r.jsx)("ul",{className:"space-y-2",children:t.links.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:e.href,className:"text-sm leading-5 text-[#64748B] transition-colors hover:text-[#0F172A] hover:underline",children:e.label})},e.label))}),t.more?(0,r.jsx)(a(),{href:t.more.href,className:"mt-3 inline-block text-sm font-medium text-[#1C6CFB] hover:underline",children:t.more.label}):null]})}function x(e){let{compact:t=!1,softenToTextAnchors:l=!1}=e;return(0,r.jsx)("footer",{className:"border-t border-slate-200 bg-[#F8FAFC] text-slate-700",style:{fontFamily:"var(--font-lexend), Lexend, ui-sans-serif, system-ui, sans-serif",paddingTop:t?16:24},children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1200px] px-4 sm:px-6 lg:px-8",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 border-b border-slate-200 pb-6 md:flex-row md:items-center",children:[(0,r.jsx)(a(),{href:"/",className:"inline-flex shrink-0","aria-label":l?"Home":"Go to Video Transcriber homepage",children:(0,r.jsx)(c,{hideName:l})}),(0,r.jsx)("p",{className:"text-sm text-slate-600 md:ml-8",children:l?"Transcribe video online free":(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"font-medium text-slate-800",children:"Video Transcriber AI"})," – Transcribe Video to Text Online Free"]})}),(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-4 md:ml-auto",children:(0,r.jsx)(a(),{href:"mailto:[email protected]",className:"text-sm text-slate-600 transition-colors hover:text-[#1C6CFB]",children:"Feedback"})})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-8 py-10 sm:grid-cols-2 lg:grid-cols-3 lg:gap-10",children:i.map((e,t)=>(0,r.jsx)("div",{children:e.map(e=>(0,r.jsx)(d,{group:e},e.title))},t))}),(0,r.jsxs)("div",{className:"border-t border-slate-200 py-6 text-center",children:[(0,r.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-1.5 sm:gap-2",children:o.map(e=>{let t="English"===e;return(0,r.jsx)(a(),{href:"/",className:"rounded-md px-2 py-1 text-sm transition-colors ".concat(t?"bg-[#1C6CFB]/15 font-medium text-[#1C6CFB]":"text-slate-500 hover:text-[#1C6CFB]"),"aria-current":t?"page":void 0,children:e},e)})}),(0,r.jsxs)("p",{className:"mt-4 text-sm text-slate-500",children:["Copyright ",new Date().getFullYear()," videotranscriber.ai. All rights reserved."]})]})]})})}}},e=>{e.O(0,[8548,9094,5231,7101,4164,8520,1946,7407,4879,8631,1436,34,9733,2403,7358],()=>e(e.s=16651)),_N_E=e.O()}]);

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.