PageSourceSearch

https://ser432432423-autoprint-crop.hf.space/assets/Plot-BORco9Zp.js

js ser432432423-autoprint-crop.hf.space collected 2026-10-03 17:22:47 UTC 6,812 bytes, 3 lines download raw bytes

vendor: 6,738 bytes, lines 1-2
1const __vite__fileDeps=["./PlotlyPlot-CqATyNV_.js","./index-Dj1xzGVg.js","./index-Bmd1Nf3q.css","./_commonjs-dynamic-modules-TDtrdbi3.js","./BokehPlot-CHWxUyLl.js","./BokehPlot-Cd-I2ErV.css","./AltairPlot-CCwDpKE5.js","./IconButtonWrapper.svelte_svelte_type_style_lang-DAP8_Zsr.js","./IconButtonWrapper-6oLg_adW.css","./color-CYbnDTua.js","./vega-embed.module-DDhIXEjB.js","./dsv-DB8NKgIY.js","./AltairPlot-CSe9xcFj.css","./MatplotlibPlot-CgZqwhB9.js","./MatplotlibPlot-AF_QcUtc.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2import{_ as k}from"./index-Dj1xzGVg.js";import"./IconButtonWrapper.svelte_svelte_type_style_lang-DAP8_Zsr.js";import"./MarkdownCode.svelte_svelte_type_style_lang-CRfeLYV9.js";import{E as Z}from"./Empty-CMV1fpYf.js";const{SvelteComponent:F,append:d,attr:s,detach:G,init:J,insert:K,noop:E,safe_not_equal:Q,svg_element:b}=window.__gradio__svelte__internal;function U(u){let e,o,l,n,_,t,c;return{c(){e=b("svg"),o=b("circle"),l=b("circle"),n=b("circle"),_=b("circle"),t=b("circle"),c=b("path"),s(o,"cx","20"),s(o,"cy","4"),s(o,"r","2"),s(o,"fill","currentColor"),s(l,"cx","8"),s(l,"cy","16"),s(l,"r","2"),s(l,"fill","currentColor"),s(n,"cx","28"),s(n,"cy","12"),s(n,"r","2"),s(n,"fill","currentColor"),s(_,"cx","11"),s(_,"cy","7"),s(_,"r","2"),s(_,"fill","currentColor"),s(t,"cx","16"),s(t,"cy","24"),s(t,"r","2"),s(t,"fill","currentColor"),s(c,"fill","currentColor"),s(c,"d","M30 3.413L28.586 2L4 26.585V2H2v26a2 2 0 0 0 2 2h26v-2H5.413Z"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),s(e,"aria-hidden","true"),s(e,"role","img"),s(e,"class","iconify iconify--carbon"),s(e,"width","100%"),s(e,"height","100%"),s(e,"preserveAspectRatio","xMidYMid meet"),s(e,"viewBox","0 0 32 32")},m(i,a){K(i,e,a),d(e,o),d(e,l),d(e,n),d(e,_),d(e,t),d(e,c)},p:E,i:E,o:E,d(i){i&&G(e)}}}let W=class extends F{constructor(e){super(),J(this,e,null,U,Q,{})}};const{SvelteComponent:X,bubble:I,check_outros:T,construct_svelte_component:q,create_component:v,destroy_component:y,detach:L,empty:M,flush:f,group_outros:O,init:$,insert:A,mount_component:P,noop:ee,safe_not_equal:j,transition_in:m,transition_out:h}=window.__gradio__svelte__internal;function te(u){let e,o;return e=new Z({props:{unpadded_box:!0,size:"large",$$slots:{default:[le]},$$scope:{ctx:u}}}),{c(){v(e.$$.fragment)},m(l,n){P(e,l,n),o=!0},p(l,n){const _={};n&524288&&(_.$$scope={dirty:n,ctx:l}),e.$set(_)},i(l){o||(m(e.$$.fragment,l),o=!0)},o(l){h(e.$$.fragment,l),o=!1},d(l){y(e,l)}}}function oe(u){let e=u[11],o,l,n=N(u);return{c(){n.c(),o=M()},m(_,t){n.m(_,t),A(_,o,t),l=!0},p(_,t){t&2048&&j(e,e=_[11])?(O(),h(n,1,1,ee),T(),n=N(_),n.c(),m(n,1),n.m(o.parentNode,o)):n.p(_,t)},i(_){l||(m(n),l=!0)},o(_){h(n),l=!1},d(_){_&&L(o),n.d(_)}}}function le(u){let e,o;return e=new W({}),{c(){v(e.$$.fragment)},m(l,n){P(e,l,n),o=!0},i(l){o||(m(e.$$.fragment,l),o=!0)},o(l){h(e.$$.fragment,l),o=!1},d(l){y(e,l)}}}function N(u){let e,o,l;var n=u[10];function _(t,c){return{props:{value:t[0],colors:t[1],theme_mode:t[3],show_label:t[2],caption:t[4],bokeh_version:t[5],show_actions_button:t[6],gradio:t[7],_selectable:t[9],x_lim:t[8]}}}return n&&(e=q(n,_(u)),e.$on("load",u[15]),e.$on("select",u[16])),{c(){e&&v(e.$$.fragment),o=M()},m(t,c){e&&P(e,t,c),A(t,o,c),l=!0},p(t,c){if(c&1024&&n!==(n=t[10])){if(e){O();const i=e;h(i.$$.fragment,1,0,()=>{y(i,1)}),T()}n?(e=q(n,_(t)),e.$on("load",t[15]),e.$on("select",t[16]),v(e.$$.fragment),m(e.$$.fragment,1),P(e,o.parentNode,o)):e=null}else if(n){const i={};c&1&&(i.value=t[0]),c&2&&(i.colors=t[1]),c&8&&(i.theme_mode=t[3]),c&4&&(i.show_label=t[2]),c&16&&(i.caption=t[4]),c&32&&(i.bokeh_version=t[5]),c&64&&(i.show_actions_button=t[6]),c&128&&(i.gradio=t[7]),c&512&&(i._selectable=t[9]),c&256&&(i.x_lim=t[8]),e.$set(i)}},i(t){l||(e&&m(e.$$.fragment,t),l=!0)},o(t){e&&h(e.$$.fragment,t),l=!1},d(t){t&&L(o),e&&y(e,t)}}}function ne(u){let e,o,l,n;const _=[oe,te],t=[];function c(i,a){return i[0]&&i[10]?0:1}return e=c(u),o=t[e]=_[e](u),{c(){o.c(),l=M()},m(i,a){t[e].m(i,a),A(i,l,a),n=!0},p(i,[a]){let g=e;e=c(i),e===g?t[e].p(i,a):(O(),h(t[g],1,1,()=>{t[g]=null}),T(),o=t[e],o?o.p(i,a):(o=t[e]=_[e](i),o.c()),m(o,1),o.m(l.parentNode,l))},i(i){n||(m(o),n=!0)},o(i){h(o),n=!1},d(i){i&&L(l),t[e].d(i)}}}function ie(u,e,o){let{value:l}=e,n,{colors:_=[]}=e,{show_label:t}=e,{theme_mode:c}=e,{caption:i}=e,{bokeh_version:a}=e,{show_actions_button:g}=e,{gradio:R}=e,{x_lim:S=null}=e,{_selectable:V}=e,w=null,C=l?.type;const x={plotly:()=>k(()=>import("./PlotlyPlot-CqATyNV_.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),bokeh:()=>k(()=>import("./BokehPlot-CHWxUyLl.js"),__vite__mapDeps([4,5]),import.meta.url),altair:()=>k(()=>import("./AltairPlot-CCwDpKE5.js"),__vite__mapDeps([6,7,8,9,10,1,2,11,12]),import.meta.url),matplotlib:()=>k(()=>import("./MatplotlibPlot-CgZqwhB9.js"),__vite__mapDeps([13,14]),import.meta.url)};let p={};const z=typeof window<"u";let D=0;function H(r){I.call(this,u,r)}function B(r){I.call(this,u,r)}return u.$$set=r=>{"value"in r&&o(0,l=r.value),"colors"in r&&o(1,_=r.colors),"show_label"in r&&o(2,t=r.show_label),"theme_mode"in r&&o(3,c=r.theme_mode),"caption"in r&&o(4,i=r.caption),"bokeh_version"in r&&o(5,a=r.bokeh_version),"show_actions_button"in r&&o(6,g=r.show_actions_button),"gradio"in r&&o(7,R=r.gradio),"x_lim"in r&&o(8,S=r.x_lim),"_selectable"in r&&o(9,V=r._selectable)},u.$$.update=()=>{if(u.$$.dirty&31745&&l!==n){o(11,D+=1);let r=l?.type;r!==C&&o(10,w=null),r&&r in x&&z&&(p[r]?o(10,w=p[r]):x[r]().then(Y=>{o(10,w=Y.default),o(14,p[r]=w,p)})),o(12,n=l),o(13,C=r)}},[l,_,t,c,i,a,g,R,S,V,w,D,n,C,p,H,B]}class re extends X{constructor(e){super(),$(this,e,ie,ne,j,{value:0,colors:1,show_label:2,theme_mode:3,caption:4,bokeh_version:5,show_actions_button:6,gradio:7,x_lim:8,_selectable:9})}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),f()}get colors(){return this.$$.ctx[1]}set colors(e){this.$$set({colors:e}),f()}get show_label(){return this.$$.ctx[2]}set show_label(e){this.$$set({show_label:e}),f()}get theme_mode(){return this.$$.ctx[3]}set theme_mode(e){this.$$set({theme_mode:e}),f()}get caption(){return this.$$.ctx[4]}set caption(e){this.$$set({caption:e}),f()}get bokeh_version(){return this.$$.ctx[5]}set bokeh_version(e){this.$$set({bokeh_version:e}),f()}get show_actions_button(){return this.$$.ctx[6]}set show_actions_button(e){this.$$set({show_actions_button:e}),f()}get gradio(){return this.$$.ctx[7]}set gradio(e){this.$$set({gradio:e}),f()}get x_lim(){return this.$$.ctx[8]}set x_lim(e){this.$$set({x_lim:e}),f()}get _selectable(){return this.$$.ctx[9]}set _selectable(e){this.$$set({_selectable:e}),f()}}const fe=Object.freeze(Object.defineProperty({__proto__:null,default:re},Symbol.toStringTag,{value:"Module"}));
2export{W as P,re as a,fe as b};
3//# sourceMappingURL=Plot-BORco9Zp.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.