import './async-Djx13DAD.js';
import { a as attr } from './index-B7gr0Dsc.js';
import './MarkdownCode.svelte_svelte_type_style_lang-DJRtJayx.js';
import { k } from './BlockLabel-DYKzuObf.js';
import { w } from './IconButton-7VBZdgpA.js';
import { l } from './Download-rAXPPveZ.js';
import { i } from './File-CWWp_-I1.js';
import { r } from './Undo-DlTKhhuO.js';
import './2-CeYbpaU1.js';
import { y } from './IconButtonWrapper-DlgTGGi-.js';
import './escaping-CBnpiEl5.js';
import './context-BZS6UlnY.js';
import './uneval-DjLoL4oF.js';
import './clone-BLo8hHdj.js';
import './prism-python-BaDPvmdn.js';
import './index5-BoOEKc6P.js';
import './dev-fallback-Bc5Ork7Y.js';

function A(i$1,m){i$1.component(o=>{let{value:a,display_mode:w$1="solid",clear_color:I=[0,0,0,0],label:u="",show_label:_,i18n:t,zoom_speed:D=1,pan_speed:v=1,camera_position:B=[null,null,null],has_change_history:h=false}=m;k(o,{show_label:_,Icon:i,label:u||t("3D_model.3d_model")}),o.push("<!----> "),a?(o.push("<!--[-->"),o.push('<div class="model3D svelte-pnaihf" data-testid="model3d">'),y(o,{children:l$1=>{l$1.push("<!--[-->"),w(l$1,{Icon:r,label:"Undo",onclick:()=>void 0,disabled:!h}),l$1.push(`<!--]--> <a${attr("href",a.url)}${attr("target",window.__is_colab__?"_blank":null)}${attr("download",window.__is_colab__?null:a.orig_name||a.path)}>`),w(l$1,{Icon:l,label:t("common.download")}),l$1.push("<!----></a>");}}),o.push("<!----> "),o.push("<!--[!-->"),o.push("<!---->"),o.push("<!---->"),o.push("<!--]--></div>")):o.push("<!--[!-->"),o.push("<!--]-->");});}

export { A as default };
//# sourceMappingURL=Model3D-DFXRO8sj.js.map
