System.register(["./index-legacy-02a74204.js"],(function(e,a){"use strict";var l,s;return{setters:[e=>{l=e.i,s=e.g}],execute:function(){e("g",((e,a)=>{if("parent"==a)return l.get("/api/scenarios",{params:{parent_id:e},headers:{authorization:`Bearer ${s()}`}});const r=e?`/api/scenarios/${e}`:"/api/scenarios";return l.get(r,{headers:{authorization:`Bearer ${s()}`}})})),e("a",(()=>l.get("/api/scenarios/recommend",{headers:{authorization:`Bearer ${s()}`}}))),e("u",(e=>l.post("/api/users/conversation",e,{headers:{authorization:`Bearer ${s()}`}}))),e("e",(e=>l.post("/api/users/conversation/image",e,{headers:{authorization:`Bearer ${s()}`}}))),e("f",(e=>l.get("/api/users/conversation/image",{params:e,headers:{authorization:`Bearer ${s()}`}}))),e("d",(()=>l.get("/api/users/upload/policy",{headers:{authorization:`Bearer ${s()}`}}))),e("j",(e=>l.get("/api/users/scenarios/logs",{params:e,headers:{authorization:`Bearer ${s()}`}}))),e("T",{CHAT:1,PAINTING:2,VIDEO:3,MODEL_GENERATION:4,MODELTEMPLATE:5}),e("M",{wait:1,upload:2,loading:3,success:4,error:5}),e("C","custom_conversation"),e("c",{name:"生成数量",lists:[{type:"custom-number",label:"生成数量",name:"number",value:null,span:24,placeholder:"自定义",rules:[{type:"required",message:"产品数量必填"}]}]}),e("F",[{name:"基础填写",lists:[{type:"text",name:"category_1",label:"产品类目",value:null,span:24,placeholder:"产品类目",rules:[{type:"required",message:"必填"}]},{type:"text",name:"category_2",value:null,label:"产品关键词",span:24,placeholder:"产品关键词",rules:[{type:"required",message:"必填"}]},{type:"select",placeholder:"选择产品名称",label:"产品名称",name:"category_3",options:[{label:"充电器",value:"充电器"},{label:"衣服",value:"衣服"}],value:"衣服",rules:[{type:"required",message:"必填"}]}]},{name:"详细描述",lists:[{type:"textarea",name:"category_4",label:"产品描述",value:null,span:24,maxRows:"5",minRows:"5",placeholder:"详细描述产品细节，生成的文案更加完美。",maxlength:1e3,rules:[{type:"required",message:"必填"}]}]}]),e("b",[{name:"基础填写",lists:[{type:"text",name:"category_1",label:"产品类目",value:null,span:24,placeholder:"产品类目",rules:[{type:"required",message:"产品类目必填"}]},{type:"text",name:"category_2",label:"产品类型",value:null,span:24,placeholder:"产品类型",rules:[{type:"required",message:"产品类型必填"}]}]},{name:"画面描述",lists:[{type:"textarea",name:"category_3",label:"画面描述",value:null,span:24,maxRows:"5",minRows:"5",placeholder:"画面描述以短句、短语为佳，高级设置内的参数会对图像生成有艺术修饰作用；支持中英文等语言输入",maxlength:1e3,rules:[{type:"required",message:"画面描述必填"}]}]},{name:"图片尺寸",lists:[{type:"radio_group_size",name:"size_1",value:"1600x1600",span:24,label:"图片尺寸",placeholder:"详细描述产品细节，生成的文案更加完美。",options:[{label:"亚马逊产品图尺寸",value:"1600x1600"},{label:"亚马逊a+主图",value:"600x180"},{type:"custom",label:"自定义",value:"",value1:"",value2:""}],rules:[{type:"required",message:"图片尺寸必选"}]}]},{name:"上传图片",lists:[{type:"upload",name:"image_1",label:"上传图片",value:null,span:24,rules:[]}]}]),e("h",[{name:"画面描述",lists:[{type:"textarea",name:"category_1",label:"画面描述",value:null,span:24,maxRows:"5",minRows:"5",placeholder:"背景为白色",maxlength:1e3,rules:[{type:"required",message:"画面描述必填"}]}]},{name:"图片尺寸",lists:[{type:"radio_group_size",name:"size_1",value:"1600x1600",span:24,label:"图片尺寸",placeholder:"详细描述产品细节，生成的文案更加完美。",options:[{size:"1600x1600",label:"亚马逊产品图尺寸",value:"1600x1600"},{size:"600x180",label:"亚马逊a+主图",value:"600x180"},{type:"custom",label:"自定义",value:"",value1:"",value2:""}],rules:[{type:"required",message:"图片尺寸必选"}]}]}]),e("i",[{name:"模特样式",lists:[{type:"select_model",name:"model_1",label:"选择模特",value:"",span:24,tool_url:"http://ai-gpt.test/api/users/photo/search",dialog_title:"请选择一个模特",placeholder:"输入模特性别、区域、服装类别  “例如：女模特、亚洲、连衣裙”",dialog_visible:!1,rules:[{type:"required",message:"模特样式必选"}]},{type:"button",name:"model_2",label:"模特生成",value:"",span:24,tool_url:"http://localhost:3008/ModelGeneration?id=5",dialog_title:"请选择一个模特",rules:[]},{type:"text",name:"sub_type",label:"类型",value:"midJourney",span:24,placeholder:"",is_hidden:!0,rules:[{type:"required",message:"类型不能为空"}]}]},{name:"图片尺寸",lists:[{type:"radio_group_size",name:"size",value:"1600x1600",span:24,label:"图片尺寸",placeholder:"详细描述产品细节，生成的文案更加完美。",options:[{label:"亚马逊产品图尺寸",value:"1600x1600"},{label:"亚马逊a+主图",value:"600x180"},{type:"custom",label:"自定义",value:"",value1:"",value2:""}],rules:[{type:"required",message:"图片尺寸必选"}]}]},{name:"图片上传",lists:[{type:"local_upload",name:"local_upload",label:"图片上传",value:null,span:24,rules:[{type:"required",message:"图片必传"}]}]},{name:"自定义输入",lists:[{type:"label",name:"label",label:"自定义输入",value:[],span:24,rules:[{type:"required",message:"至少输入一个"},{type:"length",value:"20",message:"个数已达最大限制"}]}]}])}}}));
