U
    /e                     @  s   d Z ddlmZ ddlZeeZddlZddlm	Z	m
Z
 ddlmZmZ dZdd Ze Zed	Zed
ZedZedZedZedZedZedZedZedZedZedZedZedZdS )a   Provide Jinja2 templates used by Bokeh to embed Bokeh documents and
models in various ways.

.. bokeh-jinja:: bokeh.core.templates.AUTOLOAD_JS
.. bokeh-jinja:: bokeh.core.templates.AUTOLOAD_NB_JS
.. bokeh-jinja:: bokeh.core.templates.AUTOLOAD_REQUEST_TAG
.. bokeh-jinja:: bokeh.core.templates.AUTOLOAD_TAG
.. bokeh-jinja:: bokeh.core.templates.CSS_RESOURCES
.. bokeh-jinja:: bokeh.core.templates.DOC_JS
.. bokeh-jinja:: bokeh.core.templates.DOC_NB_JS
.. bokeh-jinja:: bokeh.core.templates.FILE
.. bokeh-jinja:: bokeh.core.templates.JS_RESOURCES
.. bokeh-jinja:: bokeh.core.templates.NOTEBOOK_LOAD
.. bokeh-jinja:: bokeh.core.templates.PLOT_DIV
.. bokeh-jinja:: bokeh.core.templates.ROOT_DIV
.. bokeh-jinja:: bokeh.core.templates.SCRIPT_TAG

    )annotationsN)dirnamejoin)EnvironmentFileSystemLoader)AUTOLOAD_JSAUTOLOAD_NB_JSAUTOLOAD_REQUEST_TAGAUTOLOAD_TAGCSS_RESOURCESDOC_JS	DOC_NB_JSFILEget_envJS_RESOURCESMACROSNOTEBOOK_LOADPLOT_DIVROOT_DIV
SCRIPT_TAGc                  C  sH   t tddr(ttdr(ttjddd} ntttd} tt| dddS )	zB Get the correct Jinja2 Environment, also for frozen scripts.
    frozenF_MEIPASSZbokehcoreZ
_templatesT)loaderZtrim_blocksZlstrip_blocks)	getattrsyshasattrr   r   r   __file__r   r   )Ztemplates_path r   8/tmp/pip-unpacked-wheel-f5fndrjf/bokeh/core/templates.pyr   G   s    r   zjs_resources.htmlzcss_resources.htmlzscript_tag.htmlzplot_div.htmlzroot_div.htmlz	doc_js.jszdoc_nb_js.jsz	file.htmlzmacros.htmlznotebook_load.htmlzautoload_js.jszautoload_nb_js.jszautoload_tag.htmlzautoload_request_tag.html) __doc__
__future__r   logging	getLogger__name__logr   os.pathr   r   Zjinja2r   r   __all__r   Z_envZget_templater   r   r   r   r   r   r   r   r   r   r   r   r
   r	   r   r   r   r   <module>   s.   













