@acedatacloud/nexior 2.14.1 → 2.14.3
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.bf0ab6ce.js → Auth.cc732317.js} +1 -1
- package/dist/assets/{Buy.4c896643.js → Buy.164d5ca5.js} +1 -1
- package/dist/assets/{Buy.91043485.js → Buy.7839280b.js} +1 -1
- package/dist/assets/{Callback.57e4e105.js → Callback.11606288.js} +1 -1
- package/dist/assets/{Chatdoc.6c67a88c.js → Chatdoc.7bea39b1.js} +1 -1
- package/dist/assets/{Console.5eeae0da.js → Console.d3957df2.js} +1 -1
- package/dist/assets/{Conversation.0ccdd222.js → Conversation.48ae5322.js} +1 -1
- package/dist/assets/{Conversation.094adccb.js → Conversation.a4d2505d.js} +1 -1
- package/dist/assets/{CopyToClipboard.a048a24b.js → CopyToClipboard.1f3329f8.js} +1 -1
- package/dist/assets/{DarkSelector.f5d37abb.js → DarkSelector.f0d8c866.js} +1 -1
- package/dist/assets/{Detail.71a4de7c.js → Detail.9a6b1ee3.js} +1 -1
- package/dist/assets/{History.9d97a610.js → History.f08749ea.js} +1 -1
- package/dist/assets/{Index.86e1a462.js → Index.00240205.js} +1 -1
- package/dist/assets/{Index.77fc1476.js → Index.027c9765.js} +1 -1
- package/dist/assets/{Index.57aa5246.js → Index.0cd7fb9b.js} +1 -1
- package/dist/assets/{Index.f3d7816a.js → Index.22405f96.js} +1 -1
- package/dist/assets/{Index.0d044bb3.js → Index.29b40dfb.js} +1 -1
- package/dist/assets/Index.6014861f.js +1 -0
- package/dist/assets/{Index.822bf637.js → Index.6291db9c.js} +1 -1
- package/dist/assets/{Index.a35a8163.js → Index.6efac0ca.js} +1 -1
- package/dist/assets/{Index.081fc857.js → Index.79a5a87d.js} +2 -2
- package/dist/assets/{Index.b27491d8.js → Index.d80ddb27.js} +1 -1
- package/dist/assets/{Index.e38addcd.js → Index.df5e6f42.js} +1 -1
- package/dist/assets/Index.e0a3fa7c.js +1 -0
- package/dist/assets/Index.ead7799e.js +1 -0
- package/dist/assets/{InfoIcon.e4d01eba.js → InfoIcon.05128494.js} +1 -1
- package/dist/assets/{Invitees.f5d2d194.js → Invitees.321f8077.js} +1 -1
- package/dist/assets/{List.6bef17da.js → List.1929e036.js} +1 -1
- package/dist/assets/{List.3a2c4309.js → List.478bd233.js} +1 -1
- package/dist/assets/{List.ea77b708.js → List.63634bc5.js} +1 -1
- package/dist/assets/{Login.2c51a0a1.js → Login.984fd27b.js} +1 -1
- package/dist/assets/{Main.34f39865.js → Main.9a642384.js} +1 -1
- package/dist/assets/{Manage.f6b96065.js → Manage.ac25c5d2.js} +1 -1
- package/dist/assets/{MarkdownRenderer.2db41e22.js → MarkdownRenderer.27d2b651.js} +1 -1
- package/dist/assets/{Navigator.7eb61573.js → Navigator.265058a7.js} +1 -1
- package/dist/assets/{Pagination.c0b17052.js → Pagination.2d968914.js} +1 -1
- package/dist/assets/{Setting.b504231e.js → Setting.569ecdac.js} +1 -1
- package/dist/assets/{Status.34fe96a8.js → Status.7844e1c7.js} +1 -1
- package/dist/assets/{distribution.ec386e52.js → distribution.94f2b787.js} +1 -1
- package/dist/assets/index.00c1df8d.js +3 -0
- package/dist/assets/{order.9e196ac9.js → order.90bf2dbd.js} +1 -1
- package/dist/assets/{price.40f3a856.js → price.df96be24.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index.b84a6692.js +0 -1
- package/dist/assets/Index.c673beab.js +0 -1
- package/dist/assets/Index.f2dc2c6f.js +0 -1
- package/dist/assets/index.f9ab0467.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Qe=Object.defineProperty,Ye=Object.defineProperties;var Ze=Object.getOwnPropertyDescriptors;var Ge=Object.getOwnPropertySymbols;var ea=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable;var Me=(e,a,n)=>a in e?Qe(e,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[a]=n,E=(e,a)=>{for(var n in a||(a={}))ea.call(a,n)&&Me(e,n,a[n]);if(Ge)for(var n of Ge(a))aa.call(a,n)&&Me(e,n,a[n]);return e},C=(e,a)=>Ye(e,Ze(a));import"./vendor-others.56d45bbc.js";import{aq as Q}from"./vendor-fortawesome.ea56e829.js";import{_ as j,aa as ze,ab as qe,ac as We,ad as He,ae as xe,U as ta,X as ee,G as da,af as la,ag as Be}from"./index.00c1df8d.js";import{P as na,l as W,w as Ke,x as Xe,S as Z,T as de,s as le,L as sa,K as ca,U as oa,b as ia,V as ua,E as ra,d as ma,W as ga,X as pa,e as ba,N as ha,O as fa,M as O,u as ya,F as va,C as _a,R as $a}from"./vendor-element-plus.0a44791e.js";import{H as T,al as d,o,e as m,f as l,I as ae,V as t,M as b,U as i,W as P,ai as U,Q as z,a0 as te,L as R,T as S,S as $,O as ja,P as Ta}from"./vendor-@vue.01066951.js";import{I as G}from"./InfoIcon.05128494.js";import{A as ka,i as wa,h as Sa}from"./Status.7844e1c7.js";import{C as Ea}from"./CopyToClipboard.1f3329f8.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.3f236d35.js";var c=(e=>(e.GENERATE="generate",e.UPSCALE1="upscale1",e.UPSCALE2="upscale2",e.UPSCALE3="upscale3",e.UPSCALE4="upscale4",e.VARIATION1="variation1",e.VARIATION2="variation2",e.VARIATION3="variation3",e.VARIATION4="variation4",e.VARIATION_STRONG="variation_strong",e.VARIATION_SUBTLE="variation_subtle",e.UPSCALE_SUBTLE="upscale_subtle",e.UPSCALE_CREATIVE="upscale_creative",e.ZOOM_OUT_2X="zoom_out_2x",e.ZOOM_OUT_1_5X="zoom_out_1_5x",e.SQUARE="square",e.PAN_LEFT="pan_left",e.PAN_UP="pan_up",e.PAN_DOWN="pan_down",e.PAN_RIGHT="pan_right",e.REROLL="reroll",e.UPSCALE_2X="upscale_2x",e.UPSCALE_4X="upscale_4x",e.REDO_UPSCALE_2X="redo_upscale_2x",e.REDO_UPSCALE_4X="redo_upscale_4x",e.REDO_UPSCALE_SUBTLE="redo_upscale_subtle",e.REDO_UPSCALE_CREATIVE="redo_upscale_creative",e))(c||{}),Je=(e=>(e.PENDING="pending",e.GENERATING="generating",e.FINISHED="finished",e.FAILED="failed",e))(Je||{});const Ca=T({name:"LayoutMidjourney",components:{ElDrawer:na,ElButton:W,FontAwesomeIcon:Q},data(){return{drawer:!1}}}),Aa={class:"main"},La={class:"presets"},Va={class:"operation"};function Ra(e,a,n,p,f,y){const u=d("font-awesome-icon"),r=d("el-button"),s=d("el-drawer");return o(),m("div",Aa,[l("div",La,[ae(e.$slots,"presets",{},void 0,!0)]),l("div",Va,[ae(e.$slots,"operation",{},void 0,!0)]),t(r,{round:"",class:"menu",onClick:a[0]||(a[0]=g=>e.drawer=!0)},{default:b(()=>[t(u,{icon:"fa-solid fa-gear",class:"icon-menu"})]),_:1}),t(s,{modelValue:e.drawer,"onUpdate:modelValue":a[1]||(a[1]=g=>e.drawer=g),"with-header":!1,size:"300px",class:"drawer"},{default:b(()=>[ae(e.$slots,"presets",{},void 0,!0)]),_:3},8,["modelValue"])])}var Pa=j(Ca,[["render",Ra],["__scopeId","data-v-31b62f12"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Midjourney.vue"]]);const Ua=T({name:"RatioSelector",data(){return{options:[{value:"1:1",label:"1:1",width:15,height:15},{value:"4:3",label:"4:3",width:16,height:12},{value:"3:4",label:"3:4",width:12,height:16},{value:"16:9",label:"16:9",width:16,height:9},{value:"9:16",label:"9:16",width:9,height:16}]}},computed:{active(){return this.options.findIndex(e=>e.value===this.value)||0},value:{get(){return this.$store.state.midjourney.config.ratio},set(e){console.debug("set ratio",e),this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{ratio:e}))}}},mounted(){this.value||(this.value=ze)}}),Na={class:"title"},Ia={class:"items"},Da=["onClick"],Oa={class:"name"};function Ga(e,a,n,p,f,y){return o(),m("div",null,[l("h2",Na,i(e.$t("midjourney.name.ratio")),1),l("div",Ia,[(o(!0),m(P,null,U(e.options,(u,r)=>(o(),m("div",{key:r,class:z({active:e.active===r,item:!0}),onClick:s=>e.value=u.value},[l("div",{class:z(["preview",u.label])},[l("div",{class:"rect",style:te({width:u.width+"px",height:u.height+"px"})},null,4)],2),l("p",Oa,i(u.label),1)],10,Da))),128))])])}var Ma=j(Ua,[["render",Ga],["__scopeId","data-v-2c533634"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/RatioSelector.vue"]]);const Ba="6.1",Fa=T({name:"VersionSelector",components:{ElSelect:Ke,ElOption:Xe},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{options:[{value:"6.1",label:"6.1"},{value:"6.0",label:"6.0"},{value:"5.2",label:"5.2"},{value:"5.1",label:"5.1"},{value:"5.0",label:"5"},{value:"4",label:"4"},{value:"3",label:"3"},{value:"2",label:"2"},{value:"1",label:"1"}]}},computed:{value:{get(){return this.$store.state.midjourney.config.version},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{version:e}))}}},mounted(){this.value||(this.value=Ba)}}),za={class:"field"},qa={class:"title"};function Wa(e,a,n,p,f,y){const u=d("el-option"),r=d("el-select");return o(),m("div",za,[l("h2",qa,i(e.$t("midjourney.name.version")),1),t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=s=>e.value=s),class:"value",placeholder:e.$t("midjourney.placeholder.select")},{default:b(()=>[(o(!0),m(P,null,U(e.options,s=>(o(),R(u,{key:s.value,label:s.label,value:s.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var Ha=j(Fa,[["render",Wa],["__scopeId","data-v-111cc9fe"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/VersionSelector.vue"]]);const xa=T({name:"StylizeSelector",components:{ElSlider:Z,InfoIcon:G,ElInputNumber:de},computed:{value:{get(){return this.$store.state.midjourney.config.stylize},set(e){console.debug("set stylize",e),this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{stylize:e}))}}},mounted(){this.value||(this.value=qe)}}),Ka={class:"flex justify-between"},Xa={class:"flex justify-start items-center"},Ja={class:"text-sm font-bold"},Qa={class:"flex justify-end items-center"},Ya={class:"w-full"};function Za(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-input-number"),s=d("el-slider");return o(),m("div",null,[l("div",Ka,[l("div",Xa,[l("span",Ja,i(e.$t("midjourney.name.stylize")),1),t(u,{content:e.$t("midjourney.description.stylize")},null,8,["content"])]),l("div",Qa,[t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=g=>e.value=g),size:"small","controls-position":"right"},null,8,["modelValue"])])]),l("div",Ya,[t(s,{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=g=>e.value=g),min:0,max:100,step:1},null,8,["modelValue"])])])}var et=j(xa,[["render",Za],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/StylizeSelector.vue"]]);const at=0,tt=T({name:"ChaosSelector",components:{ElSlider:Z,InfoIcon:G,ElInputNumber:de},computed:{value:{get(){return this.$store.state.midjourney.config.chaos},set(e){console.debug("set quality",e),this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{chaos:e}))}}},mounted(){this.value||(this.value=at)}}),dt={class:"flex justify-between"},lt={class:"flex justify-start items-center"},nt={class:"text-sm font-bold"},st={class:"flex justify-end items-center"},ct={class:"w-full"};function ot(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-input-number"),s=d("el-slider");return o(),m("div",null,[l("div",dt,[l("div",lt,[l("span",nt,i(e.$t("midjourney.name.chaos")),1),t(u,{content:e.$t("midjourney.description.chaos")},null,8,["content"])]),l("div",st,[t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=g=>e.value=g),size:"small","controls-position":"right"},null,8,["modelValue"])])]),l("div",ct,[t(s,{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=g=>e.value=g),min:0,max:100,step:1},null,8,["modelValue"])])])}var it=j(tt,[["render",ot],["__scopeId","data-v-115b93ae"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ChaosSelector.vue"]]);const ut=T({name:"ModelSelector",components:{ElImage:le,InfoIcon:G},data(){return{options:[{value:"",label:this.$t("midjourney.model.general"),image:"https://cdn.acedata.cloud/ebvlwg.png"},{value:"niji 5",label:this.$t("midjourney.model.niji"),image:"https://cdn.acedata.cloud/j6v1m7.png"}]}},computed:{active(){return this.options.findIndex(e=>e.value===this.value)},value:{get(){return this.$store.state.midjourney.config.model},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{model:e}))}}},mounted(){this.value===void 0&&(this.value="")}}),rt={class:"flex justify-start items-center"},mt={class:"text-sm font-bold"},gt={class:"items"},pt=["onClick"],bt={class:"name"};function ht(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-image");return o(),m("div",null,[l("div",rt,[l("span",mt,i(e.$t("midjourney.name.model")),1),t(u,{content:e.$t("midjourney.description.model")},null,8,["content"])]),l("div",gt,[(o(!0),m(P,null,U(e.options,(s,g)=>(o(),m("div",{key:g,class:z({active:e.active===g,item:!0}),onClick:v=>e.value=s.value},[t(r,{src:s.image,fit:"cover",class:"image"},null,8,["src"]),l("p",bt,i(s.label),1)],10,pt))),128))])])}var ft=j(ut,[["render",ht],["__scopeId","data-v-0375b75c"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ModelSelector.vue"]]);const yt=T({name:"QualitySelector",components:{ElRadioButton:sa,ElRadioGroup:ca},data(){return{options:[{label:this.$t("midjourney.button.low"),value:".25"},{label:this.$t("midjourney.button.medium"),value:".5"},{label:this.$t("midjourney.button.high"),value:"1"}]}},computed:{value:{get(){return this.$store.state.midjourney.config.quality},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{quality:e}))}}},mounted(){this.value||(this.value=We)}}),vt={class:"field"},_t={class:"title"};function $t(e,a,n,p,f,y){const u=d("el-radio-button"),r=d("el-radio-group");return o(),m("div",vt,[l("h2",_t,i(e.$t("midjourney.name.quality")),1),t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=s=>e.value=s),size:"small",class:"quality"},{default:b(()=>[(o(!0),m(P,null,U(e.options,s=>(o(),R(u,{key:s.value,label:s.value},{default:b(()=>[S(i(s.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])}var jt=j(yt,[["render",$t],["__scopeId","data-v-5eed3ca8"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/QualitySelector.vue"]]);const Tt=T({name:"ImageWeightSelector",components:{ElSlider:Z,InfoIcon:G},computed:{value:{get(){return this.$store.state.midjourney.config.iw},set(e){console.debug("set iw",e),this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{iw:e}))}}},mounted(){this.value||(this.value=He)}}),kt={class:"flex justify-between"},wt={class:"flex justify-start items-center"},St={class:"text-sm font-bold"},Et={class:"flex justify-end items-center"},Ct={class:"w-full"};function At(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-input-number"),s=d("el-slider");return o(),m("div",null,[l("div",kt,[l("div",wt,[l("span",St,i(e.$t("midjourney.name.imageWeight")),1),t(u,{content:e.$t("midjourney.description.imageWeight")},null,8,["content"])]),l("div",Et,[t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=g=>e.value=g),size:"small","controls-position":"right"},null,8,["modelValue"])])]),l("div",Ct,[t(s,{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=g=>e.value=g),min:0,max:2,step:.1},null,8,["modelValue","step"])])])}var Lt=j(Tt,[["render",At],["__scopeId","data-v-be514748"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ImageWeightSelector.vue"]]);const Vt=T({name:"WeirdSelector",components:{ElSlider:Z,ElInputNumber:de,InfoIcon:G},computed:{value:{get(){return this.$store.state.midjourney.config.weird},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{weird:e}))}}},mounted(){this.value||(this.value=xe)}}),Rt={class:"flex justify-between"},Pt={class:"flex justify-start items-center"},Ut={class:"text-sm font-bold"},Nt={class:"flex justify-end items-center"},It={class:"w-full"};function Dt(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-input-number"),s=d("el-slider");return o(),m("div",null,[l("div",Rt,[l("div",Pt,[l("span",Ut,i(e.$t("midjourney.name.weird")),1),t(u,{content:e.$t("midjourney.description.weird")},null,8,["content"])]),l("div",Nt,[t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=g=>e.value=g),size:"small","controls-position":"right"},null,8,["modelValue"])])]),l("div",It,[t(s,{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=g=>e.value=g),min:0,max:1e3,step:1},null,8,["modelValue"])])])}var Ot=j(Vt,[["render",Dt],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/WeirdSelector.vue"]]);const Gt="",Mt=T({name:"StyleSelector",components:{ElSelect:Ke,ElOption:Xe},data(){return{}},computed:{model(){return this.$store.state.midjourney.config.model},options(){var e;return(e=this.model)!=null&&e.includes("niji")?[{value:"cute",label:this.$t("midjourney.style.cute")},{value:"expressive",label:this.$t("midjourney.style.expressive")},{value:"scenic",label:this.$t("midjourney.style.scenic")},{value:"original",label:this.$t("midjourney.style.original")}]:[{value:"raw",label:this.$t("midjourney.style.raw")}]},value:{get(){return this.$store.state.midjourney.config.style},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{style:e}))}}},watch:{model(){this.value=""}},mounted(){this.value||(this.value=Gt)}}),Bt={class:"field"},Ft={class:"title"},zt={class:"float-left"},qt={class:"float-right"};function Wt(e,a,n,p,f,y){const u=d("el-option"),r=d("el-select");return o(),m("div",Bt,[l("h2",Ft,i(e.$t("midjourney.name.style")),1),t(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=s=>e.value=s),class:"value",placeholder:e.$t("midjourney.placeholder.select"),clearable:""},{default:b(()=>[(o(!0),m(P,null,U(e.options,s=>(o(),R(u,{key:s.value,label:s.label,value:s.value},{default:b(()=>[l("span",zt,i(s.label),1),l("span",qt,i(s.value),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var Ht=j(Mt,[["render",Wt],["__scopeId","data-v-5094bada"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/StyleSelector.vue"]]);const xt=T({name:"ElementsSelector",components:{ElTabs:oa,ElTag:ia,ElTabPane:ua,ElImage:le,ElDialog:ra,ElButton:W,InfoIcon:G},emits:["update:modelValue"],data(){return{tab:"styles",choosing:!1,elements:{styles:{displayName:this.$t("midjourney.styleCategory.styles"),items:[{image:"https://cdn.acedata.cloud/94ab394d-2fa3-4fe8-b3b3-41be85720fdb.png",label:this.$t("midjourney.styleTag.watercolour"),value:"Watercolour"},{image:"https://cdn.acedata.cloud/c3904cc5-3184-4639-be76-46f4860c1277.png",label:this.$t("midjourney.styleTag.oilPainting"),value:"Oil painting"},{image:"https://cdn.acedata.cloud/a0b764bb-13b1-419b-a8e8-855ee7ffc28a.png",label:this.$t("midjourney.styleTag.oldPhotograph"),value:"Old Photograph"},{image:"https://cdn.acedata.cloud/04f17d89-d913-4700-a422-99fa97fa79c9.png",label:this.$t("midjourney.styleTag.oneLineDrawing"),value:"One-line drawing"},{image:"https://cdn.acedata.cloud/281cfaac-ec59-4f5c-ab2b-f15d7481d752.png",label:this.$t("midjourney.styleTag.sketchDrawing"),value:"Sketch Drawing"},{image:"https://cdn.acedata.cloud/091d68cf-533c-4b76-90be-d5983b9ba80b.png",label:this.$t("midjourney.styleTag.gouache"),value:"Gouache"},{image:"https://cdn.acedata.cloud/a652c6b2-f0f6-4ef4-bf1b-9053e1daf85b.png",label:this.$t("midjourney.styleTag.filmStyle"),value:"Film style"},{image:"https://cdn.acedata.cloud/0aaafc79-9094-4a97-a07d-a01f88d276b1.png",label:this.$t("midjourney.styleTag.photorealistic"),value:"Photorealistic"},{image:"https://cdn.acedata.cloud/aa6489ad-8b40-46ae-83a6-f636772084e9.png",label:this.$t("midjourney.styleTag.logo"),value:"Logo"},{image:"https://cdn.acedata.cloud/e3e96805-6bcd-4608-b012-a8931e75662a.png",label:this.$t("midjourney.styleTag.cartoon"),value:"Cartoon"},{image:"https://cdn.acedata.cloud/11d53af4-ec2d-4256-8ddc-18105df57047.png",label:this.$t("midjourney.styleTag.marbleStatue"),value:"Marble Statue"},{image:"https://cdn.acedata.cloud/d0109889-d2a6-49ee-9f5c-49f2033966d8.png",label:this.$t("midjourney.styleTag.1800S"),value:"1800s"},{image:"https://cdn.acedata.cloud/86a3fb48-1ef0-422a-809a-580892aa0b9d.png",label:this.$t("midjourney.styleTag.1980S"),value:"1980s"},{image:"https://cdn.acedata.cloud/8b07aae4-b6f6-45ad-a556-7206b2945025.png",label:this.$t("midjourney.styleTag.isometricAnime"),value:"Isometric anime",advanced:!0},{image:"https://cdn.acedata.cloud/3be49d3c-e431-4bce-b2bb-fc53f763b348.png",label:this.$t("midjourney.styleTag.analyticDrawing"),value:"Analytic drawing",advanced:!0},{image:"https://cdn.acedata.cloud/4d31c2dc-2a0b-4465-b3e8-bffd7c5fed25.png",label:this.$t("midjourney.styleTag.coloringBook"),value:"Coloring book",advanced:!0},{image:"https://cdn.acedata.cloud/a19dde67-65b2-4923-8895-9e960cf050ee.png",label:this.$t("midjourney.styleTag.infographicDrawing"),value:"Infographic drawing",advanced:!0},{image:"https://cdn.acedata.cloud/f57db729-8692-4524-a373-b495d14ec77e.png",label:this.$t("midjourney.styleTag.doubleExposure"),value:"Double exposure",advanced:!0},{image:"https://cdn.acedata.cloud/f8ff8db0-62dc-4414-b309-7fdf2021e45c.png",label:this.$t("midjourney.styleTag.diagrammaticDrawing"),value:"Diagrammatic drawing",advanced:!0},{image:"https://cdn.acedata.cloud/426447cf-dd10-4c91-b928-e7a3aa4c253a.png",label:this.$t("midjourney.styleTag.2DIllustration"),value:"2D illustration",advanced:!0},{image:"https://cdn.acedata.cloud/25e0edfe-776f-4be0-9791-bb729cca81b3.png",label:this.$t("midjourney.styleTag.diagrammaticPortrait"),value:"Diagrammatic portrait",advanced:!0},{image:"https://cdn.acedata.cloud/819c367c-ad03-4bf8-87a9-38ba53aa00f6.png",label:this.$t("midjourney.styleTag.pixelArt"),value:"Pixel art",advanced:!0},{image:"https://cdn.acedata.cloud/2c4bbd7b-fc59-4f38-b844-762bf2366042.png",label:this.$t("midjourney.styleTag.darkFantasy"),value:"Dark fantasy",advanced:!0},{image:"https://cdn.acedata.cloud/bd786eed-e3ee-4e3a-9473-acbd1ee4306c.png",label:this.$t("midjourney.styleTag.ukiyoEArt"),value:"Ukiyo-e art",advanced:!0},{image:"https://cdn.acedata.cloud/1951d276-5502-428a-8694-1b311d8a5540.png",label:this.$t("midjourney.styleTag.paperQuilling"),value:"Paper quilling",advanced:!0},{image:"https://cdn.acedata.cloud/4f9bcc9c-8b0e-47f4-87b9-4b4d78a8891a.png",label:this.$t("midjourney.styleTag.paperCutCraft"),value:"Paper cut craft"},{image:"https://cdn.acedata.cloud/4775f61f-446b-4312-b824-c91c6ecdb372.png",label:this.$t("midjourney.styleTag.iridescent"),value:"Iridescent",advanced:!0},{image:"https://cdn.acedata.cloud/29fbc528-56f0-4eb0-a5a2-2312d53d55b4.png",label:this.$t("midjourney.styleTag.patchworkCollage"),value:"Patchwork collage",advanced:!0},{image:"https://cdn.acedata.cloud/aa03b06a-fac8-45ec-830f-2a6e7ecab5c2.png",label:this.$t("midjourney.styleTag.opArt"),value:"Op art",advanced:!0},{image:"https://cdn.acedata.cloud/29015f2a-3c9c-43c5-808a-23fbbb7bcf2f.png",label:this.$t("midjourney.styleTag.japaneseInk"),value:"Japanese ink",advanced:!0},{image:"https://cdn.acedata.cloud/a65f8f7e-46a9-4ccf-8ee5-720d0c222471.png",label:this.$t("midjourney.styleTag.pastelDrawing"),value:"Pastel drawing"},{image:"https://cdn.acedata.cloud/a0cda2b1-b227-4230-8842-feab55edd6c7.png",label:this.$t("midjourney.styleTag.drippingArt"),value:"Dripping art"},{image:"https://cdn.acedata.cloud/c4aab372-ec55-4a7e-af94-4469f45c23c5.png",label:this.$t("midjourney.styleTag.tattooArt"),value:"Tattoo art",advanced:!0},{image:"https://cdn.acedata.cloud/5040fbb2-6fa7-4e8f-86ac-f23c1c3e291c.png",label:this.$t("midjourney.styleTag.16Bit"),value:"16-Bit",advanced:!0},{image:"https://cdn.acedata.cloud/b67249a1-36fa-443a-8b41-c167a5002e10.png",label:this.$t("midjourney.styleTag.8Bit"),value:"8-Bit",advanced:!0},{image:"https://cdn.acedata.cloud/1c9600b4-6995-4dcb-b363-40ee38049151.png",label:this.$t("midjourney.styleTag.amber"),value:"Amber",advanced:!0},{image:"https://cdn.acedata.cloud/e2d34946-3148-4f92-ad73-40f6f1208516.png",label:this.$t("midjourney.styleTag.anatomicalDrawing"),value:"Anatomical Drawing",advanced:!0},{image:"https://cdn.acedata.cloud/19940f31-037e-4a8f-a71c-605e16ac9631.png",label:this.$t("midjourney.styleTag.ancient"),value:"Ancient"},{image:"https://cdn.acedata.cloud/b714b3d9-2f97-49fb-bf85-99a716bf0c78.png",label:this.$t("midjourney.styleTag.anime"),value:"Anime",advanced:!0},{image:"https://cdn.acedata.cloud/d88c3080-cd54-4342-ac91-dac326ee1060.png",label:this.$t("midjourney.styleTag.arabic"),value:"Arabic",advanced:!0},{image:"https://cdn.acedata.cloud/dc54b749-8e69-4252-9b90-fc1448fa9397.png",label:this.$t("midjourney.styleTag.blocky"),value:"Blocky",advanced:!0},{image:"https://cdn.acedata.cloud/d8009295-2f4b-48d8-896e-46d0f5939923.png",label:this.$t("midjourney.styleTag.blueprint"),value:"Blueprint",advanced:!0},{image:"https://cdn.acedata.cloud/5cc39277-16e0-46d6-9310-b0722479713b.png",label:this.$t("midjourney.styleTag.comicbook"),value:"Comicbook",advanced:!0},{image:"https://cdn.acedata.cloud/b9900d01-20bc-408b-9637-779cc22c493c.png",label:this.$t("midjourney.styleTag.caribbean"),value:"Caribbean",advanced:!0},{image:"https://cdn.acedata.cloud/fedabd4e-a9bb-4bb0-a4ec-8fc48bc74c78.png",label:this.$t("midjourney.styleTag.celestial"),value:"Celestial",advanced:!0},{image:"https://cdn.acedata.cloud/00f1f097-1d72-435f-b47d-656f8e194dc2.png",label:this.$t("midjourney.styleTag.cellulose"),value:"Cellulose",advanced:!0},{image:"https://cdn.acedata.cloud/a002bccf-6287-4b28-a5a7-c1cf5cb07734.png",label:this.$t("midjourney.styleTag.charcoalStyle"),value:"Charcoal Style",advanced:!0},{image:"https://cdn.acedata.cloud/e218ab68-e430-4541-9501-02ee2d7aeda9.png",label:this.$t("midjourney.styleTag.chromatic"),value:"Chromatic",advanced:!0},{image:"https://cdn.acedata.cloud/bd5a79d9-c73d-46c3-974f-932751ff8e46.png",label:this.$t("midjourney.styleTag.coral"),value:"Coral",advanced:!0},{image:"https://cdn.acedata.cloud/58dd439c-cae7-434f-9a83-ac6aefd6e417.png",label:this.$t("midjourney.styleTag.conceptArt"),value:"Concept Art",advanced:!0},{image:"https://cdn.acedata.cloud/767fe9f3-69d0-4e16-9060-41e6cf1b1fe1.png",label:this.$t("midjourney.styleTag.fibonacci"),value:"Fibonacci",advanced:!0},{image:"https://cdn.acedata.cloud/4b78ebb1-5091-43d8-a020-88ffb3719edd.png",label:this.$t("midjourney.styleTag.cyberpunk"),value:"Cyberpunk",advanced:!0},{image:"https://cdn.acedata.cloud/34d35d5c-a2e4-4e8e-aafd-3d3c08499389.png",label:this.$t("midjourney.styleTag.diabolic"),value:"Diabolic",advanced:!0},{image:"https://cdn.acedata.cloud/8e29e2b4-4899-491d-a5dc-5ebbb1ff2758.png",label:this.$t("midjourney.styleTag.diffractionGrading"),value:"Diffraction Grading",advanced:!0},{image:"https://cdn.acedata.cloud/996c6d93-94aa-438a-96d5-278e22e54f5f.png",label:this.$t("midjourney.styleTag.lightspeed"),value:"Lightspeed",advanced:!0},{image:"https://cdn.acedata.cloud/57f3ad49-0940-44e2-a31a-a4872497bae7.png",label:this.$t("midjourney.styleTag.liquid"),value:"Liquid",advanced:!0},{image:"https://cdn.acedata.cloud/a9ff43a9-dadf-4bbc-9a7a-72fd3908d39a.png",label:this.$t("midjourney.styleTag.dots"),value:"Dots",advanced:!0},{image:"https://cdn.acedata.cloud/acff2bf9-1907-4a0f-be23-897c71caf60e.png",label:this.$t("midjourney.styleTag.dune"),value:"Dune",advanced:!0},{image:"https://cdn.acedata.cloud/4a2abc45-ba65-4e2d-8399-8d44491c8a64.png",label:this.$t("midjourney.styleTag.drippingPaint"),value:"Dripping Paint",advanced:!0},{image:"https://cdn.acedata.cloud/7dc4e93f-07a8-45ec-9e8a-89c3f619fd40.png",label:this.$t("midjourney.styleTag.electronicCircuitry"),value:"Electronic Circuitry",advanced:!0},{image:"https://cdn.acedata.cloud/cf502cba-ee64-41fd-a388-93f6357fc7cc.png",label:this.$t("midjourney.styleTag.electrical"),value:"Electrical",advanced:!0},{image:"https://cdn.acedata.cloud/fd6a696b-3102-4301-8fce-5a7fd401231a.png",label:this.$t("midjourney.styleTag.futuristic"),value:"Futuristic",advanced:!0},{image:"https://cdn.acedata.cloud/0fe8fca5-b3d9-4fab-b390-fff7c0f4f594.png",label:this.$t("midjourney.styleTag.etching"),value:"Etching",advanced:!0},{image:"https://cdn.acedata.cloud/46577726-f0ab-4750-81c6-0d4d865ba4bd.png",label:this.$t("midjourney.styleTag.extraterrestrial"),value:"Extraterrestrial",advanced:!0},{image:"https://cdn.acedata.cloud/faa06af4-9988-4e39-9f13-ecdd29e1e20a.png",label:this.$t("midjourney.styleTag.glitchart"),value:"Glitchart",advanced:!0},{image:"https://cdn.acedata.cloud/4380f6af-aaeb-41fd-bcaf-2efadcc3e08f.png",label:this.$t("midjourney.styleTag.floral"),value:"Floral",advanced:!0},{image:"https://cdn.acedata.cloud/096683c4-8e91-4ef0-8211-8a6dcef5298d.png",label:this.$t("midjourney.styleTag.fractal"),value:"Fractal",advanced:!0},{image:"https://cdn.acedata.cloud/10ce713b-a5bc-400b-a0c8-bcec4f7e6548.png",label:this.$t("midjourney.styleTag.preHistoric"),value:"Pre Historic",advanced:!0},{image:"https://cdn.acedata.cloud/6382ad4e-1818-4ab1-b493-10afdb43c196.png",label:this.$t("midjourney.styleTag.prokaryotic"),value:"Prokaryotic",advanced:!0},{image:"https://cdn.acedata.cloud/48205fb3-e48b-4219-ad53-d307e1e686a7.png",label:this.$t("midjourney.styleTag.horror"),value:"Horror",advanced:!0},{image:"https://cdn.acedata.cloud/d0567b20-8f93-4b16-a775-8ca0708a7a50.png",label:this.$t("midjourney.styleTag.iceAge"),value:"Ice Age",advanced:!0},{image:"https://cdn.acedata.cloud/cc1455a5-c139-400d-8a54-121176f196e1.png",label:this.$t("midjourney.styleTag.jurassic"),value:"Jurassic",advanced:!0},{image:"https://cdn.acedata.cloud/84e2bfe2-60bb-4323-936b-18dbb1c8cfa1.png",label:this.$t("midjourney.styleTag.knitted"),value:"Knitted",advanced:!0},{image:"https://cdn.acedata.cloud/2e1ffddf-daa1-4e57-bc92-d16484ef8e34.png",label:this.$t("midjourney.styleTag.polka"),value:"Polka",advanced:!0},{image:"https://cdn.acedata.cloud/9c2670df-3e39-45a7-ad76-ae17502d018f.png",label:this.$t("midjourney.styleTag.latex"),value:"Latex",advanced:!0},{image:"https://cdn.acedata.cloud/d4de1735-235d-461d-b93f-2bf3c280ccfe.png",label:this.$t("midjourney.styleTag.pastel"),value:"Pastel",advanced:!0},{image:"https://cdn.acedata.cloud/37f26555-f634-4964-8bac-ec8a955273d4.png",label:this.$t("midjourney.styleTag.mandala"),value:"Mandala",advanced:!0},{image:"https://cdn.acedata.cloud/f62aa376-1378-45a6-abd0-71bc7bbe49c7.png",label:this.$t("midjourney.styleTag.molecular"),value:"Molecular",advanced:!0},{image:"https://cdn.acedata.cloud/fc135428-1835-453d-afef-aaf72a7cfcbc.png",label:this.$t("midjourney.styleTag.merkaba"),value:"Merkaba",advanced:!0},{image:"https://cdn.acedata.cloud/5caf594b-0f0c-455f-b8a8-8c15a189d0dc.png",label:this.$t("midjourney.styleTag.mitochondria"),value:"Mitochondria",advanced:!0},{image:"https://cdn.acedata.cloud/088e3067-0abe-4f3d-bcb8-f6937e860d1e.png",label:this.$t("midjourney.styleTag.graffiti"),value:"Graffiti",advanced:!0},{image:"https://cdn.acedata.cloud/06230561-916a-4bc5-ad85-9386cf27bf1c.png",label:this.$t("midjourney.styleTag.graphicNovel"),value:"Graphic Novel",advanced:!0},{image:"https://cdn.acedata.cloud/e47f7931-d588-4c4a-87c8-3f7137e7f727.png",label:this.$t("midjourney.styleTag.multidimensional"),value:"Multidimensional",advanced:!0},{image:"https://cdn.acedata.cloud/d2443c93-3227-4216-afd1-b86287ac5140.png",label:this.$t("midjourney.styleTag.nasa"),value:"NASA",advanced:!0},{image:"https://cdn.acedata.cloud/a86a2f67-273c-4edf-9be9-ceecc983c93d.png",label:this.$t("midjourney.styleTag.nebula"),value:"Nebula",advanced:!0},{image:"https://cdn.acedata.cloud/ad1e588c-5892-48ee-a7c2-103c2b4868fc.png",label:this.$t("midjourney.styleTag.neon"),value:"Neon"},{image:"https://cdn.acedata.cloud/5a133976-208e-460f-8296-a4ad19809490.png",label:this.$t("midjourney.styleTag.nuclear"),value:"Nuclear",advanced:!0},{image:"https://cdn.acedata.cloud/c99f5082-314b-49e9-8875-b40319ed3cfc.png",label:this.$t("midjourney.styleTag.orbital"),value:"Orbital",advanced:!0},{image:"https://cdn.acedata.cloud/63809059-6ae6-49ff-ad96-ed4ae45a2464.png",label:this.$t("midjourney.styleTag.rayTracing"),value:"Ray Tracing",advanced:!0},{image:"https://cdn.acedata.cloud/cdcf0c05-e7ad-421e-b513-640bcc3d04cc.png",label:this.$t("midjourney.styleTag.realistic"),value:"Realistic"},{image:"https://cdn.acedata.cloud/019dc7be-b0e2-4da2-94d4-191226d58dbf.png",label:this.$t("midjourney.styleTag.renaissance"),value:"Renaissance",advanced:!0},{image:"https://cdn.acedata.cloud/d46d3c03-a924-4a0f-b032-e8dbca6ad37e.png",label:this.$t("midjourney.styleTag.retro"),value:"Retro"},{image:"https://cdn.acedata.cloud/bc13e200-6865-474b-8fe4-cf0725cf3caf.png",label:this.$t("midjourney.styleTag.risograph"),value:"Risograph",advanced:!0},{image:"https://cdn.acedata.cloud/f8533acc-807b-4f03-8f39-338ee6ff5d53.png",label:this.$t("midjourney.styleTag.origami"),value:"Origami",advanced:!0},{image:"https://cdn.acedata.cloud/b0ff3593-aef3-4dd2-a5f4-548c6febb2e2.png",label:this.$t("midjourney.styleTag.ornamental"),value:"Ornamental",advanced:!0},{image:"https://cdn.acedata.cloud/002c6a5d-b251-43bb-b713-d133f828c0a4.png",label:this.$t("midjourney.styleTag.space"),value:"Space",advanced:!0},{image:"https://cdn.acedata.cloud/641327df-93cc-4746-a55e-667dbb8c1563.png",label:this.$t("midjourney.styleTag.splatterPaint"),value:"Splatter Paint",advanced:!0},{image:"https://cdn.acedata.cloud/42527f9e-6cf0-40a6-bc9b-361d2baf9bf9.png",label:this.$t("midjourney.styleTag.sprayPaint"),value:"Spray Paint",advanced:!0},{image:"https://cdn.acedata.cloud/98bf8e01-9dd8-434b-81df-77cfd3627243.png",label:this.$t("midjourney.styleTag.squiggles"),value:"Squiggles",advanced:!0},{image:"https://cdn.acedata.cloud/26868352-5d9a-4bcc-9926-166927a2be35.png",label:this.$t("midjourney.styleTag.stitching"),value:"Stitching",advanced:!0},{image:"https://cdn.acedata.cloud/23819218-bdbc-4746-a507-7664836a4f59.png",label:this.$t("midjourney.styleTag.veins"),value:"Veins",advanced:!0},{image:"https://cdn.acedata.cloud/2fd3de3d-7211-4cce-b63b-a857d7621c72.png",label:this.$t("midjourney.styleTag.streetArt"),value:"Street Art",advanced:!0},{image:"https://cdn.acedata.cloud/80422ede-79fb-4149-bd0a-85bf0ac75a3d.png",label:this.$t("midjourney.styleTag.surreal"),value:"Surreal"},{image:"https://cdn.acedata.cloud/94956306-55de-470b-8a2a-28354d0e556f.png",label:this.$t("midjourney.styleTag.symmetric"),value:"Symmetric",advanced:!0},{image:"https://cdn.acedata.cloud/0098f2a0-b089-4e64-8a86-ffa137605087.png",label:this.$t("midjourney.styleTag.synthWave"),value:"Synth-wave",advanced:!0},{image:"https://cdn.acedata.cloud/f50d33b2-9c91-4939-8f2d-7b5ce185d138.png",label:this.$t("midjourney.styleTag.technological"),value:"Technological",advanced:!0},{image:"https://cdn.acedata.cloud/a446a6eb-444c-4073-8a8e-6f43e65491c2.png",label:this.$t("midjourney.styleTag.tron"),value:"Tron",advanced:!0},{image:"https://cdn.acedata.cloud/8026ccad-aa11-4b0d-ad81-eb870a695a81.png",label:this.$t("midjourney.styleTag.tropical"),value:"Tropical",advanced:!0},{image:"https://cdn.acedata.cloud/22c16c64-068c-470e-9b80-2849297aad9a.png",label:this.$t("midjourney.styleTag.ultraModern"),value:"Ultra Modern"},{image:"https://cdn.acedata.cloud/f67bd4b6-3f43-4da8-bdcb-67cd39cb38f9.png",label:this.$t("midjourney.styleTag.wormhole"),value:"Wormhole",advanced:!0},{image:"https://cdn.acedata.cloud/2e2a1ca9-8791-41c6-9ff0-0ac21a13d1c5.png",label:this.$t("midjourney.styleTag.wrinkled"),value:"Wrinkled",advanced:!0},{image:"https://cdn.acedata.cloud/3507c78d-a065-462c-a17c-fd5ed4677644.png",label:this.$t("midjourney.styleTag.volcanic"),value:"Volcanic",advanced:!0},{image:"https://cdn.acedata.cloud/69263783-0610-45b0-9ec4-acac961da092.png",label:this.$t("midjourney.styleTag.wetPaint"),value:"Wet Paint",advanced:!0},{image:"https://cdn.acedata.cloud/9022fc82-d6f7-47e2-90b1-ad96fbba5257.png",label:this.$t("midjourney.styleTag.wildWest"),value:"Wild West",advanced:!0},{image:"https://cdn.acedata.cloud/23de882d-4e5d-40b5-9f00-d0573c443212.png",label:this.$t("midjourney.styleTag.wind"),value:"Wind",advanced:!0},{image:"https://cdn.acedata.cloud/e3a58af1-79bc-48f3-871c-36472da2584b.png",label:this.$t("midjourney.styleTag.miniatureFaking"),value:"Miniature Faking",advanced:!0}]},lighting:{displayName:this.$t("midjourney.styleCategory.lighting"),items:[{image:"https://cdn.acedata.cloud/a4b9110f-e838-4c52-8ab8-f2637ea753df.png",label:this.$t("midjourney.styleTag.accentLighting"),value:"Accent Lighting"},{image:"https://cdn.acedata.cloud/c4c16a69-28d7-4b38-8ea2-3ce49d5c6b07.png",label:this.$t("midjourney.styleTag.backlight"),value:"Backlight"},{image:"https://cdn.acedata.cloud/7fd2cd5c-7671-4b40-85a0-230de9c37234.png",label:this.$t("midjourney.styleTag.blacklight"),value:"Blacklight",advanced:!0},{image:"https://cdn.acedata.cloud/a08bff6e-8a0f-4d56-aa91-576f0a9921f2.png",label:this.$t("midjourney.styleTag.goldenHourLight"),value:"Golden hour light",advanced:!0},{image:"https://cdn.acedata.cloud/3cd28696-493f-4b3e-9187-9d1a4c17e95b.png",label:this.$t("midjourney.styleTag.candlelight"),value:"Candlelight"},{image:"https://cdn.acedata.cloud/58c9a17e-f7d5-4481-abc8-9e9b66609a4d.png",label:this.$t("midjourney.styleTag.concertLighting"),value:"Concert Lighting",advanced:!0},{image:"https://cdn.acedata.cloud/efb8893c-8bd6-4c7d-8e45-6e0626f69479.png",label:this.$t("midjourney.styleTag.crepuscularRays"),value:"Crepuscular Rays",advanced:!0},{image:"https://cdn.acedata.cloud/27b90e83-09b0-4339-9b2c-48fe6fe45bdd.png",label:this.$t("midjourney.styleTag.directSunlight"),value:"Direct Sunlight"},{image:"https://cdn.acedata.cloud/d33cb17d-e2a5-4ca3-b68a-93904d2618d7.png",label:this.$t("midjourney.styleTag.dust"),value:"Dust",advanced:!0},{image:"https://cdn.acedata.cloud/3af133d0-5a86-45a9-a16e-f23e6cc68b24.png",label:this.$t("midjourney.styleTag.studioLighting"),value:"Studio lighting",advanced:!0},{image:"https://cdn.acedata.cloud/6bc889b1-a563-4890-9117-7d3ded276caa.png",label:this.$t("midjourney.styleTag.rimLight"),value:"Rim light",advanced:!0},{image:"https://cdn.acedata.cloud/d770265a-066b-413f-a405-a52d68e2f1c7.png",label:this.$t("midjourney.styleTag.volumetricLighting"),value:"Volumetric Lighting",advanced:!0},{image:"https://cdn.acedata.cloud/7c83560a-6837-43b2-b296-f74db549accf.png",label:this.$t("midjourney.styleTag.fluorescent"),value:"Fluorescent"},{image:"https://cdn.acedata.cloud/6ffc8688-dfd0-4ede-a6bc-91bf8679adc9.png",label:this.$t("midjourney.styleTag.glowing"),value:"Glowing",advanced:!0},{image:"https://cdn.acedata.cloud/63bc0645-ab94-4327-84b8-e226020c6c0f.png",label:this.$t("midjourney.styleTag.glowStick"),value:"Glow-stick",advanced:!0},{image:"https://cdn.acedata.cloud/824111e9-7ebf-47ec-80ef-a6ad0a1d949b.png",label:this.$t("midjourney.styleTag.glowRadioactive"),value:"Glow Radioactive",advanced:!0},{image:"https://cdn.acedata.cloud/9d23de16-57b3-42be-89d2-478de2666483.png",label:this.$t("midjourney.styleTag.lavaGlow"),value:"Lava Glow",advanced:!0},{image:"https://cdn.acedata.cloud/d801ee47-02a0-455d-b333-76ad73a4fdcd.png",label:this.$t("midjourney.styleTag.moonlight"),value:"Moonlight"},{image:"https://cdn.acedata.cloud/6d1400a8-e168-46c9-89e8-5e701f8824b2.png",label:this.$t("midjourney.styleTag.naturalLighting"),value:"Natural Lighting"},{image:"https://cdn.acedata.cloud/9bb6c4ce-9076-41eb-8ace-43a4fa7e0c03.png",label:this.$t("midjourney.styleTag.neonLamp"),value:"Neon Lamp"},{image:"https://cdn.acedata.cloud/ac3fe310-3639-4fc0-b56e-4d69278bc2ca.png",label:this.$t("midjourney.styleTag.nightclubLighting"),value:"Nightclub Lighting",advanced:!0},{image:"https://cdn.acedata.cloud/c9331a92-87d2-43b5-9319-24c8629bffd1.png",label:this.$t("midjourney.styleTag.nuclearWasteGlo"),value:"Nuclear Waste Glo",advanced:!0},{image:"https://cdn.acedata.cloud/40ccdbfb-84a7-49f7-9999-92db58802c65.png",label:this.$t("midjourney.styleTag.quantumDot"),value:"Quantum Dot",advanced:!0},{image:"https://cdn.acedata.cloud/d5411604-4e66-4187-9b37-48eb683be65e.png",label:this.$t("midjourney.styleTag.spotlight"),value:"Spotlight"},{image:"https://cdn.acedata.cloud/b1f16a4b-fb3d-4783-9c66-c3567e79baeb.png",label:this.$t("midjourney.styleTag.edgeLight"),value:"Edge light",advanced:!0},{image:"https://cdn.acedata.cloud/97fecbc1-a164-48e2-bdf0-c69975c16d63.png",label:this.$t("midjourney.styleTag.coldLight"),value:"Cold light"},{image:"https://cdn.acedata.cloud/7087f2fe-f48c-4b72-95bc-c697b56e8b0e.png",label:this.$t("midjourney.styleTag.keyLighting"),value:"Key lighting",advanced:!0},{image:"https://cdn.acedata.cloud/5ab92c7e-bca1-4fbc-8975-6d9fb3f15626.png",label:this.$t("midjourney.styleTag.ambientLight"),value:"Ambient Light",advanced:!0},{image:"https://cdn.acedata.cloud/ac80d283-5532-4664-bbe5-42fbb9582a63.png",label:this.$t("midjourney.styleTag.highKeyLighting"),value:"High key lighting",advanced:!0},{image:"https://cdn.acedata.cloud/add3524d-fc90-45a8-9edc-348bb1f79075.png",label:this.$t("midjourney.styleTag.lowKeyLighting"),value:"Low key lighting",advanced:!0},{image:"https://cdn.acedata.cloud/42174ff8-3080-4004-9ae2-c2ff919e1145.png",label:this.$t("midjourney.styleTag.motivatedLighting"),value:"Motivated lighting",advanced:!0},{image:"https://cdn.acedata.cloud/09f3d509-a366-44dc-be3b-b39712d0fac1.png",label:this.$t("midjourney.styleTag.3PointLighting"),value:"3 point lighting",advanced:!0},{image:"https://cdn.acedata.cloud/794a114e-cd4d-4e83-a187-5e979296d125.png",label:this.$t("midjourney.styleTag.strobeLight"),value:"Strobe light",advanced:!0},{image:"https://cdn.acedata.cloud/9e6ec476-3ac8-4246-964f-a1d89a6d19e9.png",label:this.$t("midjourney.styleTag.sunLight"),value:"Sun light"},{image:"https://cdn.acedata.cloud/4360a40b-2126-43c2-be8e-e482978e1ea6.png",label:this.$t("midjourney.styleTag.ultraviolet"),value:"Ultraviolet",advanced:!0},{image:"https://cdn.acedata.cloud/8b6bea86-9ed1-4fc8-9040-8fc2b64abbff.png",label:this.$t("midjourney.styleTag.beautifulLighting"),value:"Beautiful Lighting",advanced:!0},{image:"https://cdn.acedata.cloud/a8d1f754-fb35-433d-8a36-e073b0fe6fa2.png",label:this.$t("midjourney.styleTag.moodyLighting"),value:"Moody Lighting",advanced:!0},{image:"https://cdn.acedata.cloud/77270807-ca3b-4d02-a9b4-badf8aa48c36.png",label:this.$t("midjourney.styleTag.softLighting"),value:"Soft Lighting"}]},artists:{displayName:this.$t("midjourney.styleCategory.artists"),items:[{image:"https://cdn.acedata.cloud/160cfc29-f258-4795-b663-f687adba19bf.png",label:this.$t("midjourney.styleTag.michelangelo"),value:"Michelangelo"},{image:"https://cdn.acedata.cloud/ed0bf2ad-138d-4c8d-bce9-a98299b1ee83.png",label:this.$t("midjourney.styleTag.monet"),value:"Monet"},{image:"https://cdn.acedata.cloud/58d9b130-e7b2-4eb8-a71e-7108b3bd4c26.png",label:this.$t("midjourney.styleTag.paulCezanne"),value:"Paul Cezanne",advanced:!0},{image:"https://cdn.acedata.cloud/1247615a-6e75-49e6-842a-b0fb84016d3d.png",label:this.$t("midjourney.styleTag.markRothko"),value:"Mark Rothko",advanced:!0},{image:"https://cdn.acedata.cloud/a7d9d9dd-8add-43d3-942e-8d1199fe277f.png",label:this.$t("midjourney.styleTag.paulKlee"),value:"Paul Klee",advanced:!0},{image:"https://cdn.acedata.cloud/caf5701a-b652-4fab-8467-0c00303d01f3.png",label:this.$t("midjourney.styleTag.picasso"),value:"Picasso"},{image:"https://cdn.acedata.cloud/fbb63634-659a-4d2d-bc7b-0fb3399f7061.png",label:this.$t("midjourney.styleTag.pietMondrian"),value:"Piet Mondrian",advanced:!0},{image:"https://cdn.acedata.cloud/29fb173b-17b4-4b05-a63c-e31ce161fe8c.png",label:this.$t("midjourney.styleTag.pierreAugusteRer"),value:"Pierre Auguste Rer",advanced:!0},{image:"https://cdn.acedata.cloud/556f8a48-0b12-49a7-b150-aed40278d3f6.png",label:this.$t("midjourney.styleTag.rembrandt"),value:"Rembrandt"},{image:"https://cdn.acedata.cloud/b44d947e-2a14-4db2-880d-332c1aeeb303.png",label:this.$t("midjourney.styleTag.reneMagritte"),value:"Rene Magritte",advanced:!0},{image:"https://cdn.acedata.cloud/0cfcda4a-7e7f-4ec4-ad4f-b4877a900a50.png",label:this.$t("midjourney.styleTag.royLichtenstein"),value:"Roy Lichtenstein",advanced:!0},{image:"https://cdn.acedata.cloud/e592bf88-d9b8-4787-88dd-9ff8e7e9268c.png",label:this.$t("midjourney.styleTag.salvadorDali"),value:"Salvador Dali",advanced:!0},{image:"https://cdn.acedata.cloud/3bbde342-565b-4ea0-8a4c-42b3c109c205.png",label:this.$t("midjourney.styleTag.sandroBotticelli"),value:"Sandro Botticelli",advanced:!0},{image:"https://cdn.acedata.cloud/bfdf6d50-24ab-4b5c-a3de-c8d77d858b04.png",label:this.$t("midjourney.styleTag.takashiMurakami"),value:"Takashi Murakami",advanced:!0},{image:"https://cdn.acedata.cloud/bc67c0ba-614f-46f0-a6ec-047fa561fc01.png",label:this.$t("midjourney.styleTag.vanGogh"),value:"Van Gogh"},{image:"https://cdn.acedata.cloud/984a18fa-8050-4084-95d5-732b7ede8e37.png",label:this.$t("midjourney.styleTag.wassilyKandinsky"),value:"Wassily Kandinsky",advanced:!0},{image:"https://cdn.acedata.cloud/48bce45c-6b25-4678-9be8-40707c8e5f43.png",label:this.$t("midjourney.styleTag.matCollishaw"),value:"Mat Collishaw",advanced:!0},{image:"https://cdn.acedata.cloud/6b2851d0-ec8d-4c07-86ed-1eafdd70e1fe.png",label:this.$t("midjourney.styleTag.yayoiKusama"),value:"Yayoi Kusama",advanced:!0},{image:"https://cdn.acedata.cloud/9d691d5c-5560-409b-b998-c979b29902e6.png",label:this.$t("midjourney.styleTag.igorMorski"),value:"Igor Morski",advanced:!0},{image:"https://cdn.acedata.cloud/950cb143-ab40-4bee-80f7-092d0c2a7bc4.png",label:this.$t("midjourney.styleTag.shinkaiMakoto"),value:"Shinkai Makoto"},{image:"https://cdn.acedata.cloud/94adf414-a1cc-4b84-b52d-18cd2586df17.png",label:this.$t("midjourney.styleTag.pixar"),value:"Pixar"},{image:"https://cdn.acedata.cloud/ccd4d148-e332-4d7e-bbe6-9f1dd68082a8.png",label:this.$t("midjourney.styleTag.kyotoAnime"),value:"Kyoto Anime"},{image:"https://cdn.acedata.cloud/b5f5f99a-be40-4fa7-a86a-fd51578a4052.png",label:this.$t("midjourney.styleTag.jerryPinkney"),value:"Jerry Pinkney",advanced:!0},{image:"https://cdn.acedata.cloud/7a4dba74-21ad-4088-89da-6a48104d811d.png",label:this.$t("midjourney.styleTag.hayaoMiyazaki"),value:"Hayao Miyazaki"},{image:"https://cdn.acedata.cloud/28477b7e-85d4-4803-b525-938aa2ce3383.png",label:this.$t("midjourney.styleTag.beatrixPotter"),value:"Beatrix Potter",advanced:!0},{image:"https://cdn.acedata.cloud/13854cb8-c478-43c9-9f51-8ac1933b1498.png",label:this.$t("midjourney.styleTag.jonKlassen"),value:"Jon Klassen",advanced:!0},{image:"https://cdn.acedata.cloud/6685c7e0-ea11-488b-a8a0-610032020dfb.png",label:this.$t("midjourney.styleTag.kaySage"),value:"Kay Sage",advanced:!0},{image:"https://cdn.acedata.cloud/cb0c3490-dcd4-488f-96e0-45b9ee671182.png",label:this.$t("midjourney.styleTag.jeffreyCatherineJones"),value:"Jeffrey Catherine Jones",advanced:!0},{image:"https://cdn.acedata.cloud/72f000c5-d8d6-4015-acd4-79961e53ac50.png",label:this.$t("midjourney.styleTag.yaacovAgam"),value:"Yaacov Agam",advanced:!0},{image:"https://cdn.acedata.cloud/f1bd0c4d-af96-4785-99bb-3a70b7f80834.png",label:this.$t("midjourney.styleTag.davidHockney"),value:"David Hockney",advanced:!0},{image:"https://cdn.acedata.cloud/ad0e89d9-214a-4599-90f1-ee5dc0b5592d.png",label:this.$t("midjourney.styleTag.victorMoscoso"),value:"Victor Moscoso",advanced:!0},{image:"https://cdn.acedata.cloud/c3b004e0-f583-4a75-b6cf-0cc60c89b2cf.png",label:this.$t("midjourney.styleTag.raphaelite"),value:"Raphaelite"},{image:"https://cdn.acedata.cloud/9c59d174-1e1f-4ef9-b657-1beb57f58088.png",label:this.$t("midjourney.styleTag.stefanKoidl"),value:"Stefan Koidl",advanced:!0},{image:"https://cdn.acedata.cloud/09485865-35a8-4456-a34c-65a8a1c8d2c2.png",label:this.$t("midjourney.styleTag.suiIshida"),value:"Sui Ishida",advanced:!0},{image:"https://cdn.acedata.cloud/31442dfd-d6a8-4674-aade-8543190251b4.png",label:this.$t("midjourney.styleTag.swoon"),value:"Swoon",advanced:!0},{image:"https://cdn.acedata.cloud/842beff4-d333-4388-9880-eec6fd4baa6c.png",label:this.$t("midjourney.styleTag.tashaTudor"),value:"Tasha Tudor",advanced:!0},{image:"https://cdn.acedata.cloud/68c419f3-6f2c-4fbd-a251-ce289d4a9890.png",label:this.$t("midjourney.styleTag.tintoretto"),value:"Tintoretto",advanced:!0},{image:"https://cdn.acedata.cloud/9a3d95da-5019-4fdd-83b9-ec334e609c9d.png",label:this.$t("midjourney.styleTag.theodoreRobinsor"),value:"Theodore Robinsor",advanced:!0},{image:"https://cdn.acedata.cloud/e11cb0a6-2f0e-4d8d-aa0e-8b7378423790.png",label:this.$t("midjourney.styleTag.titian"),value:"Titian",advanced:!0},{image:"https://cdn.acedata.cloud/d3e59ba8-10e6-4d58-a732-e35d579cd3fc.png",label:this.$t("midjourney.styleTag.wlop"),value:"WLOP",advanced:!0},{image:"https://cdn.acedata.cloud/70f22f51-9328-4070-b9aa-578db7d4c502.png",label:this.$t("midjourney.styleTag.yanjunCheng"),value:"Yanjun Cheng",advanced:!0},{image:"https://cdn.acedata.cloud/e1203ff8-cb64-409e-8ba6-06f89645a843.png",label:this.$t("midjourney.styleTag.yojiShinkawa"),value:"Yoji Shinkawa",advanced:!0},{image:"https://cdn.acedata.cloud/6b6d7746-e38b-44db-98d8-51d59ed7531f.png",label:this.$t("midjourney.styleTag.zhelongXu"),value:"Zhelong Xu",advanced:!0},{image:"https://cdn.acedata.cloud/13b9621b-ff7e-4377-9550-0ca82d0f1afb.png",label:this.$t("midjourney.styleTag.alenaAenami"),value:"Alena Aenami",advanced:!0},{image:"https://cdn.acedata.cloud/26d30765-3201-49e9-a4a9-c7c3b8c071ef.png",label:this.$t("midjourney.styleTag.anntonFadeevi"),value:"Annton Fadeevi",advanced:!0},{image:"https://cdn.acedata.cloud/9b4c2bc7-16a8-4807-ad0e-ee9bdc80f1a0.png",label:this.$t("midjourney.styleTag.charlieBowater"),value:"Charlie Bowater",advanced:!0},{image:"https://cdn.acedata.cloud/2f50d67e-3d7e-4e06-a198-5926ce7f357d.png",label:this.$t("midjourney.styleTag.coryLoftis"),value:"Cory Loftis",advanced:!0},{image:"https://cdn.acedata.cloud/47823270-16a6-49cc-a11d-99122a037c68.png",label:this.$t("midjourney.styleTag.fenghuaZhong"),value:"Fenghua Zhong",advanced:!0},{image:"https://cdn.acedata.cloud/1a66b5fd-cbf9-4e09-b817-6effed77b5c2.png",label:this.$t("midjourney.styleTag.gregRutkowski"),value:"Greg Rutkowski",advanced:!0},{image:"https://cdn.acedata.cloud/d05a459a-132b-45a8-b2f3-a978eeeb44af.png",label:this.$t("midjourney.styleTag.hongSoonsang"),value:"Hong SoonSang",advanced:!0},{image:"https://cdn.acedata.cloud/020dbf7f-f026-47bd-90f1-4049407409a1.png",label:this.$t("midjourney.styleTag.dennisStock"),value:"Dennis Stock",advanced:!0},{image:"https://cdn.acedata.cloud/9c1ccc1d-121e-4182-aea0-04eac840869d.png",label:this.$t("midjourney.styleTag.michalLisowski"),value:"Michal Lisowski",advanced:!0},{image:"https://cdn.acedata.cloud/3292404b-e654-4c06-bcd6-5e47a2adf329.png",label:this.$t("midjourney.styleTag.paulLehr"),value:"Paul Lehr",advanced:!0},{image:"https://cdn.acedata.cloud/079c6053-23ad-4dc9-8166-64c5fe2f1e1a.png",label:this.$t("midjourney.styleTag.rossTran"),value:"Ross Tran",advanced:!0},{image:"https://cdn.acedata.cloud/0f267ba1-c031-4008-9ead-630a4bec886a.png",label:this.$t("midjourney.styleTag.antonPieck"),value:"Anton Pieck",advanced:!0},{image:"https://cdn.acedata.cloud/574dd25f-2116-4718-aed6-7d9be3636e22.png",label:this.$t("midjourney.styleTag.carlBarks"),value:"Carl Barks",advanced:!0},{image:"https://cdn.acedata.cloud/38dcdfb5-0003-46f4-8c9d-5857c95f9e59.png",label:this.$t("midjourney.styleTag.alphonseMucha"),value:"Alphonse Mucha",advanced:!0},{image:"https://cdn.acedata.cloud/65f2af96-e875-41f8-9797-3d34dbdf0ea4.png",label:this.$t("midjourney.styleTag.andyWarhol"),value:"Andy Warhol",advanced:!0},{image:"https://cdn.acedata.cloud/801224a0-da77-4095-8799-d288d1ec3c3d.png",label:this.$t("midjourney.styleTag.banksy"),value:"Banksy",advanced:!0},{image:"https://cdn.acedata.cloud/925c6c86-9b69-45ce-a10d-a2c64d4e0db2.png",label:this.$t("midjourney.styleTag.franciscoDeGoya"),value:"Francisco De Goya",advanced:!0},{image:"https://cdn.acedata.cloud/fbb81b10-c579-4dcc-a76a-c099dc0b6c20.png",label:this.$t("midjourney.styleTag.caravaggio"),value:"Caravaggio",advanced:!0},{image:"https://cdn.acedata.cloud/116efedd-42ea-404e-959e-607a9766001a.png",label:this.$t("midjourney.styleTag.diegoRivera"),value:"Diego Rivera",advanced:!0},{image:"https://cdn.acedata.cloud/6f2c1d37-f8ae-4d72-8db1-d9fb04df7114.png",label:this.$t("midjourney.styleTag.davidHockney"),value:"David Hockney",advanced:!0},{image:"https://cdn.acedata.cloud/b74b6b97-f6d7-4a34-840c-a81c69b9d941.png",label:this.$t("midjourney.styleTag.marcChagall"),value:"Marc Chagall"},{image:"https://cdn.acedata.cloud/f18ac9a3-a986-4670-813b-6fb81060ed48.png",label:this.$t("midjourney.styleTag.edgarDegas"),value:"Edgar Degas",advanced:!0},{image:"https://cdn.acedata.cloud/275b32e5-9995-46cc-babc-43a0d1aa5d19.png",label:this.$t("midjourney.styleTag.eugeneDelacroix"),value:"Eugene Delacroix",advanced:!0},{image:"https://cdn.acedata.cloud/500edde5-973c-4ba4-aae1-1a3d53a9b27f.png",label:this.$t("midjourney.styleTag.francisBacon"),value:"Francis Bacon",advanced:!0},{image:"https://cdn.acedata.cloud/f7b5cc34-a796-4f45-823c-07122ec46ef6.png",label:this.$t("midjourney.styleTag.fridaKahlo"),value:"Frida Kahlo",advanced:!0},{image:"https://cdn.acedata.cloud/7e41ead3-f54f-4d5f-8353-b2770d75c41b.png",label:this.$t("midjourney.styleTag.garaldBrom"),value:"Garald Brom",advanced:!0},{image:"https://cdn.acedata.cloud/4a46247a-cd9b-48fd-b247-8268d9a891bf.png",label:this.$t("midjourney.styleTag.gustavKlimt"),value:"Gustav Klimt",advanced:!0},{image:"https://cdn.acedata.cloud/3793eae9-61e9-4f16-9c0c-a77c194c45bc.png",label:this.$t("midjourney.styleTag.henriMatisse"),value:"Henri Matisse",advanced:!0},{image:"https://cdn.acedata.cloud/dffa261d-755b-483d-88b7-058c09efd6af.png",label:this.$t("midjourney.styleTag.jackKirby"),value:"Jack Kirby",advanced:!0},{image:"https://cdn.acedata.cloud/4cda1423-455b-463f-981d-b2af8ae1dd95.png",label:this.$t("midjourney.styleTag.jacksonPollock"),value:"Jackson Pollock",advanced:!0},{image:"https://cdn.acedata.cloud/d318e4bc-d69f-4e7a-b6ae-49557e3cd569.png",label:this.$t("midjourney.styleTag.johannesVermeer"),value:"Johannes Vermeer",advanced:!0},{image:"https://cdn.acedata.cloud/4ee7f9d2-01c0-4043-90f3-0174878a2ce7.png",label:this.$t("midjourney.styleTag.jeanMichelBasquiat"),value:"Jean Michel Basquiat",advanced:!0},{image:"https://cdn.acedata.cloud/f60eb307-78b3-4f5e-bfd9-07603bc383c9.png",label:this.$t("midjourney.styleTag.marcelDuchamp"),value:"Marcel Duchamp",advanced:!0}]},material:{displayName:this.$t("midjourney.styleCategory.material"),items:[{image:"https://cdn.acedata.cloud/f2ce056d-6a89-4b40-b026-5a60cbb1efda.png",label:this.$t("midjourney.styleTag.aluminum"),value:"Aluminum"},{image:"https://cdn.acedata.cloud/069c6b1f-0666-4df6-bde6-a1729b33ade1.png",label:this.$t("midjourney.styleTag.brick"),value:"Brick"},{image:"https://cdn.acedata.cloud/39f2cbb9-be6a-4669-a7c3-b01dfbb2b563.png",label:this.$t("midjourney.styleTag.bronze"),value:"Bronze"},{image:"https://cdn.acedata.cloud/42b30429-2733-41a5-aa4c-e3e0cd50528a.png",label:this.$t("midjourney.styleTag.carbonFiber"),value:"Carbon Fiber"},{image:"https://cdn.acedata.cloud/90eeef27-6bdb-4f36-8e17-f1bb49881258.png",label:this.$t("midjourney.styleTag.cardboard"),value:"Cardboard"},{image:"https://cdn.acedata.cloud/470235fb-19a8-4ba8-ac9b-236abecf0985.png",label:this.$t("midjourney.styleTag.cellulose"),value:"Cellulose"},{image:"https://cdn.acedata.cloud/a8621e16-b046-4300-ab24-09602f734cb9.png",label:this.$t("midjourney.styleTag.ceramic"),value:"Ceramic"},{image:"https://cdn.acedata.cloud/af14acf6-92ff-42f8-ae14-ce4b63237bd5.png",label:this.$t("midjourney.styleTag.cotton"),value:"Cotton"},{image:"https://cdn.acedata.cloud/d93e6f18-3729-46cc-aa96-9662f2abae3d.png",label:this.$t("midjourney.styleTag.fabric"),value:"Fabric"},{image:"https://cdn.acedata.cloud/660533aa-dac7-4968-b27e-0f085b9a67a5.png",label:this.$t("midjourney.styleTag.fiberOptic"),value:"Fiber Optic"},{image:"https://cdn.acedata.cloud/94be6d51-5cb3-4362-8274-7d833a88bb79.png",label:this.$t("midjourney.styleTag.foil"),value:"Foil"},{image:"https://cdn.acedata.cloud/b89e102d-2fef-4619-8427-94c6bfbeb832.png",label:this.$t("midjourney.styleTag.yarn"),value:"Yarn",advanced:!0},{image:"https://cdn.acedata.cloud/b72ef152-11a7-4c51-b6b4-dc4308995f9e.png",label:this.$t("midjourney.styleTag.glass"),value:"Glass"},{image:"https://cdn.acedata.cloud/bca80e91-46ba-4793-b29c-1b5c47b201d7.png",label:this.$t("midjourney.styleTag.gold"),value:"Gold",advanced:!0},{image:"https://cdn.acedata.cloud/3d1e4da5-404b-4f89-8e06-988de47208bd.png",label:this.$t("midjourney.styleTag.gummies"),value:"Gummies",advanced:!0},{image:"https://cdn.acedata.cloud/8afba6b0-a8a5-49c9-bfc5-ebd7b0e12443.png",label:this.$t("midjourney.styleTag.latex"),value:"Latex"},{image:"https://cdn.acedata.cloud/d5c39f1c-1be0-4065-80af-e1cb4e627cf2.png",label:this.$t("midjourney.styleTag.leather"),value:"Leather"},{image:"https://cdn.acedata.cloud/6e41e8bd-cb0b-4504-8655-a3b1b32ac11c.png",label:this.$t("midjourney.styleTag.magma"),value:"Magma"},{image:"https://cdn.acedata.cloud/f816fffa-4a7f-4d60-afcb-e19b0c36d176.png",label:this.$t("midjourney.styleTag.metallic"),value:"Metallic"},{image:"https://cdn.acedata.cloud/74c9fe01-37e6-4d05-831a-5778eb34c521.png",label:this.$t("midjourney.styleTag.nickel"),value:"Nickel",advanced:!0},{image:"https://cdn.acedata.cloud/85186eac-1806-4739-9289-8d76aac359b3.png",label:this.$t("midjourney.styleTag.nylon"),value:"Nylon"},{image:"https://cdn.acedata.cloud/355d9507-62fa-4c69-986f-def2f2f930c5.png",label:this.$t("midjourney.styleTag.paper"),value:"Paper"},{image:"https://cdn.acedata.cloud/6c2626b2-191e-4b85-a97d-e561a2b5c79b.png",label:this.$t("midjourney.styleTag.plastic"),value:"Plastic",advanced:!0},{image:"https://cdn.acedata.cloud/ff0d301d-8181-463c-a276-9b4805321afd.png",label:this.$t("midjourney.styleTag.quartz"),value:"Quartz"},{image:"https://cdn.acedata.cloud/7b90754d-2fa5-490e-a73b-d2887525d2e6.png",label:this.$t("midjourney.styleTag.wrap"),value:"Wrap",advanced:!0},{image:"https://cdn.acedata.cloud/7411e62a-546e-4cd2-8446-73c4fb8f103b.png",label:this.$t("midjourney.styleTag.wooden"),value:"Wooden"},{image:"https://cdn.acedata.cloud/44e8830f-4be2-471d-a9d4-aaf4913e7451.png",label:this.$t("midjourney.styleTag.slime"),value:"Slime",advanced:!0},{image:"https://cdn.acedata.cloud/16b10e75-a7e7-4b87-804a-2bfc9c18096f.png",label:this.$t("midjourney.styleTag.engraving"),value:"Engraving"},{image:"https://cdn.acedata.cloud/b66ec7e2-fd82-4edd-a523-34b87872f544.png",label:this.$t("midjourney.styleTag.ivory"),value:"Ivory"},{image:"https://cdn.acedata.cloud/098b954d-1197-414e-b4bd-68e3928b9eb3.png",label:this.$t("midjourney.styleTag.basalt"),value:"Basalt",advanced:!0},{image:"https://cdn.acedata.cloud/b948dd7d-939b-48b5-b37c-09e0ebd6ede6.png",label:this.$t("midjourney.styleTag.pine"),value:"Pine",advanced:!0},{image:"https://cdn.acedata.cloud/4c56fc7d-94c8-4055-9d6e-3bc6662c92d7.png",label:this.$t("midjourney.styleTag.diamond"),value:"Diamond"},{image:"https://cdn.acedata.cloud/70de6b75-bb29-4b2a-ae8a-016db33c8184.png",label:this.$t("midjourney.styleTag.amethyst"),value:"Amethyst",advanced:!0},{image:"https://cdn.acedata.cloud/8d2b60e1-c98c-4de2-8a67-4b10c0d2482a.png",label:this.$t("midjourney.styleTag.ruby"),value:"Ruby",advanced:!0},{image:"https://cdn.acedata.cloud/c0f01b99-32a6-4c34-a2d8-448fab08f126.png",label:this.$t("midjourney.styleTag.highPolished"),value:"High polished",advanced:!0},{image:"https://cdn.acedata.cloud/5091142a-3959-40f3-9ea5-f41a29584735.png",label:this.$t("midjourney.styleTag.brushed"),value:"Brushed",advanced:!0},{image:"https://cdn.acedata.cloud/3f84ddc5-5afe-41d1-85cc-2ded7a44d859.png",label:this.$t("midjourney.styleTag.matte"),value:"Matte",advanced:!0},{image:"https://cdn.acedata.cloud/655f5114-b3dd-4b9a-a3cb-94a1a814fb11.png",label:this.$t("midjourney.styleTag.satin"),value:"Satin",advanced:!0},{image:"https://cdn.acedata.cloud/6ec4178e-86e6-4026-aa86-e14eb4e92097.png",label:this.$t("midjourney.styleTag.sandblasted"),value:"Sandblasted",advanced:!0},{image:"https://cdn.acedata.cloud/1c9a4277-5550-4cd4-852a-c785d8505a0f.png",label:this.$t("midjourney.styleTag.ebony"),value:"Ebony",advanced:!0}]},camera:{displayName:this.$t("midjourney.styleCategory.camera"),items:[{image:"https://cdn.acedata.cloud/9bcf851a-7b94-4554-864b-edcbe0f67017.png",label:this.$t("midjourney.styleTag.bokeh"),value:"Bokeh"},{image:"https://cdn.acedata.cloud/f4599568-5889-4da9-8852-8b5361c54412.png",label:this.$t("midjourney.styleTag.aerialView"),value:"Aerial view"},{image:"https://cdn.acedata.cloud/bea180e2-9078-42bd-9392-b0ee2b372430.png",label:this.$t("midjourney.styleTag.shotByDslr"),value:"Shot by DSLR",advanced:!0},{image:"https://cdn.acedata.cloud/42444cbd-5442-4093-8911-645272c08863.png",label:this.$t("midjourney.styleTag.360Panorama"),value:"360Panorama"},{image:"https://cdn.acedata.cloud/99875464-0be7-44da-adf5-958d2c73eb31.png",label:this.$t("midjourney.styleTag.panorama"),value:"Panorama"},{image:"https://cdn.acedata.cloud/e3c3a204-9210-44da-b6fc-5f9a1fea52e0.png",label:this.$t("midjourney.styleTag.telephotoLens"),value:"Telephoto Lens"},{image:"https://cdn.acedata.cloud/7bd1f91d-cd6d-48d1-9f07-68382a54a552.png",label:this.$t("midjourney.styleTag.macroShot"),value:"Macro shot"},{image:"https://cdn.acedata.cloud/09aca457-2d96-4f60-b5ec-9fedf7a3fcb9.png",label:this.$t("midjourney.styleTag.microscopy"),value:"Microscopy"},{image:"https://cdn.acedata.cloud/fb39b4ab-d728-456b-8905-b4c0302f4094.png",label:this.$t("midjourney.styleTag.magnification"),value:"Magnification"},{image:"https://cdn.acedata.cloud/b9956b79-70b1-44af-bca3-5eddd412615a.png",label:this.$t("midjourney.styleTag.closeUp"),value:"Close up"},{image:"https://cdn.acedata.cloud/2c6b2c92-f790-44e1-bc65-b3182aa484bd.png",label:this.$t("midjourney.styleTag.fullBody"),value:"Full body"},{image:"https://cdn.acedata.cloud/05c7f5a8-4a79-4a1c-a4a9-792862ad118c.png",label:this.$t("midjourney.styleTag.portrait"),value:"Portrait"},{image:"https://cdn.acedata.cloud/aeb48a08-f0b6-47db-8c5d-ae6f0f92b93d.png",label:this.$t("midjourney.styleTag.profile"),value:"Profile"},{image:"https://cdn.acedata.cloud/dd655235-8f80-43b2-823f-bdb44864bee1.png",label:this.$t("midjourney.styleTag.pinholeLens"),value:"Pinhole Lens",advanced:!0},{image:"https://cdn.acedata.cloud/7ad3f221-96f6-4014-953e-853c429d5d57.png",label:this.$t("midjourney.styleTag.wideView"),value:"Wide view"},{image:"https://cdn.acedata.cloud/698fbcc7-5ad1-40cb-a926-95189dc9e59b.png",label:this.$t("midjourney.styleTag.telescopeLens"),value:"Telescope Lens",advanced:!0},{image:"https://cdn.acedata.cloud/2e41309b-f006-483f-9843-e15f4ced6be7.png",label:this.$t("midjourney.styleTag.satelliteImagery"),value:"Satellite Imagery"},{image:"https://cdn.acedata.cloud/79ad137d-3015-4335-a4e3-2ed29f9b850b.png",label:this.$t("midjourney.styleTag.headshot"),value:"Headshot"},{image:"https://cdn.acedata.cloud/d06164a9-ba01-457f-b8cc-f0b38a87b4d5.png",label:this.$t("midjourney.styleTag.extremeCloseup"),value:"Extreme closeup",advanced:!0},{image:"https://cdn.acedata.cloud/b8e10ef3-b37c-45f0-b930-be729c8d17a1.png",label:this.$t("midjourney.styleTag.ultrawideShot"),value:"Ultrawide shot"},{image:"https://cdn.acedata.cloud/21eaa8a4-a8f1-448d-9f00-ff8fb0213046.png",label:this.$t("midjourney.styleTag.birdView"),value:"Bird view",advanced:!0},{image:"https://cdn.acedata.cloud/43fadf68-dad1-45d2-bc22-54b1b2792a00.png",label:this.$t("midjourney.styleTag.topView"),value:"Top view",advanced:!0},{image:"https://cdn.acedata.cloud/f8953e9e-6daf-4a70-a691-6f89e91f0b97.png",label:this.$t("midjourney.styleTag.frontView"),value:"Front view",advanced:!0},{image:"https://cdn.acedata.cloud/f2228145-dc8f-4e06-be21-5d18bf50f7cf.png",label:this.$t("midjourney.styleTag.sideView"),value:"Side view",advanced:!0},{image:"https://cdn.acedata.cloud/b218d1cc-60a7-4f62-a719-b852cd6ebf03.png",label:this.$t("midjourney.styleTag.backView"),value:"Back view",advanced:!0},{image:"https://cdn.acedata.cloud/186522ef-7b09-40d8-a712-43dde1266bbf.png",label:this.$t("midjourney.styleTag.faceShot"),value:"Face shot"},{image:"https://cdn.acedata.cloud/6a0c1136-2817-42bb-b1e3-c65a130e70cf.png",label:this.$t("midjourney.styleTag.chestShot"),value:"Chest shot"},{image:"https://cdn.acedata.cloud/8ac3bf91-2066-420d-8da1-5d6214ad2668.png",label:this.$t("midjourney.styleTag.waistShot"),value:"Waist shot"},{image:"https://cdn.acedata.cloud/2558b92f-cb3b-410e-85cd-791eb7d29c60.png",label:this.$t("midjourney.styleTag.extraLongShot"),value:"Extra long shot"},{image:"https://cdn.acedata.cloud/0f5c9250-55a4-4eed-8ddf-af18cb52e243.png",label:this.$t("midjourney.styleTag.lookUp"),value:"look up"},{image:"https://cdn.acedata.cloud/5e0df52d-e986-4851-b6ae-dc0be744713d.png",label:this.$t("midjourney.styleTag.isometricview"),value:"isometricview",advanced:!0},{image:"https://cdn.acedata.cloud/0d6491dd-1f64-423c-b63b-0f2e96a258e5.png",label:this.$t("midjourney.styleTag.highAngleView"),value:"High angle view",advanced:!0},{image:"https://cdn.acedata.cloud/5b68beee-c079-4a8e-84c5-cb3cc0f6c77b.png",label:this.$t("midjourney.styleTag.lowAngleView"),value:"Low angle view",advanced:!0}]},emotion:{displayName:this.$t("midjourney.styleCategory.emotion"),items:[{image:"https://cdn.acedata.cloud/033c9cd1-f5cc-448f-8d0a-e6559bbd57e3.png",label:this.$t("midjourney.styleTag.happy"),value:"Happy"},{image:"https://cdn.acedata.cloud/d07fbadd-78e4-4a98-bcf8-45b4805c9239.png",label:this.$t("midjourney.styleTag.excited"),value:"Excited"},{image:"https://cdn.acedata.cloud/aa94049d-e8fc-4e0e-97b1-afa174d99b88.png",label:this.$t("midjourney.styleTag.angry"),value:"Angry"},{image:"https://cdn.acedata.cloud/ede7f1d3-5ce2-4b8f-9cb9-c4bd47b80cae.png",label:this.$t("midjourney.styleTag.ped"),value:"ped"},{image:"https://cdn.acedata.cloud/88f9e6ba-2961-497e-ae00-9af36fa2c2d4.png",label:this.$t("midjourney.styleTag.disgusted"),value:"Disgusted"},{image:"https://cdn.acedata.cloud/fe91b67b-2430-424a-bf72-1a299e61f049.png",label:this.$t("midjourney.styleTag.supnned"),value:"supnned"},{image:"https://cdn.acedata.cloud/24dcfb80-d987-48b0-9595-82276b2a1f94.png",label:this.$t("midjourney.styleTag.hopeful"),value:"Hopeful"},{image:"https://cdn.acedata.cloud/f2628539-bdf5-471d-9ceb-f0731c46b593.png",label:this.$t("midjourney.styleTag.anxious"),value:"Anxious"},{image:"https://cdn.acedata.cloud/f280d69a-eb1b-4259-b56d-66510f38ec82.png",label:this.$t("midjourney.styleTag.elated"),value:"Elated"},{image:"https://cdn.acedata.cloud/94b78236-ba14-4aab-8985-3921b2146fc9.png",label:this.$t("midjourney.styleTag.fearful"),value:"Fearful"},{image:"https://cdn.acedata.cloud/68576d87-224f-463f-85c9-5fbeb386a035.png",label:this.$t("midjourney.styleTag.hateful"),value:"Hateful"},{image:"https://cdn.acedata.cloud/e0413400-096f-4072-8faf-5ef82f8cc265.png",label:this.$t("midjourney.styleTag.apoow"),value:"Apoow",advanced:!0},{image:"https://cdn.acedata.cloud/c0f4b0f4-1399-468f-873a-a04f4b7929f8.png",label:this.$t("midjourney.styleTag.dark"),value:"Dark",advanced:!0},{image:"https://cdn.acedata.cloud/297d5f3f-ebc9-4c9f-b656-07359b313871.png",label:this.$t("midjourney.styleTag.brutal"),value:"Brutal",advanced:!0}]},chinese:{displayName:this.$t("midjourney.styleCategory.chinese"),items:[{image:"https://cdn.acedata.cloud/b29020e5-532d-4b30-94b0-cf5405242fc6.png",label:this.$t("midjourney.styleTag.hanfu"),value:"Hanfu"},{image:"https://cdn.acedata.cloud/e00eb48c-8240-4468-ac15-1a9d3349b636.png",label:this.$t("midjourney.styleTag.cheongsam"),value:"Cheongsam"},{image:"https://cdn.acedata.cloud/87d89bc5-cb61-4780-8894-c1564bdebd66.png",label:this.$t("midjourney.styleTag.chineseCostume"),value:"Chinese costume"},{image:"https://cdn.acedata.cloud/811453d2-2715-44fe-8609-b0d184486b19.png",label:this.$t("midjourney.styleTag.chineseDress"),value:"Chinese dress"},{image:"https://cdn.acedata.cloud/2463a720-b803-4d0d-9cac-6a7d5b61001d.png",label:this.$t("midjourney.styleTag.wuxia"),value:"Wuxia"},{image:"https://cdn.acedata.cloud/2fbee5a1-8a5c-4bfb-a52c-895ff3f53c3c.png",label:this.$t("midjourney.styleTag.chinesePhoenix"),value:"Chinese phoenix"},{image:"https://cdn.acedata.cloud/53fd3a51-7739-493f-aff0-daaea74b942c.png",label:this.$t("midjourney.styleTag.kungfu"),value:"Kungfu"},{image:"https://cdn.acedata.cloud/bc4c6bb0-82a5-4bbb-b4e3-96a14c52aed3.png",label:this.$t("midjourney.styleTag.kunquOpera"),value:"Kunqu opera",advanced:!0},{image:"https://cdn.acedata.cloud/291ca1c1-069e-4067-8b9d-1c5c11c2ff14.png",label:this.$t("midjourney.styleTag.cloisonne"),value:"Cloisonne",advanced:!0},{image:"https://cdn.acedata.cloud/17e87115-06ec-4f7b-9b8e-daf782cd4d59.png",label:this.$t("midjourney.styleTag.porcelain"),value:"Porcelain"},{image:"https://cdn.acedata.cloud/c9cc4712-24b9-4ff8-926b-02bd626df9a9.png",label:this.$t("midjourney.styleTag.embroidered"),value:"Embroidered"},{image:"https://cdn.acedata.cloud/7da286ae-d1e6-4a21-8ba5-10ff7bf9d379.png",label:this.$t("midjourney.styleTag.jade"),value:"Jade"},{image:"https://cdn.acedata.cloud/11a2d9f8-3c29-4b0b-ae10-525928f71bce.png",label:this.$t("midjourney.styleTag.chinesePavilion"),value:"Chinese pavilion",advanced:!0},{image:"https://cdn.acedata.cloud/639b5e99-8210-4525-b63f-8b89019d07f3.png",label:this.$t("midjourney.styleTag.plumFlower"),value:"Plum flower"},{image:"https://cdn.acedata.cloud/cc87764c-2754-4cb7-8bc3-1070b31ec62b.png",label:this.$t("midjourney.styleTag.forbiddenCity"),value:"Forbidden city",advanced:!0},{image:"https://cdn.acedata.cloud/26d2f2aa-ca26-4c0e-a8c7-86a81aafc475.png",label:this.$t("midjourney.styleTag.peony"),value:"Peony",advanced:!0}]},special:{displayName:this.$t("midjourney.styleCategory.special"),items:[{image:"https://cdn.acedata.cloud/0ca0fd15-cc8d-420e-acf5-6c489e03c7ff.png",label:this.$t("midjourney.styleTag.unrealEngine"),value:"Unreal engine"},{image:"https://cdn.acedata.cloud/ead8ba11-6634-409e-8fea-7b31ca3974bc.png",label:this.$t("midjourney.styleTag.octaneRender"),value:"Octane render"},{image:"https://cdn.acedata.cloud/209f1bd9-5d44-4699-97ad-fdde73304efb.png",label:this.$t("midjourney.styleTag.maxonCinema4D"),value:"Maxon cinema 4D"},{image:"https://cdn.acedata.cloud/93c31b69-7af4-4d1f-99d6-114a34133613.png",label:this.$t("midjourney.styleTag.quixelMegascansRender"),value:"Quixel megascans render"},{image:"https://cdn.acedata.cloud/9883f161-5069-414b-9d23-bd63806c5205.png",label:this.$t("midjourney.styleTag.coronaRender"),value:"Corona render"},{image:"https://cdn.acedata.cloud/9c28e4af-28b2-4b97-abd4-e4f42d014f3a.png",label:this.$t("midjourney.styleTag.vRay"),value:"V-ray"},{image:"https://cdn.acedata.cloud/01d71ceb-7d17-4318-9914-a6a5fe0abc11.png",label:this.$t("midjourney.styleTag.architecturalVisualisation"),value:"Architectural visualisation"},{image:"https://cdn.acedata.cloud/e7f2cd21-2efc-4e18-b38d-3c2cbd95c5ec.png",label:this.$t("midjourney.styleTag.dramaticContrast"),value:"Dramatic contrast"},{image:"https://cdn.acedata.cloud/8f113377-ba6e-4fb0-bd56-df8635ab6345.png",label:this.$t("midjourney.styleTag.goldAndBlackTone"),value:"Gold and black tone"},{image:"https://cdn.acedata.cloud/6da8b72d-5a67-4c06-b915-8c0b5314d9c8.png",label:this.$t("midjourney.styleTag.whiteAndPinkTone"),value:"White and pink tone"},{image:"https://cdn.acedata.cloud/09abd535-8ab6-451f-8bce-29859429244b.png",label:this.$t("midjourney.styleTag.redAndBlackTone"),value:"Red and black tone"},{image:"https://cdn.acedata.cloud/81115846-7676-4edb-b7cf-df816c90de7f.png",label:this.$t("midjourney.styleTag.neonShades"),value:"Neon shades"},{image:"https://cdn.acedata.cloud/dfcc7a8a-e145-4824-b12b-bd29292daa5f.png",label:this.$t("midjourney.styleTag.richColor"),value:"Rich color"},{image:"https://cdn.acedata.cloud/38b05148-73c6-4db3-bddd-b972f27f4671.png",label:this.$t("midjourney.styleTag.monotone"),value:"Monotone"},{image:"https://cdn.acedata.cloud/6f6704da-1854-43d7-811f-3145fea96909.png",label:this.$t("midjourney.styleTag.theLowPurityTone"),value:"The low-purity tone"},{image:"https://cdn.acedata.cloud/3724b5ef-e7dd-4234-b2a2-f71c6b69b4ac.png",label:this.$t("midjourney.styleTag.theHighPurityTone"),value:"The high-purity tone"}]}}}},computed:{value:{get(){return this.$store.state.midjourney.config.elements||[]},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{elements:e}))}}},methods:{onToggle(e){this.value.includes(e)?this.value=this.value.filter(a=>a!==e):this.value.push(e)}}}),Kt={class:"flex justify-between"},Xt={class:"flex justify-start items-center"},Jt={class:"text-sm font-bold"},Qt={class:"flex justify-end items-center"},Yt=["onClick"],Zt={class:"name"};function ed(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-button"),s=d("el-tag"),g=d("el-image"),v=d("el-tab-pane"),V=d("el-tabs"),A=d("el-dialog");return o(),m("div",null,[l("div",Kt,[l("div",Xt,[l("span",Jt,i(e.$t("midjourney.field.elements")),1),t(u,{content:e.$t("midjourney.description.elements")},null,8,["content"])]),l("div",Qt,[t(r,{round:"",type:"primary",size:"small",onClick:a[0]||(a[0]=h=>e.choosing=!0)},{default:b(()=>[S(i(e.$t("midjourney.button.select")),1)]),_:1})])]),l("div",null,[(o(!0),m(P,null,U(e.value,(h,k)=>(o(),R(s,{key:k,closable:"",effect:"dark",round:"",class:"mr-1 mb-1",onClose:_=>e.onToggle(h)},{default:b(()=>[S(i(h.label),1)]),_:2},1032,["onClose"]))),128))]),t(A,{modelValue:e.choosing,"onUpdate:modelValue":a[2]||(a[2]=h=>e.choosing=h),width:"70%"},{default:b(()=>[t(V,{modelValue:e.tab,"onUpdate:modelValue":a[1]||(a[1]=h=>e.tab=h)},{default:b(()=>[(o(!0),m(P,null,U(e.elements,(h,k)=>(o(),R(v,{key:k,label:h.displayName,name:k,class:"pane"},{default:b(()=>[(o(!0),m(P,null,U(h.items,(_,N)=>(o(),m("div",{key:N,class:z({hidden:_==null?void 0:_.advanced,item:!0,active:e.value.includes(_)}),onClick:D=>e.onToggle(_)},[t(g,{src:_.image,fit:"fill",class:"preview"},null,8,["src"]),l("span",Zt,i(_.label),1)],10,Yt))),128))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}var ad=j(xt,[["render",ed],["__scopeId","data-v-28e26688"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ElementsSelector.vue"]]);const td="fast",dd=T({name:"ModeSelector",components:{ElButton:W,ElDropdown:ma,ArrowDown:ga,ElIcon:pa,FontAwesomeIcon:Q,ElDropdownItem:ba},data(){return{options:[{label:this.$t("midjourney.button.fast"),value:"fast",icon:"fa-solid fa-wind",color:"#2dc49c"},{label:this.$t("midjourney.button.relax"),value:"relax",icon:"fa-solid fa-mug-saucer",color:"#ce65e6"},{label:this.$t("midjourney.button.turbo"),value:"turbo",icon:"fa-solid fa-bolt",color:"#ff9900"}]}},computed:{activeOption(){return this.options.find(e=>e.value===this.value)},value:{get(){return this.$store.state.midjourney.config.mode},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{mode:e}))}}},mounted(){this.value||(this.value=td)},methods:{onCommand(e){console.log("command",e),this.value=e}}}),ld={class:"ml-2"},nd={class:"ml-1 text-sm"};function sd(e,a,n,p,f,y){const u=d("font-awesome-icon"),r=d("arrow-down"),s=d("el-icon"),g=d("el-button"),v=d("el-dropdown-item"),V=d("el-dropdown-menu"),A=d("el-dropdown");return o(),R(A,{trigger:"click",onCommand:e.onCommand},{dropdown:b(()=>[t(V,null,{default:b(()=>[(o(!0),m(P,null,U(e.options,(h,k)=>(o(),R(v,{key:k,class:"flex items-center justify-between",command:h.value},{default:b(()=>[h.icon?(o(),R(u,{key:0,icon:h.icon,style:te({color:h.color})},null,8,["icon","style"])):$("v-if",!0),l("span",nd,i(h.label),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:b(()=>[t(g,{round:""},{default:b(()=>{var h,k,_;return[(h=e.activeOption)!=null&&h.icon?(o(),R(u,{key:0,icon:e.activeOption.icon,style:te({color:(k=e.activeOption)==null?void 0:k.color})},null,8,["icon","style"])):$("v-if",!0),l("span",ld,i((_=e.activeOption)==null?void 0:_.label),1),t(s,{class:"el-icon--right"},{default:b(()=>[t(r)]),_:1})]}),_:1})]),_:1},8,["onCommand"])}var cd=j(dd,[["render",sd],["__scopeId","data-v-58ba8bfa"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ModeSelector2.vue"]]);const od="",id=T({name:"PromptInput",components:{ElInput:ha,InfoIcon:G},data(){return{}},computed:{prompt:{get(){var e;return(e=this.$store.state.midjourney)==null?void 0:e.config.prompt},set(e){var a;console.debug("set prompt",e),this.$store.commit("midjourney/setConfig",C(E({},(a=this.$store.state.midjourney)==null?void 0:a.config),{prompt:e}))}}},mounted(){this.value||(this.value=od)}}),ud={class:"field"},rd={class:"box"},md={class:"title"};function gd(e,a,n,p,f,y){const u=d("info-icon"),r=d("el-input");return o(),m("div",ud,[l("div",rd,[l("h2",md,i(e.$t("midjourney.name.prompt")),1),t(u,{content:e.$t("midjourney.description.prompt"),class:"info"},null,8,["content"])]),t(r,{modelValue:e.prompt,"onUpdate:modelValue":a[0]||(a[0]=s=>e.prompt=s),rows:3,resize:"none",type:"textarea",class:"prompt",placeholder:e.$t("midjourney.placeholder.prompt"),maxlength:200,"show-word-limit":""},null,8,["modelValue","placeholder"])])}var pd=j(id,[["render",gd],["__scopeId","data-v-5adc9470"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/PromptInput.vue"]]);const bd=T({name:"ReferenceImage",components:{ElUpload:fa,ElButton:W,InfoIcon:G,FontAwesomeIcon:Q},emits:["change"],data(){return{fileList:[],uploadUrl:ta()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var a;return(a=e==null?void 0:e.response)==null?void 0:a.file_url})},value:{get(){return this.$store.state.midjourney.config.references||[]},set(e){this.$store.commit("midjourney/setConfig",C(E({},this.$store.state.midjourney.config),{references:e}))}}},watch:{urls:{handler(e){this.$emit("change",e)}}},methods:{onExceed(){O.warning(this.$t("midjourney.message.uploadReferencesExceed"))},onError(){O.error(this.$t("midjourney.message.uploadReferencesError"))}}}),hd={class:"relative"},fd={class:"flex justify-between"},yd={class:"flex justify-start items-center"},vd={class:"text-sm font-bold"};function _d(e,a,n,p,f,y){const u=d("info-icon"),r=d("font-awesome-icon"),s=d("el-button"),g=d("el-upload");return o(),m("div",hd,[l("div",fd,[l("div",yd,[l("span",vd,i(e.$t("midjourney.name.referenceImage")),1),t(u,{content:e.$t("midjourney.description.uploadReferences")},null,8,["content"])])]),t(g,{"file-list":e.fileList,"onUpdate:file-list":a[0]||(a[0]=v=>e.fileList=v),name:"file",limit:5,class:"upload-wrapper",multiple:!0,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,headers:e.headers},{default:b(()=>[t(s,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:b(()=>[t(r,{icon:"fa-solid fa-upload",class:"icon mr-1"}),S(" "+i(e.$t("midjourney.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","headers"])])}var $d=j(bd,[["render",_d],["__scopeId","data-v-7cc5e216"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/config/ReferenceImage.vue"]]);const jd=T({name:"ConfigPanel",components:{FontAwesomeIcon:Q,ElButton:W,PromptInput:pd,ModeSelector:cd,ModelSelector:ft,ElementsSelector:ad,StyleSelector:Ht,QualitySelector:jt,RatioSelector:Ma,VersionSelector:Ha,StylizeSelector:et,ChaosSelector:it,WeirdSelector:Ot,ImageWeightSelector:Lt,ReferenceImage:$d},emits:["generate"],computed:{config(){return this.$store.state.midjourney.config}}}),Td={class:"panel flex flex-col h-full"},kd={class:"flex-1 overflow-y-scroll p-4"},wd={class:"h-12 px-4"},Sd={class:"flex gap-1"};function Ed(e,a,n,p,f,y){const u=d("model-selector"),r=d("prompt-input"),s=d("ratio-selector"),g=d("quality-selector"),v=d("version-selector"),V=d("reference-image"),A=d("elements-selector"),h=d("stylize-selector"),k=d("weird-selector"),_=d("chaos-selector"),N=d("image-weight-selector"),D=d("style-selector"),M=d("mode-selector"),B=d("font-awesome-icon"),F=d("el-button");return o(),m("div",Td,[l("div",kd,[t(u,{class:"mb-2"}),t(r,{class:"mb-2"}),t(s,{class:"mb-4"}),t(g,{class:"mb-4"}),t(v,{class:"mb-4"}),t(V,{class:"mb-2"}),t(A,{class:"mb-2"}),t(h,{class:"mb-2"}),t(k,{class:"mb-2"}),t(_,{class:"mb-2"}),t(N,{class:"mb-2"}),t(D,{class:"mb-2"})]),l("div",wd,[l("div",Sd,[t(M),t(F,{type:"primary",class:"btn w-full",round:"",onClick:a[0]||(a[0]=q=>e.$emit("generate"))},{default:b(()=>[t(B,{icon:"fa-solid fa-magic",class:"mr-2"}),S(" "+i(e.$t("midjourney.button.generate")),1)]),_:1})])])])}var Cd=j(jd,[["render",Ed],["__scopeId","data-v-b7ba558a"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/ConfigPanel.vue"]]);const Ad=T({name:"TaskPreview",components:{ElImage:le,ElButton:W,FontAwesomeIcon:Q,ElTooltip:ya,ElAlert:va,CopyToClipboard:Ea},props:{modelValue:{type:Object,required:!0},full:{type:Boolean,default:!1}},emits:["custom"],data(){return{midjourneyImagineState:Je,actionMapping:{[c.GENERATE]:"Generate",[c.UPSCALE1]:"U1",[c.UPSCALE2]:"U2",[c.UPSCALE3]:"U3",[c.UPSCALE4]:"U4",[c.VARIATION1]:"V1",[c.VARIATION2]:"V2",[c.VARIATION3]:"V3",[c.VARIATION4]:"V4",[c.VARIATION_STRONG]:"Vary (Strong)",[c.VARIATION_SUBTLE]:"Vary (Subtle)",[c.UPSCALE_CREATIVE]:"Upscale (Creative)",[c.UPSCALE_SUBTLE]:"Upscale (Subtle)",[c.ZOOM_OUT_2X]:"Zoom Out 2x",[c.ZOOM_OUT_1_5X]:"Zoom Out 1.5x",[c.UPSCALE_2X]:"Upscale 2x",[c.UPSCALE_4X]:"Upscale 4x",[c.REDO_UPSCALE_2X]:"Redo Upscale 2x",[c.REDO_UPSCALE_4X]:"Redo Upscale 4x",[c.REDO_UPSCALE_SUBTLE]:"Redo Upscale (Subtle)",[c.REDO_UPSCALE_CREATIVE]:"Redo Upscale (Creative)",[c.SQUARE]:"Make Square",[c.PAN_LEFT]:"\u2B05\uFE0F",[c.PAN_UP]:"\u2B06\uFE0F",[c.PAN_DOWN]:"\u2B07\uFE0F",[c.PAN_RIGHT]:"\u27A1\uFE0F",[c.REROLL]:"\u{1F504}"},descriptionMapping:{[c.GENERATE]:this.$t("midjourney.action.generate"),[c.UPSCALE1]:this.$t("midjourney.action.upscale1"),[c.UPSCALE2]:this.$t("midjourney.action.upscale2"),[c.UPSCALE3]:this.$t("midjourney.action.upscale3"),[c.UPSCALE4]:this.$t("midjourney.action.upscale4"),[c.VARIATION1]:this.$t("midjourney.action.variation1"),[c.VARIATION2]:this.$t("midjourney.action.variation2"),[c.VARIATION3]:this.$t("midjourney.action.variation3"),[c.VARIATION4]:this.$t("midjourney.action.variation4"),[c.VARIATION_STRONG]:this.$t("midjourney.action.variation_strong"),[c.VARIATION_SUBTLE]:this.$t("midjourney.action.variation_subtle"),[c.ZOOM_OUT_2X]:this.$t("midjourney.action.zoom_out_2x"),[c.ZOOM_OUT_1_5X]:this.$t("midjourney.action.zoom_out_1_5x"),[c.UPSCALE_2X]:this.$t("midjourney.action.upscale_2x"),[c.UPSCALE_4X]:this.$t("midjourney.action.upscale_4x"),[c.UPSCALE_SUBTLE]:this.$t("midjourney.action.upscale_subtle"),[c.UPSCALE_CREATIVE]:this.$t("midjourney.action.upscale_creative"),[c.REDO_UPSCALE_2X]:this.$t("midjourney.action.redo_upscale_2x"),[c.REDO_UPSCALE_4X]:this.$t("midjourney.action.redo_upscale_4x"),[c.REDO_UPSCALE_SUBTLE]:this.$t("midjourney.action.redo_upscale_subtle"),[c.REDO_UPSCALE_CREATIVE]:this.$t("midjourney.action.redo_upscale_creative"),[c.SQUARE]:this.$t("midjourney.action.square"),[c.PAN_LEFT]:this.$t("midjourney.action.pan_left"),[c.PAN_UP]:this.$t("midjourney.action.pan_up"),[c.PAN_DOWN]:this.$t("midjourney.action.pan_down"),[c.PAN_RIGHT]:this.$t("midjourney.action.pan_right"),[c.REROLL]:this.$t("midjourney.action.reroll")}}},computed:{application(){return this.$store.state.midjourney.application}},methods:{onReload(e){const a=e.target,n=new URL(a.src),p=n.searchParams.get("retry");if(!p)n.searchParams.set("retry","1");else if(parseInt(p)<2)n.searchParams.set("retry",(parseInt(p)+1).toString());else return;a.src=n.toString()},onCustom(e){var a,n,p;((a=this.modelValue)==null?void 0:a.type)==="imagine"&&this.$emit("custom",{action:e,image_id:(p=(n=this.modelValue)==null?void 0:n.response)==null?void 0:p.image_id})},onOpenUrl(e){window.open(e,"_blank")},onDownload(e){const a=document.createElement("a");a.href=e,a.download=e.split("/").pop(),a.click()}}}),Ld={key:0,class:"item"},Vd={class:"left"},Rd={class:"preview"},Pd={class:"bot"},Ud={class:"datetime"},Nd={class:"info"},Id={key:0,class:"prompt mt-2"},Dd={key:0},Od={key:1},Gd={key:1,class:"prompt mt-2"},Md={key:0},Bd={class:"description"},Fd={class:"description"},zd={class:"description"},qd={class:"image-wrapper"},Wd=["src","preview-src-list"],Hd={class:"description"},xd={class:"description"},Kd={key:2},Xd={class:"description"};function Jd(e,a,n,p,f,y){var A,h,k,_,N,D,M,B,F,q,H,x,Y,ne,se,ce,oe,ie,ue,re,me,ge,pe,be,he,fe,ye,ve,_e,$e,je,Te,ke,we,Se,Ee,Ce,Ae,Le,Ve,Re;const u=d("el-image"),r=d("font-awesome-icon"),s=d("copy-to-clipboard"),g=d("el-alert"),v=d("el-button"),V=d("el-tooltip");return((A=e.modelValue)==null?void 0:A.type)==="imagine"?(o(),m("div",Ld,[l("div",Vd,[t(u,{src:"https://cdn.acedata.cloud/05daz4.png",class:"avatar"})]),l("div",Rd,[l("div",Pd,[S(i(e.$t("midjourney.name.midjourneyBot"))+" ",1),l("span",Ud,i(e.$dayjs.format(""+new Date(parseFloat(((h=e.modelValue)==null?void 0:h.created_at)||"")*1e3))),1)]),l("div",Nd,[(_=(k=e.modelValue)==null?void 0:k.request)!=null&&_.prompt?(o(),m("p",Id,[S(i((D=(N=e.modelValue)==null?void 0:N.request)==null?void 0:D.prompt)+" ",1),(M=e.modelValue)!=null&&M.response?$("v-if",!0):(o(),m("span",Dd," - ("+i(e.$t("midjourney.status.pending"))+") ",1)),((F=(B=e.modelValue)==null?void 0:B.response)==null?void 0:F.progress)!==void 0&&((H=(q=e.modelValue)==null?void 0:q.response)==null?void 0:H.progress)!==100?(o(),m("span",Od," - ("+i((Y=(x=e.modelValue)==null?void 0:x.response)==null?void 0:Y.progress)+"%) ",1)):$("v-if",!0),l("span",null,"("+i((se=(ne=e.modelValue)==null?void 0:ne.request)==null?void 0:se.mode)+")",1)])):$("v-if",!0),(oe=(ce=e.modelValue)==null?void 0:ce.request)!=null&&oe.image_id?(o(),m("p",Gd,[S(i((ue=(ie=e.modelValue)==null?void 0:ie.request)==null?void 0:ue.image_id)+" - "+i((me=(re=e.modelValue)==null?void 0:re.request)==null?void 0:me.action)+" ",1),(ge=e.modelValue)!=null&&ge.response?$("v-if",!0):(o(),m("span",Md," - ("+i(e.$t("midjourney.status.pending"))+") ",1)),l("span",null,"("+i((be=(pe=e.modelValue)==null?void 0:pe.request)==null?void 0:be.mode)+")",1)])):$("v-if",!0)]),$(" response error "),((fe=(he=e.modelValue)==null?void 0:he.response)==null?void 0:fe.success)===!1?(o(),m("div",{key:0,class:z({content:!0,full:e.full,failed:!0})},[t(g,{closable:!1,class:"failure"},{default:b(()=>{var w,L,I,K,X,J,Pe,Ue,Ne,Ie,De,Oe;return[l("p",Bd,[t(r,{icon:"fa-solid fa-magic",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.taskId"))+": "+i((w=e.modelValue)==null?void 0:w.id)+" ",1),t(s,{content:(L=e.modelValue)==null?void 0:L.id,class:"btn-copy"},null,8,["content"])]),l("p",Fd,[t(r,{icon:"fa-solid fa-circle-info",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.failureReason"))+": "+i((X=(K=(I=e.modelValue)==null?void 0:I.response)==null?void 0:K.error)==null?void 0:X.message)+" ",1),t(s,{content:(Ue=(Pe=(J=e.modelValue)==null?void 0:J.response)==null?void 0:Pe.error)==null?void 0:Ue.message,class:"btn-copy"},null,8,["content"])]),l("p",zd,[t(r,{icon:"fa-solid fa-hashtag",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.traceId"))+": "+i((Ie=(Ne=e.modelValue)==null?void 0:Ne.response)==null?void 0:Ie.trace_id)+" ",1),t(s,{content:(Oe=(De=e.modelValue)==null?void 0:De.response)==null?void 0:Oe.trace_id,class:"btn-copy"},null,8,["content"])])]}),_:1})],2)):$("v-if",!0),$(" response success "),((ve=(ye=e.modelValue)==null?void 0:ye.response)==null?void 0:ve.success)===!0?(o(),m("div",{key:1,class:z({content:!0,full:e.full})},[l("div",qd,[($e=(_e=e.modelValue)==null?void 0:_e.response)!=null&&$e.image_url?(o(),m("img",{key:0,src:(Te=(je=e.modelValue)==null?void 0:je.response)==null?void 0:Te.image_url,"preview-src-list":[(we=(ke=e.modelValue)==null?void 0:ke.response)==null?void 0:we.raw_image_url],class:"image",onError:a[0]||(a[0]=w=>e.onReload(w))},null,40,Wd)):$("v-if",!0),(Ee=(Se=e.modelValue)==null?void 0:Se.response)!=null&&Ee.image_url?(o(),R(v,{key:1,type:"info",round:"",class:"btn-raw",onClick:a[1]||(a[1]=w=>{var L,I;return e.onOpenUrl((I=(L=e.modelValue)==null?void 0:L.response)==null?void 0:I.raw_image_url)})},{default:b(()=>[S(i(e.$t("common.button.seeRawImage")),1)]),_:1})):$("v-if",!0)]),(Ae=(Ce=e.modelValue)==null?void 0:Ce.response)!=null&&Ae.actions?(o(),m("div",{key:0,class:z({operations:!0,full:e.full,"mt-2":!0})},[(o(!0),m(P,null,U((Ve=(Le=e.modelValue)==null?void 0:Le.response)==null?void 0:Ve.actions,(w,L)=>(o(),R(V,{key:L,class:"box-item",effect:"dark",content:e.descriptionMapping[w],placement:"top-start"},{default:b(()=>[ja(t(v,{type:"info",size:"small",class:"btn-action",onClick:I=>e.onCustom(w)},{default:b(()=>[S(i(e.actionMapping[w]),1)]),_:2},1032,["onClick"]),[[Ta,e.actionMapping[w]]])]),_:2},1032,["content"]))),128))],2)):$("v-if",!0),t(g,{closable:!1,class:"mt-2 success"},{default:b(()=>{var w,L,I,K,X,J;return[l("p",Hd,[t(r,{icon:"fa-solid fa-magic",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.taskId"))+": "+i((w=e.modelValue)==null?void 0:w.id)+" ",1),t(s,{content:(L=e.modelValue)==null?void 0:L.id,class:"btn-copy"},null,8,["content"])]),l("p",xd,[t(r,{icon:"fa-solid fa-image",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.imageId"))+": "+i((K=(I=e.modelValue)==null?void 0:I.response)==null?void 0:K.image_id)+" ",1),t(s,{content:(J=(X=e.modelValue)==null?void 0:X.response)==null?void 0:J.image_id,class:"btn-copy"},null,8,["content"])])]}),_:1})],2)):$("v-if",!0),$(" response pending "),(Re=e.modelValue)!=null&&Re.response?$("v-if",!0):(o(),m("div",Kd,[t(g,{closable:!1,class:"mt-2 info"},{default:b(()=>{var w,L;return[l("p",Xd,[t(r,{icon:"fa-solid fa-magic",class:"mr-1"}),S(" "+i(e.$t("midjourney.field.taskId"))+": "+i((w=e.modelValue)==null?void 0:w.id)+" ",1),t(s,{content:(L=e.modelValue)==null?void 0:L.id,class:"btn-copy"},null,8,["content"])])]}),_:1})]))])])):$("v-if",!0)}var Qd=j(Ad,[["render",Jd],["__scopeId","data-v-3ac1fe50"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/tasks/TaskItem.vue"]]);const Yd=T({name:"TaskList",components:{TaskItem:Qd,ElSkeleton:_a,ElSkeletonItem:$a},emits:["update:modelValue","custom","refresh","reach-top"],data(){return{job:0}},computed:{tasks(){var e;return(e=this.$store.state.midjourney.tasks)==null?void 0:e.items},application(){return this.$store.state.midjourney.application}},methods:{onHandleScroll(){const e=this.$refs.panel;console.log("onHandleScroll ",e.scrollTop),e.scrollTop===0&&(console.log("reach-top reach-top"),this.$emit("reach-top"))}}}),Zd={key:0,class:"tasks"},el={class:"left"},al={class:"main"},tl={key:1},dl={class:"p-5 description"};function ll(e,a,n,p,f,y){var g;const u=d("el-skeleton-item"),r=d("el-skeleton"),s=d("task-item");return e.tasks===void 0?(o(),m("div",Zd,[(o(),m(P,null,U(3,v=>l("div",{key:v,class:"task placeholder"},[l("div",el,[t(r,{animated:""},{template:b(()=>[t(u,{variant:"image",class:"avatar"})]),_:1})]),l("div",al,[t(r,{animated:""},{template:b(()=>[t(u,{variant:"p",class:"title"}),t(u,{variant:"image",class:"icon"})]),_:1})])])),64))])):e.tasks&&((g=e.tasks)==null?void 0:g.length)===0?(o(),m("div",tl,[l("p",dl,i(e.$t("midjourney.message.noTasks")),1)])):e.tasks.length>0?(o(),m("div",{key:2,ref:"panel",class:"tasks",onScroll:a[1]||(a[1]=(...v)=>e.onHandleScroll&&e.onHandleScroll(...v))},[(o(!0),m(P,null,U(e.tasks,(v,V)=>(o(),m("div",{key:V,class:"task"},[t(s,{full:!1,"model-value":v,onCustom:a[0]||(a[0]=A=>e.$emit("custom",A))},null,8,["model-value"])]))),128))],544)):$("v-if",!0)}var nl=j(Yd,[["render",ll],["__scopeId","data-v-44c7765b"],["__file","/home/runner/work/Nexior/Nexior/src/components/midjourney/tasks/TaskList.vue"]]);const Fe="https://webhook.acedata.cloud/midjourney",sl=T({name:"MidjourneyIndex",components:{ConfigPanel:Cd,ApplicationStatus:ka,TaskList:nl,Layout:Pa},data(){return{operating:!1,job:0,timer:void 0}},computed:{tasks(){return this.$store.state.midjourney.tasks},service(){return this.$store.state.midjourney.service},credential(){return this.$store.state.midjourney.credential},config(){return this.$store.state.midjourney.config},loading(){return this.$store.state.midjourney.status.getApplications===ee.Request},initializing(){return this.$store.state.midjourney.status.getApplications===ee.Request},needApply(){return this.$store.state.midjourney.status.getApplications===ee.Success&&!this.application},application(){return this.$store.state.midjourney.application},finalPrompt(){var a,n,p,f,y,u,r,s,g,v,V,A,h,k,_,N,D,M,B,F,q,H,x;let e="";return this.config.references&&((a=this.config.references)==null?void 0:a.length)>0&&(e+=`${this.config.references.join(" ")} `),this.config.prompt&&(e+=this.config.prompt),this.config.elements&&this.config.elements.length>0&&(e+=","+this.config.elements.map(Y=>Y.value).join(",")),((n=this.config)==null?void 0:n.model)&&!e.includes(`--${this.config.model}`)&&(e+=` --${this.config.model}`),((p=this.config)==null?void 0:p.version)&&!e.includes("--version ")&&!e.includes("--v ")&&(e+=` --version ${this.config.version}`),((f=this.config)==null?void 0:f.chaos)&&((y=this.config)==null?void 0:y.advanced)&&!e.includes("--chaos ")&&(e+=` --chaos ${this.config.chaos}`),((u=this.config)==null?void 0:u.quality)&&!e.includes("--quality ")&&!e.includes("--q ")&&((r=this.config)==null?void 0:r.quality)!==We&&(e+=` --quality ${this.config.quality}`),((s=this.config)==null?void 0:s.ratio)&&!e.includes("--aspect ")&&!e.includes("--ar ")&&((g=this.config)==null?void 0:g.ratio)!==ze&&(e+=` --aspect ${this.config.ratio}`),((v=this.config)==null?void 0:v.stylize)&&!e.includes("--stylize ")&&!e.includes("--s ")&&((V=this.config)==null?void 0:V.advanced)&&((A=this.config)==null?void 0:A.stylize)!==qe&&(e+=` --stylize ${(h=this.config)==null?void 0:h.stylize}`),((k=this.config)==null?void 0:k.weird)&&!e.includes("--weird ")&&!e.includes("--w ")&&((_=this.config)==null?void 0:_.advanced)&&((N=this.config)==null?void 0:N.weird)!==xe&&(e+=` --weird ${this.config.weird}`),this.config.ignore&&!e.includes("--no ")&&(e+=` --no ${this.config.ignore}`),((D=this.config)==null?void 0:D.iw)&&!e.includes("--iw ")&&((M=this.config)==null?void 0:M.advanced)&&((B=this.config)==null?void 0:B.iw)!==He&&(e+=` --iw ${this.config.iw}`),((F=this.config)==null?void 0:F.style)&&((q=this.config)==null?void 0:q.advanced)&&!e.includes("--style")&&(e+=` --style ${(H=this.config)==null?void 0:H.style}`),e=e.replace(/--(fast|relax|turbo) /g,""),this.config.prompt||this.config.references&&((x=this.config.references)==null?void 0:x.length)>0?e:""}},watch:{tasks:{handler(e,a){var n,p;((n=e==null?void 0:e.items)==null?void 0:n.length)>((p=a==null?void 0:a.items)==null?void 0:p.length)&&console.debug("new tasks detected")},deep:!0}},async mounted(){await this.onGetService(),await this.onGetApplication(),await this.onScrollDown(),await this.onGetTasks(),this.job=setInterval(()=>{this.onGetTasks()},5e3)},async unmounted(){clearInterval(this.job),clearInterval(this.timer)},methods:{async onReachTop(){var e,a,n;console.debug("ddasdasdreached top"),await this.onGetTasks({createdAtMax:(n=(a=(e=this.tasks)==null?void 0:e.items)==null?void 0:a[0])==null?void 0:n.created_at})},async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("midjourney/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplications"),await this.$store.dispatch("midjourney/getApplications"),console.debug("end onGetApplications"),await this.onGetTasks()},onApply(){da.create({application:this.application}).then(({data:e})=>{this.application=e,O.success(this.$t("application.message.applySuccessfully"))}).catch(e=>{var a,n;((n=(a=e==null?void 0:e.response)==null?void 0:a.data)==null?void 0:n.code)===wa&&O.error(this.$t("application.message.alreadyApplied"))})},async onStartTask(e){var n;const a=(n=this.credential)==null?void 0:n.token;if(!a){console.error("no token specified");return}O.info(this.$t("midjourney.message.startingTask")),la.imagine(e,{token:a}).then(()=>{O.success(this.$t("midjourney.message.startTaskSuccess"))}).catch(p=>{var y,u;const f=(y=p==null?void 0:p.response)==null?void 0:y.data;((u=f==null?void 0:f.error)==null?void 0:u.code)===Sa?O.error(this.$t("midjourney.message.usedUp")):O.error(this.$t("midjourney.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})},async onCustom(e){var n;const a={image_id:e.image_id,action:e.action,mode:((n=this.config)==null?void 0:n.mode)||Be,callback_url:Fe};this.onStartTask(a)},async onGenerate(){var a,n;const e={mode:((a=this.config)==null?void 0:a.mode)||Be,prompt:this.finalPrompt,action:c.GENERATE,translation:(n=this.config)==null?void 0:n.translation,callback_url:Fe};await this.onStartTask(e)},async onScrollDown(){await this.$nextTick(),setTimeout(()=>{const e=document.querySelector(".tasks");e&&(e.scrollTop=e.scrollHeight)},500)},async onGetTasks(e){if(this.loading){console.debug("loading");return}console.debug("start onGetTasks",e);const{limit:a=5,createdAtMin:n,createdAtMax:p}=e||{};console.debug("limit",a,"createdAtMin",n,"createdAtMax",p),await this.$store.dispatch("midjourney/getTasks",{limit:a,createdAtMin:n,createdAtMax:p})}}}),cl={class:"top"};function ol(e,a,n,p,f,y){const u=d("config-panel"),r=d("application-status"),s=d("task-list"),g=d("layout");return o(),R(g,null,{presets:b(()=>[t(u,{onGenerate:e.onGenerate},null,8,["onGenerate"])]),operation:b(()=>[l("div",cl,[t(r,{initializing:e.initializing,application:e.application,service:e.service,"need-apply":e.needApply,onRefresh:e.onGetApplication},null,8,["initializing","application","service","need-apply","onRefresh"]),t(s,{onCustom:e.onCustom,onReachTop:e.onReachTop},null,8,["onCustom","onReachTop"])])]),_:1})}var _l=j(sl,[["render",ol],["__scopeId","data-v-1dc79f5f"],["__file","/home/runner/work/Nexior/Nexior/src/pages/midjourney/Index.vue"]]);export{_l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./vendor-others.56d45bbc.js";import{aq as W}from"./vendor-fortawesome.ea56e829.js";import{_ as G}from"./index.
|
|
1
|
+
import"./vendor-others.56d45bbc.js";import{aq as W}from"./vendor-fortawesome.ea56e829.js";import{_ as G}from"./index.00c1df8d.js";import{l as J,i as O,h as P,r as Q,s as X}from"./vendor-element-plus.0a44791e.js";import{H as Y,al as _,e as h,f as t,V as e,M as i,S as p,o as r,U as a,T as m,W as M,ai as R,L as U,aK as Z,aL as tt}from"./vendor-@vue.01066951.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.3f236d35.js";const st=Y({name:"Index",components:{ElButton:J,ElRow:O,ElCol:P,ElCard:Q,ElImage:X,FontAwesomeIcon:W},data(){return{comments:[{avatar:"https://cdn.acedata.cloud/avatar1.png",name:this.$t("index.customers.name1"),job:this.$t("index.customers.job1"),content:this.$t("index.customers.comment1")},{avatar:"https://cdn.acedata.cloud/avatar2.png",name:this.$t("index.customers.name2"),job:this.$t("index.customers.job2"),content:this.$t("index.customers.comment2")},{avatar:"https://cdn.acedata.cloud/avatar3.png",name:this.$t("index.customers.name3"),job:this.$t("index.customers.job3"),content:this.$t("index.customers.comment3")}]}},computed:{site(){return this.$store.state.site},capabilities(){var s,n,C,q,I,E,u,o,f,d,w,b,v,$,g,y,k,x;return[...(C=(n=(s=this.site)==null?void 0:s.features)==null?void 0:n.chat)!=null&&C.enabled?[{title:this.$t("index.title.chat"),subtitle:this.$t("index.subtitle.chat"),icon:"fa-regular fa-comment"}]:[],...(E=(I=(q=this.site)==null?void 0:q.features)==null?void 0:I.midjourney)!=null&&E.enabled?[{title:this.$t("index.title.midjourney"),subtitle:this.$t("index.subtitle.midjourney"),icon:"fa-solid fa-palette"}]:[],...(f=(o=(u=this.site)==null?void 0:u.features)==null?void 0:o.qrart)!=null&&f.enabled?[{title:this.$t("index.title.qrart"),subtitle:this.$t("index.subtitle.qrart"),icon:"fa-solid fa-qrcode"}]:[],...(b=(w=(d=this.site)==null?void 0:d.features)==null?void 0:w.suno)!=null&&b.enabled?[{title:this.$t("index.title.suno"),subtitle:this.$t("index.subtitle.suno"),icon:"fa-solid fa-music"}]:[],...(g=($=(v=this.site)==null?void 0:v.features)==null?void 0:$.luma)!=null&&g.enabled?[{title:this.$t("index.title.luma"),subtitle:this.$t("index.subtitle.luma"),icon:"fa-solid fa-film"}]:[],...(x=(k=(y=this.site)==null?void 0:y.features)==null?void 0:k.headshots)!=null&&x.enabled?[{title:this.$t("index.title.headshots"),subtitle:this.$t("index.subtitle.headshots"),icon:"fa-solid fa-id-card"}]:[]]}},mounted(){},methods:{}}),c=s=>(Z("data-v-d9c0303e"),s=s(),tt(),s),et={class:"wrapper"},it={id:"banner"},at={class:"container"},ot={class:"info"},nt={class:"title"},lt={class:"subtitle"},dt={class:"operations"},ct={id:"introduction"},rt={class:"container"},ut={class:"title"},ht={class:"subtitle"},mt={class:"icon-wrapper"},_t={class:"title"},pt={class:"subtitle"},ft={key:0,id:"chat",class:"block"},bt={class:"container"},vt=c(()=>t("img",{src:"https://cdn.acedata.cloud/axynds.png",class:"image desktop"},null,-1)),$t=c(()=>t("img",{src:"https://cdn.acedata.cloud/vds4i3.png",class:"image mobile"},null,-1)),gt={class:"title"},yt={class:"subtitle"},kt={key:1,id:"midjourney",class:"block"},xt={class:"container"},wt={class:"title"},jt={class:"subtitle"},Ct=c(()=>t("img",{src:"https://cdn.acedata.cloud/uk86mz.png",class:"image desktop"},null,-1)),qt=c(()=>t("img",{src:"https://cdn.acedata.cloud/rvelwm.png",class:"image mobile"},null,-1)),It={key:2,id:"qrart",class:"block"},Et={class:"container"},Nt=c(()=>t("img",{src:"https://cdn.acedata.cloud/gyogar.png",class:"image desktop"},null,-1)),Bt=c(()=>t("img",{src:"https://cdn.acedata.cloud/5kunm0.png",class:"image mobile"},null,-1)),St={class:"title"},Vt={class:"subtitle"},Ft={key:3,id:"suno",class:"block"},Lt={class:"container"},zt={class:"title"},Tt={class:"subtitle"},At=c(()=>t("img",{src:"https://cdn.acedata.cloud/2m8fn.png",class:"image desktop"},null,-1)),Dt=c(()=>t("img",{src:"https://cdn.acedata.cloud/23knvs.png",class:"image mobile"},null,-1)),Ht={key:4,id:"luma",class:"block"},Kt={class:"container"},Mt=c(()=>t("img",{src:"https://cdn.acedata.cloud/6kop1g.png",class:"image desktop"},null,-1)),Rt=c(()=>t("img",{src:"https://cdn.acedata.cloud/3kcjny.png",class:"image mobile"},null,-1)),Ut={class:"title"},Wt={class:"subtitle"},Gt={key:5,id:"headshots",class:"block"},Jt={class:"container"},Ot={class:"title"},Pt={class:"subtitle"},Qt=c(()=>t("img",{src:"https://cdn.acedata.cloud/zlyshj.png",class:"image desktop"},null,-1)),Xt=c(()=>t("img",{src:"https://cdn.acedata.cloud/8as0cx.png",class:"image mobile"},null,-1)),Yt={id:"comments"},Zt={class:"container"},ts={class:"title"},ss={class:"subtitle"},es={class:"content"},is={class:"info"},as={class:"left"},os={class:"right"},ns={class:"name"},ls={class:"job"};function ds(s,n,C,q,I,E){var v,$,g,y,k,x,N,B,S,V,F,L,z,T,A,D,H,K;const u=_("el-button"),o=_("el-col"),f=_("el-image"),d=_("el-row"),w=_("font-awesome-icon"),b=_("el-card");return r(),h("div",et,[t("div",it,[t("div",at,[e(d,null,{default:i(()=>[e(o,{md:12,xs:24,class:"left"},{default:i(()=>{var l;return[t("div",ot,[t("h1",nt,a((l=s.site)==null?void 0:l.title),1),t("h3",lt,a(s.$t("index.subtitle.banner")),1),t("div",dt,[e(u,{type:"primary",round:"",class:"btn-apply",onClick:n[0]||(n[0]=j=>s.$router.push({path:"/chat"}))},{default:i(()=>[m(a(s.$t("common.button.startForFree")),1)]),_:1})])])]}),_:1}),e(o,{md:12,xs:24,class:"right"},{default:i(()=>[e(f,{src:"https://cdn.acedata.cloud/illustration1.png",class:"brand"})]),_:1})]),_:1})])]),t("div",ct,[t("div",rt,[e(d,{class:"mb-6"},{default:i(()=>[e(o,{span:24},{default:i(()=>[t("h2",ut,a(s.$t("index.title.introduction")),1),t("h5",ht,a(s.$t("index.subtitle.introduction")),1)]),_:1})]),_:1}),e(d,{gutter:15},{default:i(()=>[(r(!0),h(M,null,R(s.capabilities,(l,j)=>(r(),U(o,{key:j,md:6,xs:24,class:"mb-4"},{default:i(()=>[e(b,{class:"info text-center",shadow:"hover"},{default:i(()=>[t("div",mt,[e(w,{icon:l.icon,class:"icon"},null,8,["icon"])]),t("h2",_t,a(l.title),1),t("p",pt,a(l.subtitle),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})])]),(g=($=(v=s.site)==null?void 0:v.features)==null?void 0:$.chat)!=null&&g.enabled?(r(),h("div",ft,[t("div",bt,[e(d,null,{default:i(()=>[e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[vt,$t]),_:1}),e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",gt,a(s.$t("index.title.chat")),1),t("p",yt,a(s.$t("index.subtitle.chat")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[1]||(n[1]=l=>s.$router.push({path:"/chat"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1})]),_:1})])])):p("v-if",!0),(x=(k=(y=s.site)==null?void 0:y.features)==null?void 0:k.midjourney)!=null&&x.enabled?(r(),h("div",kt,[t("div",xt,[e(d,null,{default:i(()=>[e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",wt,a(s.$t("index.title.midjourney")),1),t("p",jt,a(s.$t("index.subtitle.midjourney")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[2]||(n[2]=l=>s.$router.push({path:"/midjourney"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1}),e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[Ct,qt]),_:1})]),_:1})])])):p("v-if",!0),(S=(B=(N=s.site)==null?void 0:N.features)==null?void 0:B.qrart)!=null&&S.enabled?(r(),h("div",It,[t("div",Et,[e(d,null,{default:i(()=>[e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[Nt,Bt]),_:1}),e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",St,a(s.$t("index.title.qrart")),1),t("p",Vt,a(s.$t("index.subtitle.qrart")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[3]||(n[3]=l=>s.$router.push({path:"/qrart"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1})]),_:1})])])):p("v-if",!0),(L=(F=(V=s.site)==null?void 0:V.features)==null?void 0:F.suno)!=null&&L.enabled?(r(),h("div",Ft,[t("div",Lt,[e(d,null,{default:i(()=>[e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",zt,a(s.$t("index.title.suno")),1),t("p",Tt,a(s.$t("index.subtitle.suno")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[4]||(n[4]=l=>s.$router.push({path:"/suno"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1}),e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[At,Dt]),_:1})]),_:1})])])):p("v-if",!0),(A=(T=(z=s.site)==null?void 0:z.features)==null?void 0:T.luma)!=null&&A.enabled?(r(),h("div",Ht,[t("div",Kt,[e(d,null,{default:i(()=>[e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[Mt,Rt]),_:1}),e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",Ut,a(s.$t("index.title.luma")),1),t("p",Wt,a(s.$t("index.subtitle.luma")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[5]||(n[5]=l=>s.$router.push({path:"/luma"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1})]),_:1})])])):p("v-if",!0),(K=(H=(D=s.site)==null?void 0:D.features)==null?void 0:H.headshots)!=null&&K.enabled?(r(),h("div",Gt,[t("div",Jt,[e(d,null,{default:i(()=>[e(o,{md:8,xs:24,class:"info"},{default:i(()=>[t("h2",Ot,a(s.$t("index.title.headshots")),1),t("p",Pt,a(s.$t("index.subtitle.headshots")),1),e(u,{type:"primary",round:"",class:"btn-try",onClick:n[6]||(n[6]=l=>s.$router.push({path:"/headshots"}))},{default:i(()=>[m(a(s.$t("index.button.try")),1)]),_:1})]),_:1}),e(o,{md:16,xs:24,class:"preview"},{default:i(()=>[Qt,Xt]),_:1})]),_:1})])])):p("v-if",!0),t("div",Yt,[t("div",Zt,[e(d,{class:"mb-6"},{default:i(()=>[e(o,{span:24},{default:i(()=>[t("h2",ts,a(s.$t("index.title.comments")),1),t("h5",ss,a(s.$t("index.subtitle.comments")),1)]),_:1})]),_:1}),e(d,{gutter:20,class:"main"},{default:i(()=>[(r(!0),h(M,null,R(s.comments,(l,j)=>(r(),U(o,{key:j,md:8,xs:24},{default:i(()=>[e(b,{shadow:"hover",class:"service","body-style":{padding:0}},{default:i(()=>[t("p",es,a(l.content),1),t("div",is,[t("div",as,[e(f,{class:"avatar",src:l.avatar},null,8,["src"])]),t("div",os,[t("div",ns,a(l.name),1),t("div",ls,a(l.job),1)])])]),_:2},1024)]),_:2},1024))),128))]),_:1})])])])}var fs=G(st,[["render",ds],["__scopeId","data-v-d9c0303e"],["__file","/home/runner/work/Nexior/Nexior/src/pages/index/Index.vue"]]);export{fs as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var ce=Object.defineProperty,ue=Object.defineProperties;var me=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var q=(e,t,r)=>t in e?ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,K=(e,t)=>{for(var r in t||(t={}))pe.call(t,r)&&q(e,r,t[r]);if(P)for(var r of P(t))_e.call(t,r)&&q(e,r,t[r]);return e},Z=(e,t)=>ue(e,me(t));import{x as I,F as ee}from"./vendor-others.56d45bbc.js";import{g as oe,_ as w,S as he,s as fe,i as ve,R as ke,a as ge,b as we,c as j}from"./index.f9ab0467.js";import{h as xe,C as Le,a as W}from"./vendor-vue-dark-switch.dc692e95.js";import{H as b,al as a,o as s,L as d,e as E,V as o,M as n,W as Ae,ai as Ee,T as g,U as _,aK as be,aL as ye,f as h,av as Ce,O as p,S as k}from"./vendor-@vue.01066951.js";import{d as te,e as ne,f as Ie,h as ae,i as re,j as Oe,k as Ve,l as Se,m as Ue,n as se,o as Ne,p as Te,q as $e}from"./vendor-element-plus.0a44791e.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.3f236d35.js";import"./vendor-fortawesome.ea56e829.js";var Fe="data:image/png;base64,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";const Re=b({components:{DarkSwitch:xe},emits:["update:dark"],computed:{dark(){return I("THEME")==="dark"},switchValue(){return Le.value}},watch:{switchValue(e){console.log("switchValue",e),this.setCookie(e)},dark(e){document.documentElement.classList.toggle("dark",e),this.setCookie(this.dark)}},mounted(){console.log("dark selector mounted"),this.dark?(W(!0),document.documentElement.classList.add("dark")):(W(!1),document.documentElement.classList.remove("dark"))},methods:{setCookie(e){ee("THEME",e?"dark":"light",{path:"/",domain:oe()})}}});function He(e,t,r,x,f,L){const i=a("dark-switch");return s(),d(i,{class:"switch","dark-background":"#333","light-background":"#fff"})}var Be=w(Re,[["render",He],["__file","/home/runner/work/Nexior/Nexior/src/components/common/DarkSelector2.vue"]]);const Ge=b({name:"LanguageSelector",components:{ElDropdown:te,ElDropdownItem:ne,ElDropdownMenu:Ie},data(){return{locales:he}},methods:{async onSelectLocale(e){this.$router.push({query:Z(K({},this.$route.query),{locale:void 0})}),await fe(e),this.setCookie(e),window.location.reload()},setCookie(e){ee("LOCALE",e,{path:"/",domain:oe()})}}}),Je=e=>(be("data-v-716b17bb"),e=e(),ye(),e),ze=Je(()=>h("i",{class:"icon"},[h("svg",{preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},[h("path",{fill:"currentColor",d:"m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"})])],-1));function Me(e,t,r,x,f,L){const i=a("el-dropdown-item"),c=a("el-dropdown-menu"),l=a("el-dropdown");return s(),E("div",null,[o(l,{"max-height":"700",trigger:"click",onCommand:e.onSelectLocale},{dropdown:n(()=>[o(c,null,{default:n(()=>[(s(!0),E(Ae,null,Ee(e.locales,(v,A)=>(s(),d(i,{key:A,command:v.value},{default:n(()=>[g(_(v.label),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:n(()=>[ze]),_:1},8,["onCommand"])])}var De=w(Ge,[["render",Me],["__scopeId","data-v-716b17bb"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/LanguageSelector.vue"]]);const Qe={emits:["click"],data(){return{url1:"https://cdn.acedata.cloud/logo.png/thumb_450x_",url2:"https://cdn.acedata.cloud/logo2.png/thumb_450x_",dark:I("THEME")==="dark",url:"",isOfficial:ve(),interval:void 0}},watch:{dark(){this.updateUrl()}},mounted(){this.interval=window.setInterval(this.checkCookie,500),this.updateUrl()},unmounted(){this.interval&&clearInterval(this.interval)},methods:{checkCookie(){this.dark=I("THEME")==="dark"},updateUrl(){var e;this.isOfficial?this.url=this.dark?this.url2:this.url1:this.url=((e=this.$store.state.site)==null?void 0:e.logo)||""}}},Ye=["src"];function Xe(e,t,r,x,f,L){return s(),E("img",{src:f.url,class:"logo",onClick:t[0]||(t[0]=i=>e.$emit("click"))},null,8,Ye)}var Pe=w(Qe,[["render",Xe],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Logo.vue"]]);const qe=b({name:"TopHeader",components:{ElCol:ae,Logo:Pe,ElRow:re,DarkSelector:Be,ElDropdown:te,ElMenu:Oe,ElMenuItem:Ve,ElDropdownItem:ne,ElButton:Se,ElSubMenu:Ue,LanguageSelector:De},data(){return{defaultAvatar:Fe}},computed:{site(){var e;return(e=this.$store.state)==null?void 0:e.site},dark(){var e;return(e=this.$store.getters)==null?void 0:e.dark},active(){var e,t;return(t=(e=this.$route.matched)==null?void 0:e[0])==null?void 0:t.path},user(){var e;return(e=this.$store.getters)==null?void 0:e.user},authenticated(){var e;return(e=this.$store.getters)==null?void 0:e.authenticated}},methods:{openTab(e){window.open(e,"_blank")},onSelect(e){e&&this.$router.push(e)},onHome(){this.$router.push({name:ke})},onLogin(){this.$router.push({name:ge})},onProfile(){const e=j();window.open(`${e}/user/profile`,"_blank")},onVerify(){const e=j();window.open(`${e}/user/verify`,"_blank")},onConsole(){this.$router.push({name:we})},async onLogout(){this.$store.dispatch("logout")}}}),Ke={key:0,class:"mt-4 pr-10"},Ze={key:1,class:"float-right"},je=["src"];function We(e,t,r,x,f,L){const i=a("logo"),c=a("el-col"),l=a("el-menu-item"),v=a("el-sub-menu"),A=a("el-menu"),C=a("el-button"),y=a("language-selector"),O=a("dark-selector"),V=a("el-dropdown-item"),le=a("el-dropdown-menu"),ie=a("el-dropdown"),de=a("el-row"),u=Ce("t");return s(),d(de,{class:"header"},{default:n(()=>[o(c,{md:4,xs:24},{default:n(()=>[o(i,{onClick:e.onHome},null,8,["onClick"])]),_:1}),o(c,{md:16,xs:13},{default:n(()=>[o(A,{"default-active":e.active,mode:"horizontal",class:"menu",ellipsis:!0,onSelect:e.onSelect},{default:n(()=>[o(v,{index:1},{title:n(()=>[g(_(e.$t("common.nav.products")),1)]),default:n(()=>{var m,S,U,N,T,$,F,R,H,B,G,J,z,M,D,Q,Y,X;return[(U=(S=(m=e.site)==null?void 0:m.features)==null?void 0:S.chat)!=null&&U.enabled?p((s(),d(l,{key:0,index:"/chat"},null,512)),[[u,"index.title.chat"]]):k("v-if",!0),($=(T=(N=e.site)==null?void 0:N.features)==null?void 0:T.midjourney)!=null&&$.enabled?p((s(),d(l,{key:1,index:"/midjourney"},null,512)),[[u,"index.title.midjourney"]]):k("v-if",!0),(H=(R=(F=e.site)==null?void 0:F.features)==null?void 0:R.qrart)!=null&&H.enabled?p((s(),d(l,{key:2,index:"/qrart"},null,512)),[[u,"index.title.qrart"]]):k("v-if",!0),(J=(G=(B=e.site)==null?void 0:B.features)==null?void 0:G.suno)!=null&&J.enabled?p((s(),d(l,{key:3,index:"/suno"},null,512)),[[u,"index.title.suno"]]):k("v-if",!0),(D=(M=(z=e.site)==null?void 0:z.features)==null?void 0:M.luma)!=null&&D.enabled?p((s(),d(l,{key:4,index:"/luma"},null,512)),[[u,"index.title.luma"]]):k("v-if",!0),(X=(Y=(Q=e.site)==null?void 0:Q.features)==null?void 0:Y.headshots)!=null&&X.enabled?p((s(),d(l,{key:5,index:"/headshots"},null,512)),[[u,"index.title.headshots"]]):k("v-if",!0)]}),_:1}),p(o(l,{onRoute:void 0,onClick:t[0]||(t[0]=m=>e.openTab("https://platform.acedata.cloud"))},null,512),[[u,"common.nav.apiPlatform"]]),p(o(l,{onRoute:void 0,onClick:t[1]||(t[1]=m=>e.openTab("https://platform.acedata.cloud/support"))},null,512),[[u,"common.nav.support"]]),p(o(l,{index:"/distribution"},null,512),[[u,"common.nav.referral"]])]),_:1},8,["default-active","onSelect"])]),_:1}),o(c,{md:4,xs:11},{default:n(()=>[e.authenticated?(s(),E("div",Ze,[o(O),o(y,{class:"locale"}),h("div",{class:"console",onClick:t[2]||(t[2]=(...m)=>e.onConsole&&e.onConsole(...m))},_(e.$t("common.button.console")),1),o(ie,{trigger:"click"},{dropdown:n(()=>[o(le,null,{default:n(()=>[o(V,{onClick:e.onProfile},{default:n(()=>[g(_(e.$t("common.button.profile")),1)]),_:1},8,["onClick"]),o(V,{onClick:e.onLogout},{default:n(()=>[g(_(e.$t("common.button.logout")),1)]),_:1},8,["onClick"])]),_:1})]),default:n(()=>{var m;return[h("img",{src:((m=e.user)==null?void 0:m.avatar)||e.defaultAvatar,class:"avatar"},null,8,je)]}),_:1})])):(s(),E("div",Ke,[o(C,{type:"primary",class:"float-right",size:"small",round:"",onClick:e.onLogin},{default:n(()=>[g(_(e.$t("common.button.login")),1)]),_:1},8,["onClick"]),o(y,{class:"locale float-right mr-4"}),o(O,{class:"float-right mr-4"})]))]),_:1})]),_:1})}var eo=w(qe,[["render",We],["__file","/home/runner/work/Nexior/Nexior/src/components/common/TopHeader.vue"]]);const oo=b({name:"BottomFooter",components:{ElContainer:se,ElRow:re,ElCol:ae},data(){return{}},computed:{},methods:{}}),to={href:"https://platform.acedata.cloud"};function no(e,t,r,x,f,L){const i=a("el-col"),c=a("el-row"),l=a("el-container");return s(),d(l,{id:"footer",class:"footer"},{default:n(()=>[o(c,{class:"w-full"},{default:n(()=>[o(i,{class:"container",span:18,offset:3},{default:n(()=>[o(c,null,{default:n(()=>[o(i,{span:24,class:"text-center"},{default:n(()=>[h("p",null,[h("a",to,_(e.$t("common.entity.website")),1),g(" \xA9 "+_(new Date().getFullYear())+" "+_(e.$t("common.entity.copyright")),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var ao=w(oo,[["render",no],["__scopeId","data-v-5c0f0aec"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/BottomFooter.vue"]]);const ro=b({name:"LayoutIndex",components:{TopHeader:eo,BottomFooter:ao,ElContainer:se,ElMain:Ne,ElFooter:Te,ElHeader:$e}});function so(e,t,r,x,f,L){const i=a("top-header"),c=a("el-header"),l=a("router-view"),v=a("el-main"),A=a("bottom-footer"),C=a("el-footer"),y=a("el-container");return s(),d(y,{class:"wrapper"},{default:n(()=>[o(c,{class:"header"},{default:n(()=>[o(i)]),_:1}),o(v,{class:"main"},{default:n(()=>[o(l)]),_:1}),o(C,{class:"footer"},{default:n(()=>[o(A)]),_:1})]),_:1})}var vo=w(ro,[["render",so],["__scopeId","data-v-3deb56ba"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Index.vue"]]);export{vo as default};
|
|
1
|
+
var ce=Object.defineProperty,ue=Object.defineProperties;var me=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var q=(e,t,r)=>t in e?ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,K=(e,t)=>{for(var r in t||(t={}))pe.call(t,r)&&q(e,r,t[r]);if(P)for(var r of P(t))_e.call(t,r)&&q(e,r,t[r]);return e},Z=(e,t)=>ue(e,me(t));import{x as I,F as ee}from"./vendor-others.56d45bbc.js";import{g as oe,_ as w,S as he,s as fe,i as ve,R as ke,a as ge,b as we,c as j}from"./index.00c1df8d.js";import{h as xe,C as Le,a as W}from"./vendor-vue-dark-switch.dc692e95.js";import{H as b,al as a,o as s,L as d,e as E,V as o,M as n,W as Ae,ai as Ee,T as g,U as _,aK as be,aL as ye,f as h,av as Ce,O as p,S as k}from"./vendor-@vue.01066951.js";import{d as te,e as ne,f as Ie,h as ae,i as re,j as Oe,k as Ve,l as Se,m as Ue,n as se,o as Ne,p as Te,q as $e}from"./vendor-element-plus.0a44791e.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.3f236d35.js";import"./vendor-fortawesome.ea56e829.js";var Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAMFBMVEX///+3t7f4+Pi8vLzAwMDExMTS0tLIyMjk5OTz8/PY2NjOzs7u7u7d3d3p6enh4eFVKkJDAAAIfUlEQVR4nNVd15akOAylyRRQ9f9/O02BZJtgBQszfR/2zPahsJCvguVUFJYop35ux66pq6r6+fn9T910bTv3U2najBXK9zw2PxE07fz+n0Qf+raOyetL3g9PS7vgzRUYULfvZyXuR5nAgLF/SuK3UuJN7gf0PbyErDiieuU1zKmLyFJ3Y9u+vmh//V9dXT/b5VN3f+HbFq82nGivHH6999Vv8rC7P+NFzfBlF56xvl/sEy1Xbc8mZ9m3R7bcrO0jl+vXJH7J0YY78UvYKNuDjpWNTQd9tzd5ks9ePUm92u877WMlp4dhR+Y2OYkYdh3XmKclc9iATVwoXyFLZouXIobuBpEXlK+QcYbK7gOF2NpMaN2Vmfdr71LGirAbW5N3lr4F1rckC0GQbQw6cqrM1XACvzOr5EjT+2q+L24Vk6/sRGL7no6t5un9eQE+7JG4r+wk3+e9iGfXwzyeZHLjzDGFt0fEBB564ymOeRwzCg8dHaZ9kx8NZGZ8+UyOv0bSW3o9q5Tac5+0luajjGfqpsT2krIuTeaKZGQf4UUIKpx6xFbo2nGD9HSlpJZAGfSQILVjV02Z4CQsJhD2UdbcJ/dwyRfpNvozwaLo4q/0nMhLIrMThJSZZ4EhiJd6Ugti43SvzCTlPKnZmUNZMV+u4cYKwp85XlfcTBi/s6Z+MZ2LxADhGZzUDU9m5zjIr0woQhLxasAHWS7E9TgZU/Z1EBEIjbzxQYYxOudOxu73qTBcUGEaIzqD1hi96W6JTgzRoDSI/UhmITP7yUPFSYqaagD1R4wJkP8VnT8nTwVQqnauN06QjvtCvYt2IL3Zm/Uk9jjDz0RmMLggwx3SOuIUSniGpJv3bAJo1SAFr9mKH8aI+LqkI0RFtoIh9/L76Cc8GLCDoxxSjyAHgxxFYSEzJ18Ggly4YHQHnCQ2LRoCGINXQirim0JYUJpDatf/p24PP4mVwSblSg6MEhDGuzNVg6J5o8nEvAPAGZiAfk5MDRXNqxcmx/AVHPMprx8G1TEHwOzqTByseTgoDRxYDT6akSh9YSMzr6aLidOeTGCj3EqDkdC8GU9Q9c6voYlyJzxy0sOxOnRs8C3sQpSR92DOO4EDCXkAzoA935bPTy8AIgTBCIIyvyZsExF/uM2Byfk9A7VafuksfdyygFmJcc35NZ7tT5xUYMNwJYcI/FouGP7xOyT1YBOh+aVcsCHHBWCHZHLTxOfxF6ZA8HP82P7ASv4BJj5PMNMO/g3+H9ghqrtnGm4hIJLAd7byVxg5asGCA+AH2N2meYHvKPxZmQRIGtyMaOMweC/ZXJJJdJE0CF27Bm0oK8kWLKSWHxeILB8s7xN8gmxFi0VIFAkNqd5KiI3S7JBqJ7Ssycb70vAL2LAofMiE9hkBrQvX4OTXNLS4eGpwA8KlaxaGKHOy4OWWcSVoXSZz9ohYYLaxpB8bv4V2aFGeFiYOvqTb74V2mHkQ8IXjBKhMuKrMJIoLOQlmVGIiIlyPmXdguwJ6d8J/CZ1H0m4iB1Gr4D569HjCZalPaNoxeWtd5jKf4TRkpy30syh3KbLXPVZsWdIIQUK6dO8Jl+dkbUB6GfRranwIWx3hUzeVi5fRmggtDA6b/dWO3ELkLiF4QldqoXOPxhe8QOjt57LUpXhguGUhtEUFUtq9EBzUQluQWrphIV1oA1JLm0R6VFqh0z21eH30XmjFdofbF14dgC5PG1zS0w9pjuYFF2UYL9KHiXJGYhhXJkwLEk1RvrEMZVWmpgvSVC1XtEtNlYOAL1JYrdESOg3lcGtFQsVGs+Nu++msHdiu0BNEQQ5vYKssIWxQx3JNc1AqnbTFmg3qSoKmYz0mb//S7QDU1k5Vdu+VSnUFyA3aBES1ca9zkqb4PPVQUUVG74OVRfUNSqencXh+UR1sUnfqgy6+qLrVn75QThRt0I26VG0FU4dbRNfE1ULpqVVBIZBTN/kJ0PBDxY6QEbpp5v27JFCxI5xm1k3oIxT+Q+Wowgl93dIJhHzqVrW5erd0QrdIxUE8wFXxcL9IBXSlSRcLuSnq3NR+OZBq4ZWD1FXr8sn9wivVEjcPwtVuKtd6XOKmWUzoQeY/dCczHBcTKpZtnr2QB104gN70ukm+QNaHzBJV7DhbIAt/040ERMMXnbUDAwOtgvZVsUo0KaCi9Omib/SCqleKhE7KSsNIIt7IkFXoi40MSBrNO28X+ooHOKxWqPpuoVHRh7FDo3+pyHsorOZyG5R0w5kPUZmJffYFIrLhTLi1DzFJT0X+aWaZ3JGtfcJNlCvesTOuIpAcLBrdRIms5g4s+jFlM0PFPYY6ul1VtDG4PJzwqQHnGGpKKlA1fVKN0VqxX31Tx1DjOTBXaRFvs3vaWdkniPIEF3hdGgEmxpev0VpeHNf8ZuiROMBhet0hMch9qkogR2wXbeSojHI22jd5ifp1cLbY9dHB8NWhJCbOgkYzBxpFzxH3wu74F++ro8ckWsM7a5l7/IuzVnAxJX1MojGQ3shHslKCPPimY+b+jYfmU0qONPIOj5rzK9lDi33OyQttVpEaglXXMFoabQVmqny3QxaBW4opM3o4CtwDJazWGZtAUMi12ONkAtGMrNGS/1QI5yb+CxciLmc8EwoDKEokefK6CBKPRf47Mj/MEIujvv+MzA/6kKQLCR7y18q5Y8AjiWryrR1T9uwp/RqJ3YUdGWBxYUeR2RzN7gThn6ifCrtLaA7X/dwG4xtusvg+24uVihzKtr/Cqrh7OFPdcVlYcXItmyHS7x67ROwyxxTceAHegqsLHVOQ4WLH00sdE5DhUsev2IbaznR95gKrCnDGi0oXDOmTRrmvhP3i712+u+LvXXO84u9dKL2Cf3V33X7+i6u7N/y5S9IdvOvoF0G/19GP9tfR/wPQ21eEI8clLwAAAABJRU5ErkJggg==";const Re=b({components:{DarkSwitch:xe},emits:["update:dark"],computed:{dark(){return I("THEME")==="dark"},switchValue(){return Le.value}},watch:{switchValue(e){console.log("switchValue",e),this.setCookie(e)},dark(e){document.documentElement.classList.toggle("dark",e),this.setCookie(this.dark)}},mounted(){console.log("dark selector mounted"),this.dark?(W(!0),document.documentElement.classList.add("dark")):(W(!1),document.documentElement.classList.remove("dark"))},methods:{setCookie(e){ee("THEME",e?"dark":"light",{path:"/",domain:oe()})}}});function He(e,t,r,x,f,L){const i=a("dark-switch");return s(),d(i,{class:"switch","dark-background":"#333","light-background":"#fff"})}var Be=w(Re,[["render",He],["__file","/home/runner/work/Nexior/Nexior/src/components/common/DarkSelector2.vue"]]);const Ge=b({name:"LanguageSelector",components:{ElDropdown:te,ElDropdownItem:ne,ElDropdownMenu:Ie},data(){return{locales:he}},methods:{async onSelectLocale(e){this.$router.push({query:Z(K({},this.$route.query),{locale:void 0})}),await fe(e),this.setCookie(e),window.location.reload()},setCookie(e){ee("LOCALE",e,{path:"/",domain:oe()})}}}),Je=e=>(be("data-v-716b17bb"),e=e(),ye(),e),ze=Je(()=>h("i",{class:"icon"},[h("svg",{preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},[h("path",{fill:"currentColor",d:"m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"})])],-1));function Me(e,t,r,x,f,L){const i=a("el-dropdown-item"),c=a("el-dropdown-menu"),l=a("el-dropdown");return s(),E("div",null,[o(l,{"max-height":"700",trigger:"click",onCommand:e.onSelectLocale},{dropdown:n(()=>[o(c,null,{default:n(()=>[(s(!0),E(Ae,null,Ee(e.locales,(v,A)=>(s(),d(i,{key:A,command:v.value},{default:n(()=>[g(_(v.label),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:n(()=>[ze]),_:1},8,["onCommand"])])}var De=w(Ge,[["render",Me],["__scopeId","data-v-716b17bb"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/LanguageSelector.vue"]]);const Qe={emits:["click"],data(){return{url1:"https://cdn.acedata.cloud/logo.png/thumb_450x_",url2:"https://cdn.acedata.cloud/logo2.png/thumb_450x_",dark:I("THEME")==="dark",url:"",isOfficial:ve(),interval:void 0}},watch:{dark(){this.updateUrl()}},mounted(){this.interval=window.setInterval(this.checkCookie,500),this.updateUrl()},unmounted(){this.interval&&clearInterval(this.interval)},methods:{checkCookie(){this.dark=I("THEME")==="dark"},updateUrl(){var e;this.isOfficial?this.url=this.dark?this.url2:this.url1:this.url=((e=this.$store.state.site)==null?void 0:e.logo)||""}}},Ye=["src"];function Xe(e,t,r,x,f,L){return s(),E("img",{src:f.url,class:"logo",onClick:t[0]||(t[0]=i=>e.$emit("click"))},null,8,Ye)}var Pe=w(Qe,[["render",Xe],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Logo.vue"]]);const qe=b({name:"TopHeader",components:{ElCol:ae,Logo:Pe,ElRow:re,DarkSelector:Be,ElDropdown:te,ElMenu:Oe,ElMenuItem:Ve,ElDropdownItem:ne,ElButton:Se,ElSubMenu:Ue,LanguageSelector:De},data(){return{defaultAvatar:Fe}},computed:{site(){var e;return(e=this.$store.state)==null?void 0:e.site},dark(){var e;return(e=this.$store.getters)==null?void 0:e.dark},active(){var e,t;return(t=(e=this.$route.matched)==null?void 0:e[0])==null?void 0:t.path},user(){var e;return(e=this.$store.getters)==null?void 0:e.user},authenticated(){var e;return(e=this.$store.getters)==null?void 0:e.authenticated}},methods:{openTab(e){window.open(e,"_blank")},onSelect(e){e&&this.$router.push(e)},onHome(){this.$router.push({name:ke})},onLogin(){this.$router.push({name:ge})},onProfile(){const e=j();window.open(`${e}/user/profile`,"_blank")},onVerify(){const e=j();window.open(`${e}/user/verify`,"_blank")},onConsole(){this.$router.push({name:we})},async onLogout(){this.$store.dispatch("logout")}}}),Ke={key:0,class:"mt-4 pr-10"},Ze={key:1,class:"float-right"},je=["src"];function We(e,t,r,x,f,L){const i=a("logo"),c=a("el-col"),l=a("el-menu-item"),v=a("el-sub-menu"),A=a("el-menu"),C=a("el-button"),y=a("language-selector"),O=a("dark-selector"),V=a("el-dropdown-item"),le=a("el-dropdown-menu"),ie=a("el-dropdown"),de=a("el-row"),u=Ce("t");return s(),d(de,{class:"header"},{default:n(()=>[o(c,{md:4,xs:24},{default:n(()=>[o(i,{onClick:e.onHome},null,8,["onClick"])]),_:1}),o(c,{md:16,xs:13},{default:n(()=>[o(A,{"default-active":e.active,mode:"horizontal",class:"menu",ellipsis:!0,onSelect:e.onSelect},{default:n(()=>[o(v,{index:1},{title:n(()=>[g(_(e.$t("common.nav.products")),1)]),default:n(()=>{var m,S,U,N,T,$,F,R,H,B,G,J,z,M,D,Q,Y,X;return[(U=(S=(m=e.site)==null?void 0:m.features)==null?void 0:S.chat)!=null&&U.enabled?p((s(),d(l,{key:0,index:"/chat"},null,512)),[[u,"index.title.chat"]]):k("v-if",!0),($=(T=(N=e.site)==null?void 0:N.features)==null?void 0:T.midjourney)!=null&&$.enabled?p((s(),d(l,{key:1,index:"/midjourney"},null,512)),[[u,"index.title.midjourney"]]):k("v-if",!0),(H=(R=(F=e.site)==null?void 0:F.features)==null?void 0:R.qrart)!=null&&H.enabled?p((s(),d(l,{key:2,index:"/qrart"},null,512)),[[u,"index.title.qrart"]]):k("v-if",!0),(J=(G=(B=e.site)==null?void 0:B.features)==null?void 0:G.suno)!=null&&J.enabled?p((s(),d(l,{key:3,index:"/suno"},null,512)),[[u,"index.title.suno"]]):k("v-if",!0),(D=(M=(z=e.site)==null?void 0:z.features)==null?void 0:M.luma)!=null&&D.enabled?p((s(),d(l,{key:4,index:"/luma"},null,512)),[[u,"index.title.luma"]]):k("v-if",!0),(X=(Y=(Q=e.site)==null?void 0:Q.features)==null?void 0:Y.headshots)!=null&&X.enabled?p((s(),d(l,{key:5,index:"/headshots"},null,512)),[[u,"index.title.headshots"]]):k("v-if",!0)]}),_:1}),p(o(l,{onRoute:void 0,onClick:t[0]||(t[0]=m=>e.openTab("https://platform.acedata.cloud"))},null,512),[[u,"common.nav.apiPlatform"]]),p(o(l,{onRoute:void 0,onClick:t[1]||(t[1]=m=>e.openTab("https://platform.acedata.cloud/support"))},null,512),[[u,"common.nav.support"]]),p(o(l,{index:"/distribution"},null,512),[[u,"common.nav.referral"]])]),_:1},8,["default-active","onSelect"])]),_:1}),o(c,{md:4,xs:11},{default:n(()=>[e.authenticated?(s(),E("div",Ze,[o(O),o(y,{class:"locale"}),h("div",{class:"console",onClick:t[2]||(t[2]=(...m)=>e.onConsole&&e.onConsole(...m))},_(e.$t("common.button.console")),1),o(ie,{trigger:"click"},{dropdown:n(()=>[o(le,null,{default:n(()=>[o(V,{onClick:e.onProfile},{default:n(()=>[g(_(e.$t("common.button.profile")),1)]),_:1},8,["onClick"]),o(V,{onClick:e.onLogout},{default:n(()=>[g(_(e.$t("common.button.logout")),1)]),_:1},8,["onClick"])]),_:1})]),default:n(()=>{var m;return[h("img",{src:((m=e.user)==null?void 0:m.avatar)||e.defaultAvatar,class:"avatar"},null,8,je)]}),_:1})])):(s(),E("div",Ke,[o(C,{type:"primary",class:"float-right",size:"small",round:"",onClick:e.onLogin},{default:n(()=>[g(_(e.$t("common.button.login")),1)]),_:1},8,["onClick"]),o(y,{class:"locale float-right mr-4"}),o(O,{class:"float-right mr-4"})]))]),_:1})]),_:1})}var eo=w(qe,[["render",We],["__file","/home/runner/work/Nexior/Nexior/src/components/common/TopHeader.vue"]]);const oo=b({name:"BottomFooter",components:{ElContainer:se,ElRow:re,ElCol:ae},data(){return{}},computed:{},methods:{}}),to={href:"https://platform.acedata.cloud"};function no(e,t,r,x,f,L){const i=a("el-col"),c=a("el-row"),l=a("el-container");return s(),d(l,{id:"footer",class:"footer"},{default:n(()=>[o(c,{class:"w-full"},{default:n(()=>[o(i,{class:"container",span:18,offset:3},{default:n(()=>[o(c,null,{default:n(()=>[o(i,{span:24,class:"text-center"},{default:n(()=>[h("p",null,[h("a",to,_(e.$t("common.entity.website")),1),g(" \xA9 "+_(new Date().getFullYear())+" "+_(e.$t("common.entity.copyright")),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var ao=w(oo,[["render",no],["__scopeId","data-v-5c0f0aec"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/BottomFooter.vue"]]);const ro=b({name:"LayoutIndex",components:{TopHeader:eo,BottomFooter:ao,ElContainer:se,ElMain:Ne,ElFooter:Te,ElHeader:$e}});function so(e,t,r,x,f,L){const i=a("top-header"),c=a("el-header"),l=a("router-view"),v=a("el-main"),A=a("bottom-footer"),C=a("el-footer"),y=a("el-container");return s(),d(y,{class:"wrapper"},{default:n(()=>[o(c,{class:"header"},{default:n(()=>[o(i)]),_:1}),o(v,{class:"main"},{default:n(()=>[o(l)]),_:1}),o(C,{class:"footer"},{default:n(()=>[o(A)]),_:1})]),_:1})}var vo=w(ro,[["render",so],["__scopeId","data-v-3deb56ba"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Index.vue"]]);export{vo as default};
|