Ë
    {�hÁ  ã                   ó   — d Z d„ Zy)z%
Tools for matplotlib plot exporting
c            	      óÊ   — 	 ddl m} m} d}d}d}d}d}d	|›d
|›d|›d|›d�	}|j                  |«      }d|z   dz   }	   |	«      «       y# t        $ r t	        d«       Y ŒWw xY w)z¤Initialize the IPython notebook display elements

    This function borrows heavily from the excellent vincent package:
    http://github.com/wrobstory/vincent
    é    )ÚdisplayÚHTMLz%IPython Notebook could not be loaded.aç  
    if (window['d3'] === undefined) {{
        require.config({{ paths: {{d3: "http://d3js.org/d3.v3.min"}} }});
        require(["d3"], function(d3) {{
          window.d3 = d3;
          {0}
        }});
    }};
    if (window['topojson'] === undefined) {{
        require.config(
            {{ paths: {{topojson: "http://d3js.org/topojson.v1.min"}} }}
            );
        require(["topojson"], function(topojson) {{
          window.topojson = topojson;
        }});
    }};
    z+http://d3js.org/d3.geo.projection.v0.min.jsz6http://wrobstory.github.io/d3-cloud/d3.layout.cloud.jsz"http://d3js.org/topojson.v1.min.jsz'http://trifacta.github.com/vega/vega.jsz$.getScript("z%", function() {
        $.getScript("z)", function() {
            $.getScript("z-", function() {
                $.getScript("z�", function() {
                        $([IPython.events]).trigger("vega_loaded.vincent");
                })
            })
        })
    });z<script>z	</script>N)ÚIPython.core.displayr   r   ÚImportErrorÚprintÚformat)
r   r   Ú
require_jsÚd3_geo_projection_js_urlÚd3_layout_cloud_js_urlÚtopojson_js_urlÚvega_js_urlÚdep_libsÚload_jsÚhtmls
             úc/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/plotly/matplotlylib/mplexporter/tools.pyÚipynb_vega_initr      s‡   € ð7ß6ð€Jð"  MÐØXÐØ:€OØ;�Kò 	!ÚÚÚð€Hð ×Ñ Ó)€GØ˜Ñ +Ñ-€DÙ‰D�‹JÕøôS ò 7ÜÐ5Ö6ð7ús   ‚A ÁA"Á!A"N)Ú__doc__r   © ó    r   ú<module>r      s   ðñó
1r   