@socialgen_user/socialgen 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{uELeli_8.js → 4OV7a3GF.js} +1 -1
- package/.output/public/_nuxt/{qcjs3SKg.js → BWTcUa3O.js} +1 -1
- package/.output/public/_nuxt/{DXQyqDUm.js → BmiTz0Bj.js} +1 -1
- package/.output/public/_nuxt/{CqNFF8Vb.js → BwBAVlrf.js} +1 -1
- package/.output/public/_nuxt/{v33suYXp.js → DF2JzMIr.js} +2 -2
- package/.output/public/_nuxt/{Cqodgy4B.js → DFkoTwsH.js} +1 -1
- package/.output/public/_nuxt/DqCMQ7mU.js +111 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/5a2b79fd-fbdb-482c-97eb-c377dcd65f19.json +1 -0
- package/.output/public/_nuxt/{pages.BNNMR0bP.css → pages.CurYQ93c.css} +1 -1
- package/.output/server/chunks/_/nitro.mjs +123 -123
- package/.output/server/chunks/build/LivePreview-styles.BAXzj6mF.mjs +8 -0
- package/.output/server/chunks/build/LivePreview-styles.BAXzj6mF.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/entry-styles.DlYZJ_Pu.mjs +8 -0
- package/.output/server/chunks/build/entry-styles.DlYZJ_Pu.mjs.map +1 -0
- package/.output/server/chunks/build/index-styles-1.mjs-BYkUF4b0.mjs +4 -0
- package/.output/server/chunks/build/index-styles-1.mjs-BYkUF4b0.mjs.map +1 -0
- package/.output/server/chunks/build/{index-styles.B8HyMUMp.mjs → index-styles.CThHhoy-.mjs} +5 -5
- package/.output/server/chunks/build/index-styles.CThHhoy-.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-DS-xmAq6.mjs → pages-BB0Bky-X.mjs} +50 -33
- package/.output/server/chunks/build/{pages-DS-xmAq6.mjs.map → pages-BB0Bky-X.mjs.map} +1 -1
- package/.output/server/chunks/build/server.mjs +1 -1
- package/.output/server/chunks/build/styles.mjs +5 -5
- package/.output/server/package.json +1 -1
- package/data/last_session.json +3 -17
- package/data/templates.json +5 -5
- package/package.json +1 -1
- package/.output/public/_nuxt/N-k_7ft4.js +0 -111
- package/.output/public/_nuxt/builds/meta/12d907e1-63ed-4300-be2b-91cf47d07600.json +0 -1
- package/.output/server/chunks/build/LivePreview-styles.BbGT7KVf.mjs +0 -8
- package/.output/server/chunks/build/LivePreview-styles.BbGT7KVf.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles.DH5fRIfL.mjs +0 -8
- package/.output/server/chunks/build/entry-styles.DH5fRIfL.mjs.map +0 -1
- package/.output/server/chunks/build/index-styles-1.mjs-CBmp9qkk.mjs +0 -4
- package/.output/server/chunks/build/index-styles-1.mjs-CBmp9qkk.mjs.map +0 -1
- package/.output/server/chunks/build/index-styles.B8HyMUMp.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, mergeProps, unref, isRef, reactive, nextTick, useSSRContext } from 'vue';
|
|
2
2
|
import { ssrRenderAttrs, ssrInterpolate, ssrRenderClass, ssrRenderComponent, ssrIncludeBooleanAttr, ssrRenderAttr, ssrLooseContain, ssrLooseEqual, ssrRenderList, ssrRenderStyle } from 'vue/server-renderer';
|
|
3
|
-
import { Settings, X, Check, Edit2, Trash2, FileText, Copy, LayoutTemplate, Plus, Code, AlertCircle, RefreshCw, Film, Upload, Music, Clock, Sparkles, Eye, Bookmark, Wand2, Layers, Globe, Sliders, RotateCcw, CheckCircle2, Scissors, Play, ZoomOut, ZoomIn, ShieldAlert, Pause, Volume2, VolumeX } from 'lucide-vue-next';
|
|
3
|
+
import { Settings, X, Check, Edit2, Trash2, FileText, Copy, LayoutTemplate, Plus, Code, AlertCircle, RefreshCw, Film, Upload, Music, Clock, Sparkles, Eye, Bookmark, Wand2, Layers, Globe, Sliders, RotateCcw, CheckCircle2, Scissors, Play, ZoomOut, ZoomIn, ShieldAlert, Camera, Search, MoreVertical, Heart, MessageCircle, Share2, Pause, Volume2, VolumeX } from 'lucide-vue-next';
|
|
4
4
|
import { _ as _sfc_main$3 } from './TableCard-J91PndXn.mjs';
|
|
5
5
|
import { _ as _export_sfc } from './server.mjs';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -1266,27 +1266,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1266
1266
|
);
|
|
1267
1267
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1268
1268
|
const _component_TableCard = _sfc_main$3;
|
|
1269
|
-
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-2.5 h-full text-slate-100 min-h-0 justify-between relative" }, _attrs))} data-v-
|
|
1269
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-2.5 h-full text-slate-100 min-h-0 justify-between relative" }, _attrs))} data-v-efc9bb3a>`);
|
|
1270
1270
|
if (__props.isGenerating) {
|
|
1271
|
-
_push(`<div class="absolute inset-0 z-50 bg-slate-950/85 backdrop-blur-md rounded-2xl flex flex-col items-center justify-center p-6 text-center animate-in fade-in duration-200" data-v-
|
|
1271
|
+
_push(`<div class="absolute inset-0 z-50 bg-slate-950/85 backdrop-blur-md rounded-2xl flex flex-col items-center justify-center p-6 text-center animate-in fade-in duration-200" data-v-efc9bb3a><div class="relative flex items-center justify-center mb-5" data-v-efc9bb3a><div class="w-20 h-20 rounded-full border-4 border-sky-500/20 border-t-sky-400 border-r-indigo-500 animate-spin" data-v-efc9bb3a></div><div class="absolute inset-0 flex items-center justify-center" data-v-efc9bb3a>`);
|
|
1272
1272
|
_push(ssrRenderComponent(unref(Sparkles), { class: "w-8 h-8 text-sky-400 animate-pulse" }, null, _parent));
|
|
1273
|
-
_push(`</div></div><h3 class="text-base font-black text-white tracking-wide mb-1.5" data-v-
|
|
1273
|
+
_push(`</div></div><h3 class="text-base font-black text-white tracking-wide mb-1.5" data-v-efc9bb3a> Sedang Men-generate Konten... </h3><p class="text-xs text-sky-300 font-bold mb-4 flex items-center gap-2" data-v-efc9bb3a><span class="w-2 h-2 rounded-full bg-sky-400 animate-ping" data-v-efc9bb3a></span><span data-v-efc9bb3a>${ssrInterpolate(__props.generateStage || "Merender Gambar & Video Reels...")}</span></p><div class="w-64 max-w-full bg-slate-900 border border-slate-800 rounded-full h-2.5 overflow-hidden shadow-inner mb-3" data-v-efc9bb3a><div class="h-full bg-gradient-to-r from-sky-500 via-indigo-500 to-purple-500 rounded-full animate-pulse w-full" data-v-efc9bb3a></div></div><span class="text-[10px] text-slate-400 font-mono tracking-wider uppercase" data-v-efc9bb3a> Multi-Format Studio Engine \u2022 Mohon Tunggu Sebentar </span></div>`);
|
|
1274
1274
|
} else {
|
|
1275
1275
|
_push(`<!---->`);
|
|
1276
1276
|
}
|
|
1277
|
-
_push(`<div class="flex flex-wrap items-center justify-between gap-2 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg flex-shrink-0" data-v-
|
|
1277
|
+
_push(`<div class="flex flex-wrap items-center justify-between gap-2 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg flex-shrink-0" data-v-efc9bb3a><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs font-bold" data-v-efc9bb3a><button class="${ssrRenderClass([unref(activeTab) === "feed" ? "bg-sky-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}" data-v-efc9bb3a> Feed 4:5 </button><button class="${ssrRenderClass([unref(activeTab) === "story" ? "bg-indigo-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}" data-v-efc9bb3a> Story 9:16 </button><button class="${ssrRenderClass([unref(activeTab) === "reels" ? "bg-emerald-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition flex items-center gap-1.5"])}" data-v-efc9bb3a><span data-v-efc9bb3a>Reels 9:16 (Video)</span>`);
|
|
1278
1278
|
if (unref(activeTab) === "reels" && unref(isPlaying)) {
|
|
1279
|
-
_push(`<span class="w-1.5 h-1.5 rounded-full bg-white animate-pulse" data-v-
|
|
1279
|
+
_push(`<span class="w-1.5 h-1.5 rounded-full bg-white animate-pulse" data-v-efc9bb3a></span>`);
|
|
1280
1280
|
} else {
|
|
1281
1281
|
_push(`<!---->`);
|
|
1282
1282
|
}
|
|
1283
|
-
_push(`</button></div><div class="flex items-center gap-2 text-xs" data-v-
|
|
1283
|
+
_push(`</button></div><div class="flex items-center gap-2 text-xs" data-v-efc9bb3a><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs shadow-inner" data-v-efc9bb3a><button title="Zoom Out (-15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition" data-v-efc9bb3a>`);
|
|
1284
1284
|
_push(ssrRenderComponent(unref(ZoomOut), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1285
|
-
_push(`</button><button title="Klik untuk Reset Zoom (100% Fit)" class="px-2 py-0.5 rounded-lg text-[11px] font-bold text-sky-400 hover:bg-slate-800 hover:text-sky-300 transition font-mono min-w-[42px] text-center" data-v-
|
|
1285
|
+
_push(`</button><button title="Klik untuk Reset Zoom (100% Fit)" class="px-2 py-0.5 rounded-lg text-[11px] font-bold text-sky-400 hover:bg-slate-800 hover:text-sky-300 transition font-mono min-w-[42px] text-center" data-v-efc9bb3a>${ssrInterpolate(Math.round(unref(zoomScale) * 100))}% </button><button title="Zoom In (+15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition" data-v-efc9bb3a>`);
|
|
1286
1286
|
_push(ssrRenderComponent(unref(ZoomIn), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1287
1287
|
_push(`</button>`);
|
|
1288
1288
|
if (unref(zoomScale) !== 1) {
|
|
1289
|
-
_push(`<button title="Reset ke Ukuran Pas" class="p-1.5 rounded-lg text-amber-400 hover:bg-slate-800 transition" data-v-
|
|
1289
|
+
_push(`<button title="Reset ke Ukuran Pas" class="p-1.5 rounded-lg text-amber-400 hover:bg-slate-800 transition" data-v-efc9bb3a>`);
|
|
1290
1290
|
_push(ssrRenderComponent(unref(RotateCcw), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1291
1291
|
_push(`</button>`);
|
|
1292
1292
|
} else {
|
|
@@ -1294,22 +1294,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1294
1294
|
}
|
|
1295
1295
|
_push(`</div>`);
|
|
1296
1296
|
if (unref(activeTab) !== "feed") {
|
|
1297
|
-
_push(`<button class="${ssrRenderClass([unref(showSafeZones) ? "bg-amber-500/20 text-amber-300 border-amber-500/50" : "bg-slate-950 text-slate-400 border-slate-800", "inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg border text-xs font-bold transition"])}" data-v-
|
|
1297
|
+
_push(`<button class="${ssrRenderClass([unref(showSafeZones) ? "bg-amber-500/20 text-amber-300 border-amber-500/50" : "bg-slate-950 text-slate-400 border-slate-800", "inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg border text-xs font-bold transition"])}" data-v-efc9bb3a>`);
|
|
1298
1298
|
_push(ssrRenderComponent(unref(ShieldAlert), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1299
|
-
_push(`<span class="hidden sm:inline" data-v-
|
|
1299
|
+
_push(`<span class="hidden sm:inline" data-v-efc9bb3a>Safe Zones</span></button>`);
|
|
1300
1300
|
} else {
|
|
1301
1301
|
_push(`<!---->`);
|
|
1302
1302
|
}
|
|
1303
|
-
_push(`</div></div><div class="relative flex-1 min-h-0 bg-slate-950/80 canvas-dot-bg border border-slate-800/80 rounded-2xl flex p-4 overflow-auto shadow-inner custom-scrollbar" data-v-
|
|
1303
|
+
_push(`</div></div><div class="relative flex-1 min-h-0 bg-slate-950/80 canvas-dot-bg border border-slate-800/80 rounded-2xl flex p-4 overflow-auto shadow-inner custom-scrollbar" data-v-efc9bb3a><div class="m-auto flex-shrink-0 relative transition-all duration-200 ease-out" style="${ssrRenderStyle({
|
|
1304
1304
|
width: `${Math.round(unref(baseCanvasWidth) * unref(zoomScale))}px`,
|
|
1305
1305
|
height: `${Math.round(unref(baseCanvasHeight) * unref(zoomScale))}px`
|
|
1306
|
-
})}" data-v-
|
|
1306
|
+
})}" data-v-efc9bb3a><div class="origin-top-left transition-transform duration-200 ease-out absolute top-0 left-0" style="${ssrRenderStyle({
|
|
1307
1307
|
width: `${unref(baseCanvasWidth)}px`,
|
|
1308
1308
|
height: `${unref(baseCanvasHeight)}px`,
|
|
1309
1309
|
transform: `scale(${unref(zoomScale)})`
|
|
1310
|
-
})}" data-v-
|
|
1310
|
+
})}" data-v-efc9bb3a>`);
|
|
1311
1311
|
if (unref(activeTab) === "feed") {
|
|
1312
|
-
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:360px;height:450px;" data-v-
|
|
1312
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:360px;height:450px;" data-v-efc9bb3a><div style="width:1080px;height:1350px;transform:scale(0.333333);transform-origin:top left;" data-v-efc9bb3a>`);
|
|
1313
1313
|
_push(ssrRenderComponent(_component_TableCard, {
|
|
1314
1314
|
data: __props.data,
|
|
1315
1315
|
mode: "feed",
|
|
@@ -1317,13 +1317,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1317
1317
|
}, null, _parent));
|
|
1318
1318
|
_push(`</div></div>`);
|
|
1319
1319
|
} else {
|
|
1320
|
-
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:300px;height:533.33px;" data-v-
|
|
1320
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:300px;height:533.33px;" data-v-efc9bb3a>`);
|
|
1321
1321
|
if (unref(activeTab) === "reels") {
|
|
1322
|
-
_push(`<div class="absolute inset-0 z-0 bg-slate-950 overflow-hidden" data-v-
|
|
1322
|
+
_push(`<div class="absolute inset-0 z-0 bg-slate-950 overflow-hidden" data-v-efc9bb3a><video autoplay muted playsinline class="w-full h-full object-cover brightness-90 contrast-105"${ssrRenderAttr("src", unref(activeVideoSrc))} data-v-efc9bb3a></video><div class="absolute inset-0 bg-slate-950/30 backdrop-blur-[0.5px]" data-v-efc9bb3a></div><audio${ssrRenderAttr("src", unref(activeAudioSrc))}${ssrIncludeBooleanAttr(unref(isMuted)) ? " muted" : ""} data-v-efc9bb3a></audio></div>`);
|
|
1323
1323
|
} else {
|
|
1324
1324
|
_push(`<!---->`);
|
|
1325
1325
|
}
|
|
1326
|
-
_push(`<div class="relative z-10 pointer-events-none" style="width:1080px;height:1920px;transform:scale(0.277778);transform-origin:top left;" data-v-
|
|
1326
|
+
_push(`<div class="relative z-10 pointer-events-none" style="width:1080px;height:1920px;transform:scale(0.277778);transform-origin:top left;" data-v-efc9bb3a>`);
|
|
1327
1327
|
_push(ssrRenderComponent(_component_TableCard, {
|
|
1328
1328
|
data: __props.data,
|
|
1329
1329
|
mode: unref(activeTab) === "reels" ? "overlay" : "story",
|
|
@@ -1331,13 +1331,30 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1331
1331
|
}, null, _parent));
|
|
1332
1332
|
_push(`</div>`);
|
|
1333
1333
|
if (unref(showSafeZones)) {
|
|
1334
|
-
_push(`<div class="absolute inset-0 z-
|
|
1334
|
+
_push(`<div class="absolute inset-0 z-30 pointer-events-none flex flex-col justify-between overflow-hidden select-none" data-v-efc9bb3a>`);
|
|
1335
1335
|
if (unref(activeTab) === "reels") {
|
|
1336
|
-
_push(
|
|
1336
|
+
_push(`<!--[--><div class="h-[52px] bg-gradient-to-b from-black/85 via-black/40 to-transparent px-3 pt-2.5 flex items-center justify-between text-white/90 border-b border-dashed border-red-500/40" data-v-efc9bb3a><div class="flex items-center gap-2" data-v-efc9bb3a><span class="text-xs font-bold tracking-tight" data-v-efc9bb3a>Reels</span><span class="text-[9px] px-1.5 py-0.5 rounded bg-red-500/80 text-white font-mono uppercase tracking-wider font-extrabold" data-v-efc9bb3a>Top 180px UI</span></div><div class="flex items-center gap-3 text-white/80" data-v-efc9bb3a>`);
|
|
1337
|
+
_push(ssrRenderComponent(unref(Camera), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1338
|
+
_push(ssrRenderComponent(unref(Search), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1339
|
+
_push(ssrRenderComponent(unref(MoreVertical), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1340
|
+
_push(`</div></div><div class="absolute right-2 bottom-[130px] flex flex-col items-center gap-3 z-10" data-v-efc9bb3a><div class="flex flex-col items-center gap-0.5" data-v-efc9bb3a><div class="w-7 h-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-efc9bb3a>`);
|
|
1341
|
+
_push(ssrRenderComponent(unref(Heart), { class: "w-3.5 h-3.5 text-white fill-white/20" }, null, _parent));
|
|
1342
|
+
_push(`</div><span class="text-[9px] font-bold text-white drop-shadow" data-v-efc9bb3a>142K</span></div><div class="flex flex-col items-center gap-0.5" data-v-efc9bb3a><div class="w-7 h-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-efc9bb3a>`);
|
|
1343
|
+
_push(ssrRenderComponent(unref(MessageCircle), { class: "w-3.5 h-3.5 text-white" }, null, _parent));
|
|
1344
|
+
_push(`</div><span class="text-[9px] font-bold text-white drop-shadow" data-v-efc9bb3a>1.4K</span></div><div class="flex flex-col items-center gap-0.5" data-v-efc9bb3a><div class="w-7 h-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-efc9bb3a>`);
|
|
1345
|
+
_push(ssrRenderComponent(unref(Share2), { class: "w-3.5 h-3.5 text-white" }, null, _parent));
|
|
1346
|
+
_push(`</div><span class="text-[9px] font-bold text-white drop-shadow" data-v-efc9bb3a>8.9K</span></div><div class="w-7 h-7 rounded-full bg-slate-900 border border-slate-700/80 p-1 flex items-center justify-center animate-spin" style="animation-duration:4s;" data-v-efc9bb3a>`);
|
|
1347
|
+
_push(ssrRenderComponent(unref(Music), { class: "w-3 h-3 text-pink-400" }, null, _parent));
|
|
1348
|
+
_push(`</div></div><div class="h-[122px] bg-gradient-to-t from-black/95 via-black/85 to-transparent px-3 pb-2 pt-4 flex flex-col justify-end gap-1.5 border-t border-dashed border-red-500/50 relative" data-v-efc9bb3a><div class="absolute -top-3 left-3 bg-red-500 text-white font-mono text-[8px] font-extrabold px-1.5 py-0.5 rounded shadow" data-v-efc9bb3a> FB REELS UI ZONE (Bottom 440px) </div><div class="flex items-center gap-2" data-v-efc9bb3a><div class="w-5 h-5 rounded-full bg-blue-600 border border-white/40 flex items-center justify-center text-[9px] font-black text-white flex-shrink-0" data-v-efc9bb3a> SG </div><span class="text-[10px] font-bold text-white truncate max-w-[140px] drop-shadow" data-v-efc9bb3a>@creator_account</span><span class="text-[9px] px-1.5 py-0.2 rounded-full border border-white/40 text-white font-bold bg-white/10" data-v-efc9bb3a>Ikuti</span></div><p class="text-[9px] text-white/90 line-clamp-2 leading-tight drop-shadow pr-10" data-v-efc9bb3a> Informasi terpercaya hari ini! Simak detail lengkapnya pada visual di atas... <span class="text-white/60 font-semibold cursor-pointer" data-v-efc9bb3a>Lainnya</span></p><div class="flex items-center gap-1.5 text-[8px] text-white/80 pr-10" data-v-efc9bb3a>`);
|
|
1349
|
+
_push(ssrRenderComponent(unref(Music), { class: "w-2.5 h-2.5 flex-shrink-0 text-pink-300" }, null, _parent));
|
|
1350
|
+
_push(`<span class="truncate" data-v-efc9bb3a>Suara Asli \u2022 Tren Terpopuler Hari Ini</span></div><div class="w-full h-0.5 bg-white/30 rounded-full mt-1 overflow-hidden" data-v-efc9bb3a><div class="h-full bg-white rounded-full w-2/5" data-v-efc9bb3a></div></div></div><!--]-->`);
|
|
1337
1351
|
} else {
|
|
1338
|
-
_push(
|
|
1352
|
+
_push(`<!--[--><div class="h-[52px] bg-gradient-to-b from-black/75 to-transparent px-3 pt-2 flex flex-col justify-between border-b border-dashed border-red-500/40" data-v-efc9bb3a><div class="flex gap-1 w-full" data-v-efc9bb3a><div class="h-0.5 flex-1 bg-white rounded-full" data-v-efc9bb3a></div><div class="h-0.5 flex-1 bg-white/40 rounded-full" data-v-efc9bb3a></div><div class="h-0.5 flex-1 bg-white/40 rounded-full" data-v-efc9bb3a></div></div><div class="flex items-center justify-between text-white pb-1" data-v-efc9bb3a><div class="flex items-center gap-1.5" data-v-efc9bb3a><div class="w-4 h-4 rounded-full bg-gradient-to-tr from-amber-500 to-rose-500 p-0.5" data-v-efc9bb3a><div class="w-full h-full bg-black rounded-full" data-v-efc9bb3a></div></div><span class="text-[9px] font-bold" data-v-efc9bb3a>akunkreator</span><span class="text-[8px] text-white/60" data-v-efc9bb3a>2j</span></div><span class="text-[9px] px-1.5 py-0.5 rounded bg-red-500/80 text-white font-mono uppercase tracking-wider font-extrabold" data-v-efc9bb3a>Top Safe Zone</span></div></div><div class="h-[56px] bg-gradient-to-t from-black/80 to-transparent px-3 pb-2 flex items-center justify-between gap-2 border-t border-dashed border-red-500/50 relative" data-v-efc9bb3a><div class="absolute -top-3 left-3 bg-red-500 text-white font-mono text-[8px] font-extrabold px-1.5 py-0.5 rounded shadow" data-v-efc9bb3a> STORY REPLY ZONE </div><div class="flex-1 h-7 rounded-full border border-white/30 bg-black/20 px-3 flex items-center text-[9px] text-white/50" data-v-efc9bb3a> Kirim pesan... </div>`);
|
|
1353
|
+
_push(ssrRenderComponent(unref(Heart), { class: "w-4 h-4 text-white/80" }, null, _parent));
|
|
1354
|
+
_push(ssrRenderComponent(unref(Share2), { class: "w-4 h-4 text-white/80" }, null, _parent));
|
|
1355
|
+
_push(`</div><!--]-->`);
|
|
1339
1356
|
}
|
|
1340
|
-
_push(`</div
|
|
1357
|
+
_push(`</div>`);
|
|
1341
1358
|
} else {
|
|
1342
1359
|
_push(`<!---->`);
|
|
1343
1360
|
}
|
|
@@ -1345,27 +1362,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1345
1362
|
}
|
|
1346
1363
|
_push(`</div></div></div>`);
|
|
1347
1364
|
if (unref(activeTab) === "reels") {
|
|
1348
|
-
_push(`<div class="flex flex-col bg-slate-900/95 border border-slate-800 rounded-2xl p-2.5 gap-2 shadow-xl flex-shrink-0 text-xs" data-v-
|
|
1365
|
+
_push(`<div class="flex flex-col bg-slate-900/95 border border-slate-800 rounded-2xl p-2.5 gap-2 shadow-xl flex-shrink-0 text-xs" data-v-efc9bb3a><div class="flex items-center justify-between gap-3" data-v-efc9bb3a><button class="p-2 rounded-xl bg-emerald-600 hover:bg-emerald-500 text-white font-bold transition flex items-center gap-1.5 shadow-md"${ssrRenderAttr("title", unref(isPlaying) ? "Pause Preview" : "Putar Preview")} data-v-efc9bb3a>`);
|
|
1349
1366
|
if (unref(isPlaying)) {
|
|
1350
1367
|
_push(ssrRenderComponent(unref(Pause), { class: "w-3.5 h-3.5 fill-current" }, null, _parent));
|
|
1351
1368
|
} else {
|
|
1352
1369
|
_push(ssrRenderComponent(unref(Play), { class: "w-3.5 h-3.5 fill-current" }, null, _parent));
|
|
1353
1370
|
}
|
|
1354
|
-
_push(`<span class="text-[11px] hidden sm:inline" data-v-
|
|
1371
|
+
_push(`<span class="text-[11px] hidden sm:inline" data-v-efc9bb3a>${ssrInterpolate(unref(isPlaying) ? "Pause" : "Play")}</span></button><div class="flex-1 flex items-center gap-2" data-v-efc9bb3a><input type="range" min="0"${ssrRenderAttr("max", unref(totalDuration))} step="0.1"${ssrRenderAttr("value", unref(currentTime))} class="flex-1 h-1.5 bg-slate-950 rounded-lg appearance-none cursor-pointer accent-emerald-500 hover:accent-emerald-400" data-v-efc9bb3a><span class="font-mono text-[11px] font-bold text-slate-300 min-w-[75px] text-right" data-v-efc9bb3a>${ssrInterpolate(formatTime(unref(currentTime)))} / ${ssrInterpolate(formatTime(unref(totalDuration)))}</span></div><button class="${ssrRenderClass([!unref(isMuted) ? "bg-purple-600/40 text-purple-200 border-purple-500/60 shadow-md ring-1 ring-purple-500/40" : "bg-slate-950 text-slate-400 border-slate-800 hover:text-white", "px-2.5 py-2 rounded-xl border transition flex items-center gap-1.5 font-bold text-[11px]"])}"${ssrRenderAttr("title", unref(isMuted) ? "Aktifkan Suara Musik (Unmute)" : "Matikan Suara Musik (Mute)")} data-v-efc9bb3a>`);
|
|
1355
1372
|
if (!unref(isMuted)) {
|
|
1356
1373
|
_push(ssrRenderComponent(unref(Volume2), { class: "w-3.5 h-3.5 text-purple-300 animate-pulse" }, null, _parent));
|
|
1357
1374
|
} else {
|
|
1358
1375
|
_push(ssrRenderComponent(unref(VolumeX), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1359
1376
|
}
|
|
1360
|
-
_push(`<span data-v-
|
|
1377
|
+
_push(`<span data-v-efc9bb3a>${ssrInterpolate(!unref(isMuted) ? "Audio ON" : "Muted")}</span></button><button class="${ssrRenderClass([unref(showOffsetEditor) ? "bg-sky-500/20 text-sky-300 border-sky-500/50" : "bg-slate-950 text-slate-400 border-slate-800 hover:text-white", "px-2.5 py-2 rounded-xl border text-[11px] font-bold flex items-center gap-1.5 transition"])}" title="Atur Detik Awal Video & Musik" data-v-efc9bb3a>`);
|
|
1361
1378
|
_push(ssrRenderComponent(unref(Scissors), { class: "w-3.5 h-3.5 text-sky-400" }, null, _parent));
|
|
1362
|
-
_push(`<span class="hidden sm:inline" data-v-
|
|
1379
|
+
_push(`<span class="hidden sm:inline" data-v-efc9bb3a>Trim Offset</span></button></div>`);
|
|
1363
1380
|
if (unref(showOffsetEditor)) {
|
|
1364
|
-
_push(`<div class="grid grid-cols-1 sm:grid-cols-2 gap-3 p-2.5 bg-slate-950/80 rounded-xl border border-slate-800/80 animate-fadeIn" data-v-
|
|
1381
|
+
_push(`<div class="grid grid-cols-1 sm:grid-cols-2 gap-3 p-2.5 bg-slate-950/80 rounded-xl border border-slate-800/80 animate-fadeIn" data-v-efc9bb3a><div class="flex flex-col gap-1.5" data-v-efc9bb3a><div class="flex items-center justify-between text-[11px]" data-v-efc9bb3a><span class="font-bold text-sky-300 flex items-center gap-1" data-v-efc9bb3a>`);
|
|
1365
1382
|
_push(ssrRenderComponent(unref(Film), { class: "w-3 h-3" }, null, _parent));
|
|
1366
|
-
_push(` Mulai Video: ${ssrInterpolate(Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))}s / ${ssrInterpolate(unref(videoFileDuration))}s </span><button class="text-[9px] px-1.5 py-0.5 rounded bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 transition" title="Gunakan posisi video saat ini sebagai detik mulai" data-v-
|
|
1383
|
+
_push(` Mulai Video: ${ssrInterpolate(Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))}s / ${ssrInterpolate(unref(videoFileDuration))}s </span><button class="text-[9px] px-1.5 py-0.5 rounded bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 transition" title="Gunakan posisi video saat ini sebagai detik mulai" data-v-efc9bb3a> Set Detik Ini </button></div><input type="range" min="0"${ssrRenderAttr("max", unref(maxVideoOffset))} step="1"${ssrRenderAttr("value", Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))} class="w-full h-1 bg-slate-900 rounded appearance-none cursor-pointer accent-sky-400" data-v-efc9bb3a><div class="text-[9px] text-slate-500" data-v-efc9bb3a> Maksimal offset: ${ssrInterpolate(unref(maxVideoOffset))} detik (panjang asli video: ${ssrInterpolate(unref(videoFileDuration))}s) </div></div><div class="flex flex-col gap-1.5" data-v-efc9bb3a><div class="flex items-center justify-between text-[11px]" data-v-efc9bb3a><span class="font-bold text-purple-300 flex items-center gap-1" data-v-efc9bb3a>`);
|
|
1367
1384
|
_push(ssrRenderComponent(unref(Music), { class: "w-3 h-3" }, null, _parent));
|
|
1368
|
-
_push(` Mulai Musik: ${ssrInterpolate(Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))}s / ${ssrInterpolate(unref(audioFileDuration))}s </span><span class="text-[10px] text-slate-500 font-mono" data-v-
|
|
1385
|
+
_push(` Mulai Musik: ${ssrInterpolate(Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))}s / ${ssrInterpolate(unref(audioFileDuration))}s </span><span class="text-[10px] text-slate-500 font-mono" data-v-efc9bb3a> (Skip intro) </span></div><input type="range" min="0"${ssrRenderAttr("max", unref(maxAudioOffset))} step="1"${ssrRenderAttr("value", Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))} class="w-full h-1 bg-slate-900 rounded appearance-none cursor-pointer accent-purple-400" data-v-efc9bb3a><div class="text-[9px] text-slate-500" data-v-efc9bb3a> Maksimal offset: ${ssrInterpolate(unref(maxAudioOffset))} detik (panjang asli musik: ${ssrInterpolate(unref(audioFileDuration))}s) </div></div></div>`);
|
|
1369
1386
|
} else {
|
|
1370
1387
|
_push(`<!---->`);
|
|
1371
1388
|
}
|
|
@@ -1373,13 +1390,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1373
1390
|
} else {
|
|
1374
1391
|
_push(`<!---->`);
|
|
1375
1392
|
}
|
|
1376
|
-
_push(`<div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl p-2.5 gap-1.5 shadow-lg flex-shrink-0" data-v-
|
|
1393
|
+
_push(`<div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl p-2.5 gap-1.5 shadow-lg flex-shrink-0" data-v-efc9bb3a><div class="flex items-center justify-between text-xs" data-v-efc9bb3a><span class="font-extrabold text-slate-300 text-[11px]" data-v-efc9bb3a>VIRAL CAPTION & HASHTAGS</span><button class="inline-flex items-center gap-1.5 px-3 py-1 bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 rounded-lg transition text-[11px] font-bold" data-v-efc9bb3a>`);
|
|
1377
1394
|
if (unref(copied)) {
|
|
1378
1395
|
_push(ssrRenderComponent(unref(Check), { class: "w-3.5 h-3.5 text-emerald-400" }, null, _parent));
|
|
1379
1396
|
} else {
|
|
1380
1397
|
_push(ssrRenderComponent(unref(Copy), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1381
1398
|
}
|
|
1382
|
-
_push(`<span data-v-
|
|
1399
|
+
_push(`<span data-v-efc9bb3a>${ssrInterpolate(unref(copied) ? "Tersalin!" : "Copy Caption")}</span></button></div><textarea rows="2" class="w-full bg-slate-950 text-slate-200 text-xs p-2 rounded-xl border border-slate-800 focus:outline-none focus:border-sky-500/50 resize-none leading-relaxed font-sans" placeholder="Caption will appear here..." data-v-efc9bb3a>${ssrInterpolate(__props.data.caption)}</textarea></div></div>`);
|
|
1383
1400
|
};
|
|
1384
1401
|
}
|
|
1385
1402
|
});
|
|
@@ -1389,7 +1406,7 @@ _sfc_main$1.setup = (props, ctx) => {
|
|
|
1389
1406
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/LivePreview.vue");
|
|
1390
1407
|
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
1391
1408
|
};
|
|
1392
|
-
const __nuxt_component_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
1409
|
+
const __nuxt_component_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-efc9bb3a"]]);
|
|
1393
1410
|
const ComparisonRowSchema = z.object({
|
|
1394
1411
|
label: z.string().min(1).max(40),
|
|
1395
1412
|
left: z.string().min(1).max(35),
|
|
@@ -2009,4 +2026,4 @@ _sfc_main.setup = (props, ctx) => {
|
|
|
2009
2026
|
};
|
|
2010
2027
|
|
|
2011
2028
|
export { _sfc_main as default };
|
|
2012
|
-
//# sourceMappingURL=pages-
|
|
2029
|
+
//# sourceMappingURL=pages-BB0Bky-X.mjs.map
|