gptsite / gradio /templates /cdn /assets /Image.2e852803.js.map
sunxianfeng's picture
Duplicate from jumei/gptsite
11b6e82
{"version":3,"file":"Image.2e852803.js","sources":["../../../../ui/packages/app/src/components/Dataset/ExampleComponents/Image.svelte"],"sourcesContent":["<script lang=\"ts\">\n\texport let value: string;\n\texport let samples_dir: string;\n\texport let type: \"gallery\" | \"table\";\n\texport let selected: boolean = false;\n</script>\n\n<!-- svelte-ignore a11y-missing-attribute -->\n<img\n\tsrc={samples_dir + value}\n\tclass:table={type === \"table\"}\n\tclass:gallery={type === \"gallery\"}\n\tclass:selected\n/>\n\n<style>\n\timg {\n\t\tborder-radius: var(--radius-lg);\n\t\tmax-width: none;\n\t}\n\n\timg.selected {\n\t\tborder-color: var(--border-color-accent);\n\t}\n\n\t.table {\n\t\tmargin: 0 auto;\n\t\tborder: 2px solid var(--border-color-primary);\n\t\tborder-radius: var(--radius-lg);\n\t\twidth: var(--size-20);\n\t\theight: var(--size-20);\n\t\tobject-fit: cover;\n\t}\n\n\t.gallery {\n\t\tborder: 2px solid var(--border-color-primary);\n\t\tmax-height: var(--size-20);\n\t\tobject-fit: cover;\n\t}\n</style>\n"],"names":[],"mappings":"6JASM,KAAc,6DACN,OAAS,OAAO,gBACd,OAAS,SAAS,+BAHlC,mCACM,KAAc,qCACN,OAAS,OAAO,qBACd,OAAS,SAAS,0EAVtB,YACA,kBACA,WACA,WAAoB"}