@acedatacloud/nexior 3.90.0 → 3.92.0
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/dist/assets/{Auth-DZJBJnih.js → Auth-Ca1zlpxV.js} +1 -1
- package/dist/assets/{BotPlaceholder-C31K8To0.js → BotPlaceholder-CnYzSwa6.js} +1 -1
- package/dist/assets/{Callback-B3VnQiN9.js → Callback-DAzsXClB.js} +1 -1
- package/dist/assets/{Console-C5ZNDDno.js → Console-BGwSeITk.js} +1 -1
- package/dist/assets/{Consumption-BZkNM6Iy.js → Consumption-C-RXHwF8.js} +1 -1
- package/dist/assets/{Conversation-ypVgyT9Z.js → Conversation-BvkyoHjc.js} +1 -1
- package/dist/assets/{CopyToClipboard-Bm9B1JG9.js → CopyToClipboard-j5Q2Kc6N.js} +1 -1
- package/dist/assets/{Detail-BJNsa81A.js → Detail-Xqtlygg1.js} +2 -2
- package/dist/assets/{EditArray-CX6FHuvB.js → EditArray-DGyTLWw6.js} +1 -1
- package/dist/assets/{Extra-Cs4E2QBd.js → Extra-DLEvIL8x.js} +1 -1
- package/dist/assets/{FilePreview-DgK4fywf.js → FilePreview-CMiekYFn.js} +1 -1
- package/dist/assets/{History-BQPu5NJu.js → History-B7qmGxDF.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-CZKUVUG6.js → IconPark.vue_vue_type_script_setup_true_lang-BcKtCnVg.js} +1 -1
- package/dist/assets/{ImagePreview-DKUQBUe6.js → ImagePreview-hUTkC0Ih.js} +1 -1
- package/dist/assets/{ImageWrapper-ClLlRyzU.js → ImageWrapper-nAPnMgFW.js} +1 -1
- package/dist/assets/{Index-Ca3nrhcK.js → Index-B0RDQ9kc.js} +1 -1
- package/dist/assets/{Index-C2iRYsqr.js → Index-BKenI2nT.js} +1 -1
- package/dist/assets/{Index-nbVOUxQF.js → Index-BMAnpnob.js} +1 -1
- package/dist/assets/{Index-DEjVC3QW.js → Index-BMqJMsLk.js} +1 -1
- package/dist/assets/{Index-D3jdcd4h.js → Index-BWoOKlKN.js} +1 -1
- package/dist/assets/{Index-rEnEC3I6.css → Index-Ba6UBNcH.css} +1 -1
- package/dist/assets/{Index-BhwBpPqq.js → Index-BdxUwUTL.js} +1 -1
- package/dist/assets/{Index-BNBKPnZS.js → Index-BjeaExfc.js} +1 -1
- package/dist/assets/{Index-BfecInRM.js → Index-BxdDYTsN.js} +1 -1
- package/dist/assets/{Index-CbkRPIHE.js → Index-CGUKr6rz.js} +1 -1
- package/dist/assets/{Index-YWf5oI2T.js → Index-CSU9bGI_.js} +1 -1
- package/dist/assets/{Index-BNJgzQAE.js → Index-Ce95Xhwd.js} +1 -1
- package/dist/assets/{Index-Dw2Yb9cO.js → Index-CkZ-GIeN.js} +1 -1
- package/dist/assets/Index-CqA84pm1.js +1 -0
- package/dist/assets/{Index-DFsOHWEV.js → Index-D8pk_n2z.js} +1 -1
- package/dist/assets/{Index-BkX0twGH.js → Index-DOSUI8yl.js} +1 -1
- package/dist/assets/{Index-D_yxHWyv.js → Index-DPtb1Dvv.js} +1 -1
- package/dist/assets/{Index-C2MxAQJZ.js → Index-DdOnDD2J.js} +1 -1
- package/dist/assets/{Index-C8WyyT_z.js → Index-DgVGVr0G.js} +1 -1
- package/dist/assets/{Index-T8xMQXSj.js → Index-DhaeVX3f.js} +1 -1
- package/dist/assets/{Index-DybB5Z8x.js → Index-DkjTtAdR.js} +1 -1
- package/dist/assets/{Index-fvJnqrU7.js → Index-Duq6pei3.js} +1 -1
- package/dist/assets/{Index-Btf1ONWX.js → Index-R6LvF-rK.js} +1 -1
- package/dist/assets/{Index-Q6TLdt-Z.js → Index-Uy6pks0w.js} +1 -1
- package/dist/assets/{Index-DT5RyZH9.js → Index-leXD0T4X.js} +1 -1
- package/dist/assets/{Index-Cy5r_FdF.js → Index-qS_7rc_F.js} +1 -1
- package/dist/assets/{Invitees-LwR1e4pd.js → Invitees-CPvt_Mr0.js} +1 -1
- package/dist/assets/{List-L9UL96dD.js → List-B4MnI4Ut.js} +1 -1
- package/dist/assets/{List-BLvCnbfN.js → List-Bc6eFHkF.js} +1 -1
- package/dist/assets/{List-CSe3cs9u.js → List-CSCdeqyT.js} +1 -1
- package/dist/assets/{List-CqapQYOX.js → List-CbiQGNQQ.js} +1 -1
- package/dist/assets/{Main-EENueayC.js → Main-C7gD7488.js} +1 -1
- package/dist/assets/{Navigator-7FOARZBL.js → Navigator-DuFYGvKr.js} +1 -1
- package/dist/assets/{NoTasks-INFj9zWz.js → NoTasks-DCFz_cPB.js} +1 -1
- package/dist/assets/{NotFound-auuN5HKq.js → NotFound-7_cX8wpK.js} +1 -1
- package/dist/assets/{OAuthCallback-nPWXmEw4.js → OAuthCallback-_xVLEqAx.js} +1 -1
- package/dist/assets/{Pagination-B-eaPMPQ.js → Pagination-qfdTQPrv.js} +1 -1
- package/dist/assets/{ScrollList-D2YriCs9.js → ScrollList-ppHF7k1A.js} +1 -1
- package/dist/assets/{Status-BF51ayN_.js → Status-BDDYaZ43.js} +1 -1
- package/dist/assets/{Subscribe-CQfmNjJc.js → Subscribe-Bd1QDvmP.js} +1 -1
- package/dist/assets/{TransportWebHID-CBJUPQMM.js → TransportWebHID-jk9Hc7Xp.js} +1 -1
- package/dist/assets/{VideoPlayer-DkTzHccF.js → VideoPlayer-BiZGhs1e.js} +1 -1
- package/dist/assets/{_Uint8Array-Cr1cjG4I.js → _Uint8Array-B9wo990u.js} +1 -1
- package/dist/assets/{_baseClone-CjTgJNX4.js → _baseClone-OaArZu3M.js} +1 -1
- package/dist/assets/{_baseIteratee-C2KvIaBQ.js → _baseIteratee-CAzVICbz.js} +1 -1
- package/dist/assets/{_initCloneObject-G_TFMsX_.js → _initCloneObject-CezWJWWn.js} +1 -1
- package/dist/assets/{add-ZfqV9KJU.js → add-DEMwPiju.js} +1 -1
- package/dist/assets/{all-wallets-D0TumgD2.js → all-wallets-hS5Bx0k7.js} +1 -1
- package/dist/assets/{app-store-1mg9ndzu.js → app-store-Dp5xS8YD.js} +1 -1
- package/dist/assets/{apple-xBYAOTW2.js → apple-DH-j8df2.js} +1 -1
- package/dist/assets/{arrow-bottom-DTX7m2yQ.js → arrow-bottom-BsP1IGir.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-Bnrdh0M3.js → arrow-bottom-circle-C3e6Zp8c.js} +1 -1
- package/dist/assets/{arrow-left-CoPzNzms.js → arrow-left-Cgxg9Goo.js} +1 -1
- package/dist/assets/{arrow-right-OU4IoUCT.js → arrow-right-CQpuYp_y.js} +1 -1
- package/dist/assets/{arrow-top-CbmWKgiE.js → arrow-top-JQgX23y6.js} +1 -1
- package/dist/assets/{avatar-CreZXTP4.js → avatar-KEKoYOP6.js} +1 -1
- package/dist/assets/{bank-DPlJX83h.js → bank-I3Zvi_fF.js} +1 -1
- package/dist/assets/{basic-CiuX7IRi.js → basic-DvrGKvqa.js} +1 -1
- package/dist/assets/{browser-CliwPYH_.js → browser-DGYZYvuX.js} +1 -1
- package/dist/assets/{byokCredential-VPisqNad.js → byokCredential-5sSSQc66.js} +1 -1
- package/dist/assets/{card-C86zrJkV.js → card-DK1W3Qtw.js} +1 -1
- package/dist/assets/{castArray-CNpuHwov.js → castArray-CEgxRlUQ.js} +1 -1
- package/dist/assets/{chat-DobfKTYG.js → chat-BKbNZjqm.js} +1 -1
- package/dist/assets/{checkmark-CgS-dIyR.js → checkmark-DnugIskI.js} +1 -1
- package/dist/assets/{checkmark-bold-D5Ppoy1Z.js → checkmark-bold-BMOkUNdP.js} +1 -1
- package/dist/assets/{chevron-bottom-bC3kHkHL.js → chevron-bottom-C5gAkiCt.js} +1 -1
- package/dist/assets/{chevron-left-BegHVtJy.js → chevron-left-BjyBbgWT.js} +1 -1
- package/dist/assets/{chevron-right-CmnVETRn.js → chevron-right-DIIzRj0Q.js} +1 -1
- package/dist/assets/{chevron-top-CTYSG3Zu.js → chevron-top-PDFzmwA6.js} +1 -1
- package/dist/assets/{chrome-store-Nk-nK26B.js → chrome-store-Do1xQLwV.js} +1 -1
- package/dist/assets/{clock-UXyAXXiy.js → clock-CU-Y6bZa.js} +1 -1
- package/dist/assets/{close-CzDoe5Lf.js → close-_0kQCp84.js} +1 -1
- package/dist/assets/{coinPlaceholder-Dc7Y5y2v.js → coinPlaceholder-Bi6bmmn3.js} +1 -1
- package/dist/assets/{compass-BN7wyNn4.js → compass-BLwv3tbG.js} +1 -1
- package/dist/assets/{copy-CASmr1mP.js → copy-Bgx9soZe.js} +1 -1
- package/dist/assets/{cursor-CaM-4EM2.js → cursor-Cupf9JP6.js} +1 -1
- package/dist/assets/{cursor-transparent-BVVhevkc.js → cursor-transparent-3rfNV1z4.js} +1 -1
- package/dist/assets/{debounce-vY0mNUPJ.js → debounce-z3wHMjDj.js} +1 -1
- package/dist/assets/{desktop-Dwmk1jVS.js → desktop-DgGQ9yxs.js} +1 -1
- package/dist/assets/{disconnect-Ai_l8PmH.js → disconnect-4BrXCIam.js} +1 -1
- package/dist/assets/{discord-BtGmxJuP.js → discord-BvNN6ZEV.js} +1 -1
- package/dist/assets/{distribution-CGBORnfB.js → distribution-CyV-Hg8s.js} +1 -1
- package/dist/assets/{dropdown-oRp0MQI5.js → dropdown-DPQ051fG.js} +1 -1
- package/dist/assets/{etherscan-34x79Jb2.js → etherscan-Dl9-zgUj.js} +1 -1
- package/dist/assets/{exclamation-triangle-CuIKtox-.js → exclamation-triangle-BSvg3YYN.js} +1 -1
- package/dist/assets/{extension-DBsAa4cI.js → extension-DfH2rBT-.js} +1 -1
- package/dist/assets/{external-link-BHIjOz7M.js → external-link-Dme5cbGO.js} +1 -1
- package/dist/assets/{facebook-BQKAxlM_.js → facebook-qtFBWJ7u.js} +1 -1
- package/dist/assets/{farcaster-zfFu_vBu.js → farcaster-Bpz1mbg7.js} +1 -1
- package/dist/assets/{filters-1XesSljB.js → filters-Dewno6B6.js} +1 -1
- package/dist/assets/{flux-BkqX155p.js → flux-FC-ZXbLy.js} +1 -1
- package/dist/assets/{github-CpMTsMEo.js → github-WPcuqu7y.js} +1 -1
- package/dist/assets/{google-CIeQGKTu.js → google-CQIisxib.js} +1 -1
- package/dist/assets/{hailuo-CC-uStzb.js → hailuo-Bwx9zGTZ.js} +1 -1
- package/dist/assets/{headshots-CqML5RTY.js → headshots-DH_21x1m.js} +1 -1
- package/dist/assets/{help-circle-CRYWnFwT.js → help-circle-BYzCuumC.js} +1 -1
- package/dist/assets/{id-cSrFDjNE.js → id-DzulqMi0.js} +1 -1
- package/dist/assets/{image-jgfWW6Hq.js → image-C9vp7EJR.js} +1 -1
- package/dist/assets/{index-CiptZ5ok.js → index-3Jquc4Vy.js} +1 -1
- package/dist/assets/{index-C_7wmSl9.js → index-5durBcIc.js} +1 -1
- package/dist/assets/{index-CkoOQl9N.js → index-6Kj8H0UT.js} +1 -1
- package/dist/assets/{index-BTu5LJAi.js → index-9rUgJTM0.js} +1 -1
- package/dist/assets/{index-CvzrIomF.js → index-B--cBpnc.js} +1 -1
- package/dist/assets/{index-DpurH6sA.js → index-B0CgevO0.js} +1 -1
- package/dist/assets/{index-BLE_yb0h.js → index-B57xaC7s.js} +1 -1
- package/dist/assets/{index-D-c3cAFR.js → index-B5z3D9g7.js} +1 -1
- package/dist/assets/{index-CkSjvWS3.js → index-BCUP3Qpw.js} +1 -1
- package/dist/assets/{index-BfzxntyX.js → index-BEISdWxi.js} +1 -1
- package/dist/assets/{index-CgJJVGIc.js → index-BLrLR8tq.js} +1 -1
- package/dist/assets/{index-CGh2-Zso.js → index-BWUBjXz2.js} +1 -1
- package/dist/assets/{index-xRF2VnUn.js → index-BXzGGBJg.js} +1 -1
- package/dist/assets/{index-dUO4BtZV.js → index-B_a5jHgv.js} +1 -1
- package/dist/assets/{index-B2yh3MI5.js → index-BfOryRNq.js} +1 -1
- package/dist/assets/{index-WTcxGUyS.js → index-Bf_0a_2-.js} +1 -1
- package/dist/assets/{index-SF_3AsLj.js → index-Bfa0l5Mz.js} +1 -1
- package/dist/assets/{index-CPXtqSsE.js → index-BgVy5KIm.js} +1 -1
- package/dist/assets/{index-DJl11D_I.js → index-BoMrEY9d.js} +1 -1
- package/dist/assets/{index-8zQM9luF.js → index-BoNQ2bwh.js} +1 -1
- package/dist/assets/{index-BxmcD7ly.js → index-Brb5A4NQ.js} +1 -1
- package/dist/assets/{index-QvSk2owZ.js → index-BtKP25bm.js} +1 -1
- package/dist/assets/{index-DA_FluBX.js → index-C2C5Wr_B.js} +1 -1
- package/dist/assets/{index-BEuBorcN.js → index-C3qdTgIX.js} +1 -1
- package/dist/assets/{index-BR6Om9Zo.js → index-CIgoWPQC.js} +1 -1
- package/dist/assets/{index-zUitDARp.js → index-CMy7JKPa.js} +1 -1
- package/dist/assets/{index-4N13hL2a.js → index-COZ2Qhqe.js} +1 -1
- package/dist/assets/{index-Ctk94Ps3.js → index-CVHZPJ6x.js} +1 -1
- package/dist/assets/{index-C-9b9MKh.js → index-CVh8Wj89.js} +1 -1
- package/dist/assets/{index-DFNAFF2z.js → index-CZSdwn7u.js} +1 -1
- package/dist/assets/{index-0h9O1Jsg.js → index-Ca4hYOWF.js} +1 -1
- package/dist/assets/{index-DLFK_N5e.js → index-Cc0CymYy.js} +1 -1
- package/dist/assets/{index-CGD4boz_.js → index-CdgG2-bY.js} +1 -1
- package/dist/assets/{index-CWWzprLz.js → index-CerYJYug.js} +3 -3
- package/dist/assets/{index-Bsidby00.js → index-CkFTRS4T.js} +1 -1
- package/dist/assets/{index-CdMoNAeG.js → index-CnQGsAad.js} +1 -1
- package/dist/assets/{index-BPc_hLP6.js → index-CrLjycjS.js} +1 -1
- package/dist/assets/{index-Csfajqwi.js → index-Cyblde_V.js} +1 -1
- package/dist/assets/{index-D0IqUyZl.js → index-D2HSg-zC.js} +1 -1
- package/dist/assets/{index-DSGdn0Vx.js → index-D5nhIR6Q.js} +1 -1
- package/dist/assets/{index-Bz5ZJB6T.js → index-D6IXtSdh.js} +1 -1
- package/dist/assets/{index-CTYdfNsL.js → index-D_lHh-es.js} +1 -1
- package/dist/assets/{index-DYbIRvGT.js → index-De6GneQ8.js} +1 -1
- package/dist/assets/{index-DV9G969S.js → index-Di4WB8s_.js} +1 -1
- package/dist/assets/{index-CL1prdmz.js → index-DiqBmBf1.js} +1 -1
- package/dist/assets/{index-T0lAANit.js → index-DpUlq2LB.js} +1 -1
- package/dist/assets/{index-M2b128ZH.js → index-DxnrvYVH.js} +4 -4
- package/dist/assets/{index-CZat78oA.js → index-Dz8ZozJg.js} +1 -1
- package/dist/assets/{index-2OHKNhci.js → index-Ht8ZOU1H.js} +1 -1
- package/dist/assets/{index-CxUhtb3l.js → index-LGUNEkGJ.js} +1 -1
- package/dist/assets/{index-Jzqg1HiG.js → index-ODKX1GcE.js} +1 -1
- package/dist/assets/{index-CJ2GaDXw.js → index-Qx6yMP72.js} +1 -1
- package/dist/assets/{index-WMYq6_VE.js → index-SPbBnreU.js} +1 -1
- package/dist/assets/{index-myZ2lGrx.js → index-UjZdwrmf.js} +1 -1
- package/dist/assets/{index-Crwb1ixw.js → index-Uo0Z1peq.js} +1 -1
- package/dist/assets/{index-Bmvuto0Y.js → index-al6k0BWh.js} +1 -1
- package/dist/assets/{index-CKLvkNh3.js → index-bLc6Jspi.js} +1 -1
- package/dist/assets/{index-CI1PiE-4.js → index-eMWbvaT8.js} +1 -1
- package/dist/assets/{index-CLL-9C7m.js → index-ntZJxZkI.js} +1 -1
- package/dist/assets/{index-B-GUX2oo.js → index-wZWQdxfX.js} +6 -6
- package/dist/assets/{index-C853fSYq.js → index-ybuanIkm.js} +1 -1
- package/dist/assets/{index.browser.esm-CRMbKy_R.js → index.browser.esm-CMyd3P11.js} +1 -1
- package/dist/assets/{index.es-CMIycEfY.js → index.es-CTSlEmkZ.js} +1 -1
- package/dist/assets/{info-CeAmXpnj.js → info-DMZFMzxp.js} +1 -1
- package/dist/assets/{info-circle-DwaE_e9M.js → info-circle-xICxd0uu.js} +1 -1
- package/dist/assets/{isEqual-Dr8gXji5.js → isEqual-6gRCrOyw.js} +1 -1
- package/dist/assets/{isPlainObject-BWZEB0kg.js → isPlainObject-BEYgAMDz.js} +1 -1
- package/dist/assets/{kling-DmbPT2cF.js → kling-DXYa77Iq.js} +1 -1
- package/dist/assets/{lightbulb-xznf7EC4.js → lightbulb-C5LhhyzR.js} +1 -1
- package/dist/assets/{luma-BSLa3cpx.js → luma-Dkzf0Kx5.js} +1 -1
- package/dist/assets/{mail--3nf0C-e.js → mail-LNMuUQYI.js} +1 -1
- package/dist/assets/{midjourney-B4K_lgnq.js → midjourney-CtLPRylN.js} +1 -1
- package/dist/assets/{mobile-V6kDJxnm.js → mobile-tfJMv3jS.js} +1 -1
- package/dist/assets/{more-DFym--or.js → more-B_CeVrMU.js} +1 -1
- package/dist/assets/{nanobanana-DrUzxhyd.js → nanobanana-DBSwoCbv.js} +1 -1
- package/dist/assets/{network-placeholder-JCSsBsWm.js → network-placeholder-BMZoT_Xp.js} +1 -1
- package/dist/assets/{nftPlaceholder-CdTTS7Zm.js → nftPlaceholder-CYj1TKgl.js} +1 -1
- package/dist/assets/{off-DH8SRHYg.js → off-Diu2oqGG.js} +1 -1
- package/dist/assets/{openaiimage-BOyTlTb9.js → openaiimage-Dp1aJmh-.js} +1 -1
- package/dist/assets/{order-y7NtUKC7.js → order-DcvZog5z.js} +1 -1
- package/dist/assets/{pika-BAYJCSfI.js → pika-C87UZtqr.js} +1 -1
- package/dist/assets/{pixverse-CORkjteG.js → pixverse-Dij-fj8j.js} +1 -1
- package/dist/assets/{play-store-BuNEZtzo.js → play-store-CC50ZlqW.js} +1 -1
- package/dist/assets/{plus-FA9-Hkp6.js → plus-VfQZsL1i.js} +1 -1
- package/dist/assets/{price-DTrERJBf.js → price-pXO0t_ig.js} +1 -1
- package/dist/assets/{producer-CY4HO-a2.js → producer-9gDqjKg1.js} +1 -1
- package/dist/assets/{qr-code-kuRqMpBF.js → qr-code-DdU7ijlx.js} +1 -1
- package/dist/assets/{qrart-Dq9wZcEV.js → qrart-D-QIJqqN.js} +1 -1
- package/dist/assets/{recycle-horizontal-897XEUe9.js → recycle-horizontal-Ci-6r0iZ.js} +1 -1
- package/dist/assets/{refresh-Dwy_Y3Pc.js → refresh-v3PXYPXV.js} +1 -1
- package/dist/assets/{reown-logo-BDZauVtp.js → reown-logo-BaFHxeh1.js} +1 -1
- package/dist/assets/{search-CFjRk2i8.js → search-Dncno5Z2.js} +1 -1
- package/dist/assets/{secp256k1-Cm8f8CgS.js → secp256k1-BInEFu_O.js} +1 -1
- package/dist/assets/{secp256k1-CVJSjtCV.js → secp256k1-BYHZzCXX.js} +1 -1
- package/dist/assets/{seedance-B4ZxGO-H.js → seedance-DPzn40ni.js} +1 -1
- package/dist/assets/{seedream-DUOEyGgz.js → seedream-DFHN2jyY.js} +1 -1
- package/dist/assets/{send-jmP4wFNL.js → send-DLKez4WU.js} +1 -1
- package/dist/assets/{service-D-bWJV7u.js → service-C-BcC0jW.js} +1 -1
- package/dist/assets/{solana-wallets-Cke6ddYt.js → solana-wallets-BLmaFGOH.js} +2 -2
- package/dist/assets/{solana-wallets-vue-BL6LpT_N.js → solana-wallets-vue-Ce5vHq8g.js} +1 -1
- package/dist/assets/{solanaEmbed.esm-D5xV673d.js → solanaEmbed.esm-C-1HVW-p.js} +1 -1
- package/dist/assets/{sora-BpqQdUAg.js → sora-BGy-JOjT.js} +1 -1
- package/dist/assets/{string_decoder-DXjg27LR.js → string_decoder-ByRWPqnw.js} +1 -1
- package/dist/assets/{suno-8u3cNlqe.js → suno-ClcDMAOe.js} +1 -1
- package/dist/assets/{swapHorizontal-D5fVeJ0j.js → swapHorizontal-DKdNOxYo.js} +1 -1
- package/dist/assets/{swapHorizontalBold-ETHkPZGC.js → swapHorizontalBold-BLD9O-zm.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-B1BeTSgP.js → swapHorizontalMedium-C9W1N81N.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-BD11BbUE.js → swapHorizontalRoundedBold-BPn-5dZu.js} +1 -1
- package/dist/assets/{swapVertical-O-mi3LWz.js → swapVertical-I5K-5MU2.js} +1 -1
- package/dist/assets/{telegram-BRE7_POX.js → telegram-DXoeeESQ.js} +1 -1
- package/dist/assets/{three-dots-mpHClpoA.js → three-dots-DzXpa-5W.js} +1 -1
- package/dist/assets/{twitch-BLJde7-K.js → twitch-DxMB98Lh.js} +1 -1
- package/dist/assets/{twitterIcon-CM4K3h0a.js → twitterIcon-Bk7-lqqy.js} +1 -1
- package/dist/assets/{typescript-BWJYf4Zx.js → typescript-Cdvt30Lj.js} +1 -1
- package/dist/assets/{use-form-item-BlmY11uh.js → use-form-item-CVgF_2-v.js} +1 -1
- package/dist/assets/validator-C3W4Q7W8.js +1 -0
- package/dist/assets/{veo-Bl4jycHS.js → veo-DZMs4i-A.js} +1 -1
- package/dist/assets/{verify-D3JSjEmx.js → verify-JGkCYxuc.js} +1 -1
- package/dist/assets/{verify-filled-dNV0jnpp.js → verify-filled-BXrONTz-.js} +1 -1
- package/dist/assets/{w3m-modal-DsP3__-l.js → w3m-modal-ByzqxOkN.js} +1 -1
- package/dist/assets/{wallet-BdLsHHI3.js → wallet-Z8BoHxQF.js} +1 -1
- package/dist/assets/{wallet-placeholder-BDk06AV0.js → wallet-placeholder-BFR6lqau.js} +1 -1
- package/dist/assets/{walletconnect-DfYHmhEm.js → walletconnect-D5ZEGds1.js} +1 -1
- package/dist/assets/{wan-vW84zUZn.js → wan-DPH_ee52.js} +1 -1
- package/dist/assets/{warning-circle-Bv1SEcux.js → warning-circle-DLJyvaJ4.js} +1 -1
- package/dist/assets/{web-lxj39X4Q.js → web-BuQvlgS1.js} +1 -1
- package/dist/assets/{web-CnjcE6Kn.js → web-CdVnwqeA.js} +1 -1
- package/dist/assets/{x-D-IcFbD6.js → x-ClteeeY4.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index-BVCLdTPR.js +0 -1
- package/dist/assets/validator-DijqStlu.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=o`<svg width="10" height="10" viewBox="0 0 10 10">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const w=o`<svg
|
|
2
2
|
width="14"
|
|
3
3
|
height="14"
|
|
4
4
|
viewBox="0 0 14 14"
|
package/dist/assets/{swapHorizontalRoundedBold-BD11BbUE.js → swapHorizontalRoundedBold-BPn-5dZu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=o`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=l`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./index-
|
|
1
|
+
import{w as t}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=t`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<path fill="url(#b)" d="M0 0h32v32H0z"/>
|
|
4
4
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.034 15.252c4.975-2.167 8.293-3.596 9.953-4.287 4.74-1.971 5.725-2.314 6.366-2.325.142-.002.457.033.662.198.172.14.22.33.243.463.022.132.05.435.028.671-.257 2.7-1.368 9.248-1.933 12.27-.24 1.28-.71 1.708-1.167 1.75-.99.091-1.743-.655-2.703-1.284-1.502-.985-2.351-1.598-3.81-2.558-1.684-1.11-.592-1.721.368-2.718.252-.261 4.619-4.233 4.703-4.594.01-.045.02-.213-.08-.301-.1-.09-.246-.059-.353-.035-.15.034-2.55 1.62-7.198 4.758-.682.468-1.298.696-1.851.684-.61-.013-1.782-.344-2.653-.628-1.069-.347-1.918-.53-1.845-1.12.039-.308.462-.623 1.27-.944Z" fill="#fff"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./index-
|
|
1
|
+
import{w as t}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const g=t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
|
|
3
3
|
<path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
|
|
4
4
|
<path d="M5.25 12.4688C5.25 13.4352 6.0335 14.2187 7 14.2187C7.9665 14.2187 8.75 13.4352 8.75 12.4688C8.75 11.5023 7.9665 10.7188 7 10.7188C6.0335 10.7188 5.25 11.5023 5.25 12.4688Z" fill="#949E9E"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const A=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as h,m as M,n as F,b as R,o as T,q as V,r as W,v as B,w as z,x as D}from"./index-
|
|
1
|
+
import{t as h,m as M,n as F,b as R,o as T,q as V,r as W,v as B,w as z,x as D}from"./index-DxnrvYVH.js";import{b as _,w as y,c as J,k as U}from"./vendor-vue-C5BV5QrY.js";function m(e){var t;const r=W(e);return(t=r?.$el)!=null?t:r}const w=R?window:void 0,k=R?window.document:void 0;function b(...e){let t,r,n,u;if(T(e[0])||Array.isArray(e[0])?([r,n,u]=e,t=w):[t,r,n,u]=e,!t)return F;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const d=[],a=()=>{d.forEach(i=>i()),d.length=0},l=(i,f,s,o)=>(i.addEventListener(f,s,o),()=>i.removeEventListener(f,s,o)),p=y(()=>[m(t),W(u)],([i,f])=>{a(),i&&d.push(...r.flatMap(s=>n.map(o=>l(i,s,o,f))))},{immediate:!0,flush:"post"}),v=()=>{p(),a()};return h(v),v}let S=!1;function ie(e,t,r={}){const{window:n=w,ignore:u=[],capture:d=!0,detectIframe:a=!1}=r;if(!n)return;M&&!S&&(S=!0,Array.from(n.document.body.children).forEach(s=>s.addEventListener("click",F)));let l=!0;const p=s=>u.some(o=>{if(typeof o=="string")return Array.from(n.document.querySelectorAll(o)).some(c=>c===s.target||s.composedPath().includes(c));{const c=m(o);return c&&(s.target===c||s.composedPath().includes(c))}}),i=[b(n,"click",s=>{const o=m(e);if(!(!o||o===s.target||s.composedPath().includes(o))){if(s.detail===0&&(l=!p(s)),!l){l=!0;return}t(s)}},{passive:!0,capture:d}),b(n,"pointerdown",s=>{const o=m(e);o&&(l=!s.composedPath().includes(o)&&!p(s))},{passive:!0}),a&&b(n,"blur",s=>{var o;const c=m(e);((o=n.document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&!c?.contains(n.document.activeElement)&&t(s)})].filter(Boolean);return()=>i.forEach(s=>s())}function L(e,t=!1){const r=_(),n=()=>r.value=!!e();return n(),V(n,t),r}function q(e){return JSON.parse(JSON.stringify(e))}const N=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$="__vueuse_ssr_handlers__";N[$]=N[$]||{};function ue({document:e=k}={}){if(!e)return _("visible");const t=_(e.visibilityState);return b(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var j=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,K=(e,t)=>{var r={};for(var n in e)G.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&j)for(var n of j(e))t.indexOf(n)<0&&H.call(e,n)&&(r[n]=e[n]);return r};function le(e,t,r={}){const n=r,{window:u=w}=n,d=K(n,["window"]);let a;const l=L(()=>u&&"ResizeObserver"in u),p=()=>{a&&(a.disconnect(),a=void 0)},v=y(()=>m(e),f=>{p(),l.value&&u&&f&&(a=new ResizeObserver(t),a.observe(f,d))},{immediate:!0,flush:"post"}),i=()=>{p(),v()};return h(i),{isSupported:l,stop:i}}var x=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,Z=(e,t)=>{var r={};for(var n in e)X.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&x)for(var n of x(e))t.indexOf(n)<0&&Y.call(e,n)&&(r[n]=e[n]);return r};function ce(e,t,r={}){const n=r,{window:u=w}=n,d=Z(n,["window"]);let a;const l=L(()=>u&&"MutationObserver"in u),p=()=>{a&&(a.disconnect(),a=void 0)},v=y(()=>m(e),f=>{p(),l.value&&u&&f&&(a=new MutationObserver(t),a.observe(f,d))},{immediate:!0}),i=()=>{p(),v()};return h(i),{isSupported:l,stop:i}}var A;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(A||(A={}));var ee=Object.defineProperty,C=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,Q=(e,t,r)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,re=(e,t)=>{for(var r in t||(t={}))te.call(t,r)&&Q(e,r,t[r]);if(C)for(var r of C(t))ne.call(t,r)&&Q(e,r,t[r]);return e};const se={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};re({linear:D},se);function fe(e,t,r,n={}){var u,d,a;const{clone:l=!1,passive:p=!1,eventName:v,deep:i=!1,defaultValue:f}=n,s=U(),o=s?.emit||((u=s?.$emit)==null?void 0:u.bind(s))||((a=(d=s?.proxy)==null?void 0:d.$emit)==null?void 0:a.bind(s?.proxy));let c=v;c=v||c||`update:${t.toString()}`;const E=O=>l?z(l)?l(O):q(O):O,P=()=>B(e[t])?E(e[t]):f;if(p){const O=P(),g=_(O);return y(()=>e[t],I=>g.value=E(I)),y(g,I=>{(I!==e[t]||i)&&o(c,I)},{deep:i}),g}else return J({get(){return P()},set(O){o(c,O)}})}function de({window:e=w}={}){if(!e)return _(!1);const t=_(e.document.hasFocus());return b(e,"blur",()=>{t.value=!1}),b(e,"focus",()=>{t.value=!0}),t}const pe=e=>e;export{le as a,fe as b,ce as c,ue as d,de as e,m as f,pe as m,ie as o,b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as p,d as t,u as f}from"./index-
|
|
1
|
+
import{f as p,d as t,u as f}from"./index-DxnrvYVH.js";import{i as c,o as I,w,j as h,e as m,b as e,c as y}from"./vendor-vue-C5BV5QrY.js";const K=()=>{const l=c(p,void 0),u=c(t,void 0);return{form:l,formItem:u}},L=(l,{formItemContext:u,disableIdGeneration:o,disableIdManagement:s})=>{o||(o=e(!1)),s||(s=e(!1));const v=e();let d;const r=y(()=>{var a;return!!(!(l.label||l.ariaLabel)&&u&&u.inputIds&&((a=u.inputIds)==null?void 0:a.length)<=1)});return I(()=>{d=w([h(l,"id"),o],([a,n])=>{const i=a??(n?void 0:f().value);i!==v.value&&(u?.removeInputId&&(v.value&&u.removeInputId(v.value),!s?.value&&!n&&i&&u.addInputId(i)),v.value=i)},{immediate:!0})}),m(()=>{d&&d(),u?.removeInputId&&v.value&&u.removeInputId(v.value)}),{isLabeledByFormItem:r,inputId:v}};export{L as a,K as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as i}from"./index-DxnrvYVH.js";const n=o=>["",...i].includes(o);export{n as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-DxnrvYVH.js";class n{async task(a,t){return await e.post("/veo/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/veo/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/veo/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new n;export{c as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=l`<svg fill="none" viewBox="0 0 28 28">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=l`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{v as ae,x as ne,y as se,z as f,A as E,B as g,C as r,D,E as Q,F as Z,R as l,G as v,I as H,J as ce,K as C,L as le,M as q,S as V,N as h,O as A,P as M,Q as F,T as $,U as B,V as we,W as de,X as ue,Y as pe}from"./index-
|
|
1
|
+
import{v as ae,x as ne,y as se,z as f,A as E,B as g,C as r,D,E as Q,F as Z,R as l,G as v,I as H,J as ce,K as C,L as le,M as q,S as V,N as h,O as A,P as M,Q as F,T as $,U as B,V as we,W as de,X as ue,Y as pe}from"./index-wZWQdxfX.js";import{c as u,n as d,r as w,o as X,U as me}from"./index-CerYJYug.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=se({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),T={state:m,subscribe(n){return ne(m,()=>n(m))},subscribeKey(n,e){return ae(m,n,e)},showTooltip({message:n,triggerRect:e,variant:t}){m.open=!0,m.message=n,m.triggerRect=e,m.variant=t},hide(){m.open=!1,m.message="",m.triggerRect={width:0,height:0,top:0,left:0}}},he=f`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as a}from"./index-
|
|
1
|
+
import{w as a}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const h=a`
|
|
2
2
|
<svg fill="none" viewBox="0 0 48 44">
|
|
3
3
|
<path
|
|
4
4
|
style="fill: var(--wui-color-bg-300);"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./index-
|
|
1
|
+
import{w as l}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=l`<svg fill="none" viewBox="0 0 96 67">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-DxnrvYVH.js";class n{async task(a,t){return await e.post("/wan/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/wan/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/wan/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new n;export{c as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as r}from"./index-
|
|
1
|
+
import{w as r}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=r`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M11 6.67a1 1 0 1 0-2 0v2.66a1 1 0 0 0 2 0V6.67ZM10 14.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as t}from"./index-
|
|
1
|
+
import{W as t}from"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";class m extends t{constructor(){super(),this.handleVisibilityChange=()=>{const e={isActive:document.hidden!==!0};this.notifyListeners("appStateChange",e),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:document.hidden!==!0}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}async toggleBackButtonHandler(){throw this.unimplemented("Not implemented on web.")}async getAppLanguage(){return{value:navigator.language.split("-")[0].toLowerCase()}}}export{m as AppWeb};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as n}from"./index-
|
|
1
|
+
import{W as n}from"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";class t extends n{constructor(){super(),this._lastWindow=null}async open(o){this._lastWindow=window.open(o.url,o.windowName||"_blank")}async close(){return new Promise((o,s)=>{this._lastWindow!=null?(this._lastWindow.close(),this._lastWindow=null,o()):s("No active window to close!")})}}const c=new t;export{c as Browser,t as BrowserWeb};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-wZWQdxfX.js";import"./index.browser.esm-CMyd3P11.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-DxnrvYVH.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const e=i`<svg fill="none" viewBox="0 0 41 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<path fill="#000" d="M.8 0h40v40H.8z" />
|
|
4
4
|
<path
|
package/dist/index.html
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
</style>
|
|
209
|
-
<script type="module" crossorigin src="/assets/index-
|
|
209
|
+
<script type="module" crossorigin src="/assets/index-DxnrvYVH.js"></script>
|
|
210
210
|
<link rel="modulepreload" crossorigin href="/assets/vendor-vue-C5BV5QrY.js">
|
|
211
211
|
<link rel="modulepreload" crossorigin href="/assets/vendor-axios-B8_nURbH.js">
|
|
212
212
|
<link rel="modulepreload" crossorigin href="/assets/vendor-dayjs-Cvgzdobq.js">
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as T}from"./index.es-CMIycEfY.js";import{E as M}from"./index-DA_FluBX.js";import{E as ie}from"./index-D0IqUyZl.js";import{d as k,H as p,z as A,J as $,E as s,C as n,y as f,D as o,q as i,F as a,O as E,N as I,x as w,Q as L,R as fe,I as y}from"./vendor-vue-C5BV5QrY.js";import{D as b,b1 as P,$ as _e,E as he,ao as Y}from"./index-M2b128ZH.js";import{b as $e,c as X,d as F,e as z,f as ve,g as ke,h as be}from"./kling-CtoPhhA9.js";import{a as G,E as O}from"./index-CL1prdmz.js";import{I as S,S as ye}from"./ScrollList-D2YriCs9.js";import{a as B,E as le}from"./index-WMYq6_VE.js";import{p as q}from"./pasteUploadMixin-BurWbGNQ.js";import{I as D}from"./ImagePreview-DKUQBUe6.js";import{E as j}from"./index-DYbIRvGT.js";import{E as C}from"./index-BfzxntyX.js";import{C as ae}from"./Consumption-BZkNM6Iy.js";import{E as re}from"./index-D-c3cAFR.js";import{E as H}from"./index-Ctk94Ps3.js";import{a as ce}from"./price-DTrERJBf.js";import{F as we}from"./FilePreview-DgK4fywf.js";import{E as Ve,a as Ce}from"./index-xRF2VnUn.js";import{E as de}from"./index-DFNAFF2z.js";import{E as Se,a as Ee}from"./index-dUO4BtZV.js";import{b as Z}from"./errorCode-Cqj9Td_Z.js";import{k as x}from"./kling-DmbPT2cF.js";import{C as Te}from"./CopyToClipboard-Bm9B1JG9.js";import{V as Ie}from"./VideoPlayer-DkTzHccF.js";import{E as Me}from"./index-C-9b9MKh.js";import{E as Ue}from"./index-8zQM9luF.js";import{B as Le}from"./BotPlaceholder-C31K8To0.js";import{N as Re}from"./NoTasks-INFj9zWz.js";import{l as Ae}from"./pagination-D5yjLyAE.js";import"./use-form-item-BlmY11uh.js";import"./index-BuyEbX8F.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-2OHKNhci.js";import"./typescript-BWJYf4Zx.js";import"./index-DJl11D_I.js";import"./strings-DGr9fDRd.js";import"./isEqual-Dr8gXji5.js";import"./_Uint8Array-Cr1cjG4I.js";import"./castArray-CNpuHwov.js";import"./debounce-vY0mNUPJ.js";import"./_baseIteratee-C2KvIaBQ.js";import"./index-B2yh3MI5.js";import"./index-D-qg-A9-.js";import"./index-CJ2GaDXw.js";import"./_baseClone-CjTgJNX4.js";import"./_initCloneObject-G_TFMsX_.js";import"./validator-DijqStlu.js";import"./index-DSGdn0Vx.js";import"./isPlainObject-BWZEB0kg.js";import"./vue-plyr-BO2nlN4c.js";import"./index-C_7wmSl9.js";const Pe=k({name:"LayoutKling",components:{ElDrawer:ie,ElButton:M,FontAwesomeIcon:T},data(){return{drawer:!1}}}),Ge={class:"kling-layout flex flex-col flex-1 min-h-0"},Oe={class:"main flex flex-row flex-1 min-h-0"},De={class:"config w-[320px] flex-none h-full overflow-y-auto bg-[var(--app-sidebar-bg)] border-r border-[var(--app-border-subtle)]"},je={class:"result h-full p-6 flex-1 flex flex-col min-w-0 overflow-x-hidden bg-[var(--app-content-bg)]"};function Ke(e,t,d,g,_,v){const c=o("font-awesome-icon"),m=o("el-button"),u=o("el-drawer");return i(),p("div",Ge,[e.$slots.tabs?A(e.$slots,"tabs",{key:0},void 0,!0):$("",!0),s("div",Oe,[s("div",De,[A(e.$slots,"config",{},void 0,!0)]),s("div",je,[A(e.$slots,"result",{},void 0,!0)]),n(m,{circle:"",class:"menu",onClick:t[0]||(t[0]=r=>e.drawer=!0)},{default:f(()=>[n(c,{icon:"fa-solid fa-magic"})]),_:1}),n(u,{modelValue:e.drawer,"onUpdate:modelValue":t[1]||(t[1]=r=>e.drawer=r),direction:"ltr","with-header":!1,size:"350px"},{default:f(()=>[A(e.$slots,"config",{},void 0,!0)]),_:3},8,["modelValue"])])])}const ze=b(Pe,[["render",Ke],["__scopeId","data-v-ee7afcd6"]]),Ne=k({name:"ModelSelector",components:{ElSelect:O,ElOption:G},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{options:[{value:"kling-v3",label:"v3"},{value:"kling-v3-omni",label:"v3-Omni"},{value:"kling-v2-6",label:"v2.6"},{value:"kling-v2-5-turbo",label:"v2.5-Turbo"},{value:"kling-v2-1-master",label:"v2.1-Master"},{value:"kling-v2-master",label:"v2-Master"},{value:"kling-v1-6",label:"v1.6"},{value:"kling-v1",label:"v1"},{value:"kling-video-o1",label:"Video-o1"}]}},computed:{value:{get(){return this.$store.state.kling?.config?.model},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,model:e})}}},mounted(){this.value||(this.value=$e)}}),Fe={class:"field"},Be={class:"title font-bold"};function qe(e,t,d,g,_,v){const c=o("el-option"),m=o("el-select");return i(),p("div",Fe,[s("h2",Be,a(e.$t("pika.name.model")),1),n(m,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u),class:"value",placeholder:e.$t("pika.placeholder.select")},{default:f(()=>[(i(!0),p(E,null,I(e.options,u=>(i(),w(c,{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}const He=b(Ne,[["render",qe],["__scopeId","data-v-a1b940c0"]]),We=k({name:"ModeSelector",components:{ElSelect:O,ElOption:G,InfoIcon:S},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],computed:{selectedModel(){return this.$store.state.kling?.config?.model||""},cameraControlSet(){return!!this.$store.state.kling?.config?.camera_control?.type},fourKReason(){return F.includes(this.selectedModel)?this.cameraControlSet?this.$t("kling.description.mode4kIncompatibleCamera"):"":this.$t("kling.description.mode4kRequiresV3")},options(){return[{value:"std",label:this.$t("kling.name.modeStd"),disabled:!1,disabledReason:""},{value:"pro",label:this.$t("kling.name.modePro"),disabled:!1,disabledReason:""},{value:"4k",label:this.$t("kling.name.mode4k"),disabled:!!this.fourKReason,disabledReason:this.fourKReason}]},value:{get(){return this.$store.state.kling?.config?.mode},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,mode:e})}}},watch:{fourKReason(e){e&&this.value==="4k"&&(this.value=X)}},mounted(){this.value||(this.value=X)}}),Je={class:"field"},Qe={class:"header"},Ye={class:"title font-bold"},Xe={key:0,class:"opt-tip"};function Ze(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-option"),u=o("el-select");return i(),p("div",Je,[s("div",Qe,[s("h2",Ye,a(e.$t("kling.name.mode")),1),n(c,{content:e.$t("kling.description.mode"),class:"info-icon"},null,8,["content"])]),n(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),class:"value",placeholder:e.$t("kling.placeholder.select"),clearable:!0},{default:f(()=>[(i(!0),p(E,null,I(e.options,r=>(i(),w(m,{key:r.value,label:r.label,value:r.value,disabled:r.disabled},{default:f(()=>[s("span",{class:L({"opt-disabled":r.disabled})},a(r.label),3),r.disabled&&r.disabledReason?(i(),p("span",Xe,a(r.disabledReason),1)):$("",!0)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},8,["modelValue","placeholder"])])}const xe=b(We,[["render",Ze],["__scopeId","data-v-6e5d6c31"]]),ee=[3,5,8,10,12,15],te=[5,10],et=k({name:"DurationSelector",components:{ElSlider:B,InfoIcon:S},props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],computed:{selectedModel(){return this.$store.state.kling?.config?.model||""},isV3Model(){return F.includes(this.selectedModel)},sliderMin(){return this.isV3Model?3:5},sliderMax(){return this.isV3Model?15:10},sliderStep(){return this.isV3Model?1:5},marks(){const e=this.isV3Model?ee:te,t={};for(const d of e)t[d]=`${d}s`;return t},value(){return this.$store.state.kling?.config?.duration??z},sliderValue:{get(){const e=this.value;return e<this.sliderMin?this.sliderMin:e>this.sliderMax?this.sliderMax:e},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,duration:e})}}},watch:{isV3Model(e){(this.isV3Model?ee:te).includes(this.value)||(this.sliderValue=z)}},mounted(){this.$store.state.kling?.config?.duration||(this.sliderValue=z)}}),tt={class:"field"},ot={class:"header"},nt={class:"title font-bold"},st={class:"value-display"};function it(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-slider");return i(),p("div",tt,[s("div",ot,[s("h2",nt,a(e.$t("kling.name.duration")),1),n(c,{content:e.$t("kling.description.duration"),class:"info-icon ml-1"},null,8,["content"]),s("span",st,a(e.value)+"s",1)]),n(m,{modelValue:e.sliderValue,"onUpdate:modelValue":t[0]||(t[0]=u=>e.sliderValue=u),class:"slider",min:e.sliderMin,max:e.sliderMax,step:e.sliderStep,marks:e.marks,"show-tooltip":!1},null,8,["modelValue","min","max","step","marks"])])}const lt=b(et,[["render",it],["__scopeId","data-v-51126e44"]]),at=k({name:"RatioSelector",data(){return{options:[{value:"1:1",label:"1:1",width:20,height:20},{value:"16:9",label:"16:9",width:25,height:13},{value:"9:16",label:"9:16",width:13,height:25}]}},computed:{active(){return this.options.findIndex(e=>e.value===this.value)||0},value:{get(){return this.$store.state?.kling?.config?.aspect_ratio},set(e){console.debug("set ratio",e),this.$store.commit("kling/setConfig",{...this.$store.state?.kling?.config,aspect_ratio:e})}}},mounted(){this.value||(this.value=ve)}}),rt={class:"text-sm font-bold mb-2 block"},ct={class:"items"},dt=["onClick"],pt={class:"name"};function mt(e,t,d,g,_,v){return i(),p("div",null,[s("span",rt,a(e.$t("kling.name.ratio")),1),s("div",ct,[(i(!0),p(E,null,I(e.options,(c,m)=>(i(),p("div",{key:m,class:L({active:e.active===m,item:!0}),onClick:u=>e.value=c.value},[s("div",{class:L(["preview",c.label])},[s("div",{class:"rect",style:fe({width:c.width+"px",height:c.height+"px"})},null,4)],2),s("p",pt,a(c.label),1)],10,dt))),128))])])}const ut=b(at,[["render",mt],["__scopeId","data-v-cdb14b2f"]]),gt=k({name:"StartImage",components:{ElUpload:j,ElButton:M,InfoIcon:S,FontAwesomeIcon:T,ImagePreview:D},mixins:[q],emits:["change"],data(){return{fileList:[],uploadUrl:P()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>e?.response?.file_url)},value:{get(){return this.$store.state?.kling?.config?.start_image_url},set(){}}},mounted(){this.value||(this.value=void 0),this.onSetStartImageUrl()},methods:{onExceed(){C.warning(this.$t("kling.message.uploadReferencesExceed"))},onError(){C.error(this.$t("kling.message.uploadReferencesError"))},onSetStartImageUrl(){const e=this.urls?.[0];this.$store.commit("kling/setConfig",{...this.$store.state?.kling?.config,start_image_url:e})},async onSuccess(){this.onSetStartImageUrl()}}}),ft={class:"relative"},_t={class:"flex justify-between"},ht={class:"flex justify-start items-center"},$t={class:"text-sm font-bold"};function vt(e,t,d,g,_,v){const c=o("info-icon"),m=o("image-preview"),u=o("font-awesome-icon"),r=o("el-button"),h=o("el-upload");return i(),p("div",ft,[s("div",_t,[s("div",ht,[s("span",$t,a(e.$t("kling.name.startImage")),1),n(c,{content:e.$t("kling.description.uploadStartImage")},null,8,["content"])])]),n(h,{ref:"uploader","file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=l=>e.fileList=l),name:"file",accept:".png,.jpg,.jpeg,.gif,.bmp,.webp",limit:5,class:"upload-wrapper",multiple:!1,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:f(({file:l})=>[l.url&&l.percentage!==void 0?(i(),w(m,{key:0,url:l.url,name:l.name,percentage:l.percentage,onRemove:V=>e.fileList.splice(e.fileList.indexOf(l),1)},null,8,["url","name","percentage","onRemove"])):$("",!0)]),default:f(()=>[n(r,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:f(()=>[n(u,{icon:"fa-solid fa-upload",class:"icon mr-1"}),y(" "+a(e.$t("kling.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])])}const kt=b(gt,[["render",vt],["__scopeId","data-v-852a31cd"]]),bt=k({name:"EndImage",components:{ElUpload:j,ElButton:M,ImagePreview:D,InfoIcon:S,FontAwesomeIcon:T},mixins:[q],data(){return{fileList:[],uploadUrl:P()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>e?.response?.file_url)},value:{get(){return this.$store.state?.kling?.config?.start_image_url},set(){}}},mounted(){this.value||(this.value=void 0),this.onSetEndImageUrl()},methods:{onExceed(){C.warning(this.$t("kling.message.uploadReferencesExceed"))},onError(){C.error(this.$t("kling.message.uploadReferencesError"))},onSetEndImageUrl(){const e=this.urls?.[0];this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,end_image_url:e})},async onSuccess(){this.onSetEndImageUrl()}}}),yt={class:"relative"},wt={class:"flex justify-between"},Vt={class:"flex justify-start items-center"},Ct={class:"text-sm font-bold"};function St(e,t,d,g,_,v){const c=o("info-icon"),m=o("image-preview"),u=o("font-awesome-icon"),r=o("el-button"),h=o("el-upload");return i(),p("div",yt,[s("div",wt,[s("div",Vt,[s("span",Ct,a(e.$t("kling.name.endImage")),1),n(c,{content:e.$t("kling.description.uploadEndImage")},null,8,["content"])])]),n(h,{ref:"uploader","file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=l=>e.fileList=l),name:"file",accept:".png,.jpg,.jpeg,.gif,.bmp,.webp",limit:5,class:"upload-wrapper",multiple:!1,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:f(({file:l})=>[l.url&&l.percentage!==void 0?(i(),w(m,{key:0,url:l.url,name:l.name,percentage:l.percentage,onRemove:V=>e.fileList.splice(e.fileList.indexOf(l),1)},null,8,["url","name","percentage","onRemove"])):$("",!0)]),default:f(()=>[n(r,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:f(()=>[n(u,{icon:"fa-solid fa-upload",class:"icon mr-1"}),y(" "+a(e.$t("kling.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])])}const Et=b(bt,[["render",St],["__scopeId","data-v-e23f5fb8"]]),Tt=k({name:"CfgScaleSelector",components:{ElSlider:B,InfoIcon:S,ElInputNumber:le},computed:{value:{get(){return this.$store.state?.kling?.config?.cfg_scale},set(e){console.debug("set cfg_scale",e),this.$store.commit("kling/setConfig",{...this.$store.state?.kling?.config,cfg_scale:e})}}},mounted(){this.value||(this.value=ke)}}),It={class:"flex justify-between"},Mt={class:"flex justify-start items-center"},Ut={class:"text-sm font-bold"},Lt={class:"flex justify-end items-center"},Rt={class:"w-full"};function At(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-input-number"),u=o("el-slider");return i(),p("div",null,[s("div",It,[s("div",Mt,[s("span",Ut,a(e.$t("kling.name.cfgScale")),1),n(c,{content:e.$t("kling.description.cfgScale")},null,8,["content"])]),s("div",Lt,[n(m,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),"controls-position":"right"},null,8,["modelValue"])])]),s("div",Rt,[n(u,{modelValue:e.value,"onUpdate:modelValue":t[1]||(t[1]=r=>e.value=r),min:0,max:1,step:.1},null,8,["modelValue"])])])}const Pt=b(Tt,[["render",At]]),Gt=k({name:"GenerateAudioSelector",components:{ElSwitch:re,InfoIcon:S},computed:{selectedModel(){return this.$store.state.kling?.config?.model||""},selectedMode(){return this.$store.state.kling?.config?.mode||""},supported(){return!!(F.includes(this.selectedModel)||this.selectedModel==="kling-v2-6"&&this.selectedMode==="pro")},tooltipContent(){return this.supported?this.$t("kling.description.generateAudio"):this.$t("kling.description.generateAudioUnsupported")},value:{get(){return this.supported?this.$store.state.kling?.config?.generate_audio??be:!1},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,generate_audio:e})}}},watch:{supported(e){!e&&this.$store.state.kling?.config?.generate_audio&&this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,generate_audio:!1})}}}),Ot={class:"relative"},Dt={class:"flex justify-between items-center"},jt={class:"flex justify-start items-center"},Kt={class:"text-sm font-bold"};function zt(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-switch");return i(),p("div",Ot,[s("div",Dt,[s("div",jt,[s("span",Kt,a(e.$t("kling.name.generateAudio")),1),n(c,{content:e.tooltipContent},null,8,["content"])]),n(m,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u),class:"value",disabled:!e.supported},null,8,["modelValue","disabled"])])])}const Nt=b(Gt,[["render",zt]]),Ft=["horizontal","vertical","pan","tilt","roll","zoom"],Bt=k({name:"CameraControlSelector",components:{ElSelect:O,ElOption:G,ElSlider:B,ElInputNumber:le,InfoIcon:S},data(){return{configKeys:Ft}},computed:{typeOptions(){return[{value:"",label:this.$t("kling.name.cameraTypeNone")},{value:"simple",label:this.$t("kling.name.cameraTypeSimple")},{value:"down_back",label:this.$t("kling.name.cameraTypeDownBack")},{value:"forward_up",label:this.$t("kling.name.cameraTypeForwardUp")},{value:"left_turn_forward",label:this.$t("kling.name.cameraTypeLeftTurnForward")},{value:"right_turn_forward",label:this.$t("kling.name.cameraTypeRightTurnForward")}]},selectedMode(){return this.$store.state.kling?.config?.mode||""},disabled(){return this.selectedMode==="4k"},tooltipContent(){return this.disabled?this.$t("kling.description.cameraControlDisabled4k"):this.$t("kling.description.cameraControl")},selectedType(){return this.$store.state.kling?.config?.camera_control?.type},selectedTypeRaw:{get(){return this.selectedType??""},set(e){const t=this.$store.state.kling?.config||{};if(!e){const g={...t};delete g.camera_control,this.$store.commit("kling/setConfig",g);return}const d=e;this.$store.commit("kling/setConfig",{...t,camera_control:{type:d,config:d==="simple"?t.camera_control?.config||{}:void 0}})}},configValues(){return this.$store.state.kling?.config?.camera_control?.config||{}}},watch:{disabled(e){e&&this.selectedType!==void 0&&(this.selectedTypeRaw="")}},methods:{writeConfig(e,t){const d=this.$store.state.kling?.config||{},g=d.camera_control||{type:"simple"},_={...g.config||{}};t==null?delete _[e]:_[e]=t,this.$store.commit("kling/setConfig",{...d,camera_control:{...g,type:"simple",config:_}})},onSliderChange(e,t){this.writeConfig(e,t)},onNumberChange(e,t){this.writeConfig(e,t)}}}),qt={class:"field"},Ht={class:"header"},Wt={class:"text-sm font-bold"},Jt={key:0,class:"config-grid"},Qt={class:"cfg-row-head"},Yt={class:"cfg-name"};function Xt(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-option"),u=o("el-select"),r=o("el-input-number"),h=o("el-slider");return i(),p("div",qt,[s("div",Ht,[s("span",Wt,a(e.$t("kling.name.cameraControl")),1),n(c,{content:e.tooltipContent},null,8,["content"])]),n(u,{modelValue:e.selectedTypeRaw,"onUpdate:modelValue":t[0]||(t[0]=l=>e.selectedTypeRaw=l),class:"value",placeholder:e.$t("kling.placeholder.cameraType"),clearable:!0,disabled:e.disabled},{default:f(()=>[(i(!0),p(E,null,I(e.typeOptions,l=>(i(),w(m,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","disabled"]),e.selectedType==="simple"&&!e.disabled?(i(),p("div",Jt,[(i(!0),p(E,null,I(e.configKeys,l=>(i(),p("div",{key:l,class:"cfg-row"},[s("div",Qt,[s("span",Yt,a(e.$t(`kling.name.cc_${l}`)),1),n(r,{modelValue:e.configValues[l],"onUpdate:modelValue":V=>e.configValues[l]=V,min:-1,max:1,step:.1,precision:1,"controls-position":"right",size:"small",class:"cfg-num",onChange:V=>e.onNumberChange(l,V)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),n(h,{"model-value":e.configValues[l]??0,min:-1,max:1,step:.1,onInput:V=>e.onSliderChange(l,V)},null,8,["model-value","onInput"])]))),128))])):$("",!0)])}const Zt=b(Bt,[["render",Xt],["__scopeId","data-v-fb7b34d0"]]),xt="",eo=k({name:"PromptInput",components:{ElInput:H,ElButton:M,FontAwesomeIcon:T,InfoIcon:S},emits:["open-inspiration"],computed:{prompt:{get(){return this.$store.state.kling?.config?.prompt},set(e){console.debug("set prompt",e),this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,prompt:e})}}},mounted(){this.prompt||(this.prompt=xt)}}),to={class:"field"},oo={class:"box"},no={class:"title font-bold"},so={class:"actions"};function io(e,t,d,g,_,v){const c=o("font-awesome-icon"),m=o("el-button"),u=o("info-icon"),r=o("el-input");return i(),p("div",to,[s("div",oo,[s("h2",no,a(e.$t("kling.name.prompt")),1),s("div",so,[n(m,{text:"",size:"small",class:"inspiration-btn",onClick:t[0]||(t[0]=h=>e.$emit("open-inspiration"))},{default:f(()=>[n(c,{icon:"fa-regular fa-lightbulb",class:"mr-1"}),y(" "+a(e.$t("kling.inspiration.openButton")),1)]),_:1}),n(u,{content:e.$t("kling.description.prompt"),class:"info"},null,8,["content"])])]),n(r,{modelValue:e.prompt,"onUpdate:modelValue":t[1]||(t[1]=h=>e.prompt=h),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("kling.placeholder.prompt")},null,8,["modelValue","placeholder"])])}const lo=b(eo,[["render",io],["__scopeId","data-v-b8bded08"]]),ao="",ro=k({name:"NegativePromptInput",components:{ElInput:H,InfoIcon:S},computed:{prompt:{get(){return this.$store.state.kling?.config?.negative_prompt},set(e){console.debug("set prompt",e),this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,negative_prompt:e})}}},mounted(){this.prompt||(this.prompt=ao)}}),co={class:"field"},po={class:"box"},mo={class:"title font-bold"};function uo(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-input");return i(),p("div",co,[s("div",po,[s("h2",mo,a(e.$t("kling.name.negativePrompt")),1),n(c,{content:e.$t("kling.description.negativePrompt"),class:"info"},null,8,["content"])]),n(m,{modelValue:e.prompt,"onUpdate:modelValue":t[0]||(t[0]=u=>e.prompt=u),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("kling.placeholder.negativePrompt")},null,8,["modelValue","placeholder"])])}const go=b(ro,[["render",uo],["__scopeId","data-v-de98cf01"]]),fo=[{groupKey:"cameraMovements",chipKeys:["rotateAround","stationary","handheld","zoomOut","zoomIn","follow","panRight","tiltUp","tiltDown","orbit"]},{groupKey:"cameraSpeed",chipKeys:["speedSlow","speedMedium","speedFast"]},{groupKey:"shotType",chipKeys:["shotClose","shotMedium","shotLong","shotLowAngle","shotHighAngle","shotShallowDof","shotFront","shotProfile","shotCloseUp","shotDrone"]},{groupKey:"light",chipKeys:["lightSunlight","lightSoft","lightNeon","lightWarm","lightNature","lightCandle","lightCityNight"]},{groupKey:"frame",chipKeys:["frameRichDetails","frameSimpleBg"]},{groupKey:"atmosphere",chipKeys:["atmosphereMysterious","atmospherePeaceful","atmosphereHeartwarming","atmosphereVivid","atmosphereColorful"]}],N=", ",_o=k({name:"InspirationDrawer",components:{ElDrawer:ie,ElButton:M,FontAwesomeIcon:T},props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{groups:fo,Close:_e}},computed:{visible:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},drawerSize(){return window.innerWidth<768?"100%":"380px"},prompt(){return this.$store.state.kling?.config?.prompt||""},allChipTexts(){return this.groups.flatMap(e=>e.chipKeys.map(t=>this.$t(`kling.inspiration.chip.${t}`)))},selectedCount(){return this.allChipTexts.filter(e=>this.isSelected(e)).length}},methods:{chipText(e){return this.$t(`kling.inspiration.chip.${e}`)},isSelected(e){return e?this.prompt.includes(e):!1},setPrompt(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling?.config,prompt:e})},onToggle(e){e&&(this.isSelected(e)?this.setPrompt(this.removeChunk(this.prompt,e)):this.setPrompt(this.appendChunk(this.prompt,e)))},onClearSelected(){let e=this.prompt;for(const t of this.allChipTexts)for(;e.includes(t);)e=this.removeChunk(e,t);this.setPrompt(e)},appendChunk(e,t){const d=e.trim();return d?d.includes(t)?d:`${d}${N}${t}`:t},removeChunk(e,t){const d=[`${t}${N}`,`${N}${t}`,t];let g=e;for(const _ of d)if(g.includes(_)){g=g.replace(_,"");break}return g.replace(/(?:,\s*)+$/,"").replace(/^(?:,\s*)+/,"")}}}),ho={class:"drawer-content"},$o={class:"drawer-header"},vo={class:"title-row"},ko={class:"title"},bo={class:"hint"},yo={key:0,class:"selected-bar"},wo={class:"selected-text"},Vo={class:"groups"},Co={class:"group-title"},So={class:"chip-grid"},Eo=["onClick"];function To(e,t,d,g,_,v){const c=o("font-awesome-icon"),m=o("el-button"),u=o("el-drawer");return i(),w(u,{modelValue:e.visible,"onUpdate:modelValue":t[1]||(t[1]=r=>e.visible=r),direction:"rtl","with-header":!1,size:e.drawerSize,"custom-class":"kling-inspiration-drawer","destroy-on-close":!1},{default:f(()=>[s("div",ho,[s("div",$o,[s("div",vo,[n(c,{icon:"fa-regular fa-lightbulb",class:"mr-2"}),s("span",ko,a(e.$t("kling.inspiration.title")),1)]),n(m,{text:"",icon:e.Close,class:"close-btn",onClick:t[0]||(t[0]=r=>e.visible=!1)},null,8,["icon"])]),s("div",bo,a(e.$t("kling.inspiration.hint")),1),e.selectedCount>0?(i(),p("div",yo,[s("span",wo,a(e.$t("kling.inspiration.selectedSummary",{count:e.selectedCount})),1),n(m,{text:"",size:"small",class:"clear-btn",onClick:e.onClearSelected},{default:f(()=>[y(a(e.$t("kling.inspiration.clearSelected")),1)]),_:1},8,["onClick"])])):$("",!0),s("div",Vo,[(i(!0),p(E,null,I(e.groups,r=>(i(),p("div",{key:r.groupKey,class:"group"},[s("div",Co,a(e.$t(`kling.inspiration.group.${r.groupKey}`)),1),s("div",So,[(i(!0),p(E,null,I(r.chipKeys,h=>(i(),p("button",{key:h,type:"button",class:L({chip:!0,active:e.isSelected(e.chipText(h))}),onClick:l=>e.onToggle(e.chipText(h))},a(e.chipText(h)),11,Eo))),128))])]))),128))])])]),_:1},8,["modelValue","size"])}const Io=b(_o,[["render",To],["__scopeId","data-v-11110c53"]]),Mo={"kling-v3":"v3","kling-v3-omni":"v3-Omni","kling-v2-6":"v2.6","kling-v2-5-turbo":"v2.5-Turbo","kling-v2-1-master":"v2.1-Master","kling-v2-master":"v2-Master","kling-v1-6":"v1.6","kling-v1":"v1","kling-video-o1":"Video-o1"},Uo={std:"720p",pro:"1080p","4k":"4K"},Lo=k({name:"SummaryChip",components:{FontAwesomeIcon:T},computed:{config(){return this.$store.state.kling?.config||{}},modelLabel(){const e=this.config?.model||"kling-v2-5-turbo";return Mo[e]||e},durationLabel(){return`${this.config?.duration??5}s`},aspectRatio(){return this.config?.aspect_ratio||""},modeLabel(){const e=this.config?.mode||"std";return Uo[e]||e},generateAudio(){return!!this.config?.generate_audio}}}),Ro={class:"summary-chip"},Ao=["title"],Po=["title"],Go=["title"],Oo=["title"],Do=["title"];function jo(e,t,d,g,_,v){const c=o("font-awesome-icon");return i(),p("div",Ro,[s("span",{class:"part",title:e.$t("kling.name.model")},a(e.modelLabel),9,Ao),t[0]||(t[0]=s("span",{class:"dot"},"·",-1)),s("span",{class:"part",title:e.$t("kling.name.duration")},a(e.durationLabel),9,Po),t[1]||(t[1]=s("span",{class:"dot"},"·",-1)),s("span",{class:"part",title:e.$t("kling.name.ratio")},a(e.aspectRatio||"16:9"),9,Go),t[2]||(t[2]=s("span",{class:"dot"},"·",-1)),s("span",{class:"part",title:e.$t("kling.name.mode")},a(e.modeLabel),9,Oo),e.generateAudio?(i(),p("span",{key:0,class:"audio",title:e.$t("kling.name.generateAudio")},[n(c,{icon:"fa-solid fa-headphones"})],8,Do)):$("",!0)])}const Ko=b(Lo,[["render",jo],["__scopeId","data-v-418a6733"]]),zo=k({name:"ConfigPanel",components:{ElButton:M,Consumption:ae,FontAwesomeIcon:T,PromptInput:lo,NegativePromptInput:go,ModelSelector:He,ModeSelector:xe,DurationSelector:lt,RatioSelector:ut,StartImage:kt,CfgScaleSelector:Pt,GenerateAudioSelector:Nt,CameraControlSelector:Zt,InspirationDrawer:Io,SummaryChip:Ko,EndImage:Et},emits:["generate"],data(){return{inspirationOpen:!1}},computed:{config(){return this.$store.state.kling?.config},consumption(){return ce(this.config,this.service?.cost)},service(){return this.$store.state.kling?.service}},methods:{onGenerate(){this.$emit("generate")}}}),No={class:"flex flex-col h-full"},Fo={class:"flex-1 overflow-y-auto p-5"},Bo={class:"flex flex-col items-center justify-center px-5 pb-5"};function qo(e,t,d,g,_,v){const c=o("prompt-input"),m=o("model-selector"),u=o("ratio-selector"),r=o("start-image"),h=o("end-image"),l=o("duration-selector"),V=o("mode-selector"),R=o("generate-audio-selector"),U=o("camera-control-selector"),K=o("cfg-scale-selector"),pe=o("negative-prompt-input"),me=o("summary-chip"),ue=o("consumption"),W=o("font-awesome-icon"),J=o("el-button"),ge=o("inspiration-drawer");return i(),p("div",No,[s("div",Fo,[n(c,{class:"mb-4",onOpenInspiration:t[0]||(t[0]=Q=>e.inspirationOpen=!0)}),n(m,{class:"mb-4"}),n(u,{class:"mb-4"}),n(r,{class:"mb-2"}),n(h,{class:"mb-2"}),n(l,{class:"mb-4"}),n(V,{class:"mb-4"}),n(R,{class:"mb-4"}),n(U,{class:"mb-4"}),n(K,{class:"mb-4"}),n(pe,{class:"mb-4"})]),s("div",Bo,[n(me),n(ue,{value:e.consumption,service:e.service},null,8,["value","service"]),e.config?.video_url!==void 0||e.config?.custom?(i(),w(J,{key:0,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:f(()=>[n(W,{icon:"fa-solid fa-magic",class:"mr-2"}),y(" "+a(e.$t("kling.button.extend")),1)]),_:1},8,["onClick"])):(i(),w(J,{key:1,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:f(()=>[n(W,{icon:"fa-solid fa-magic",class:"mr-2"}),y(" "+a(e.$t("kling.button.generate")),1)]),_:1},8,["onClick"]))]),n(ge,{modelValue:e.inspirationOpen,"onUpdate:modelValue":t[1]||(t[1]=Q=>e.inspirationOpen=Q)},null,8,["modelValue"])])}const Ho=b(zo,[["render",qo]]),Wo=k({name:"MotionImage",components:{ElUpload:j,ElButton:M,InfoIcon:S,FontAwesomeIcon:T,ImagePreview:D},mixins:[q],data(){return{fileList:[],uploadUrl:P()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>e?.response?.file_url)}},mounted(){this.onSetImageUrl()},methods:{onExceed(){C.warning(this.$t("kling.message.uploadReferencesExceed"))},onError(){C.error(this.$t("kling.message.uploadReferencesError"))},onRemove(e){this.fileList.splice(this.fileList.indexOf(e),1),this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,image_url:void 0})},onSetImageUrl(){const e=this.urls?.[0];this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,image_url:e})},async onSuccess(){this.onSetImageUrl()}}}),Jo={class:"relative"},Qo={class:"flex justify-between"},Yo={class:"flex justify-start items-center"},Xo={class:"text-sm font-bold"};function Zo(e,t,d,g,_,v){const c=o("info-icon"),m=o("image-preview"),u=o("font-awesome-icon"),r=o("el-button"),h=o("el-upload");return i(),p("div",Jo,[s("div",Qo,[s("div",Yo,[s("span",Xo,a(e.$t("kling.name.motionImage")),1),n(c,{content:e.$t("kling.description.motionImage")},null,8,["content"])])]),n(h,{ref:"uploader","file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=l=>e.fileList=l),name:"file",accept:".png,.jpg,.jpeg,.gif,.bmp,.webp",limit:1,class:"upload-wrapper",multiple:!1,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:f(({file:l})=>[l.url&&l.percentage!==void 0?(i(),w(m,{key:0,url:l.url,name:l.name,percentage:l.percentage,onRemove:V=>e.onRemove(l)},null,8,["url","name","percentage","onRemove"])):$("",!0)]),default:f(()=>[n(r,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:f(()=>[n(u,{icon:"fa-solid fa-upload",class:"icon mr-1"}),y(" "+a(e.$t("kling.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])])}const xo=b(Wo,[["render",Zo],["__scopeId","data-v-37d42da7"]]),en=k({name:"MotionVideo",components:{ElUpload:j,ElButton:M,InfoIcon:S,FilePreview:we,FontAwesomeIcon:T},data(){return{fileList:[],uploadUrl:P()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>e?.response?.file_url)}},mounted(){this.onSetVideoUrl()},methods:{onExceed(){C.warning(this.$t("kling.message.uploadVideoExceed"))},onError(){C.error(this.$t("kling.message.uploadVideoError"))},onRemove(e){this.fileList.splice(this.fileList.indexOf(e),1),this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,video_url:void 0})},beforeUpload(e){const t=e.type==="video/mp4"||e.type==="video/quicktime",d=e.size/1024/1024<100;return t?d?!0:(C.error(this.$t("kling.message.uploadVideoSizeExceed")),!1):(C.error(this.$t("kling.message.uploadVideoTypeFailed")),!1)},onSetVideoUrl(){const e=this.urls?.[0];this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,video_url:e})},async onSuccess(){this.onSetVideoUrl()}}}),tn={class:"relative"},on={class:"flex justify-between"},nn={class:"flex justify-start items-center"},sn={class:"text-sm font-bold"};function ln(e,t,d,g,_,v){const c=o("info-icon"),m=o("file-preview"),u=o("font-awesome-icon"),r=o("el-button"),h=o("el-upload");return i(),p("div",tn,[s("div",on,[s("div",nn,[s("span",sn,a(e.$t("kling.name.motionVideo")),1),n(c,{content:e.$t("kling.description.motionVideo")},null,8,["content"])])]),n(h,{"file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=l=>e.fileList=l),accept:".mp4,.mov",name:"file",class:"value","show-file-list":!0,limit:1,multiple:!1,action:e.uploadUrl,"before-upload":e.beforeUpload,"on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:f(({file:l})=>[l.percentage!==void 0?(i(),w(m,{key:0,url:l.url||l.response?.file_url,name:l.name,percentage:l.percentage,onRemove:V=>e.onRemove(l)},null,8,["url","name","percentage","onRemove"])):$("",!0)]),default:f(()=>[n(r,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:f(()=>[n(u,{icon:"fa-solid fa-upload",class:"icon mr-1"}),y(" "+a(e.$t("kling.button.uploadVideoUrl")),1)]),_:1})]),_:1},8,["file-list","action","before-upload","on-exceed","on-error","on-success","headers"])])}const an=b(en,[["render",ln],["__scopeId","data-v-5cf93212"]]),rn=k({name:"MotionPromptInput",components:{ElInput:H,InfoIcon:S},computed:{prompt:{get(){return this.$store.state.kling?.motionConfig?.prompt||""},set(e){this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,prompt:e})}}}}),cn={class:"field"},dn={class:"box"},pn={class:"title font-bold"};function mn(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-input");return i(),p("div",cn,[s("div",dn,[s("h2",pn,a(e.$t("kling.name.motionPrompt")),1),n(c,{content:e.$t("kling.description.motionPrompt"),class:"info"},null,8,["content"])]),n(m,{modelValue:e.prompt,"onUpdate:modelValue":t[0]||(t[0]=u=>e.prompt=u),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("kling.placeholder.motionPrompt")},null,8,["modelValue","placeholder"])])}const un=b(rn,[["render",mn],["__scopeId","data-v-ca9fdbe5"]]),oe="video",gn=k({name:"CharacterOrientationSelector",components:{ElRadioGroup:Ce,ElRadioButton:Ve,InfoIcon:S},computed:{value:{get(){return this.$store.state.kling?.motionConfig?.character_orientation||oe},set(e){this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,character_orientation:e})}}},mounted(){this.$store.state.kling?.motionConfig?.character_orientation||(this.value=oe)}}),fn={class:"field"},_n={class:"header"},hn={class:"text-sm font-bold"};function $n(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-radio-button"),u=o("el-radio-group");return i(),p("div",fn,[s("div",_n,[s("span",hn,a(e.$t("kling.name.characterOrientation")),1),n(c,{content:e.$t("kling.description.characterOrientation")},null,8,["content"])]),n(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),size:"small",class:"value"},{default:f(()=>[n(m,{label:"image"},{default:f(()=>[y(a(e.$t("kling.name.orientationImage")),1)]),_:1}),n(m,{label:"video"},{default:f(()=>[y(a(e.$t("kling.name.orientationVideo")),1)]),_:1})]),_:1},8,["modelValue"])])}const vn=b(gn,[["render",$n],["__scopeId","data-v-7a91195b"]]),ne="std",kn=k({name:"MotionModeSelector",components:{ElSelect:O,ElOption:G,InfoIcon:S},computed:{options(){return[{value:"std",label:this.$t("kling.name.modeStd")},{value:"pro",label:this.$t("kling.name.modePro")}]},value:{get(){return this.$store.state.kling?.motionConfig?.mode||ne},set(e){this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,mode:e})}}},mounted(){this.$store.state.kling?.motionConfig?.mode||(this.value=ne)}}),bn={class:"field"},yn={class:"header"},wn={class:"title font-bold"};function Vn(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-option"),u=o("el-select");return i(),p("div",bn,[s("div",yn,[s("h2",wn,a(e.$t("kling.name.mode")),1),n(c,{content:e.$t("kling.description.motionMode")},null,8,["content"])]),n(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),class:"value",placeholder:e.$t("kling.placeholder.select")},{default:f(()=>[(i(!0),p(E,null,I(e.options,r=>(i(),w(m,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}const Cn=b(kn,[["render",Vn],["__scopeId","data-v-1295688c"]]),Sn=k({name:"KeepOriginalSoundSelector",components:{ElSwitch:re,InfoIcon:S},computed:{value:{get(){return(this.$store.state.kling?.motionConfig?.keep_original_sound??"yes")==="yes"},set(e){this.$store.commit("kling/setMotionConfig",{...this.$store.state.kling?.motionConfig,keep_original_sound:e?"yes":"no"})}}}}),En={class:"relative"},Tn={class:"flex justify-between items-center"},In={class:"flex justify-start items-center"},Mn={class:"text-sm font-bold"};function Un(e,t,d,g,_,v){const c=o("info-icon"),m=o("el-switch");return i(),p("div",En,[s("div",Tn,[s("div",In,[s("span",Mn,a(e.$t("kling.name.keepOriginalSound")),1),n(c,{content:e.$t("kling.description.keepOriginalSound")},null,8,["content"])]),n(m,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},null,8,["modelValue"])])])}const Ln=b(Sn,[["render",Un]]),Rn=k({name:"MotionPanel",components:{ElButton:M,FontAwesomeIcon:T,Consumption:ae,MotionImage:xo,MotionVideo:an,MotionPromptInput:un,CharacterOrientationSelector:vn,MotionModeSelector:Cn,KeepOriginalSoundSelector:Ln},emits:["generate"],computed:{motionConfig(){return this.$store.state.kling?.motionConfig},consumption(){return ce(this.motionConfig,this.service?.cost)},service(){return this.$store.state.kling?.service},canGenerate(){const e=this.motionConfig;return!!(e?.image_url&&e?.video_url)}},methods:{onGenerate(){this.$emit("generate")}}}),An={class:"flex flex-col h-full"},Pn={class:"flex-1 overflow-y-auto p-5"},Gn={class:"flex flex-col items-center justify-center px-5 pb-5"};function On(e,t,d,g,_,v){const c=o("motion-image"),m=o("motion-video"),u=o("motion-prompt-input"),r=o("character-orientation-selector"),h=o("motion-mode-selector"),l=o("keep-original-sound-selector"),V=o("consumption"),R=o("font-awesome-icon"),U=o("el-button");return i(),p("div",An,[s("div",Pn,[n(c,{class:"mb-3"}),n(m,{class:"mb-3"}),n(u,{class:"mb-4"}),n(r,{class:"mb-4"}),n(h,{class:"mb-4"}),n(l,{class:"mb-4"})]),s("div",Gn,[n(V,{value:e.consumption,service:e.service},null,8,["value","service"]),n(U,{type:"primary",class:"btn w-full",round:"",disabled:!e.canGenerate,onClick:e.onGenerate},{default:f(()=>[n(R,{icon:"fa-solid fa-magic",class:"mr-2"}),y(" "+a(e.$t("kling.button.generateMotion")),1)]),_:1},8,["disabled","onClick"])])])}const Dn=b(Rn,[["render",On]]),jn=k({name:"KlingTabSwitcher",components:{ElTabs:Ee,ElTabPane:Se,ElTooltip:de,ElTag:he,FontAwesomeIcon:T},props:{modelValue:{type:String,default:"videos"}},emits:["update:modelValue"],computed:{tabs(){return[{value:"videos",label:this.$t("kling.tab.videoGeneration"),icon:"fa-solid fa-film"},{value:"motion",label:this.$t("kling.tab.motionControl"),icon:"fa-solid fa-person-running"},{value:"avatar",label:this.$t("kling.tab.avatar"),icon:"fa-solid fa-user-tie",disabled:!0,disabledReason:this.$t("kling.tab.avatarComingSoon"),badge:this.$t("kling.tab.comingSoon")}]}},methods:{onUpdate(e){e!=="avatar"&&this.$emit("update:modelValue",e)}}}),Kn={class:"tab-label"};function zn(e,t,d,g,_,v){const c=o("font-awesome-icon"),m=o("el-tooltip"),u=o("el-tag"),r=o("el-tab-pane"),h=o("el-tabs");return i(),w(h,{"model-value":e.modelValue,class:"kling-tabs",stretch:"","onUpdate:modelValue":e.onUpdate},{default:f(()=>[(i(!0),p(E,null,I(e.tabs,l=>(i(),w(r,{key:l.value,name:l.value,disabled:l.disabled},{label:f(()=>[s("span",Kn,[l.icon?(i(),w(c,{key:0,icon:l.icon,class:"mr-2"},null,8,["icon"])):$("",!0),s("span",null,a(l.label),1),l.disabled&&l.disabledReason?(i(),w(m,{key:1,effect:"dark",content:l.disabledReason,placement:"top"},{default:f(()=>[n(c,{icon:"fa-solid fa-info",class:"info ml-2"})]),_:1},8,["content"])):$("",!0),l.badge?(i(),w(u,{key:2,size:"small",type:"warning",class:"ml-2 badge"},{default:f(()=>[y(a(l.badge),1)]),_:2},1024)):$("",!0)])]),_:2},1032,["name","disabled"]))),128))]),_:1},8,["model-value","onUpdate:modelValue"])}const Nn=b(jn,[["render",zn],["__scopeId","data-v-3a1c30bd"]]),Fn=k({name:"TaskPreview",components:{ElImage:Ue,CopyToClipboard:Te,FontAwesomeIcon:T,ElAlert:Me,VideoPlayer:Ie,ElTooltip:de,ElButton:M,ImagePreview:D},props:{modelValue:{type:Object,required:!0}},data(){return{}},computed:{application(){return this.$store.state.kling?.application},config(){return this.$store.state.kling?.config},referenceImages(){const e=[],t=this.modelValue?.request?.start_image_url,d=this.modelValue?.request?.end_image_url;return t&&e.push({url:t,name:"start-image"}),d&&e.push({url:d,name:"end-image"}),e}},methods:{onDownload(e,t){e.stopPropagation(),console.log("on download"),window.open(t,"_blank")},onOpenVideo(e){window.open(e,"_blank")}}}),Bn={class:"preview"},qn={class:"left"},Hn={class:"main"},Wn={class:"bot"},Jn={class:"datetime"},Qn={class:"info"},Yn={key:0,class:"flex justify-start items-center gap-2 mt-2 w-full overflow-x-auto"},Xn={key:1,class:"prompt mt-2"},Zn={key:0},xn={key:1},es={key:0,class:L({content:!0,failed:!0})},ts={key:0,class:"mb-4"},os={key:1,class:L({operations:!0,"mt-2":!0})},ns={class:"text-[var(--el-text-color-regular)] text-xs mb-2"},ss={class:"text-[var(--el-text-color-regular)] text-xs mb-0"},is={key:1,class:L({content:!0})},ls={class:"text-[var(--el-text-color-regular)] text-xs mb-2"},as={class:"text-[var(--el-text-color-regular)] text-xs mb-2"},rs={key:0,class:"text-[var(--el-text-color-regular)] text-xs mb-0"},cs={key:2,class:L({content:!0})},ds={class:"text-[var(--el-text-color-regular)] text-xs mb-2"},ps={key:0,class:"text-[var(--el-text-color-regular)] text-xs mb-0"};function ms(e,t,d,g,_,v){const c=o("el-image"),m=o("image-preview"),u=o("video-player"),r=o("el-button"),h=o("el-tooltip"),l=o("font-awesome-icon"),V=o("copy-to-clipboard"),R=o("el-alert");return i(),p("div",Bn,[s("div",qn,[n(c,{src:"https://cdn.acedata.cloud/qpbbbb.jpg",class:"avatar"})]),s("div",Hn,[s("div",Wn,[y(a(e.$t("kling.name.klingBot"))+" ",1),s("span",Jn,a(e.$dayjs.format(""+new Date(parseFloat((e.modelValue?.created_at||"").toString())*1e3))),1)]),s("div",Qn,[e.referenceImages.length>0?(i(),p("div",Yn,[(i(!0),p(E,null,I(e.referenceImages,(U,K)=>(i(),w(m,{key:K,url:U.url,name:U.name,closable:!1},null,8,["url","name"]))),128))])):$("",!0),e.modelValue?.request?.prompt?(i(),p("p",Xn,[y(a(e.modelValue?.request?.prompt)+" ",1),e.modelValue?.response?$("",!0):(i(),p("span",Zn," - ("+a(e.$t("kling.status.pending"))+") ",1)),e.modelValue?.response?.state==="submitted"||e.modelValue?.response?.state==="processing"||e.modelValue?.response?.state==="pending"||e.modelValue?.response?.state==="completed"?(i(),p("span",xn," - ("+a(e.$t("kling.status.processing"))+") ",1)):$("",!0)])):$("",!0)]),e.modelValue?.response?.success===!0?(i(),p("div",es,[e.modelValue?.response.video_url?(i(),p("div",ts,[n(u,{src:e.modelValue?.response.video_url},null,8,["src"])])):$("",!0),e.modelValue?.response.success?(i(),p("div",os,[n(h,{class:"box-item",effect:"dark",content:e.$t("kling.message.downloadVideo"),placement:"top-start"},{default:f(()=>[e.modelValue?.response.video_url?(i(),w(r,{key:0,type:"info",size:"small",class:"btn-action",onClick:t[0]||(t[0]=U=>e.onDownload(U,e.modelValue?.response.video_url))},{default:f(()=>[y(a(e.$t("kling.button.download")),1)]),_:1})):$("",!0)]),_:1},8,["content"])])):$("",!0),n(R,{closable:!1,class:"mt-2 success"},{default:f(()=>[s("p",ns,[n(l,{icon:"fa-solid fa-hashtag",class:"mr-1"}),y(" "+a(e.$t("kling.name.model"))+": "+a(e.modelValue?.request?.model),1)]),s("p",ss,[n(l,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+a(e.$t("kling.name.taskId"))+": "+a(e.modelValue?.id)+" ",1),n(V,{content:e.modelValue?.id},null,8,["content"])])]),_:1})])):$("",!0),e.modelValue?.response?.success===!1?(i(),p("div",is,[n(R,{closable:!1,class:"failure"},{template:f(()=>[n(l,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),y(" "+a(e.$t("kling.name.failure")),1)]),default:f(()=>[s("p",ls,[n(l,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+a(e.$t("kling.name.taskId"))+": "+a(e.modelValue?.id)+" ",1),n(V,{content:e.modelValue?.id},null,8,["content"])]),s("p",as,[n(l,{icon:"fa-solid fa-circle-info",class:"mr-1"}),y(" "+a(e.$t("kling.name.failureReason"))+": "+a(e.modelValue?.response?.error?.message)+" ",1),n(V,{content:e.modelValue?.response?.error?.message},null,8,["content"])]),e.modelValue?.response?.trace_id?(i(),p("p",rs,[n(l,{icon:"fa-solid fa-hashtag",class:"mr-1"}),y(" "+a(e.$t("kling.name.traceId"))+": "+a(e.modelValue?.response?.trace_id)+" ",1),n(V,{content:e.modelValue?.response?.trace_id},null,8,["content"])])):$("",!0)]),_:1})])):$("",!0),e.modelValue?.response?.success===void 0?(i(),p("div",cs,[n(R,{closable:!1,class:"info"},{template:f(()=>[n(l,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),y(" "+a(e.$t("kling.name.failure")),1)]),default:f(()=>[s("p",ds,[n(l,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+a(e.$t("kling.name.taskId"))+": "+a(e.modelValue?.id)+" ",1),n(V,{content:e.modelValue?.id},null,8,["content"])]),e.modelValue?.response?.trace_id?(i(),p("p",ps,[n(l,{icon:"fa-solid fa-hashtag",class:"mr-1"}),y(" "+a(e.$t("kling.name.traceId"))+": "+a(e.modelValue?.response?.trace_id)+" ",1),n(V,{content:e.modelValue?.response?.trace_id},null,8,["content"])])):$("",!0)]),_:1})])):$("",!0)])])}const us=b(Fn,[["render",ms],["__scopeId","data-v-cddeff01"]]),gs=k({name:"RecentPanel",components:{TaskPreview:us,NoTasks:Re,BotPlaceholder:Le,ScrollList:ye},props:{loading:{type:Boolean,default:!1}},emits:["reach-top"],data(){return{job:0}},computed:{tasks(){return{...this.$store.state.kling?.tasks,items:this.$store.state.kling?.tasks?.items?.slice()}}},methods:{getScrollElement(){return this.$refs.scrollList?.getScrollElement?.()}}}),fs={key:0},_s={key:2,class:"w-full h-full flex items-center justify-center"};function hs(e,t,d,g,_,v){const c=o("bot-placeholder"),m=o("task-preview"),u=o("scroll-list"),r=o("no-tasks");return i(),p(E,null,[e.tasks?.items===void 0?(i(),p("div",fs,[n(c)])):e.tasks?.items?.length&&e.tasks?.items?.length>0?(i(),w(u,{key:1,ref:"scrollList",class:"h-full w-full overflow-y-auto tasks",loading:e.loading,onReachTop:t[0]||(t[0]=h=>e.$emit("reach-top"))},{default:f(()=>[(i(!0),p(E,null,I(e.tasks?.items,h=>(i(),w(m,{key:h.id,"model-value":h},null,8,["model-value"]))),128))]),_:1},8,["loading"])):$("",!0),e.tasks?.items?.length===0?(i(),p("div",_s,[n(r)])):$("",!0)],64)}const $s=b(gs,[["render",hs]]),se="https://webhook.acedata.cloud/kling",vs=k({name:"KlingIndex",components:{ConfigPanel:Ho,MotionPanel:Dn,TabSwitcher:Nn,Layout:ze,RecentPanel:$s},inject:["initialized"],data(){return{task:void 0,job:0,loadingMore:!1,fetchingTasks:!1}},computed:{applicationsLoading(){return this.$store.state.kling?.status?.getApplications===Y.Request},tasksLoading(){return this.$store.state.kling?.status?.getTasks===Y.Request||this.fetchingTasks},credential(){return this.$store.state.kling.credential},config(){return this.$store.state.kling.config},motionConfig(){return this.$store.state.kling.motionConfig},taskType(){return this.$store.state.kling.taskType||"videos"},tasks(){return this.$store.state.kling.tasks}},watch:{tasks:{handler(e,t){e?.items?.length>t?.items?.length&&console.debug("new tasks detected")},deep:!0},initialized:{async handler(e){e&&(console.debug("layout initialized"),await this.onGetTasks(),await this.onScrollDown(),this.job=window.setInterval(()=>{this.onGetTasks()},5e3))},immediate:!0}},async mounted(){await this.onGetService()},async unmounted(){window.clearInterval(this.job)},methods:{async onReachTop(){await Ae({tasks:this.tasks,loading:this.loadingMore,setLoading:e=>this.loadingMore=e,isBlocked:()=>this.tasksLoading||this.applicationsLoading,fetch:e=>this.onGetTasks({createdAtMax:e}),getScrollElement:()=>this.getTasksScrollElement()})},async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("kling/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplication"),await this.$store.dispatch("kling/getApplications"),console.debug("end onGetApplication"),await this.onGetTasks()},async onScrollDown(){await this.$nextTick();const e=this.getTasksScrollElement();e&&(e.scrollTop=e.scrollHeight)},async onGetTasks(e){if(this.applicationsLoading||this.fetchingTasks){console.debug("loading");return}console.debug("start onGetTasks",e);const{limit:t=5,createdAtMin:d,createdAtMax:g}=e||{};console.debug("limit",t,"createdAtMin",d,"createdAtMax",g),this.fetchingTasks=!0;try{await this.$store.dispatch("kling/getTasks",{limit:t,createdAtMin:d,createdAtMax:g})}finally{this.fetchingTasks=!1}},async onGenerate(){const{camera_control:e,...t}=this.config||{},d={...t,callback_url:se};e?.type&&(d.camera_control={type:e.type,...e.type==="simple"&&e.config?{config:Object.fromEntries(Object.entries(e.config).filter(([,_])=>_!=null))}:{}});const g=this.credential?.token;if(!g){console.error("no token specified");return}C.info(this.$t("kling.message.startingTask")),x.generate(d,{token:g}).then(()=>{C.success(this.$t("kling.message.startTaskSuccess"))}).catch(_=>{_?.response?.data?.error?.code===Z?C.error(this.$t("kling.message.usedUp")):C.error(this.$t("kling.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})},getTasksScrollElement(){return this.$refs.recentPanel?.getScrollElement?.()},async onTabChange(e){e!==this.taskType&&(await this.$store.dispatch("kling/setTaskType",e),await this.onGetTasks(),await this.onScrollDown())},async onGenerateMotion(){const e=this.motionConfig||{};if(!e.image_url||!e.video_url){C.warning(this.$t("kling.message.motionMissingInputs"));return}const t={image_url:e.image_url,video_url:e.video_url,character_orientation:e.character_orientation||"video",mode:e.mode||"std",keep_original_sound:e.keep_original_sound??"yes",...e.prompt?{prompt:e.prompt}:{},callback_url:se},d=this.credential?.token;if(!d){console.error("no token specified");return}C.info(this.$t("kling.message.startingTask")),x.motion(t,{token:d}).then(()=>{C.success(this.$t("kling.message.startTaskSuccess"))}).catch(g=>{g?.response?.data?.error?.code===Z?C.error(this.$t("kling.message.usedUp")):C.error(this.$t("kling.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})}}});function ks(e,t,d,g,_,v){const c=o("tab-switcher"),m=o("config-panel"),u=o("motion-panel"),r=o("recent-panel"),h=o("layout");return i(),w(h,null,{tabs:f(()=>[n(c,{"model-value":e.taskType,"onUpdate:modelValue":e.onTabChange},null,8,["model-value","onUpdate:modelValue"])]),config:f(()=>[e.taskType==="videos"?(i(),w(m,{key:0,onGenerate:e.onGenerate},null,8,["onGenerate"])):e.taskType==="motion"?(i(),w(u,{key:1,onGenerate:e.onGenerateMotion},null,8,["onGenerate"])):$("",!0)]),result:f(()=>[n(r,{ref:"recentPanel",loading:e.loadingMore,onReachTop:e.onReachTop},null,8,["loading","onReachTop"])]),_:1})}const bi=b(vs,[["render",ks]]);export{bi as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as i}from"./index-M2b128ZH.js";const n=o=>["",...i].includes(o);export{n as i};
|