PageSourceSearch

https://williamasdasdasd-ai-writing.hf.space/assets/Blocks-75KIb2my.js

js williamasdasdasd-ai-writing.hf.space collected 2026-10-03 17:30:49 UTC 51,263 bytes, 5 lines download raw bytes

vendor: 14,378 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ApiDocs-DR5fBl-S.js","./clear-CvR6Cdu7.js","./Index-B3LAmjeV.js","./index-BvFm9VBJ.js","./index-BVoOcrq_.css","./Image-0bVIZe-w.js","./Image-Ds1uFAjO.css","./ImagePreview-AieVzSem.js","./init-BXnIR-ED.js","./init-DQCSNdur.css","./FullscreenButton-D7OpqaEU.js","./MarkdownCode-DhbjNcA6.js","./prism-python-Dt5iPx6n.js","./MarkdownCode-CqW9htQV.css","./FullscreenButton-BYduS5IX.css","./ImagePreview-D5bl4ZzZ.css","./Index-VLJFaMM1.css","./StreamingBar-Bc_J-1Oe.js","./StreamingBar-Dq7cCzkm.css","./ApiDocs-MshfCJX-.css","./ApiRecorder-B5rk92WT.js","./ApiRecorder-N1NZAe7o.css","./Settings-DfpxZR-V.js","./Index-BYNaK3k2.js","./Example-CXKuTmQ6.js","./Example-2_XpXLIx.css","./Index-B8k0osbz.css","./Index-BOuwRgkY.js","./Index-a-pQRFMj.css","./Settings-BELQ81Ru.css","./Index-4V1RXY5w.js","./Index-Dum9Q1EU.js","./Example-Do2HGpgf.js","./Example-D4vuQ8w9.css","./Index-D_8bvB3d.css","./Index-Duw1Ex3_.js","./Example-DCK-h4K5.js","./Index-CRfssLQd.css","./Index-CaNpT1A3.css"])))=>i.map(i=>d[i]);
2import{_ as De}from"./index-BvFm9VBJ.js";import{t as Jt,v as Si,x as zi,$ as Mi,c as yi,w as Li,s as Ri,A as Qt,p as Yt}from"./init-BXnIR-ED.js";import{T as Ni}from"./StreamingBar-Bc_J-1Oe.js";import{Y as Oi}from"./FullscreenButton-D7OpqaEU.js";const{SvelteComponent:Ai,add_flush_callback:Ti,assign:mt,bind:Kt,binding_callbacks:Tt,bubble:Ii,check_outros:On,compute_rest_props:Xt,construct_svelte_component:$t,create_component:xt,create_slot:Pi,destroy_component:en,detach:An,empty:Tn,exclude_internal_props:Di,flush:ce,get_all_dirty_from_scope:Fi,get_slot_changes:Bi,get_spread_object:tn,get_spread_update:nn,group_outros:In,init:ji,insert:Pn,mount_component:on,not_equal:Gi,transition_in:je,transition_out:$e,update_slot_base:qi}=window.__gradio__svelte__internal,{bind:Ui,binding_callbacks:Wi}=window.__gradio__svelte__internal;function sn(i){let e,t,n,s;const o=[{elem_id:i[5]},{elem_classes:i[6]},{target:i[3]},{visible:i[7]},i[9],{theme_mode:i[4]},{root:i[2]}];function u(l){i[14](l)}var c=i[8];function a(l,f){let m={$$slots:{default:[Vi]},$$scope:{ctx:l}};for(let _=0;_<o.length;_+=1)m=mt(m,o[_]);return f!==void 0&&f&764&&(m=mt(m,nn(o,[f&32&&{elem_id:l[5]},f&64&&{elem_classes:l[6]},f&8&&{target:l[3]},f&128&&{visible:l[7]},f&512&&tn(l[9]),f&16&&{theme_mode:l[4]},f&4&&{root:l[2]}]))),l[0]!==void 0&&(m.value=l[0]),{props:m}}return c&&(e=$t(c,a(i)),i[13](e),Tt.push(()=>Kt(e,"value",u)),e.$on("prop_change",i[15])),{c(){e&&xt(e.$$.fragment),n=Tn()},m(l,f){e&&on(e,l,f),Pn(l,n,f),s=!0},p(l,f){if(c!==(c=l[8])){if(e){In();const m=e;$e(m.$$.fragment,1,0,()=>{en(m,1)}),On()}c?(e=$t(c,a(l,f)),l[13](e),Tt.push(()=>Kt(e,"value",u)),e.$on("prop_change",l[15]),xt(e.$$.fragment),je(e.$$.fragment,1),on(e,n.parentNode,n)):e=null}else if(c){const m=f&764?nn(o,[f&32&&{elem_id:l[5]},f&64&&{elem_classes:l[6]},f&8&&{target:l[3]},f&128&&{visible:l[7]},f&512&&tn(l[9]),f&16&&{theme_mode:l[4]},f&4&&{root:l[2]}]):{};f&65536&&(m.$$scope={dirty:f,ctx:l}),!t&&f&1&&(t=!0,m.value=l[0],Ti(()=>t=!1)),e.$set(m)}},i(l){s||(e&&je(e.$$.fragment,l),s=!0)},o(l){e&&$e(e.$$.fragment,l),s=!1},d(l){l&&An(n),i[13](null),e&&en(e,l)}}}function Vi(i){let e;const t=i[12].default,n=Pi(t,i,i[16],null);return{c(){n&&n.c()},m(s,o){n&&n.m(s,o),e=!0},p(s,o){n&&n.p&&(!e||o&65536)&&qi(n,t,s,s[16],e?Bi(t,s[16],o,null):Fi(s[16]),null)},i(s){e||(je(n,s),e=!0)},o(s){$e(n,s),e=!1},d(s){n&&n.d(s)}}}function Hi(i){let e,t,n=i[7]&&sn(i);return{c(){n&&n.c(),e=Tn()},m(s,o){n&&n.m(s,o),Pn(s,e,o),t=!0},p(s,[o]){s[7]?n?(n.p(s,o),o&128&&je(n,1)):(n=sn(s),n.c(),je(n,1),n.m(e.parentNode,e)):n&&(In(),$e(n,1,1,()=>{n=null}),On())},i(s){t||(je(n),t=!0)},o(s){$e(n),t=!1},d(s){s&&An(e),n&&n.d(s)}}}function Zi(i,e,t){const n=["root","component","target","theme_mode","instance","value","elem_id","elem_classes","_id","visible"];let s=Xt(e,n),{$$slots:o={},$$scope:u}=e,{root:c}=e,{component:a}=e,{target:l}=e,{theme_mode:f}=e,{instance:m}=e,{value:_}=e,{elem_id:p}=e,{elem_classes:C}=e,{_id:g}=e,{visible:w}=e;const E=(z,ne,x)=>new CustomEvent("prop_change",{detail:{id:z,prop:ne,value:x}});function A(z){return new Proxy(z,{construct(x,he){const re=new x(...he),ke=Object.keys(re.$$.props);function Ee(le){return function(U){if(!l)return;const Q=E(g,le,U);l.dispatchEvent(Q)}}return ke.forEach(le=>{Wi.push(()=>Ui(re,le,Ee(le)))}),re}})}let h=A(a);const L=["description","info","title","placeholder","value","label"];function M(z){for(const ne in z)L.includes(ne)&&(z[ne]=Jt(z[ne]))}function P(z){Tt[z?"unshift":"push"](()=>{m=z,t(1,m)})}function d(z){_=z,t(0,_)}function y(z){Ii.call(this,i,z)}return i.$$set=z=>{e=mt(mt({},e),Di(z)),t(9,s=Xt(e,n)),"root"in z&&t(2,c=z.root),"component"in z&&t(10,a=z.component),"target"in z&&t(3,l=z.target),"theme_mode"in z&&t(4,f=z.theme_mode),"instance"in z&&t(1,m=z.instance),"value"in z&&t(0,_=z.value),"elem_id"in z&&t(5,p=z.elem_id),"elem_classes"in z&&t(6,C=z.elem_classes),"_id"in z&&t(11,g=z._id),"visible"in z&&t(7,w=z.visible),"$$scope"in z&&t(16,u=z.$$scope)},i.$$.update=()=>{M(s),i.$$.dirty&1&&t(0,_=Jt(_))},[_,m,c,l,f,p,C,w,h,s,a,g,o,P,d,y,u]}class Ji extends Ai{constructor(e){super(),ji(this,e,Zi,Hi,Gi,{root:2,component:10,target:3,theme_mode:4,instance:1,value:0,elem_id:5,elem_classes:6,_id:11,visible:7})}get root(){return this.$$.ctx[2]}set root(e){this.$$set({root:e}),ce()}get component(){return this.$$.ctx[10]}set component(e){this.$$set({component:e}),ce()}get target(){return this.$$.ctx[3]}set target(e){this.$$set({target:e}),ce()}get theme_mode(){return this.$$.ctx[4]}set theme_mode(e){this.$$set({theme_mode:e}),ce()}get instance(){return this.$$.ctx[1]}set instance(e){this.$$set({instance:e}),ce()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),ce()}get elem_id(){return this.$$.ctx[5]}set elem_id(e){this.$$set({elem_id:e}),ce()}get elem_classes(){return this.$$.ctx[6]}set elem_classes(e){this.$$set({elem_classes:e}),ce()}get _id(){return this.$$.ctx[11]}set _id(e){this.$$set({_id:e}),ce()}get visible(){return this.$$.ctx[7]}set visible(e){this.$$set({visible:e}),ce()}}const{SvelteComponent:Qi,add_flush_callback:rn,assign:Yi,bind:ln,binding_callbacks:an,bubble:cn,check_outros:Pt,component_subscribe:Ki,create_component:Dn,destroy_component:Fn,detach:ht,empty:gt,ensure_array_like:_n,flush:be,get_spread_object:Xi,get_spread_update:$i,group_outros:Dt,init:xi,insert:pt,mount_component:Bn,outro_and_destroy_block:eo,safe_not_equal:to,transition_in:we,transition_out:Ae,update_keyed_each:no}=window.__gradio__svelte__internal,{onMount:io,createEventDispatcher:oo,setContext:so}=window.__gradio__svelte__internal;function fn(i,e,t){const n=i.slice();return n[16]=e[t],n}function un(i){let e,t,n,s;const o=[{_id:i[0]?.id},{component:i[0].component},{elem_id:"elem_id"in i[0].props&&i[0].props.elem_id||`component-${i[0].id}`},{elem_classes:"elem_classes"in i[0].props&&i[0].props.elem_classes||[]},{target:i[2]},i[0].props,{theme_mode:i[3]},{root:i[1]},{visible:typeof i[0].props.visible=="boolean"||i[0].props.visible==="hidden"?i[0].props.visible:!0}];function u(l){i[12](l)}function c(l){i[13](l)}let a={$$slots:{default:[ro]},$$scope:{ctx:i}};for(let l=0;l<o.length;l+=1)a=Yi(a,o[l]);return i[0].instance!==void 0&&(a.instance=i[0].instance),i[0].props.value!==void 0&&(a.value=i[0].props.value),e=new Ji({props:a}),an.push(()=>ln(e,"instance",u)),an.push(()=>ln(e,"value",c)),{c(){Dn(e.$$.fragment)},m(l,f){Bn(e,l,f),s=!0},p(l,f){const m=f&15?$i(o,[f&1&&{_id:l[0]?.id},f&1&&{component:l[0].component},f&1&&{elem_id:"elem_id"in l[0].props&&l[0].props.elem_id||`component-${l[0].id}`},f&1&&{elem_classes:"elem_classes"in l[0].props&&l[0].props.elem_classes||[]},f&4&&{target:l[2]},f&1&&Xi(l[0].props),f&8&&{theme_mode:l[3]},f&2&&{root:l[1]},f&1&&{visible:typeof l[0].props.visible=="boolean"||l[0].props.visible==="hidden"?l[0].props.visible:!0}]):{};f&524351&&(m.$$scope={dirty:f,ctx:l}),!t&&f&1&&(t=!0,m.instance=l[0].instance,rn(()=>t=!1)),!n&&f&1&&(n=!0,m.value=l[0].props.value,rn(()=>n=!1)),e.$set(m)},i(l){s||(we(e.$$.fragment,l),s=!0)},o(l){Ae(e.$$.fragment,l),s=!1},d(l){Fn(e,l)}}}function mn(i){let e=[],t=new Map,n,s,o=_n(i[0].children);const u=c=>c[16].id;for(let c=0;c<o.length;c+=1){let a=fn(i,o,c),l=u(a);t.set(l,e[c]=dn(l,a))}return{c(){for(let c=0;c<e.length;c+=1)e[c].c();n=gt()},m(c,a){for(let l=0;l<e.length;l+=1)e[l]&&e[l].m(c,a);pt(c,n,a),s=!0},p(c,a){a&63&&(o=_n(c[0].children),Dt(),e=no(e,a,u,1,c,o,t,n.parentNode,eo,dn,n,fn),Pt())},i(c){if(!s){for(let a=0;a<o.length;a+=1)we(e[a]);s=!0}},o(c){for(let a=0;a<e.length;a+=1)Ae(e[a]);s=!1},d(c){c&&ht(n);for(let a=0;a<e.length;a+=1)e[a].d(c)}}}function dn(i,e){let t,n,s;return n=new jn({props:{node:e[16],component:e[16].component,target:e[2],id:e[16].id,root:e[1],theme_mode:e[3],max_file_size:e[4],client:e[5]}}),n.$on("destroy",e[10]),n.$on("mount",e[11]),{key:i,first:null,c(){t=gt(),Dn(n.$$.fragment),this.first=t},m(o,u){pt(o,t,u),Bn(n,o,u),s=!0},p(o,u){e=o;const c={};u&1&&(c.node=e[16]),u&1&&(c.component=e[16].component),u&4&&(c.target=e[2]),u&1&&(c.id=e[16].id),u&2&&(c.root=e[1]),u&8&&(c.theme_mode=e[3]),u&16&&(c.max_file_size=e[4]),u&32&&(c.client=e[5]),n.$set(c)},i(o){s||(we(n.$$.fragment,o),s=!0)},o(o){Ae(n.$$.fragment,o),s=!1},d(o){o&&ht(t),Fn(n,o)}}}function ro(i){let e,t,n=i[0].children&&i[0].children.length&&mn(i);return{c(){n&&n.c(),e=gt()},m(s,o){n&&n.m(s,o),pt(s,e,o),t=!0},p(s,o){s[0].children&&s[0].children.length?n?(n.p(s,o),o&1&&we(n,1)):(n=mn(s),n.c(),we(n,1),n.m(e.parentNode,e)):n&&(Dt(),Ae(n,1,1,()=>{n=null}),Pt())},i(s){t||(we(n),t=!0)},o(s){Ae(n),t=!1},d(s){s&&ht(e),n&&n.d(s)}}}function lo(i){let e,t,n=i[0].component&&un(i);return{c(){n&&n.c(),e=gt()},m(s,o){n&&n.m(s,o),pt(s,e,o),t=!0},p(s,[o]){s[0].component?n?(n.p(s,o),o&1&&we(n,1)):(n=un(s),n.c(),we(n,1),n.m(e.parentNode,e)):n&&(Dt(),Ae(n,1,1,()=>{n=null}),Pt())},i(s){t||(we(n),t=!0)},o(s){Ae(n),t=!1},d(s){s&&ht(e),n&&n.d(s)}}}function ao(i,e,t){let n;Ki(i,Si,h=>t(9,n=h));let{root:s}=e,{node:o}=e,{parent:u=null}=e,{target:c}=e,{theme_mode:a}=e,{version:l}=e,{autoscroll:f}=e,{max_file_size:m}=e,{client:_}=e;const p=oo();let C=[];io(()=>{p("mount",o.id);for(const h of C)p("mount",h.id);return()=>{p("destroy",o.id);for(const h of C)p("mount",h.id)}}),so("BLOCK_KEY",u);function g(h){cn.call(this,i,h)}function w(h){cn.call(this,i,h)}function E(h){i.$$.not_equal(o.instance,h)&&(o.instance=h,t(0,o),t(15,C),t(2,c),t(3,a),t(7,l),t(1,s),t(8,f),t(4,m),t(9,n),t(5,_))}function A(h){i.$$.not_equal(o.props.value,h)&&(o.props.value=h,t(0,o),t(15,C),t(2,c),t(3,a),t(7,l),t(1,s),t(8,f),t(4,m),t(9,n),t(5,_))}return i.$$set=h=>{"root"in h&&t(1,s=h.root),"node"in h&&t(0,o=h.node),"parent"in h&&t(6,u=h.parent),"target"in h&&t(2,c=h.target),"theme_mode"in h&&t(3,a=h.theme_mode),"version"in h&&t(7,l=h.version),"autoscroll"in h&&t(8,f=h.autoscroll),"max_file_size"in h&&t(4,m=h.max_file_size),"client"in h&&t(5,_=h.client)},i.$$.update=()=>{if(i.$$.dirty&1&&o&&t(0,o.children=o.children&&o.children.filter(h=>{const L=o.type!=="statustracker";return L||C.push(h),L}),o),i.$$.dirty&1&&o&&o.type==="form")if(o.children?.every(L=>L.props.visible===!1||L.props.visible==="hidden")){const L=o.children?.some(M=>M.props.visible==="hidden");t(0,o.props.visible=L?"hidden":!1,o)}else t(0,o.props.visible=!0,o);i.$$.dirty&959&&t(0,o.props.gradio=new Oi(o.id,c,a,l,s,f,m,n,_,zi),o)},[o,s,c,a,m,_,u,l,f,n,g,w,E,A]}class jn extends Qi{constructor(e){super(),xi(this,e,ao,lo,to,{root:1,node:0,parent:6,target:2,theme_mode:3,version:7,autoscroll:8,max_file_size:4,client:5})}get root(){return this.$$.ctx[1]}set root(e){this.$$set({root:e}),be()}get node(){return this.$$.ctx[0]}set node(e){this.$$set({node:e}),be()}get parent(){return this.$$.ctx[6]}set parent(e){this.$$set({parent:e}),be()}get target(){return this.$$.ctx[2]}set target(e){this.$$set({target:e}),be()}get theme_mode(){return this.$$.ctx[3]}set theme_mode(e){this.$$set({theme_mode:e}),be()}get version(){return this.$$.ctx[7]}set version(e){this.$$set({version:e}),be()}get autoscroll(){return this.$$.ctx[8]}set autoscroll(e){this.$$set({autoscroll:e}),be()}get max_file_size(){return this.$$.ctx[4]}set max_file_size(e){this.$$set({max_file_size:e}),be()}get client(){return this.$$.ctx[5]}set client(e){this.$$set({client:e}),be()}}const{SvelteComponent:co,check_outros:_o,create_component:fo,destroy_component:uo,detach:mo,empty:ho,flush:Ce,group_outros:go,init:po,insert:bo,mount_component:wo,safe_not_equal:vo,transition_in:ft,transition_out:It}=window.__gradio__svelte__internal,{onMount:ko,createEventDispatcher:Eo}=window.__gradio__svelte__internal;function hn(i){let e,t;return e=new jn({props:{node:i[0],root:i[1],target:i[2],theme_mode:i[3],version:i[4],autoscroll:i[5],max_file_size:i[6],client:i[7]}}),{c(){fo(e.$$.fragment)},m(n,s){wo(e,n,s),t=!0},p(n,s){const o={};s&1&&(o.node=n[0]),s&2&&(o.root=n[1]),s&4&&(o.target=n[2]),s&8&&(o.theme_mode=n[3]),s&16&&(o.version=n[4]),s&32&&(o.autoscroll=n[5]),s&64&&(o.max_file_size=n[6]),s&128&&(o.client=n[7]),e.$set(o)},i(n){t||(ft(e.$$.fragment,n),t=!0)},o(n){It(e.$$.fragment,n),t=!1},d(n){uo(e,n)}}}function Co(i){let e,t,n=i[0]&&hn(i);return{c(){n&&n.c(),e=ho()},m(s,o){n&&n.m(s,o),bo(s,e,o),t=!0},p(s,[o]){s[0]?n?(n.p(s,o),o&1&&ft(n,1)):(n=hn(s),n.c(),ft(n,1),n.m(e.parentNode,e)):n&&(go(),It(n,1,1,()=>{n=null}),_o())},i(s){t||(ft(n),t=!0)},o(s){It(n),t=!1},d(s){s&&mo(e),n&&n.d(s)}}}function So(i,e,t){let{rootNode:n}=e,{root:s}=e,{target:o}=e,{theme_mode:u}=e,{version:c}=e,{autoscroll:a}=e,{max_file_size:l=null}=e,{client:f}=e;const m=Eo();return ko(()=>{m("mount")}),i.$$set=_=>{"rootNode"in _&&t(0,n=_.rootNode),"root"in _&&t(1,s=_.root),"target"in _&&t(2,o=_.target),"theme_mode"in _&&t(3,u=_.theme_mode),"version"in _&&t(4,c=_.version),"autoscroll"in _&&t(5,a=_.autoscroll),"max_file_size"in _&&t(6,l=_.max_file_size),"client"in _&&t(7,f=_.client)},[n,s,o,u,c,a,l,f]}class zo extends co{constructor(e){super(),po(this,e,So,Co,vo,{rootNode:0,root:1,target:2,theme_mode:3,version:4,autoscroll:5,max_file_size:6,client:7})}get rootNode(){return this.$$.ctx[0]}set rootNode(e){this.$$set({rootNode:e}),Ce()}get root(){return this.$$.ctx[1]}set root(e){this.$$set({root:e}),Ce()}get target(){return this.$$.ctx[2]}set target(e){this.$$set({target:e}),Ce()}get theme_mode(){return this.$$.ctx[3]}set theme_mode(e){this.$$set({theme_mode:e}),Ce()}get version(){return this.$$.ctx[4]}
2set version(e){this.$$set({version:e}),Ce()}get autoscroll(){return this.$$.ctx[5]}set autoscroll(e){this.$$set({autoscroll:e}),Ce()}get max_file_size(){return this.$$.ctx[6]}set max_file_size(e){this.$$set({max_file_size:e}),Ce()}get client(){return this.$$.ctx[7]}set client(e){this.$$set({client:e}),Ce()}}const Mo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='576'%20height='576'%20viewBox='0%200%20576%20576'%20fill='none'%3e%3cpath%20d='M287.5%20229L86%20344.5L287.5%20460L489%20344.5L287.5%20229Z'%20stroke='url(%23paint0_linear_102_7)'%20stroke-width='59'%20stroke-linejoin='round'/%3e%3cpath%20d='M287.5%20116L86%20231.5L287.5%20347L489%20231.5L287.5%20116Z'%20stroke='url(%23paint1_linear_102_7)'%20stroke-width='59'%20stroke-linejoin='round'/%3e%3cpath%20d='M86%20344L288%20229'%20stroke='url(%23paint2_linear_102_7)'%20stroke-width='59'%20stroke-linejoin='bevel'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_102_7'%20x1='60'%20y1='341'%20x2='429.5'%20y2='344'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9D100'/%3e%3cstop%20offset='1'%20stop-color='%23F97700'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_102_7'%20x1='513.5'%20y1='231'%20x2='143.5'%20y2='231'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9D100'/%3e%3cstop%20offset='1'%20stop-color='%23F97700'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_102_7'%20x1='60'%20y1='344'%20x2='428.987'%20y2='341.811'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9D100'/%3e%3cstop%20offset='1'%20stop-color='%23F97700'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",yo="data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.9425%202.94265C27.4632%202.42195%2027.4632%201.57773%2026.9425%201.05703C26.4218%200.536329%2025.5776%200.536329%2025.0569%201.05703L22.5713%203.54256C21.1213%202.59333%2019.5367%202.43378%2018.1753%202.64006C16.5495%202.88638%2015.1127%203.66838%2014.3905%204.39053L12.3905%206.39053C12.1405%206.64058%2012%206.97972%2012%207.33334C12%207.68697%2012.1405%208.0261%2012.3905%208.27615L19.7239%2015.6095C20.2446%2016.1302%2021.0888%2016.1302%2021.6095%2015.6095L23.6095%2013.6095C24.3316%2012.8873%2025.1136%2011.4505%2025.36%209.82475C25.5663%208.46312%2025.4066%206.87827%2024.4571%205.42807L26.9425%202.94265Z'%20fill='%233c4555'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.276%2012.9426C12.7967%2012.4219%2012.7967%2011.5777%2012.276%2011.057C11.7553%2010.5363%2010.9111%2010.5363%2010.3904%2011.057L8.66651%2012.7809L8.27615%2012.3905C8.0261%2012.1405%207.68697%2012%207.33334%2012C6.97972%2012%206.64058%2012.1405%206.39053%2012.3905L4.39053%2014.3905C3.66838%2015.1127%202.88638%2016.5495%202.64006%2018.1753C2.43377%2019.5367%202.59333%2021.1214%203.54262%2022.5714L1.05703%2025.057C0.536329%2025.5777%200.536329%2026.4219%201.05703%2026.9426C1.57773%2027.4633%202.42195%2027.4633%202.94265%2026.9426L5.42817%2024.4571C6.87835%2025.4066%208.46315%2025.5663%209.82475%2025.36C11.4505%2025.1136%2012.8873%2024.3316%2013.6095%2023.6095L15.6095%2021.6095C16.1302%2021.0888%2016.1302%2020.2446%2015.6095%2019.7239L15.2188%2019.3332L16.9426%2017.6093C17.4633%2017.0886%2017.4633%2016.2444%2016.9426%2015.7237C16.4219%2015.203%2015.5777%2015.203%2015.057%2015.7237L13.3332%2017.4475L10.5521%2014.6665L12.276%2012.9426Z'%20fill='%23FF7C00'/%3e%3c/svg%3e",Lo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3c!--%20Outer%20gear%20teeth%20(gray)%20--%3e%3cpath%20d='M19.14%2012.94c.04-.3.06-.61.06-.94%200-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24%200-.43.17-.47.41l-.36%202.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47%200-.59.22L2.74%208.87c-.12.21-.08.47.12.61l2.03%201.58c-.05.3-.07.62-.07.94s.02.64.07.94l-2.03%201.58c-.18.14-.23.41-.12.61l1.92%203.32c.12.22.37.29.59.22l2.39-.96c.5.38%201.03.7%201.62.94l.36%202.54c.05.24.24.41.48.41h3.84c.24%200%20.44-.17.47-.41l.36-2.54c.59-.24%201.13-.56%201.62-.94l2.39.96c.22.08.47%200%20.59
2-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12%2015.6c-1.98%200-3.6-1.62-3.6-3.6s1.62-3.6%203.6-3.6%203.6%201.62%203.6%203.6-1.62%203.6-3.6%203.6z'%20fill='%23808080'/%3e%3c!--%20Inner%20circle%20(now%20gray)%20--%3e%3ccircle%20cx='12'%20cy='12'%20r='2.5'%20fill='%23808080'/%3e%3c/svg%3e",Ro="data:image/svg+xml,%3csvg%20viewBox='0%200%2020%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23000000'%3e%3cg%20id='SVGRepo_bgCarrier'%20stroke-width='0'%3e%3c/g%3e%3cg%20id='SVGRepo_tracerCarrier'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%20id='SVGRepo_iconCarrier'%3e%3ctitle%3erecord%20[%23982]%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3c/defs%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Dribbble-Light-Preview'%20transform='translate(-380.000000,%20-3839.000000)'%20fill='%23FF0000'%3e%3cg%20id='icons'%20transform='translate(56.000000,%20160.000000)'%3e%3cpath%20d='M338,3689%20C338,3691.209%20336.209,3693%20334,3693%20C331.791,3693%20330,3691.209%20330,3689%20C330,3686.791%20331.791,3685%20334,3685%20C336.209,3685%20338,3686.791%20338,3689%20M334,3697%20C329.589,3697%20326,3693.411%20326,3689%20C326,3684.589%20329.589,3681%20334,3681%20C338.411,3681%20342,3684.589%20342,3689%20C342,3693.411%20338.411,3697%20334,3697%20M334,3679%20C328.477,3679%20324,3683.477%20324,3689%20C324,3694.523%20328.477,3699%20334,3699%20C339.523,3699%20344,3694.523%20344,3689%20C344,3683.477%20339.523,3679%20334,3679'%20id='record-[%23982]'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";let ve=!1,Oe=null,Ft=[],bt=0,Se={},Gn,dt,Te=null,Qe=[];function No(i,e,t){Gn=i,dt=e,t&&(Te=t)}async function Oo(){if(!ve)try{const i=document.title;document.title="[Sharing] Gradio Tab";const e=await navigator.mediaDevices.getDisplayMedia({video:{width:{ideal:1920},height:{ideal:1080},frameRate:{ideal:30}},audio:!0,selfBrowserSurface:"include"});document.title=i;const t={videoBitsPerSecond:5e6};Oe=new MediaRecorder(e,t),Ft=[],Se={},Oe.ondataavailable=Do,Oe.onstop=Fo,Oe.start(1e3),ve=!0,Te&&Te(!0),bt=Date.now()}catch(i){dt("Recording Error","Failed to start recording: "+i.message,"error")}}function Ao(){!ve||!Oe||(Oe.stop(),ve=!1,Te&&Te(!1))}function To(){if(!ve)return;const i=(Date.now()-bt)/1e3;Se.start=i}function Io(){if(!ve||Se.start===void 0)return;const i=(Date.now()-bt)/1e3;Se.end=i}function Po(i,e){if(!ve)return;const t=30,n=(Date.now()-bt)/1e3,s=Math.floor(i?(n-2)*t:n*t);if(e.boundingBox&&e.boundingBox.topLeft&&e.boundingBox.bottomRight&&e.boundingBox.topLeft.length===2&&e.boundingBox.bottomRight.length===2){const o=e.duration||2,u=s+Math.floor(o*t);Qe.some(a=>{const l=a.start_frame+Math.floor((a.duration||2)*t);return s>=a.start_frame&&s<=l||u>=a.start_frame&&u<=l||s<=a.start_frame&&u>=l})||Qe.push({boundingBox:e.boundingBox,start_frame:s,duration:o})}}function gn(i,e,t=2){if(ve)try{setTimeout(()=>{if(!e||e.length===0)return;let n=1/0,s=1/0,o=0,u=0,c=!1;for(const E of e){const A=`#component-${E}`,h=document.querySelector(A);if(h){c=!0;const L=h.getBoundingClientRect();n=Math.min(n,L.left),s=Math.min(s,L.top),o=Math.max(o,L.right),u=Math.max(u,L.bottom)}}if(!c)return;const a=window.innerWidth,l=window.innerHeight,f=Math.min(o,a)-Math.max(0,n),m=Math.min(u,l)-Math.max(0,s),_=f/a,p=m/l;if(_>=.8||p>=.8)return;const C=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);let g=[Math.max(0,n)/a,Math.max(0,s)/l],w=[Math.min(o,a)/a,Math.min(u,l)/l];if(C){g[0]=Math.max(0,g[0]*.9),w[0]=Math.min(1,w[0]*.9);const E=w[0]-g[0],h=(g[0]+w[0])/2*.9;g[0]=Math.max(0,h-E/2),w[0]=Math.min(1,h+E/2)}g[0]=Math.max(0,g[0]),g[1]=Math.max(0,g[1]),w[0]=Math.min(1,w[0]),w[1]=Math.min(1,w[1]),Po(i,{boundingBox:{topLeft:g,bottomRight:w},duration:t})},300)}catch{}}function Do(i){i.data.size>0&&Ft.push(i.data)}function Fo(){ve=!1,Te&&Te(!1);const i=new Blob(Ft,{type:"video/mp4"});Bo(i),(Oe?.stream?.getTracks()||[]).forEach(t=>t.stop())}async function Bo(i){try{dt("Processing video","This may take a few seconds...","info");const e=new FormData;e.append("video",i,"recording.mp4"),Se.start!==void 0&&Se.end!==void 0&&(e.append("remove_segment_start",Se.start.toString()),e.append("remove_segment_end",Se.end.toString())),Qe.length>
vendor: 2,835 bytes, line 2
20&&e.append("zoom_effects",JSON.stringify(Qe));const t=await fetch(Gn+"/gradio_api/process_recording",{method:"POST",body:e});if(!t.ok)throw new Error(`Server returned ${t.status}: ${t.statusText}`);const n=await t.blob(),s=`gradio-screen-recording-${new Date().toISOString().replace(/:/g,"-").replace(/\..+/,"")}.mp4`;pn(n,s),Qe=[]}catch{dt("Processing Error","Failed to process recording. Saving original version.","warning");const t=`gradio-screen-recording-${new Date().toISOString().replace(/:/g,"-").replace(/\..+/,"")}.mp4`;pn(i,t)}}function pn(i,e){const t=URL.createObjectURL(i),n=document.createElement("a");n.style.display="none",n.href=t,n.download=e,document.body.appendChild(n),n.click(),setTimeout(()=>{document.body.removeChild(n),URL.revokeObjectURL(t)},100)}const{HtmlTag:jo,SvelteComponent:Go,add_flush_callback:bn,add_iframe_resize_listener:qo,add_render_callback:Uo,append:I,attr:R,bind:at,binding_callbacks:Je,check_outros:_e,component_subscribe:Fe,construct_svelte_component:Me,create_component:ue,destroy_component:me,detach:Z,element:J,empty:Ye,flush:q,group_outros:fe,init:Wo,insert:Y,listen:ze,mount_component:de,noop:Ot,run_all:qn,safe_not_equal:Vo,set_data:Ke,set_store_value:Ho,set_style:Be,space:K,src_url_equal:ut,text:Xe,toggle_class:ct,transition_in:F,transition_out:V}=window.__gradio__svelte__internal,{tick:_t,onMount:wn}=window.__gradio__svelte__internal;function vn(i){return document.title=i[2],{c:Ot,m:Ot,d:Ot}}function kn(i){let e,t=`<style>${Yt(i[15],i[12])}</style>`,n;return{c(){e=new jo(!1),n=Ye(),e.a=n},m(s,o){e.m(t,s,o),Y(s,n,o)},p(s,o){o[0]&36864&&t!==(t=`<style>${Yt(s[15],s[12])}</style>`)&&e.p(t)},d(s){s&&(Z(n),e.d())}}}function En(i){let e,t;return e=new zo({props:{rootNode:i[17],root:i[0],target:i[3],theme_mode:i[9],version:i[12],autoscroll:i[4],max_file_size:i[14],client:i[10]}}),e.$on("mount",i[44]),{c(){ue(e.$$.fragment)},m(n,s){de(e,n,s),t=!0},p(n,s){const o={};s[0]&131072&&(o.rootNode=n[17]),s[0]&1&&(o.root=n[0]),s[0]&8&&(o.target=n[3]),s[0]&512&&(o.theme_mode=n[9]),s[0]&4096&&(o.version=n[12]),s[0]&16&&(o.autoscroll=n[4]),s[0]&16384&&(o.max_file_size=n[14]),s[0]&1024&&(o.client=n[10]),e.$set(o)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){V(e.$$.fragment,n),t=!1},d(n){me(e,n)}}}function Cn(i){let e,t,n,s=i[33]("common.built_with_gradio")+"",o,u,c,a,l,f,m,_,p,C=i[33]("common.stop_recording")+"",g,w,E,A,h,L,M,P,d,y=i[33]("common.settings")+"",z,ne,x,he,re,ke,Ee,le,U=i[5]&&Sn(i);return{c(){e=J("footer"),U&&U.c(),t=K(),n=J("a"),o=Xe(s),u=K(),c=J("img"),f=K(),m=J("div"),m.textContent="·",_=K(),p=J("button"),g=Xe(C),w=K(),E=J("img"),L=K(),M=J("div"),M.textContent="·",P=K(),d=J("button"),z=Xe(y),ne=K(),x=J("img"),ut(c.src,a=Mo)||R(c,"src",a),R(c,"alt",l=i[33]("common.logo")),R(c,"class","svelte-czcr5b"),R(n,"href","https://gradio.app"),R(n,"class","built-with 
2svelte-czcr5b"),R(n,"target","_blank"),R(n,"rel","noreferrer"),R(m,"class","divider svelte-czcr5b"),ct(m,"hidden",!i[32]),ut(E.src,A=Ro)||R(E,"src",A),R(E,"alt",h=i[33]("common.stop_recording")),R(E,"class","svelte-czcr5b"),R(p,"class","record svelte-czcr5b"),ct(p,"hidden",!i[32]),R(M,"class","divider svelte-czcr5b"),ut(x.src,he=Lo)||R(x,"src",he),R(x,"alt",re=i[33]("common.settings")),R(x,"class","svelte-czcr5b"),R(d,"class","settings svelte-czcr5b"),R(e,"class","svelte-czcr5b"),Uo(()=>i[66].call(e))},m(Q,ee){Y(Q,e,ee),U&&U.m(e,null),I(e,t),I(e,n),I(n,o),I(n,u),I(n,c),I(e,f),I(e,m),I(e,_),I(e,p),I(p,g),I(p,w),I(p,E),I(e,L),I(e,M),I(e,P),I(e,d),I(d,z),I(d,ne),I(d,x),ke=qo(e,i[66].bind(e)),Ee||(le=[ze(p,"click",i[63]),ze(d,"click",i[64]),ze(d,"mouseenter",i[65])],Ee=!0)},p(Q,ee){Q[5]?U?U.p(Q,ee):(U=Sn(Q),U.c(),U.m(e,t)):U&&(U.d(1),U=null),ee[1]&4&&s!==(s=Q[33]("common.built_with_gradio")+"")&&Ke(o,s),ee[1]&4&&l!==(l=Q[33]("common.logo"))&&R(c,"alt",l),ee[1]&2&&ct(m,"hidden",!Q[32]),ee[1]&4&&C!==(C=Q[33]("common.stop_recording")+"")&&Ke(g,C),ee[1]&4&&h!==(h=Q[33]("common.stop_recording"))&&R(E,"alt",h),ee[1]&2&&ct(p,"hidden",!Q[32]),ee[1]&4&&y!==(y=Q[33]("common.settings")+"")&&Ke(z,y),ee[1]&4&&re!==(re=Q[33]("common.settings"))&&R(x,"alt",re)},d(Q){Q&&Z(e),U&&U.d(),ke(),Ee=!1,qn(le)}}}function Sn(i){let e,t,n,s,o,u,c,a,l;function f(p,C){return p[10].config?.mcp_server?Jo:Zo}let m=f(i),_=m(i);return{c(){e=J("button"),_.c(),t=K(),n=J("img"),u=K(),c=J("div"),c.textContent="·",ut(n.src,s=yo)||R(n,"src",s),R(n,"alt",o=i[33]("common.logo")),R(n,"class","svelte-czcr5b"),R(e,"class","show-api svelte-czcr5b"),R(c,"class","divider show-api-divider svelte-czcr5b")},m(p,C){Y(p,e,C),_.m(e,null),I(e,t),I(e,n),Y(p,u,C),Y(p,c,C),a||(l=[ze(e,"click",i[61]),ze(e,"mouseenter",i[62])],a=!0)},p(p,C){m===(m=f(p))&&_?_.p(p,C):(_.d(1),_=m(p),_&&(_.c(),_.m(e,t))),C[1]&4&&o!==(o=p[33]("common.logo"))&&R(n,"alt",o)},d(p){p&&(Z(e),Z(u),Z(c)),_.d(),a=!1,qn(l)}}}function Zo(i){let e=i[33]("errors.use_via_api")+"",t;return{c(){t=Xe(e)},m(n,s){Y(n,t,s)},p(n,s){s[1]&4&&e!==(e=n[33]("errors.use_via_api")+"")&&Ke(t,e)},d(n){n&&Z(t)}}}function Jo(i){let e=i[33]("errors.use_via_api_or_mcp")+"",t;return{c(){t=Xe(e)},m(n,s){Y(n,t,s)},p(n,s){s[1]&4&&e!==(e=n[33]("errors.use_via_api_or_mcp")+"")&&Ke(t,e)},d(n){n&&Z(t)}}}function zn(i){let e,t,n,s,o;var u=i[25];function c(a,l){return{props:{api_calls:a[28],dependencies:a[1]}}}return u&&(t=Me(u,c(i))),{c(){e=J("div"),t&&ue(t.$$.fragment),R(e,"id","api-recorder-container"),R(e,"class","svelte-czcr5b")},m(a,l){Y(a,e,l),t&&de(t,e,null),n=!0,s||(o=ze(e,"click",i[67]),s=!0)},p(a,l){if(l[0]&33554432&&u!==(u=a[25])){if(t){fe();const f=t;V(f.$$.fragment,1,0,()=>{me(f,1)}),_e()}u?(t=Me(u,c(a)),ue(t.$$.fragment),F(t.$$.fragment,1),de(t,e,null)):t=null}else if(u){const f={};l[0]&268435456&&(f.api_calls=a[28]),l[0]&2&&(f.dependencies=a[1]),t.$set(f)}},i(a){n||(t&&F(t.$$.fragment,a),n=!0)},o(a){t&&V(t.$$.fragment,a),n=!1},d(a){a&&Z(e),t&&me(t),s=!1,o()}}}function Mn(i){let e,t,n,s,o,u,c,a;var l=i[24];function f(m,_){return{props:{root_node:m[17],dependencies:m[1],root:m[0],app:m[10],space_id:m[11],api_calls:m[28],username:m[13]}}}return l&&(o=Me(l,f(i)),o.$on("close",i[69])),{c(){e=J("div"),t=J("div"),n=K(),s=J("div"),o&&ue(o.$$.fragment),R(t,"class","backdrop svelte-czcr5b"),R(s,"class","api-docs-wrap svelte-czcr5b"),R(e,"class","api-docs svelte-czcr5b")},m(m,_){Y(m,e,_),I(e,t),I(e,n),I(e,s),o&&de(o,s,null),u=!0,c||(a=ze(t,"click",i[68]),c=!0)},p(m,_){if(_[0]&16777216&&l!==(l=m[24])){if(o){fe();const p=o;V(p.$$.fragment,1,0,()=>{me(p,1)}),_e()}l?(o=Me(l,f(m)),o.$on("close",m[69]),ue(o.$$.fragment),F(o.$$.fragment,1),de(o,s,null)):o=null}else if(l){const p={};_[0]&131072&&(p.root_node=m[17]),_[0]&2&&(p.dependencies=m[1]),_[0]&1&&(p.root=m[0]),_[0]&1024&&(p.app=m[10]),_[0]&2048&&(p.space_id=m[11]),_[0]&268435456&&(p.api_calls=m[28]),_[0]&8192&&(p.username=m[13]),o.$set(p)}},i(m){u||(o&&F(o.$$.fragment,m),u=!0)},o(m){o&&V(o.$$.fragment,m),u=!1},d(m){m&&Z(e),o&&me(o),c=!1,a()}}}function yn(i){let e,t,n,s,o,u,c,a,l,f;function m(g){i[71](g)}function _(g){i[72](g)}var p=i[26];function C(g,w){let E={pwa_enabled:g[10].config.pwa,root:g[0],space_id:g[11]};return g[22]!==void 0&&(E.allow_zoom=g[22]),g[23]!==void 0&&(E.allow_video_trim=g[23]),{props:E}}return p&&(o=Me(p,C(i)),Je.push(()=>at(o,"allow_zoom",m)),Je.push(()=>at(o,"allow_video_trim",_)),o.$on("close",i[73]),o.$on("start_recording",i[74])),{c(){e=J("div"),t=J("div"),n=K(),s=J("div"),o&&ue(o.$$.fragment),R(t,"class","backdrop svelte-czcr5b"),R(s,"class","api-docs-wrap svelte-czcr5b"),R(e,"class","api-docs svelte-czcr5b")}
vendor: 16,648 bytes, lines 2-4
2,m(g,w){Y(g,e,w),I(e,t),I(e,n),I(e,s),o&&de(o,s,null),a=!0,l||(f=ze(t,"click",i[70]),l=!0)},p(g,w){if(w[0]&67108864&&p!==(p=g[26])){if(o){fe();const E=o;V(E.$$.fragment,1,0,()=>{me(E,1)}),_e()}p?(o=Me(p,C(g)),Je.push(()=>at(o,"allow_zoom",m)),Je.push(()=>at(o,"allow_video_trim",_)),o.$on("close",g[73]),o.$on("start_recording",g[74]),ue(o.$$.fragment),F(o.$$.fragment,1),de(o,s,null)):o=null}else if(p){const E={};w[0]&1024&&(E.pwa_enabled=g[10].config.pwa),w[0]&1&&(E.root=g[0]),w[0]&2048&&(E.space_id=g[11]),!u&&w[0]&4194304&&(u=!0,E.allow_zoom=g[22],bn(()=>u=!1)),!c&&w[0]&8388608&&(c=!0,E.allow_video_trim=g[23],bn(()=>c=!1)),o.$set(E)}},i(g){a||(o&&F(o.$$.fragment,g),a=!0)},o(g){o&&V(o.$$.fragment,g),a=!1},d(g){g&&Z(e),o&&me(o),l=!1,f()}}}function Ln(i){let e,t;return e=new Ni({props:{messages:i[29]}}),e.$on("close",i[43]),{c(){ue(e.$$.fragment)},m(n,s){de(e,n,s),t=!0},p(n,s){const o={};s[0]&536870912&&(o.messages=n[29]),e.$set(o)},i(n){t||(F(e.$$.fragment,n),t=!0)},o(n){V(e.$$.fragment,n),t=!1},d(n){me(e,n)}}}function Rn(i){let e,t,n;var s=i[27];function o(u,c){return{props:{app:u[10],root:u[0]}}}return s&&(e=Me(s,o(i))),{c(){e&&ue(e.$$.fragment),t=Ye()},m(u,c){e&&de(e,u,c),Y(u,t,c),n=!0},p(u,c){if(c[0]&134217728&&s!==(s=u[27])){if(e){fe();const a=e;V(a.$$.fragment,1,0,()=>{me(a,1)}),_e()}s?(e=Me(s,o(u)),ue(e.$$.fragment),F(e.$$.fragment,1),de(e,t.parentNode,t)):e=null}else if(s){const a={};c[0]&1024&&(a.app=u[10]),c[0]&1&&(a.root=u[0]),e.$set(a)}},i(u){n||(e&&F(e.$$.fragment,u),n=!0)},o(u){e&&V(e.$$.fragment,u),n=!1},d(u){u&&Z(t),e&&me(e,u)}}}function Qo(i){let e,t,n,s,o,u,c,a,l,f,m,_,p,C=i[7]&&vn(i),g=i[15]&&kn(i),w=i[17]&&i[10].config&&En(i),E=i[6]&&Cn(i),A=i[21]&&i[25]&&zn(i),h=i[19]&&i[17]&&i[24]&&Mn(i),L=i[20]&&i[17]&&i[10].config&&i[26]&&yn(i),M=i[29]&&Ln(i),P=i[16]&&i[27]&&Rn(i);return{c(){C&&C.c(),e=Ye(),g&&g.c(),t=Ye(),n=K(),s=J("div"),o=J("div"),w&&w.c(),u=K(),E&&E.c(),c=K(),A&&A.c(),a=K(),h&&h.c(),l=K(),L&&L.c(),f=K(),M&&M.c(),m=K(),P&&P.c(),_=Ye(),R(o,"class","contain svelte-czcr5b"),Be(o,"flex-grow",i[8]?"1":"auto"),Be(o,"margin-right",i[16]?`${i[18]}px`:"0"),R(s,"class","wrap svelte-czcr5b"),Be(s,"min-height",i[8]?"100%":"auto")},m(d,y){C&&C.m(document.head,null),I(document.head,e),g&&g.m(document.head,null),I(document.head,t),Y(d,n,y),Y(d,s,y),I(s,o),w&&w.m(o,null),i[60](o),I(s,u),E&&E.m(s,null),Y(d,c,y),A&&A.m(d,y),Y(d,a,y),h&&h.m(d,y),Y(d,l,y),L&&L.m(d,y),Y(d,f,y),M&&M.m(d,y),Y(d,m,y),P&&P.m(d,y),Y(d,_,y),p=!0},p(d,y){d[7]?C||(C=vn(d),C.c(),C.m(e.parentNode,e)):C&&(C.d(1),C=null),d[15]?g?g.p(d,y):(g=kn(d),g.c(),g.m(t.parentNode,t)):g&&(g.d(1),g=null),d[17]&&d[10].config?w?(w.p(d,y),y[0]&132096&&F(w,1)):(w=En(d),w.c(),F(w,1),w.m(o,null)):w&&(fe(),V(w,1,1,()=>{w=null}),_e()),y[0]&256&&Be(o,"flex-grow",d[8]?"1":"auto"),y[0]&327680&&Be(o,"margin-right",d[16]?`${d[18]}px`:"0"),d[6]?E?E.p(d,y):(E=Cn(d),E.c(),E.m(s,null)):E&&(E.d(1),E=null),y[0]&256&&Be(s,"min-height",d[8]?"100%":"auto"),d[21]&&d[25]?A?(A.p(d,y),y[0]&35651584&&F(A,1)):(A=zn(d),A.c(),F(A,1),A.m(a.parentNode,a)):A&&(fe(),V(A,1,1,()=>{A=null}),_e()),d[19]&&d[17]&&d[24]?h?(h.p(d,y),y[0]&17432576&&F(h,1)):(h=Mn(d),h.c(),F(h,1),h.m(l.parentNode,l)):h&&(fe(),V(h,1,1,()=>{h=null}),_e()),d[20]&&d[17]&&d[10].config&&d[26]?L?(L.p(d,y),y[0]&68289536&&F(L,1)):(L=yn(d),L.c(),F(L,1),L.m(f.parentNode,f)):L&&(fe(),V(L,1,1,()=>{L=null}),_e()),d[29]?M?(M.p(d,y),y[0]&536870912&&F(M,1)):(M=Ln(d),M.c(),F(M,1),M.m(m.parentNode,m)):M&&(fe(),V(M,1,1,()=>{M=null}),_e()),d[16]&&d[27]?P?(P.p(d,y),y[0]&134283264&&F(P,1)):(P=Rn(d),P.c(),F(P,1),P.m(_.parentNode,_)):P&&(fe(),V(P,1,1,()=>{P=null}),_e())},i(d){p||(F(w),F(A),F(h),F(L),F(M),F(P),p=!0)},o(d){V(w),V(A),V(h),V(L),V(M),V(P),p=!1},d(d){d&&(Z(n),Z(s),Z(c),Z(a),Z(l),Z(f),Z(m),Z(_)),C&&C.d(d),Z(e),g&&g.d(d),Z(t),w&&w.d(),i[60](null),E&&E.d(),A&&A.d(d),h&&h.d(d),L&&L.d(d),M&&M.d(d),P&&P.d(d)}}}const Yo=/^'([^]+)'$/,At="Connection to the server was lost. Attempting reconnection...",Ko="Reconnected to server, but the server has changed. You may need to <a href=''>refresh the page</a>.",Xo="Connection re-established.",$o="Session not found - this is likely because the machine you were connected to has changed. <a href=''>Refresh the page</a> to continue.",xo=15,es=10;function Nn(i){return"detail"in i}function ts(i,e,t){let n,s,o,u,c,a;Fe(i,Mi,r=>t(33,c=r));let{root:l}=e,{components:f}=e,{layout:m}=e,{dependencies:_}=e,{title:p="Gradio"}=e,{target:C}=e,{autoscroll:g}=e,{show_api:w=!0}=e,{show_footer:E=!0}=e,{control_page_title:A=!1}=e,{app_mode:h}=e,{theme_mode:L}=e,{app:M}=e,{space_id:P}=e,{version:d}=e,{js:y}=e,{fill_height:z=!1}=e,{ready:ne}=e,{username:x}=e,{api_prefix:he=""}=e,{max_file_size:re=void 0}=e,{initial_layout:ke=void 0}=e,{css:Ee=null}=e,{vibe_mode:le=!1}=e,U=!1,{layout:Q,targets:ee,update_value:ye,get_data:Bt,modify_stream:wt,get_stream_state:jt,set_time_limit:Un,loading_status:Le,scheduled_updates:vt,create_layout:Wn,rerender_layout:Vn,value_change:Hn}=yi({initial_layout:ke});Fe(i,Q,r=>t(17,a=r)),Fe(i,ee,r=>t(81,o=r)),Fe(i,Le,r=>t(59,s=r)),Fe(i,vt,r=>t(82,u=r));let kt=_,Gt=350;async function Zn(){await Ri(M.config?.i18n_translations||void 0),t(58,rt=!0),await Wn({components:f,layout:m,dependencies:_,root:l+he,app:M,options:{fill_height:z}}),t(58,rt=!1)}let{search_params:Ge}=e,xe=Ge.get("view")==="api"&&w,qe=Ge.get("view")==="settings",Re=Ge.get("view")==="api-recorder"&&w,et=!0,Ue=!0,tt=null,Ie=null,Et=null,Ct=null;async function nt(){if(!tt||!Ie){const r=await De(()=>import("./ApiDocs-DR5fBl-S.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),v=await De(()=>import("./ApiRecorder-B5rk92WT.js"),__vite__mapDeps([20,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,21]),import.meta.url);tt||t(24,tt=r.default),Ie||t(25,Ie=v.default)}}async function St(){if(!Ie){const r=await De(()=>import("./ApiRecorder-B5rk92WT.js"),__vite__mapDeps([20,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,21]),import.meta.url);t(25,Ie=r.default)}}async function it(){if(!Et){const r=await De(()=>import("./Settings-DfpxZR-V.js"),__vite__mapDeps([22,8,3,4,9,1,23,10,11,12,13,14,17,18,24,25,26,27,28,29]),import.meta.url);t(26,Et=r.default)}}async function Jn(){if(!Ct){const r=await De(()=>import("./Index-4V1RXY5w.js"),__vite__mapDeps([30,3,4,31,8,9,10,11,12,13,14,17,18,32,33,34,35,36,25,37,38]),import.meta.url);t(27,Ct=r.default)}}async function We(r){t(21,Re=!1),r&&await nt(),t(19,xe=r);let v=new URLSearchParams(window.location.search);r?v.set("view","api"):v.delete("view"),history.replaceState(null,"","?"+v.toString())}async function ot(r){r&&await it();let v=new URLSearchParams(window.location.search);r?v.set("view","settings"):v.delete("view"),history.replaceState(null,"","?"+v.toString()),t(20,qe=!qe)}let st=[],rt=!1,{render_complete:Ve=!1}=e;async function zt(r,v){const k=_.find(G=>G.id===v),B=f.find(G=>G.id===k?.inputs[0])?.type;if(et&&k&&B!=="dataset"&&(k&&k.inputs&&k.inputs.length>0&&n&&gn(!0,k.inputs,1),k&&k.outputs&&k.outputs.length>0&&n&&gn(!1,k.outputs,2)),!k)return;const b=k.outputs,D=r?.map((G,oe)=>({id:b[oe],prop:"value_is_output",value:!0}));ye(D),await _t();const W=[];r?.forEach((G,oe)=>{if(typeof G=="object"&&G!==null&&G.__type__==="update")for(const[se,S]of Object.entries(G))se!=="__type__"&&W.push({id:b[oe],prop:se,value:S});else W.push({id:b[oe],prop:"value",value:G})}),ye(W),W.forEach(G=>{const oe=f.find(se=>se.id===G.id);oe&&oe.type==="navbar"&&De(async()=>{const{navbar_config:se}=await import("./init-BXnIR-ED.js").then(S=>S.G);return{navbar_config:se}},__vite__mapDeps([8,3,4,9]),import.meta.url).then(({navbar_config:se})=>{se.update(S=>({...S,[G.prop]:G.value}))})}),await _t()}let ge=new Map,T=[];function ie(r,v,k,B,b=10,D=!0){return{title:r,message:v,fn_index:k,type:B,id:++Qn,duration:b,visible:D}}function Mt(r,v,k){t(29,T=[ie(r,v,-1,k),...T])}let Qn=-1;const Yn=c("blocks.long_requests_queue"),Kn=c("blocks.connection_can_break"),Xn=c("blocks.waiting_for_inputs");let qt=!1,Ut=!1,Wt=!1,He=[];function Ne(r,v=null,k=null){let B=()=>{};function b(){B()}u?B=vt.subscribe(D=>{D||_t().then(()=>{Vt(r,v,k),b()})}):Vt(r,v,k)}async function $n(r,v,k){return r===v&&k&&k.is_value_data===!0?k.value:Bt(r)}async function Vt(r,v=null,k=null){const B=_.find(S=>S.id===r);if(B===void 0)return;const b=B;if(He.length>0){for(const S of He)if(b.inputs.includes(S)){Mt("Warning",Xn,"warning");return}}const D=Le.get_status_for_fn(r);t(29,T=T.filter(({fn_index:S})=>S!==r)),(D==="pending"||D==="generating")&&(b.pending_request=!0);let W={fn_index:r,data:await Promise.all(b.inputs.map(S=>$n(S,v,k))),event_data:b.collects_event_data?k:null,trigger_id:v};b.frontend_fn&&typeof b.frontend_fn!="boolean"?b.frontend_fn(W.data.concat(await Promise.all(b.outputs.map(S=>Bt(S))))).then(S=>{b.backend_fn?(W.data=S,G(b,W)):zt(S,r)}):b.types.cancel&&b.cancels?await Promise.all(b.cancels.map(async S=>{const H=ge.get(S);return H?.cancel(),H})):b.backend_fn&&(b.js_implementation&&new Qt(`let result = await (${b.js_implementation})(...arguments);
3						return (!Array.isArray(result)) ? [result] : result;`)(...W.data).then(H=>{zt(H,r),W.js_implementation=!0}).catch(H=>{console.error(H),W.js_implementation=!1}),G(b,W));function G(S,H){S.trigger_mode==="once"?S.pending_request||se(H,S.connection=="stream"):S.trigger_mode==="multiple"?se(H,S.connection=="stream"):S.trigger_mode==="always_last"&&(S.pending_request?S.final_event=H:se(H,S.connection=="stream"))}async function oe(){const S=await M.reconnect();S==="broken"?setTimeout(oe,1e3):S==="changed"?(U=!1,t(29,T=[ie("Changed Connection",Ko,-1,"info",3,!0),...T.map(H=>H.message===At?{...H,visible:!1}:H)])):S==="connected"&&(U=!1,t(29,T=[ie("Reconnected",Xo,-1,"success",null,!0),...T.map(H=>H.message===At?{...H,visible:!1}:H)]))}async function se(S,H=!1){Ue&&To(),Re&&t(28,st=[...st,JSON.parse(JSON.stringify(S))]);let Rt;if(M.set_current_payload(S),H)if(!ge.has(r))b.inputs.forEach(N=>wt(N,"waiting"));else{if(ge.has(r)&&b.inputs.some(N=>jt(N)==="waiting"))return;if(ge.has(r)&&b.inputs.some(N=>jt(N)==="open")){await M.send_ws_message(`${M.config.root+M.config.api_prefix}/stream/${ge.get(r).event_id()}`,{...S,session_hash:M.session_hash});return}}try{Rt=M.submit(S.fn_index,S.data,S.event_data,S.trigger_id)}catch(N){if(M.closed)return;t(29,T=[ie("Error",String(N),0,"error"),...T]),Le.update({status:"error",fn_index:0,eta:0,queue:!1,queue_position:null}),Ze(s);return}ge.set(r,Rt);for await(const N of Rt){if(S.js_implementation)return;N.type==="data"?wi(N):N.type==="render"?vi(N):N.type==="status"?Ci(N):N.type==="log"&&ki(N)}function wi(N){const{data:X,fn_index:O}=N;b.pending_request&&b.final_event&&(b.pending_request=!1,se(b.final_event,b.connection=="stream")),b.pending_request=!1,zt(X,O),Ze(s)}function vi(N){const{data:X}=N;let O=X.components,j=X.layout,$=X.dependencies,te=X.render_id,ae=[];_.forEach((pe,Nt)=>{pe.rendered_in===b.render_id&&ae.push(Nt)}),ae.reverse().forEach(pe=>{_.splice(pe,1)}),$.forEach(pe=>{_.push(pe)}),Vn({components:O,layout:j,root:l+he,dependencies:_,render_id:te}),$.forEach(pe=>{pe.targets.some(Nt=>Nt[1]==="load")&&Ne(pe.id)})}function ki(N){const{title:X,log:O,fn_index:j,level:$,duration:te,visible:ae}=N;t(29,T=[ie(X,O,j,$,te,ae),...T])}function Ei(N,X,O){N.original_msg==="process_starts"&&O.connection==="stream"&&wt(X,"open")}function Ci(N){if(N.code==="validation_error"){const j=_.find(te=>te.id===N.fn_index);if(j===void 0||N.message===void 0||typeof N.message=="string")return;const $=[];if(N.message.forEach((te,ae)=>{te.is_valid||($.push({id:j.inputs[ae],prop:"validation_error",value:te.message}),$.push({id:j.inputs[ae],prop:"loading_status",value:{validation_error:te.message}}))}),$.length>0){ye($),Le.update({status:"complete",fn_index:N.fn_index,eta:0,queue:!1,queue_position:null}),Ze(s);return}}N.broken&&!U&&(t(29,T=[ie("Broken Connection",At,-1,"error",null,!0),...T]),U=!0,setTimeout(oe,1e3)),N.session_not_found&&t(29,T=[ie("Session Not Found",$o,-1,"error",null,!0),...T]);const{fn_index:X,...O}=N;if(O.stage==="streaming"&&O.time_limit&&b.inputs.forEach(j=>{Un(j,O.time_limit)}),b.inputs.forEach(j=>{Ei(N,j,b)}),Le.update({...O,time_limit:O.time_limit,status:O.stage,progress:O.progress_data,fn_index:X}),Ze(s),!Ut&&P!==null&&O.position!==void 0&&O.position>=2&&O.eta!==void 0&&O.eta>xo&&(Ut=!0,t(29,T=[ie("Warning",Yn,X,"warning"),...T])),!Wt&&qt&&O.eta!==void 0&&O.eta>es&&(Wt=!0,t(29,T=[ie("Warning",Kn,X,"warning"),...T])),O.stage==="complete"||O.stage==="generating"){const j=new Set;O.changed_state_ids?.forEach($=>{_.filter(te=>te.targets.some(([ae,pe])=>ae===$)).forEach(te=>{j.add(te)})}),j.forEach($=>{Ne($.id,S.trigger_id)})}if(O.stage==="complete"&&(_.forEach(async j=>{j.trigger_after===X&&!j.trigger_only_on_failure&&Ne(j.id,S.trigger_id)}),b.inputs.forEach(j=>{wt(j,"closed")}),ge.delete(r)),O.stage==="error"&&!U&&!N.session_not_found){if(O.message&&typeof O.message=="string"){const j=O.message.replace(Yo,(te,ae)=>ae),$=O.title??"Error";t(29,T=[ie($,j,X,"error",O.duration,O.visible),...T])}_.map(async j=>{j.trigger_after===X&&(!j.trigger_only_on_success||j.trigger_only_on_failure)&&Ne(j.id,S.trigger_id)})}}Ue&&Io()}}function xn(r,v){if(P===null)return;const k=new URL(`https://huggingface.co/spaces/${P}/discussions/new`);r!==void 0&&r.length>0&&k.searchParams.set("title",r),k.searchParams.set("description",v),window.open(k.toString(),"_blank")}function ei(r){const v=r.detail;t(29,T=T.filter(k=>k.id!==v))}const ti=r=>!!(r&&new URL(r,location.href).origin!==location.origin);async function ni(){y&&await new Qt(`let result = await (${y})();
4					return (!Array.isArray(result)) ? [result] : result;`)(),await _t();for(var r=C.getElementsByTagName("a"),v=0;v<r.length;v++){const k=r[v].getAttribute("target"),B=r[v].getAttribute("href");ti(B)&&k!=="_blank"&&r[v].setAttribute("target","_blank")}Ht(),!(!C||Ve)&&(C.addEventListener("prop_change",k=>{if(!Nn(k))throw new Error("not a custom event");const{id:B,prop:b,value:D}=k.detail;b==="value"&&ye([{id:B,prop:"loading_status",value:{validation_error:void 0}}]),ye([{id:B,prop:b,value:D}]),b==="input_ready"&&D===!1&&He.push(B),b==="input_ready"&&D===!0&&(He=He.filter(W=>W!==B))}),C.addEventListener("gradio",k=>{if(!Nn(k))throw new Error("not a custom event");const{id:B,event:b,data:D}=k.detail;if(b==="share"){const{title:W,description:G}=D;xn(W,G)}else b==="error"?t(29,T=[ie("Error",D,-1,b),...T]):b==="warning"?t(29,T=[ie("Warning",D,-1,b),...T]):b==="info"?t(29,T=[ie("Info",D,-1,b),...T]):b=="clear_status"?ii(B,"complete",D):b=="close_stream"?o[B]?.[D]?.forEach(G=>{if(ge.has(G)){const oe=`${M.config.root+M.config.api_prefix}/stream/${ge.get(G).event_id()}`;M.post_data(`${oe}/close`,{}),M.close_ws(oe)}}):o[B]?.[b]?.forEach(G=>{requestAnimationFrame(()=>{Ne(G,B,D)})})}),t(47,Ve=!0))}Hn((r,v)=>{o[r]?.change?.forEach(B=>{requestAnimationFrame(()=>{Ne(B,r,v)})})});const Ht=()=>{_.forEach(r=>{r.targets.some(v=>v[1]==="load")&&Ne(r.id)})};function ii(r,v,k){k.status=v,ye([{id:r,prop:"loading_status",value:k}])}function Ze(r){let v=[];Object.entries(r).forEach(([b,D])=>{if(M.closed&&D.status==="error")return;let W=_.find(G=>G.id==D.fn_index);W!==void 0&&(D.scroll_to_output=W.scroll_to_output,D.show_progress=W.show_progress,v.push({id:parseInt(b),prop:"loading_status",value:D}))});const k=Le.get_inputs_to_update(),B=Array.from(k).map(([b,D])=>({id:b,prop:"pending",value:D==="pending"}));ye([...v,...B])}let yt=Li(!1);Fe(i,yt,r=>t(32,n=r)),wn(()=>{qt=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),No(l,(v,k,B)=>{Mt(v,k,B)},v=>{Ho(yt,n=v,n)});const r=v=>{t(18,Gt=v.detail.width)};window.addEventListener("vibeEditorResize",r),xe&&nt(),Re&&St(),qe&&it(),le&&Jn()});function Lt(){n?Ao():Oo()}let lt=0,Pe;function Zt(){if("parentIFrame"in window){const r=Pe.children[0].getBoundingClientRect();if(!r)return;window.parentIFrame?.size(r.bottom+lt+32)}}wn(()=>{"parentIFrame"in window&&window.parentIFrame?.autoResize(!1);const r=new MutationObserver(Zt),v=new ResizeObserver(Zt);return r.observe(Pe,{childList:!0,subtree:!0,attributes:!0}),v.observe(Pe),()=>{r.disconnect(),v.disconnect()}});function oi(r){Je[r?"unshift":"push"](()=>{Pe=r,t(31,Pe)})}const si=()=>{We(!xe)},ri=()=>{nt(),St()},li=()=>{Lt()},ai=()=>{ot(!qe)},ci=()=>{it()};function _i(){lt=this.clientHeight,t(30,lt)}const fi=()=>{We(!0),t(21,Re=!1)},ui=()=>{We(!1)},mi=r=>{We(!1),t(28,st=[]),t(21,Re=t(21,Re=r.detail?.api_recorder_visible))},di=()=>{ot(!1)};function hi(r){et=r,t(22,et)}function gi(r){Ue=r,t(23,Ue)}const pi=()=>{ot(!1)},bi=()=>{Lt()};return i.$$set=r=>{"root"in r&&t(0,l=r.root),"components"in r&&t(49,f=r.components),"layout"in r&&t(50,m=r.layout),"depen
4dencies"in r&&t(1,_=r.dependencies),"title"in r&&t(2,p=r.title),"target"in r&&t(3,C=r.target),"autoscroll"in r&&t(4,g=r.autoscroll),"show_api"in r&&t(5,w=r.show_api),"show_footer"in r&&t(6,E=r.show_footer),"control_page_title"in r&&t(7,A=r.control_page_title),"app_mode"in r&&t(8,h=r.app_mode),"theme_mode"in r&&t(9,L=r.theme_mode),"app"in r&&t(10,M=r.app),"space_id"in r&&t(11,P=r.space_id),"version"in r&&t(12,d=r.version),"js"in r&&t(51,y=r.js),"fill_height"in r&&t(52,z=r.fill_height),"ready"in r&&t(48,ne=r.ready),"username"in r&&t(13,x=r.username),"api_prefix"in r&&t(53,he=r.api_prefix),"max_file_size"in r&&t(14,re=r.max_file_size),"initial_layout"in r&&t(54,ke=r.initial_layout),"css"in r&&t(15,Ee=r.css),"vibe_mode"in r&&t(16,le=r.vibe_mode),"search_params"in r&&t(55,Ge=r.search_params),"render_complete"in r&&t(47,Ve=r.render_complete)},i.$$.update=()=>{i.$$.dirty[0]&1035|i.$$.dirty[1]&2883584&&Zn(),i.$$.dirty[0]&131072&&t(48,ne=!!a),i.$$.dirty[0]&2|i.$$.dirty[1]&201392128&&_!==kt&&Ve&&!rt&&(Ht(),t(57,kt=_)),i.$$.dirty[1]&268435456&&Ze(s)},[l,_,p,C,g,w,E,A,h,L,M,P,d,x,re,Ee,le,a,Gt,xe,qe,Re,et,Ue,tt,Ie,Et,Ct,st,T,lt,Pe,n,c,Q,ee,Le,vt,nt,St,it,We,ot,ei,ni,yt,Lt,Ve,ne,f,m,y,z,he,ke,Ge,Mt,kt,rt,s,oi,si,ri,li,ai,ci,_i,fi,ui,mi,di,hi,gi,pi,bi]}class ns extends Go{constructor(e){super(),Wo(this,e,ts,Qo,Vo,{root:0,components:49,layout:50,dependencies:1,title:2,target:3,autoscroll:4,show_api:5,show_footer:6,control_page_title:7,app_mode:8,theme_mode:9,app:10,space_id:11,version:12,js:51,fill_height:52,ready:48,username:13,api_prefix:53,max_file_size:14,initial_layout:54,css:15,vibe_mode:16,search_params:55,render_complete:47,add_new_message:56},null,[-1,-1,-1,-1])}get root(){return this.$$.ctx[0]}set root(e){this.$$set({root:e}),q()}get components(){return this.$$.ctx[49]}set components(e){this.$$set({components:e}),q()}get layout(){return this.$$.ctx[50]}set layout(e){this.$$set({layout:e}),q()}get dependencies(){return this.$$.ctx[1]}set dependencies(e){this.$$set({dependencies:e}),q()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),q()}get target(){return this.$$.ctx[3]}set target(e){this.$$set({target:e}),q()}get autoscroll(){return this.$$.ctx[4]}set autoscroll(e){this.$$set({autoscroll:e}),q()}get show_api(){return this.$$.ctx[5]}set show_api(e){this.$$set({show_api:e}),q()}get show_footer(){return this.$$.ctx[6]}set show_footer(e){this.$$set({show_footer:e}),q()}get control_page_title(){return this.$$.ctx[7]}set control_page_title(e){this.$$set({control_page_title:e}),q()}get app_mode(){return this.$$.ctx[8]}set app_mode(e){this.$$set({app_mode:e}),q()}get theme_mode(){return this.$$.ctx[9]}set theme_mode(e){this.$$set({theme_mode:e}),q()}get app(){return this.$$.ctx[10]}set app(e){this.$$set({app:e}),q()}get space_id(){return this.$$.ctx[11]}set space_id(e){this.$$set({space_id:e}),q()}get version(){return this.$$.ctx[12]}set version(e){this.$$set({version:e}),q()}get js(){return this.$$.ctx[51]}set js(e){this.$$set({js:e}),q()}get fill_height(){return this.$$.ctx[52]}set fill_height(e){this.$$set({fill_height:e}),q()}get ready(){return this.$$.ctx[48]}set ready(e){this.$$set({ready:e}),q()}get username(){return this.$$.ctx[13]}set username(e){this.$$set({username:e}),q()}get api_prefix(){return this.$$.ctx[53]}set api_prefix(e){this.$$set({api_prefix:e}),q()}get max_file_size(){return this.$$.ctx[14]}set max_file_size(e){this.$$set({max_file_size:e}),q()}get initial_layout(){return this.$$.ctx[54]}set initial_layout(e){this.$$set({initial_layout:e}),q()}get css(){return this.$$.ctx[15]}set css(e){this.$$set({css:e}),q()}get vibe_mode(){return this.$$.ctx[16]}set vibe_mode(e){this.$$set({vibe_mode:e}),q()}get search_params(){return this.$$.ctx[55]}set search_params(e){this.$$set({search_params:e}),q()}get render_complete(){return this.$$.ctx[47]}set render_complete(e){this.$$set({render_complete:e}),q()}get add_new_message(){return this.$$.ctx[56]}}const ls=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"}));export{ls as B,yo as a,Lo as s};
5//# sourceMappingURL=Blocks-75KIb2my.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.