#!/usr/bin/env python




##################################################
## DEPENDENCIES
import sys
import os
import os.path
try:
    import builtins as builtin
except ImportError:
    import __builtin__ as builtin
from os.path import getmtime, exists
import time
import types
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
from Cheetah.Template import Template
from Cheetah.DummyTransaction import *
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
from Cheetah.CacheRegion import CacheRegion
import Cheetah.Filters as Filters
import Cheetah.ErrorCatchers as ErrorCatchers
from Plugins.Extensions.OpenWebif.controllers.i18n import tstrings
from Plugins.Extensions.OpenWebif.vtiaddon import showPicons, showPiconBackground

##################################################
## MODULE CONSTANTS
VFFSL=valueFromFrameOrSearchList
VFSL=valueFromSearchList
VFN=valueForName
currentTime=time.time
__CHEETAH_version__ = '2.4.4'
__CHEETAH_versionTuple__ = (2, 4, 4, 'development', 0)
__CHEETAH_genTime__ = 1644610943.924642
__CHEETAH_genTimestamp__ = 'Fri Feb 11 20:22:23 2022'
__CHEETAH_src__ = '/home/nonsolosat/openpli-dreambox-oe-core/build/tmp/work/dm7080-oe-linux/enigma2-plugin-extensions-openwebif/gitAUTOINC+81b15e17ab-r0/git/plugin/controllers/views/responsive/ajax/bqe.tmpl'
__CHEETAH_srcLastModified__ = 'Fri Feb 11 20:05:52 2022'
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'

if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
    raise AssertionError(
      'This template was compiled with Cheetah version'
      ' %s. Templates compiled before version %s must be recompiled.'%(
         __CHEETAH_version__, RequiredCheetahVersion))

##################################################
## CLASSES

class bqe(Template):

    ##################################################
    ## CHEETAH GENERATED METHODS


    def __init__(self, *args, **KWs):

        super(bqe, self).__init__(*args, **KWs)
        if not self._CHEETAH__instanceInitialized:
            cheetahKWArgs = {}
            allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
            for k,v in KWs.items():
                if k in allowedKWs: cheetahKWArgs[k] = v
            self._initCheetahInstance(**cheetahKWArgs)
        

    def respond(self, trans=None):



        ## CHEETAH: main method generated for this template
        if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
            trans = self.transaction # is None unless self.awake() was called
        if not trans:
            trans = DummyTransaction()
            _dummyTrans = True
        else: _dummyTrans = False
        write = trans.response().write
        SL = self._CHEETAH__searchList
        _filter = self._CHEETAH__currentFilter
        
        ########################################
        ## START - generated method body
        
        _orig_filter_26261952 = _filter
        filterName = u'WebSafe'
        if self._CHEETAH__filters.has_key("WebSafe"):
            _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
        else:
            _filter = self._CHEETAH__currentFilter = \
			self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
        write(u'''
''')
        piconCssClass = ''
        write(u'''
<!-- TODO: move styles to css file -->
<style>
''')
        if VFFSL(SL,"showPiconBackground",True): # generated from line 9, col 1
            piconCssClass = 'picon--with-background'
            write(u'''\t/* dirty workaround for jQuery-populated lists */
\t.bqe__picon { background-color: #bababa; box-shadow: inset -8px 16px 26px #fff; }
''')
        write(u'''
\tbutton.link--not-skinned.pull-right {
\t\tmargin: 0 0 0 2px;
\t\tpadding: 0px 2px;
\t\tbackground: transparent;
\t\tborder: none;
\t\tcolor: inherit;
\t}

\t#channels .material-icons,
\t#bqs .material-icons {
\t\tfont-size: 20px;
\t}

\t.item--is-marker {
\t\tfilter: brightness(0.7);
\t}

\t.item--is-marker .bqe__picon {
\t\tdisplay: none;
\t}

\t[data-satprov="satellite"] .icon--satellite,
\t[data-satprov="provider"] .icon--provider {
\t\tdisplay: inherit !important;
\t}
</style>

<template id="provider-item-template">
\t<li>
\t\t<span class="icon">
\t\t\t<i class="hidden icon--satellite material-icons material-icons-centered">bubble_chart</i>
\t\t\t<i class="hidden icon--provider material-icons material-icons-centered">folder_open</i>
\t\t</span>
\t\t<slot name="provider-name"></slot>
\t</li>
</template>

<template id="channels-item-template">
\t<li>
''')
        if VFFSL(SL,"showPicons",True): # generated from line 54, col 1
            write(u'''\t\t<span class="bqe__picon">
\t\t\t<img loading="lazy">
\t\t</span>
''')
        write(u'''\t\t<slot name="channel-name"></slot>
\t\t<!-- css floating reverses the following elements\' order -->
\t\t<button type="button" name="zap" class="link--not-skinned pull-right" title="''')
        _v = VFFSL(SL,"tstrings",True)['zap'] # u"$tstrings['zap']" on line 61, col 80
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['zap']")) # from line 61, col 80.
        write(u'''">
\t\t\t<i class="icon material-icons material-icons-centered">settings_remote</i>
\t\t</button>
\t\t<span class="pull-right">
\t\t\t<span class="item__metadata m-r-5"></span>
\t\t\t<span class="dd-icon-selected pull-left">
\t\t\t\t<i class="material-icons material-icons-centered">done</i>
\t\t\t</span>
\t\t</span>
\t</li>
</template>

<template id="bql-item-template">
\t<li>
\t\t<span class="handle dd-icon" title="Hold to drag"><!-- TODO: i10n -->
\t\t\t<i class="material-icons material-icons-centered">drag_indicator</i>
\t\t</span>
\t\t<slot name="bouquet-name"></slot>
\t\t<a href="#playlistUrl" class="pull-right link__playlist" style="color: inherit" target="playlist">
\t\t\t<i class="material-icons material-icons-centered">playlist_play</i>
\t\t</a>
\t</li>
</template>

<template id="bqs-item-template">
\t<li class="bqe__item">
\t\t<span class="handle dd-icon" title="Hold to drag"><!-- TODO: i10n -->
\t\t\t<i class="material-icons material-icons-centered">drag_indicator</i>
\t\t</span>
''')
        if VFFSL(SL,"showPicons",True): # generated from line 90, col 1
            write(u'''\t\t<span class="bqe__picon">
\t\t\t<img loading="lazy">
\t\t</span>
''')
        write(u'''\t\t<slot name="channel-name"></slot>
\t\t<!-- css floating reverses the following elements\' order -->
\t\t<span class="item__marker hidden m-l-40 m-r-10 pull-right"></span>
\t\t<button type="button" name="stream" class="hidden link--not-skinned pull-right" title="''')
        _v = VFFSL(SL,"tstrings",True)['stream'] # u"$tstrings['stream']" on line 98, col 90
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['stream']")) # from line 98, col 90.
        write(u'''">
\t\t\t<i class="icon material-icons material-icons-centered">ondemand_video</i>
\t\t</button>
\t\t<a href="#iptvUrl" class="hidden link__iptv-url link--not-skinned pull-right" target="extlink">
\t\t\t<i class="material-icons material-icons-centered">phonelink</i>
\t\t</a>
\t\t<button type="button" name="zap" class="hidden link--not-skinned pull-right" title="''')
        _v = VFFSL(SL,"tstrings",True)['zap'] # u"$tstrings['zap']" on line 104, col 87
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['zap']")) # from line 104, col 87.
        write(u'''">
\t\t\t<i class="icon material-icons material-icons-centered">settings_remote</i>
\t\t</button>
\t\t<span class="hidden item__protection pull-right" title="''')
        _v = VFFSL(SL,"tstrings",True)['channel_is_protected'] # u"$tstrings['channel_is_protected']" on line 107, col 59
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['channel_is_protected']")) # from line 107, col 59.
        write(u'''">
\t\t\t<i class="material-icons material-icons-centered">lock_outline</i>
\t\t</span>
\t\t<span class="dd-icon-selected pull-right">
\t\t\t<i class="material-icons material-icons-centered">done</i>
\t\t</span>
\t</li>
</template>

<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
\t<div class="card">
\t\t<div class="header">
\t\t\t<div class="row clearfix">
\t\t\t\t<div class="col-xs-12 col-sm-6">
\t\t\t\t\t<h2><i class="material-icons material-icons-centered">view_list</i>''')
        _v = VFFSL(SL,"tstrings",True)['Bouquet_Editor'] # u"$tstrings['Bouquet_Editor']" on line 121, col 73
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['Bouquet_Editor']")) # from line 121, col 73.
        write(u'''</h2>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<ul class="header-dropdown">
\t\t\t\t<li>
\t\t\t\t<li class="dropdown"><a href="javascript:void(0);" id="toolbar-bouquets-reload" title="''')
        _v = VFFSL(SL,"tstrings",True)['reload'] # u"$tstrings['reload']" on line 126, col 92
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['reload']")) # from line 126, col 92.
        write(u'''"><i class="material-icons">autorenew</i></a>
\t\t\t\t<li><a href="javascript:void(0);" onclick="toggleLeftSideBar(); return false;" class="m-l-5"><i class="material-icons" id="togglefullscreen">fullscreen</i></a></li>
\t\t\t\t<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="material-icons">more_vert</i></a>
\t\t\t\t\t<ul class="dropdown-menu pull-right">
\t\t\t\t\t\t<li><a href="javascript:void(0);" id="toolbar-bouquets-import"><i class="material-icons material-icons-centered">publish</i>''')
        _v = VFFSL(SL,"tstrings",True)['import'] # u"$tstrings['import']" on line 130, col 131
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['import']")) # from line 130, col 131.
        write(u'''</a></li>
\t\t\t\t\t\t<li><a href="javascript:void(0);" id="toolbar-bouquets-export"><i class="material-icons material-icons-centered">get_app</i>''')
        _v = VFFSL(SL,"tstrings",True)['export'] # u"$tstrings['export']" on line 131, col 131
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['export']")) # from line 131, col 131.
        write(u'''</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul>
\t\t</div>
\t\t<div class="body m-r-15 m-l-15" id="bqemain">
\t\t\t<div class="row clearfix">
\t\t\t <form name="listTypeSelector">
\t\t\t\t<div class="col-xs-6 align-center">
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="cType" value="2" id="toolbar-choose-satellites" class="radio-vti radio--skinned" checked>
\t\t\t\t\t\t<label for="toolbar-choose-satellites">''')
        _v = VFFSL(SL,"tstrings",True)['satellites'] # u"$tstrings['satellites']" on line 142, col 46
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['satellites']")) # from line 142, col 46.
        write(u'''</label>
\t\t\t\t\t</span>
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="cType" value="1" id="toolbar-choose-providers" class="radio-vti radio--skinned">
\t\t\t\t\t\t<label for="toolbar-choose-providers">''')
        _v = VFFSL(SL,"tstrings",True)['providers'] # u"$tstrings['providers']" on line 146, col 45
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['providers']")) # from line 146, col 45.
        write(u'''</label>
\t\t\t\t\t</span>
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="cType" value="3" id="toolbar-choose-channels" class="radio-vti radio--skinned">
\t\t\t\t\t\t<label for="toolbar-choose-channels">''')
        _v = VFFSL(SL,"tstrings",True)['all_channels'] # u"$tstrings['all_channels']" on line 150, col 44
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['all_channels']")) # from line 150, col 44.
        write(u'''</label>
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t\t<div class="col-xs-6 align-center">
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="tvRadioMode" value="0" id="toolbar-choose-tv" class="radio-vti radio--skinned" checked>
\t\t\t\t\t\t<label for="toolbar-choose-tv">''')
        _v = VFFSL(SL,"tstrings",True)['television'] # u"$tstrings['television']" on line 156, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['television']")) # from line 156, col 38.
        write(u'''</label>
\t\t\t\t\t</span>
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="tvRadioMode" value="1" id="toolbar-choose-radio" class="radio-vti radio--skinned">
\t\t\t\t\t\t<label for="toolbar-choose-radio">''')
        _v = VFFSL(SL,"tstrings",True)['radio'] # u"$tstrings['radio']" on line 160, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['radio']")) # from line 160, col 41.
        write(u'''</label>
\t\t\t\t\t</span>
\t\t\t\t\t<span class="bqe__option">
\t\t\t\t\t\t<input type="radio" name="tvRadioMode" value="-1" id="toolbar-choose-any" class="radio-vti radio--skinned">
\t\t\t\t\t\t<label for="toolbar-choose-any">Any</label><!-- TODO: i10n -->
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t </form>
\t\t\t</div>
\t\t\t<div class="row clearfix">
\t\t\t\t<section class="col-xs-12 col-md-6">
\t\t\t\t\t<header>
\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['satellites'] # u"$tstrings['satellites']" on line 172, col 7
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['satellites']")) # from line 172, col 7.
        write(u'''/''')
        _v = VFFSL(SL,"tstrings",True)['providers'] # u"$tstrings['providers']" on line 172, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['providers']")) # from line 172, col 31.
        write(u'''
\t\t\t\t\t\t<span id="provider__count"></span>
\t\t\t\t\t</header>
\t\t\t\t\t<div class="bqe__list row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 p-r-5">
\t\t\t\t\t\t\t<ol id="provider" class="selectable">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class="bqe__picon">
\t\t\t\t\t\t\t\t\t\t<img src="/images/default_picon.png">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['bqe_loading'] # u"$tstrings['bqe_loading']" on line 182, col 10
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_loading']")) # from line 182, col 10.
        write(u'''
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class="row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 m-t-10 align-right">
\t\t\t\t\t\t\t<button type="button" name="createBqFromProvider" class="bqe__button btn btn--skinned waves-effect" disabled>''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_provider_as_bouquet'] # u"$tstrings['bqe_add_provider_as_bouquet']" on line 189, col 117
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_provider_as_bouquet']")) # from line 189, col 117.
        write(u'''</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</section>
\t\t\t\t<section class="col-xs-12 col-md-6">
\t\t\t\t\t<header>
\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['channels'] # u"$tstrings['channels']" on line 195, col 7
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['channels']")) # from line 195, col 7.
        write(u'''
\t\t\t\t\t\t<span id="channels__count"></span>
\t\t\t\t\t</header>
\t\t\t\t\t<div class="bqe__list row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 p-r-5">
\t\t\t\t\t\t\t<ol id="channels" class="selectable">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class="bqe__picon">
\t\t\t\t\t\t\t\t\t\t<img src="/images/default_picon.png">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['bqe_loading'] # u"$tstrings['bqe_loading']" on line 205, col 10
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_loading']")) # from line 205, col 10.
        write(u'''
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class="row clearfix align-center">
\t\t\t\t\t\t<div class="col-xs-12 col-sm-6 m-t-10">
\t\t\t\t\t\t\t<div class="form-group">
\t\t\t\t\t\t\t\t<div class="form-line m-l-10">
\t\t\t\t\t\t\t\t\t<input type="search" name="searchChannelsQuery" class="form-control" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['bqe_search_enhanced'] # u"$tstrings['bqe_search_enhanced']" on line 214, col 92
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_search_enhanced']")) # from line 214, col 92.
        write(u'''">
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class="col-xs-12 col-sm-6 m-t-10 align-right">
\t\t\t\t\t\t\t<button type="button" name="addChannelToBq" class="bqe__button btn btn--skinned waves-effect" disabled>''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_channel'] # u"$tstrings['bqe_add_channel']" on line 219, col 111
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_channel']")) # from line 219, col 111.
        write(u'''</button>
\t\t\t\t\t\t\t<!-- button type="button" name="addAlternative" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_alternative'] # u"$tstrings['bqe_add_alternative']" on line 220, col 106
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_alternative']")) # from line 220, col 106.
        write(u'''</button -->
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</section>
\t\t\t</div>
\t\t\t<div class="row clearfix">
\t\t\t\t<section class="col-xs-12 col-md-6">
\t\t\t\t\t<header>
\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['bouquets'] # u"$tstrings['bouquets']" on line 228, col 7
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bouquets']")) # from line 228, col 7.
        write(u'''
\t\t\t\t\t\t<span id="bql__count"></span>
\t\t\t\t\t</header>
\t\t\t\t\t<div class="bqe__list row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 p-r-5">
\t\t\t\t\t\t\t<ol id="bql" class="selectable">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class="bqe__picon">
\t\t\t\t\t\t\t\t\t\t<img src="/images/default_picon.png">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['bqe_loading'] # u"$tstrings['bqe_loading']" on line 238, col 10
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_loading']")) # from line 238, col 10.
        write(u'''
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class="row clearfix align-center">
\t\t\t\t\t\t<div class="col-xs-12 m-t-10">
\t\t\t\t\t\t\t<button type="button" name="newBq" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_bq'] # u"$tstrings['bqe_add_bq']" on line 245, col 93
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_bq']")) # from line 245, col 93.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="renameBq" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_rename_bq'] # u"$tstrings['bqe_rename_bq']" on line 246, col 96
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_rename_bq']")) # from line 246, col 96.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="deleteBq" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_delete_bq'] # u"$tstrings['bqe_delete_bq']" on line 247, col 96
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_delete_bq']")) # from line 247, col 96.
        write(u'''</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</section>
\t\t\t\t<section class="col-xs-12 col-md-6">
\t\t\t\t\t<header>
\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['channels'] # u"$tstrings['channels']" on line 253, col 7
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['channels']")) # from line 253, col 7.
        write(u'''
\t\t\t\t\t\t<span id="bqs__count"></span>
\t\t\t\t\t</header>
\t\t\t\t\t<div class="bqe__list row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 p-r-5">
\t\t\t\t\t\t\t<ol id="bqs" class="selectable">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class="bqe__picon">
\t\t\t\t\t\t\t\t\t\t<img src="/images/default_picon.png">
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['bqe_loading'] # u"$tstrings['bqe_loading']" on line 263, col 10
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_loading']")) # from line 263, col 10.
        write(u'''
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class="row clearfix align-center">
\t\t\t\t\t\t<div class="col-xs-12 m-t-10">
\t\t\t\t\t\t\t<button type="button" name="addUrl" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_url'] # u"$tstrings['bqe_add_url']" on line 270, col 94
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_url']")) # from line 270, col 94.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="addMarker" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_marker'] # u"$tstrings['bqe_add_marker']" on line 271, col 97
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_marker']")) # from line 271, col 97.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="addSpacer" class="bqe__button btn btn--skinned waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['bqe_add_spacer'] # u"$tstrings['bqe_add_spacer']" on line 272, col 97
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_add_spacer']")) # from line 272, col 97.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="renameService" class="bqe__button btn btn--skinned waves-effect" disabled>''')
        _v = VFFSL(SL,"tstrings",True)['bqe_rename'] # u"$tstrings['bqe_rename']" on line 273, col 110
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_rename']")) # from line 273, col 110.
        write(u'''</button>
\t\t\t\t\t\t\t<button type="button" name="removeService" class="bqe__button btn btn--skinned waves-effect" disabled>''')
        _v = VFFSL(SL,"tstrings",True)['delete'] # u"$tstrings['delete']" on line 274, col 110
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['delete']")) # from line 274, col 110.
        write(u'''</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</section>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<!-- div id="statuscont" style="display:none">
\t<div id="statusbox" class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
\t\t<p>
\t\t\t<span id="statusicon" class="ui-icon ui-icon-alert" style="margin-right: .3em;"></span> 
\t\t\t<span id="statustext"></span>
\t\t</p>
\t</div>
</div -->

<form name="uploadrestore" action="/bouqueteditor/uploadrestore" method="post" class="hidden" enctype="multipart/form-data" encoding="multipart/form-data">
\t<input type="file" name="rfile" id="rfile">
</form>

''')
        #  for future use (asset versioning)
        #  <!-- htmlWebpackPlugin renders the following js includes -->
        #  <%= htmlWebpackPlugin
        #    .tags
        #    .bodyTags
        #    .filter((tag) => tag.tagName === 'script')
        #    .join('') 
        #  %>
        write(u'''<script src="/modern/js/bouqueteditor-app.js"></script>

<script>
\tjQuery.AdminBSB.input.activate();
</script>

''')
        _filter = self._CHEETAH__currentFilter = _orig_filter_26261952
        
        ########################################
        ## END - generated method body
        
        return _dummyTrans and trans.response().getvalue() or ""
        
    ##################################################
    ## CHEETAH GENERATED ATTRIBUTES


    _CHEETAH__instanceInitialized = False

    _CHEETAH_version = __CHEETAH_version__

    _CHEETAH_versionTuple = __CHEETAH_versionTuple__

    _CHEETAH_genTime = __CHEETAH_genTime__

    _CHEETAH_genTimestamp = __CHEETAH_genTimestamp__

    _CHEETAH_src = __CHEETAH_src__

    _CHEETAH_srcLastModified = __CHEETAH_srcLastModified__

    _mainCheetahMethod_for_bqe= 'respond'

## END CLASS DEFINITION

if not hasattr(bqe, '_initCheetahAttributes'):
    templateAPIClass = getattr(bqe, '_CHEETAH_templateClass', Template)
    templateAPIClass._addCheetahPlumbingCodeToClass(bqe)


# CHEETAH was developed by Tavis Rudd and Mike Orr
# with code, advice and input from many other volunteers.
# For more information visit http://www.CheetahTemplate.org/

##################################################
## if run from command line:
if __name__ == '__main__':
    from Cheetah.TemplateCmdLineIface import CmdLineIface
    CmdLineIface(templateObj=bqe()).run()


