#!/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.controllers.utilities import PY3

##################################################
## 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__ = 1644610944.247476
__CHEETAH_genTimestamp__ = 'Fri Feb 11 20:22:24 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/at.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 at(Template):

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


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

        super(at, 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_44378347 = _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'''
''')
        debugMode = False
        write(u'''
''')
        if False: # generated from line 7, col 1
            _v = VFFSL(SL,"PY3",True) # u'$PY3' on line 7, col 12
            if _v is not None: write(_filter(_v, rawExpr=u'$PY3')) # from line 7, col 12.
            write(u'''
\t<script>
\t\twindow.disableFilterEditing = true;
\t</script>

\t<style>
\t\t.atform__body{
\t\t\tcursor: not-allowed;
\t\t}

\t\t.prevent-user-interaction { 
\t\t\tpointer-events: none;
\t\t\topacity: 0.4;
\t\t\tuser-select: none;
\t\t}

\t\t.prevent-user-interaction:hover {
\t\t}

\t\t.prevent-user-interaction *:focus {
\t\t\toutline: 0;
\t\t}
\t</style>
''')
        write(u'''
<!-- TODO: crossfade divs -->

<!-- TODO: move styles to css file -->
<style>
.choices__inner .choices__input {
\tmin-width: 1ch;
\twidth: 1ch;
}

.choices__list--dropdown {
\tz-index:10;
}

.choices__list--dropdown .choices__item {
\tdisplay: flex;
\tjustify-content: space-between;
}

.choices__list--dropdown .choices__item--selectable {
\tpadding-right: 10px;
}

.choices__list--multiple .choices__item.choices__item--selectable {
\tdisplay: inline-flex;
\tflex-direction: row;
\tflex-wrap: wrap;
\tjustify-content: space-between;
\talign-content: flex-start;
\talign-items: flex-start;
}

.choices__list--multiple .choices__item.choices__item--selectable small {
\torder: 3;
\tflex: 0 0 100%;
}

.dependent-section {
\ttransition: 0.1s opacity ease-in-out;
}

.dependent-section--disabled {
\topacity: 0.1;
}

.dependent-section--disabled [type=radio]:disabled+label {
\tcolor: inherit;
}

.at-preview__progress,
.at-preview__no-results {
\ttext-align: center;
\tpadding-top: 40px !important;
}

/*
.at__item {
\tcursor: pointer;
}
*/

.at__item button {
\tborder: none;
\tbackground: none;
\tpadding: 0;
}

.at__filter__line {
\tdisplay: flex;
\tflex-wrap: wrap;
}

.at__filter__line .btn:not(.btn-link):not(.btn-circle) {
\tmargin-bottom: 2px;
\tpadding-right: 3em;
\tbox-shadow: none !important;
}

.at__filter__line .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
\twidth: 100%;
}

.at__filter__line button {
\tbackground: none;
\tborder: none;
}

.filter__container {
\tflex: 1;
\tpadding-right: 1em;
}

.filter-value--text,
.filter-value--dayofweek {
\tflex: 3;
\tmin-width: 50%;
}

.row-striped:nth-of-type(even) {
\tbackground-color: transparent;
}
</style>

<template id="autotimer-list-item-template">
\t<li class="card at__item row-striped">
\t\t<div class="header">
\t\t\t<div class="row clearfix m-b--20">
\t\t\t\t<div class="col-xs-4">
\t\t\t\t\t<h2 style="line-height: 1.4;">
\t\t\t\t\t\t<i class="material-icons material-icons-centered icon__state">av_timer</i>
\t\t\t\t\t\t<slot name="autotimer-name"></slot>
\t\t\t\t\t</h2>
\t\t\t\t</div>
\t\t\t\t<div class="col-xs-8">
\t\t\t\t\t<ul class="header-dropdown" style="top: 0; right: 5px;">
\t\t\t\t\t\t<li><button type="button" name="preview" data-toggle="modal" data-target="#ATPreviewModal" title="''')
        _v = VFFSL(SL,"tstrings",True)['at_preview'] # u"$tstrings['at_preview']" on line 146, col 105
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_preview']")) # from line 146, col 105.
        write(u'''" class="m-0" style="border: none; background: none;"><i class="material-icons material-icons-mg-right">view_list</i></button></li>
\t\t\t\t\t\t<li><button type="button" name="rename" title="''')
        _v = VFFSL(SL,"tstrings",True)['rename'] # u"$tstrings['rename']" on line 147, col 54
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['rename']")) # from line 147, col 54.
        write(u'''" class="m-0" style="border: none; background: none;"><i class="material-icons material-icons-mg-right">text_fields</i></button></li>
\t\t\t\t\t\t<li><a href="/#/at/edit?id={{id}}" title="''')
        _v = VFFSL(SL,"tstrings",True)['at_edit'] # u"$tstrings['at_edit']" on line 148, col 49
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_edit']")) # from line 148, col 49.
        write(u'''"><i class="material-icons material-icons-mg-right">edit</i></a> 
''')
        if VFFSL(SL,"hasChange",True) == 1: # generated from line 149, col 7
            style_val = ""
        else: # generated from line 151, col 7
            style_val = "display: none;"
        write(u'''\t\t\t\t\t\t<li><button type="button" name="toggle" title="''')
        _v = VFFSL(SL,"tstrings",True)['enable_disable'] # u"$tstrings['enable_disable']" on line 154, col 54
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['enable_disable']")) # from line 154, col 54.
        write(u'''" class="m-0" style="border: none; background: none; ''')
        _v = VFFSL(SL,"style_val",True) # u'$style_val' on line 154, col 134
        if _v is not None: write(_filter(_v, rawExpr=u'$style_val')) # from line 154, col 134.
        write(u'''"><i class="material-icons material-icons-mg-right">alarm_off</i></button></li>
\t\t\t\t\t\t<li><button type="button" name="delete" title="''')
        _v = VFFSL(SL,"tstrings",True)['at_del'] # u"$tstrings['at_del']" on line 155, col 54
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_del']")) # from line 155, col 54.
        write(u'''"><i class="material-icons material-icons-mg-right">delete_outline</i></button></li>
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class="body">
\t\t\t<div class="row clearfix m-b--20">
\t\t\t\t<div class="col-sm-4">
\t\t\t\t\t<slot name="autotimer-filters" style="white-space: nowrap;">''')
        _v = VFFSL(SL,"tstrings",True)['at_any_day'] # u"$tstrings['at_any_day']" on line 163, col 66
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_any_day']")) # from line 163, col 66.
        write(u'''</slot>,
\t\t\t\t\t<slot name="autotimer-timespan" style="white-space: nowrap;">''')
        _v = VFFSL(SL,"tstrings",True)['at_any_time'] # u"$tstrings['at_any_time']" on line 164, col 67
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_any_time']")) # from line 164, col 67.
        write(u'''</slot>
''')
        #  <span class="event__duration" style="opacity: 0.4; margin-left: 0.4ch;">(65 mins)</span>
        write(u'''\t\t\t\t\t<div class="m-t-10" style="font-weight: bold;">
\t\t\t\t\t\t<slot name="autotimer-channels"></slot>
\t\t\t\t\t\t<slot name="autotimer-bouquets"></slot>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class="col-sm-8">
\t\t\t\t\t<slot name="autotimer-searchType"></slot>
\t\t\t\t\t<slot name="autotimer-match"></slot>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</li>
</template>

<template id="autotimer-filter-template">
\t<fieldset class="at__filter__line m-b-20">
\t\t<button type="button" name="removeFilter" title="''')
        _v = VFFSL(SL,"tstrings",True)['at_remove_filter'] # u"$tstrings['at_remove_filter']" on line 182, col 52
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_remove_filter']")) # from line 182, col 52.
        write(u'''"><i class="material-icons">delete_outline</i></button>
\t\t<div class="filter__container">
\t\t\t<select name="_filterpredicate" class="form-control">
\t\t\t\t<option value="" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_include'] # u"$tstrings['at_filter_include']" on line 185, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_include']")) # from line 185, col 31.
        write(u'''</option>
\t\t\t\t<option value="!">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_exclude'] # u"$tstrings['at_filter_exclude']" on line 186, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_exclude']")) # from line 186, col 23.
        write(u'''</option>
\t\t\t</select>
\t\t</div>
\t\t<div class="filter__container">
\t\t\t<select name="_filterwhere" class="form-control">
\t\t\t\t<option value="title" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_title'] # u"$tstrings['at_filter_title']" on line 191, col 36
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_title']")) # from line 191, col 36.
        write(u'''</option>
\t\t\t\t<option value="shortdescription">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_short_desc'] # u"$tstrings['at_filter_short_desc']" on line 192, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_short_desc']")) # from line 192, col 38.
        write(u'''</option>
\t\t\t\t<option value="description">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_desc'] # u"$tstrings['at_filter_desc']" on line 193, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_desc']")) # from line 193, col 33.
        write(u'''</option>
\t\t\t\t<option value="dayofweek">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_single_day'] # u"$tstrings['at_filter_single_day']" on line 194, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_single_day']")) # from line 194, col 31.
        write(u'''</option>
\t\t\t</select>
\t\t</div>
\t\t<div class="filter__container filter-value--text form-line">
\t\t\t<input type="text" name="{{_filterpredicate+_filterwhere}}" value="" autocomplete="off" 
\t\t\t\t\t\t placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_text_hint'] # u"$tstrings['at_text_hint']" on line 199, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_text_hint']")) # from line 199, col 21.
        write(u'''" class="form-control">
\t\t</div>
\t\t<div class="filter__container filter-value--dayofweek hidden">
\t\t\t<select name="dayofweek" class="form-control">
\t\t\t\t<option value="" disabled>''')
        _v = VFFSL(SL,"tstrings",True)['form_select'] # u"$tstrings['form_select']" on line 203, col 31
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['form_select']")) # from line 203, col 31.
        write(u'''</option>
\t\t\t\t<option value="0">''')
        _v = VFFSL(SL,"tstrings",True)['monday'] # u"$tstrings['monday']" on line 204, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['monday']")) # from line 204, col 23.
        write(u'''</option>
\t\t\t\t<option value="1">''')
        _v = VFFSL(SL,"tstrings",True)['tuesday'] # u"$tstrings['tuesday']" on line 205, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['tuesday']")) # from line 205, col 23.
        write(u'''</option>
\t\t\t\t<option value="2">''')
        _v = VFFSL(SL,"tstrings",True)['wednesday'] # u"$tstrings['wednesday']" on line 206, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['wednesday']")) # from line 206, col 23.
        write(u'''</option>
\t\t\t\t<option value="3">''')
        _v = VFFSL(SL,"tstrings",True)['thursday'] # u"$tstrings['thursday']" on line 207, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['thursday']")) # from line 207, col 23.
        write(u'''</option>
\t\t\t\t<option value="4">''')
        _v = VFFSL(SL,"tstrings",True)['friday'] # u"$tstrings['friday']" on line 208, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['friday']")) # from line 208, col 23.
        write(u'''</option>
\t\t\t\t<option value="5">''')
        _v = VFFSL(SL,"tstrings",True)['saturday'] # u"$tstrings['saturday']" on line 209, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['saturday']")) # from line 209, col 23.
        write(u'''</option>
\t\t\t\t<option value="6">''')
        _v = VFFSL(SL,"tstrings",True)['sunday'] # u"$tstrings['sunday']" on line 210, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['sunday']")) # from line 210, col 23.
        write(u'''</option>
\t\t\t\t<option value="weekend">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_weekend'] # u"$tstrings['at_filter_weekend']" on line 211, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_weekend']")) # from line 211, col 29.
        write(u'''</option>
\t\t\t\t<option value="weekday">''')
        _v = VFFSL(SL,"tstrings",True)['at_filter_weekday'] # u"$tstrings['at_filter_weekday']" on line 212, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_filter_weekday']")) # from line 212, col 29.
        write(u'''</option>
\t\t\t</select>
\t\t</div>
\t</fieldset>
</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 id="configtitle">
\t\t\t\t\t\t<i class="material-icons material-icons-centered">av_timer</i>
\t\t\t\t\t\t''')
        _v = VFFSL(SL,"tstrings",True)['at_list'] # u"$tstrings['at_list']" on line 225, col 7
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_list']")) # from line 225, col 7.
        write(u'''
\t\t\t\t\t</h2>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class="body atbody">
\t\t\t<div id="content_main">

\t\t\t\t<div id="at__page--list">
\t\t\t\t\t<div class="row align-center clearfix">
\t\t\t\t\t\t<a href="/#/at/new" class="btn btn--skinned waves-effect"><i class="material-icons">add</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_new'] # u"$tstrings['at_new']" on line 235, col 104
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_new']")) # from line 235, col 104.
        write(u'''</span></a>
\t\t\t\t\t\t<button type="button" name="reload" class="btn btn--skinned waves-effect"><i class="material-icons">refresh</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['reload'] # u"$tstrings['reload']" on line 236, col 124
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['reload']")) # from line 236, col 124.
        write(u'''</span></button>
\t\t\t\t\t\t<button type="button" name="process" class="btn btn--skinned waves-effect"><i class="material-icons">code</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_process'] # u"$tstrings['at_process']" on line 237, col 122
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_process']")) # from line 237, col 122.
        write(u'''</span></span></button>
\t\t\t\t\t\t<button type="button" name="previewAll" data-toggle="modal" data-target="#ATPreviewModal" class="btn btn--skinned waves-effect"><i class="material-icons">view_list</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_preview'] # u"$tstrings['at_preview']" on line 238, col 180
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_preview']")) # from line 238, col 180.
        write(u'''</span></button>
\t\t\t\t\t\t<button type="button" name="timers" data-toggle="modal" data-target="#ATTimerListModal" class="btn btn--skinned waves-effect"><i class="material-icons" class="btn btn--skinned waves-effect">alarm</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_timers'] # u"$tstrings['at_timers']" on line 239, col 212
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timers']")) # from line 239, col 212.
        write(u'''</span></button>
\t\t\t\t\t\t<button type="button" name="settings" data-toggle="modal" data-target="#ATSettingsModal" class="btn btn--skinned waves-effect" data-title="''')
        _v = VFFSL(SL,"tstrings",True)['ats_auto_timer_settings'] # u"$tstrings['ats_auto_timer_settings']" on line 240, col 146
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_auto_timer_settings']")) # from line 240, col 146.
        write(u'''"><i class="material-icons">settings</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_settings'] # u"$tstrings['at_settings']" on line 240, col 228
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_settings']")) # from line 240, col 228.
        write(u'''</span></button>
\t\t\t\t\t</div>

\t\t\t\t\t<div id="at__bar" class="m-t-40">
\t\t\t\t\t\t<ul class="m-0 p-l-0" id="at__list" style="list-style: none;">
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>

\t\t\t\t<div id="at__page--edit" class="hidden">
\t\t\t\t\t<div class="row clearfix">
\t\t\t\t\t\t<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
\t\t\t\t\t\t\t<div id="ateditcontent">
\t\t\t\t\t\t\t\t<form name="atedit" method="GET" action="/autotimer/edit" id="ateditform">
\t\t\t\t\t\t\t\t\t<fieldset style="border: none" class="atform__body">
\t\t\t\t\t\t\t\t\t\t<div class="form-group">

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="enabled" value="1" checked id="checkbox--enabled" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--enabled">''')
        _v = VFFSL(SL,"tstrings",True)['at_enabled'] # u"$tstrings['at_enabled']" on line 260, col 45
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_enabled']")) # from line 260, col 45.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['name'] # u"$tstrings['name']" on line 267, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['name']")) # from line 267, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="text" name="name" required autocomplete="off" autocapitalize="on" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_name_hint'] # u"$tstrings['at_name_hint']" on line 270, col 106
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_name_hint']")) # from line 270, col 106.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_text_match'] # u"$tstrings['at_text_match']" on line 276, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_text_match']")) # from line 276, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="text" name="match" required autocomplete="off" autocapitalize="off" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_text_hint'] # u"$tstrings['at_text_hint']" on line 279, col 108
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_text_hint']")) # from line 279, col 108.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<!-- EPG encoding -->

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_search_type'] # u"$tstrings['at_search_type']" on line 287, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_search_type']")) # from line 287, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="searchType" class="form-control show-tick">
''')
        for searchType in VFFSL(SL,"searchTypes",True): # generated from line 292, col 1
            write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="''')
            _v = VFFSL(SL,"searchType",True) # u'$searchType' on line 293, col 31
            if _v is not None: write(_filter(_v, rawExpr=u'$searchType')) # from line 293, col 31.
            write(u'''">''')
            _v = VFFSL(SL,"tstrings",True)['at_' + VFFSL(SL,"searchType",True) + '_match'] # u"$tstrings['at_' + $searchType + '_match']" on line 293, col 44
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_' + $searchType + '_match']")) # from line 293, col 44.
            write(u'''</option>
''')
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_search_strictness'] # u"$tstrings['at_search_strictness']" on line 302, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_search_strictness']")) # from line 302, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="searchCase" class="form-control show-tick">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="sensitive">''')
        _v = VFFSL(SL,"tstrings",True)['at_case_sensitive'] # u"$tstrings['at_case_sensitive']" on line 307, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_case_sensitive']")) # from line 307, col 42.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="insensitive" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_case_insensitive'] # u"$tstrings['at_case_insensitive']" on line 308, col 53
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_case_insensitive']")) # from line 308, col 53.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_type'] # u"$tstrings['at_timer_type']" on line 316, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_type']")) # from line 316, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="justplay" id="checkbox--justplay" value="1" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--justplay" class="m-r-30">''')
        _v = VFFSL(SL,"tstrings",True)['at_zap'] # u"$tstrings['at_zap']" on line 320, col 61
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_zap']")) # from line 320, col 61.
        write(u'''</label>

\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="always_zap" id="checkbox--always_zap" value="1" checked class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--always_zap" class="m-r-30">''')
        _v = VFFSL(SL,"tstrings",True)['at_record'] # u"$tstrings['at_record']" on line 323, col 63
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_record']")) # from line 323, col 63.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="overrideAlternatives" id="checkbox--overrideAlternatives" value="1" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Use automatic selection of alternates. -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--overrideAlternatives">''')
        _v = VFFSL(SL,"tstrings",True)['at_override_alt'] # u"$tstrings['at_override_alt']" on line 331, col 58
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_override_alt']")) # from line 331, col 58.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="_timespan" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Only match during timespan -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="_timespan">''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan'] # u"$tstrings['at_timespan']" on line 340, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan']")) # from line 340, col 37.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element" style="min-height: 8ex;">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="_timespan_" class="select-related-container dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan_begin'] # u"$tstrings['at_timespan_begin']" on line 345, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan_begin']")) # from line 345, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="time" name="timespanFrom" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['HH_MM'] # u"$tstrings['HH_MM']" on line 347, col 69
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['HH_MM']")) # from line 347, col 69.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_timespan_end'] # u"$tstrings['at_timespan_end']" on line 351, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timespan_end']")) # from line 351, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="time" name="timespanTo" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['HH_MM'] # u"$tstrings['HH_MM']" on line 353, col 67
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['HH_MM']")) # from line 353, col 67.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="_datespan" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Only match during timespan -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="_datespan">''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan'] # u"$tstrings['at_datespan']" on line 364, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan']")) # from line 364, col 37.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element" style="min-height: 8ex;">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="_datespan_" class="select-related-container dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan_to'] # u"$tstrings['at_datespan_to']" on line 369, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan_to']")) # from line 369, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="date" name="after" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['YYYY_MM_DD'] # u"$tstrings['YYYY_MM_DD']" on line 371, col 62
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['YYYY_MM_DD']")) # from line 371, col 62.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_datespan_from'] # u"$tstrings['at_datespan_from']" on line 375, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_datespan_from']")) # from line 375, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="date" name="before" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['YYYY_MM_DD'] # u"$tstrings['YYYY_MM_DD']" on line 377, col 63
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['YYYY_MM_DD']")) # from line 377, col 63.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="_timerOffset" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Custom offset -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="_timerOffset">''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset'] # u"$tstrings['at_timer_offset']" on line 388, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset']")) # from line 388, col 40.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element" style="min-height: 8ex;">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="_timerOffset_" class="select-related-container dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Offset before recording (mins)-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset_before'] # u"$tstrings['at_timer_offset_before']" on line 394, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset_before']")) # from line 394, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="number" name="offset" min="0" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Offset after recording (mins)-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_timer_offset_after'] # u"$tstrings['at_timer_offset_after']" on line 401, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_timer_offset_after']")) # from line 401, col 23.
        write(u''':&nbsp;</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="number" name="offset" min="0" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Set maximum duration -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_max_duration'] # u"$tstrings['at_max_duration']" on line 412, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_max_duration']")) # from line 412, col 21.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=" atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Maximum duration (in m) -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="number" name="maxduration" min="0" placeholder="''')
        _v = VFFSL(SL,"tstrings",True)['at_in_minutes'] # u"$tstrings['at_in_minutes']" on line 418, col 77
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_in_minutes']")) # from line 418, col 77.
        write(u'''" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- After event -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event'] # u"$tstrings['at_after_event']" on line 427, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event']")) # from line 427, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="afterevent" class="form-control show-tick">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_standard'] # u"$tstrings['at_after_event_standard']" on line 432, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_standard']")) # from line 432, col 33.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="none">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_nothing'] # u"$tstrings['at_after_event_nothing']" on line 433, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_nothing']")) # from line 433, col 37.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="standby">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_standby'] # u"$tstrings['at_after_event_standby']" on line 434, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_standby']")) # from line 434, col 40.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="deepstandby">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_deepstandby'] # u"$tstrings['at_after_event_deepstandby']" on line 435, col 44
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_deepstandby']")) # from line 435, col 44.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="auto">''')
        _v = VFFSL(SL,"tstrings",True)['at_after_event_auto'] # u"$tstrings['at_after_event_auto']" on line 436, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_after_event_auto']")) # from line 436, col 37.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div id="AftereventE" class="atform__fields-container dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="timeSpanAE" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Execute "After event" during timespan -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="timeSpanAE">''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan'] # u"$tstrings['at_event_timespan']" on line 446, col 38
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan']")) # from line 446, col 38.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element" style="min-height: 8ex;">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="timeSpanAEE" class="select-related-container dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Begin of "After event" timespan -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan_begin'] # u"$tstrings['at_event_timespan_begin']" on line 452, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan_begin']")) # from line 452, col 23.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="time" name="aftereventFrom" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- End of "After event" timespan -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_event_timespan_end'] # u"$tstrings['at_event_timespan_end']" on line 459, col 23
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_event_timespan_end']")) # from line 459, col 23.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="time" name="aftereventTo" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Record a maximum of x times -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_max_counter'] # u"$tstrings['at_max_counter']" on line 471, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_max_counter']")) # from line 471, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="number" name="counter" min="0" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div id="CounterE" class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ?? -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_left'] # u"$tstrings['at_left']" on line 485, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_left']")) # from line 485, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="number" name="left" min="0" class="form-control">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ?? -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_reset_count'] # u"$tstrings['at_reset_count']" on line 499, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_reset_count']")) # from line 499, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="counterFormat" class="form-control show-tick">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_never'] # u"$tstrings['at_never']" on line 504, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_never']")) # from line 504, col 42.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="%m">''')
        _v = VFFSL(SL,"tstrings",True)['at_monthly'] # u"$tstrings['at_monthly']" on line 505, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_monthly']")) # from line 505, col 35.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="%U">''')
        _v = VFFSL(SL,"tstrings",True)['at_weekly_sun'] # u"$tstrings['at_weekly_sun']" on line 506, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_weekly_sun']")) # from line 506, col 35.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="%W">''')
        _v = VFFSL(SL,"tstrings",True)['at_weekly_mon'] # u"$tstrings['at_weekly_mon']" on line 507, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_weekly_mon']")) # from line 507, col 35.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Require description to be unique -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label>''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup'] # u"$tstrings['at_avoid_dup']" on line 516, col 21
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup']")) # from line 516, col 21.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="avoidDuplicateDescription" class="form-control show-tick">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="0" selected>''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_no'] # u"$tstrings['at_avoid_dup_no']" on line 521, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_no']")) # from line 521, col 43.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="1">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_same_service'] # u"$tstrings['at_avoid_dup_same_service']" on line 522, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_same_service']")) # from line 522, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="2">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_any_service'] # u"$tstrings['at_avoid_dup_any_service']" on line 523, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_any_service']")) # from line 523, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="3">''')
        _v = VFFSL(SL,"tstrings",True)['at_avoid_dup_any_service_rec'] # u"$tstrings['at_avoid_dup_any_service_rec']" on line 524, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_avoid_dup_any_service_rec']")) # from line 524, col 34.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<!-- Check for uniqueness in -->

''')
        if VFFSL(SL,"autoadjust",True) == 1 or VFFSL(SL,"debugMode",True): # generated from line 532, col 1
            write(u'''\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="autoadjust" value="1" id="checkbox--autoadjust" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--autoadjust">''')
            _v = VFFSL(SL,"tstrings",True)['autoadjust'] # u"$tstrings['autoadjust']" on line 536, col 48
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['autoadjust']")) # from line 536, col 48.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="avoidDuplicateMovies" value="1" id="checkbox--avoidDuplicateMovies" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--avoidDuplicateMovies">''')
            _v = VFFSL(SL,"tstrings",True)['avoidDuplicateMovies'] # u"$tstrings['avoidDuplicateMovies']" on line 544, col 58
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['avoidDuplicateMovies']")) # from line 544, col 58.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="allow_duplicate" value="1" checked id="checkbox--allow_duplicate" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--allow_duplicate">''')
            _v = VFFSL(SL,"tstrings",True)['allow_duplicate'] # u"$tstrings['allow_duplicate']" on line 552, col 53
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['allow_duplicate']")) # from line 552, col 53.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>
''')
        write(u'''
\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="_location" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Use a custom location -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="_location">''')
        _v = VFFSL(SL,"tstrings",True)['at_location'] # u"$tstrings['at_location']" on line 562, col 37
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_location']")) # from line 562, col 37.
        write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="_location_" class="dropdown atform__details__dropdown dependent-section dependent-section--disabled">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Custom location -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="location" class="form-control show-tick">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<optgroup label="''')
        _v = VFFSL(SL,"tstrings",True)['bookmarks'] # u"$tstrings['bookmarks']" on line 568, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bookmarks']")) # from line 568, col 33.
        write(u'''">
''')
        for location in VFFSL(SL,"locations",True): # generated from line 569, col 1
            write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value="''')
            _v = VFFSL(SL,"location",True) # u'$location' on line 570, col 32
            if _v is not None: write(_filter(_v, rawExpr=u'$location')) # from line 570, col 32.
            write(u'''">''')
            _v = VFFSL(SL,"location",True) # u'$location' on line 570, col 43
            if _v is not None: write(_filter(_v, rawExpr=u'$location')) # from line 570, col 43.
            write(u'''</option>
''')
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</optgroup>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<optgroup name="more" label="''')
        _v = VFFSL(SL,"tstrings",True)['more'] # u"$tstrings['more']" on line 573, col 45
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['more']")) # from line 573, col 45.
        write(u'''">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</optgroup>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
''')
        #  <div>
        #  	<p>* Add a new location in the <strong>Bookmarks</strong> section of <a href="/#settings" target="settings">Settings</a></p><!-- TODO: i10n -->
        #  </div>
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<label class="m-b-0" style="font-size: 16px;">''')
        _v = VFFSL(SL,"tstrings",True)['at_add_tags'] # u"$tstrings['at_add_tags']" on line 584, col 59
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_add_tags']")) # from line 584, col 59.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="tag" class="form-control no-default-select" 
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple data-choices-select="tag" data-choices-config=\'{"shouldSort": true}\'><!-- this quoting style is required -->
''')
        #  <option value="" disabled>$tstrings['at_add_tags']</option>
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<!-- Restrict to specific services -->
\t\t\t\t\t\t\t\t\t\t\t\t<label class="m-b-0" style="font-size: 16px;">''')
        _v = VFFSL(SL,"tstrings",True)['at_restrict_channels'] # u"$tstrings['at_restrict_channels']" on line 595, col 59
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_restrict_channels']")) # from line 595, col 59.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="services" class="form-control no-default-select"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple data-choices-select="services">
''')
        #  <option value="" disabled>$tstrings['at_restrict_channels']</option>
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<!-- Restrict to specific bouquets -->
\t\t\t\t\t\t\t\t\t\t\t\t<label class="m-b-0" style="font-size: 16px;">''')
        _v = VFFSL(SL,"tstrings",True)['at_restrict_bouquets'] # u"$tstrings['at_restrict_bouquets']" on line 606, col 59
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_restrict_bouquets']")) # from line 606, col 59.
        write(u''':</label>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="dropdown atform__details__dropdown form-line">
\t\t\t\t\t\t\t\t\t\t\t\t\t<select name="bouquets" class="form-control no-default-select"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple data-choices-select="bouquets" data-choices-config=\'{"shouldSort": true}\'>
''')
        #  <option value="" disabled>$tstrings['at_restrict_bouquets']</option>
        write(u'''\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t<!-- Restrict to days -->

''')
        if VFFSL(SL,"hasVPS",True) == 1 or VFFSL(SL,"debugMode",True): # generated from line 617, col 1
            write(u'''\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="vps_enabled" value="yes" id="checkbox--vps_enabled" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--vps_enabled">''')
            _v = VFFSL(SL,"tstrings",True)['vps'] # u"$tstrings['vps']" on line 621, col 49
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['vps']")) # from line 621, col 49.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="vps_enabled_" class="dependent-section dependent-section--disabled">
<!--
\tvps_overwrite=1 : safemode=0
\tvps_overwrite=0 : safemode=1
\tvps_overwrite=_ : safemode=1
-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="hidden" name="vps_overwrite" value="0">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="vps_safemode" checked id="checkbox--vps_safemode" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--vps_safemode">''')
            _v = VFFSL(SL,"tstrings",True)['safe_mode'] # u"$tstrings['safe_mode']" on line 632, col 51
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['safe_mode']")) # from line 632, col 51.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
''')
        write(u'''
''')
        if VFFSL(SL,"hasSeriesPlugin",True) == 1 or VFFSL(SL,"debugMode",True): # generated from line 638, col 1
            write(u'''\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__title">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="checkbox" name="series_labeling" value="yes" id="checkbox--series_labeling" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label for="checkbox--series_labeling">''')
            _v = VFFSL(SL,"tstrings",True)['at_label_series'] # u"$tstrings['at_label_series']" on line 642, col 53
            if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_label_series']")) # from line 642, col 53.
            write(u'''</label>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class="atform__details__element"></div>
\t\t\t\t\t\t\t\t\t\t\t</div>
''')
        write(u'''
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</fieldset>

\t\t\t\t\t\t\t\t\t<div class="atform__body">
\t\t\t\t\t\t\t\t\t\t<div class="form-group prevent-user-interaction">
\t\t\t\t\t\t\t\t\t\t\t<div class="atform__fields-container m-t-0">
\t\t\t\t\t\t\t\t\t\t\t\t<div id="atform__filters-container" class="m-t-40 m-b-20"></div>
\t\t\t\t\t\t\t\t\t\t\t\t<button type="button" name="addFilter" class="btn btn-default waves-effect">''')
        _v = VFFSL(SL,"tstrings",True)['at_add_filters'] # u"$tstrings['at_add_filters']" on line 655, col 89
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_add_filters']")) # from line 655, col 89.
        write(u'''</button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t<div class="atform__body">
\t\t\t\t\t\t\t\t\t\t<div class="form-group row align-right clearfix">
\t\t\t\t\t\t\t\t\t\t\t<button type="button" name="cancel" class="btn btn-default waves-effect"><i class="material-icons">close</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['cancel'] # u"$tstrings['cancel']" on line 662, col 126
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['cancel']")) # from line 662, col 126.
        write(u'''</span></button>
''')
        #  <button type="reset" class="btn btn-default waves-effect"><i class="material-icons">undo</i><span>$tstrings['form_reset']</span></button>
        write(u'''\t\t\t\t\t\t\t\t\t\t\t<button type="submit" class="btn btn--skinned waves-effect"><i class="material-icons">save</i><span>''')
        _v = VFFSL(SL,"tstrings",True)['at_save'] # u"$tstrings['at_save']" on line 664, col 112
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_save']")) # from line 664, col 112.
        write(u'''</span></button>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<div id="ATPreviewModal" class="modal fade" role="dialog">
\t<div class="modal-dialog modal-lg">
\t\t<div class="modal-content">
\t\t\t<div class="modal-header">
\t\t\t\t<button type="button" class="close" data-dismiss="modal"><i class="material-icons material-icons-centered">close</i></button>
\t\t\t\t<h4 class="modal-title">''')
        _v = VFFSL(SL,"tstrings",True)['timer_preview'] # u"$tstrings['timer_preview']" on line 683, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['timer_preview']")) # from line 683, col 29.
        write(u'''</h4>
\t\t\t</div>
\t\t\t<div class="modal-body" style="max-height: calc(100vh - 180px); overflow-y: auto;">
\t\t\t\t<div id="atsimulatemodal"></div>
\t\t\t\t\t<div style="font-size:smaller;" class="table-responsive">
\t\t\t\t\t\t<table id="at-preview__table" class="table table-striped table-hover">
\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t<th>''')
        _v = VFFSL(SL,"tstrings",True)['at_state'] # u"$tstrings['at_state']" on line 691, col 14
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_state']")) # from line 691, col 14.
        write(u'''</th>
\t\t\t\t\t\t\t\t\t<th>''')
        _v = VFFSL(SL,"tstrings",True)['name'] # u"$tstrings['name']" on line 692, col 14
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['name']")) # from line 692, col 14.
        write(u'''</th>
\t\t\t\t\t\t\t\t\t<th>''')
        _v = VFFSL(SL,"tstrings",True)['at_text_match'] # u"$tstrings['at_text_match']" on line 693, col 14
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_text_match']")) # from line 693, col 14.
        write(u'''</th>
\t\t\t\t\t\t\t\t\t<th>''')
        _v = VFFSL(SL,"tstrings",True)['channel'] # u"$tstrings['channel']" on line 694, col 14
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['channel']")) # from line 694, col 14.
        write(u'''</th>
\t\t\t\t\t\t\t\t\t<th style="text-align: right;">''')
        _v = VFFSL(SL,"tstrings",True)['start'] # u"$tstrings['start']" on line 695, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['start']")) # from line 695, col 41.
        write(u'''</th>
\t\t\t\t\t\t\t\t\t<th style="text-align: right;">''')
        _v = VFFSL(SL,"tstrings",True)['end'] # u"$tstrings['end']" on line 696, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['end']")) # from line 696, col 41.
        write(u'''</th>
\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t<tr style="background-color: transparent;">
\t\t\t\t\t\t\t\t\t<td id="at-preview__progress" class="at-preview__progress" colspan="100%">
\t\t\t\t\t\t\t\t\t\t<div class="loader">
\t\t\t\t\t\t\t\t\t\t\t<div class="preloader">
\t\t\t\t\t\t\t\t\t\t\t\t<div class="spinner-layer pl--skinned">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="circle-clipper left">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="circle"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="circle-clipper right">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="circle"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<p>''')
        _v = VFFSL(SL,"tstrings",True)['bqe_loading'] # u"$tstrings['bqe_loading']" on line 711, col 15
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['bqe_loading']")) # from line 711, col 15.
        write(u'''</p>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t<tr style="background-color: transparent;">
\t\t\t\t\t\t\t\t\t<td id="at-preview__no-results" class="at-preview__no-results" colspan="100%">
\t\t\t\t\t\t\t\t\t\t<h5>''')
        _v = VFFSL(SL,"tstrings",True)['at_no_matches'] # u"$tstrings['at_no_matches']" on line 717, col 15
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['at_no_matches']")) # from line 717, col 15.
        write(u'''</h5>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t<tbody id="at-preview__list">
\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t</table>
\t\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class="modal-footer">
\t\t\t\t<button type="button" class="btn waves-effect btn-default" data-dismiss="modal">''')
        _v = VFFSL(SL,"tstrings",True)['close'] # u"$tstrings['close']" on line 727, col 85
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['close']")) # from line 727, col 85.
        write(u'''</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<div id="ATSettingsModal" class="modal fade" role="dialog">
\t<div class="modal-dialog">
\t\t<div class="modal-content">
\t\t\t<form name="atsettings" action="/autotimer/set" method="get" id="atsettingsform">
\t\t\t\t<div class="modal-header">
\t\t\t\t\t<button type="button" class="close" data-dismiss="modal"><i class="material-icons material-icons-centered">close</i></button>
\t\t\t\t\t<h4 class="modal-title">''')
        _v = VFFSL(SL,"tstrings",True)['ats_auto_timer_settings'] # u"$tstrings['ats_auto_timer_settings']" on line 739, col 30
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_auto_timer_settings']")) # from line 739, col 30.
        write(u'''</h4>
\t\t\t\t</div>
\t\t\t\t<div class="modal-body" style="max-height: calc(100vh - 180px); overflow-y: auto;">
\t\t\t\t\t<div id="atsettingdlgcont">
\t\t\t\t\t\t<fieldset>
\t\t\t\t\t\t\t<div class="form-group">
\t\t\t\t\t\t\t\t<input type="checkbox" name="autopoll" value="true" id="ats_autopoll" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_autopoll">''')
        _v = VFFSL(SL,"tstrings",True)['ats_autopoll'] # u"$tstrings['ats_autopoll']" on line 746, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_autopoll']")) # from line 746, col 35.
        write(u'''</label>&nbsp;
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<label for="ats_interval">''')
        _v = VFFSL(SL,"tstrings",True)['ats_interval'] # u"$tstrings['ats_interval']" on line 748, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_interval']")) # from line 748, col 35.
        write(u'''</label>
\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t<input type="number" name="interval" value="" id="ats_interval" class="form-control">
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<label for="ats_maxdaysinfuture">''')
        _v = VFFSL(SL,"tstrings",True)['ats_maxdaysinfuture'] # u"$tstrings['ats_maxdaysinfuture']" on line 753, col 42
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_maxdaysinfuture']")) # from line 753, col 42.
        write(u'''</label>
\t\t\t\t\t\t\t\t<div class="form-line">
\t\t\t\t\t\t\t\t\t<input type="number" name="maxdaysinfuture" value="" id="ats_maxdaysinfuture" class="form-control">
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="try_guessing" value="true" id="ats_try_guessing" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_try_guessing">''')
        _v = VFFSL(SL,"tstrings",True)['ats_try_guessing'] # u"$tstrings['ats_try_guessing']" on line 759, col 39
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_try_guessing']")) # from line 759, col 39.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="fastscan" value="true" id="ats_fastscan" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_fastscan">''')
        _v = VFFSL(SL,"tstrings",True)['ats_fastscan'] # u"$tstrings['ats_fastscan']" on line 762, col 35
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_fastscan']")) # from line 762, col 35.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="show_in_extensionsmenu" value="true" id="ats_show_in_extensionsmenu" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_show_in_extensionsmenu">''')
        _v = VFFSL(SL,"tstrings",True)['ats_show_in_extensionsmenu'] # u"$tstrings['ats_show_in_extensionsmenu']" on line 765, col 49
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_show_in_extensionsmenu']")) # from line 765, col 49.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="disabled_on_conflict" value="true" id="ats_disabled_on_conflict" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_disabled_on_conflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_disabled_on_conflict'] # u"$tstrings['ats_disabled_on_conflict']" on line 768, col 47
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_disabled_on_conflict']")) # from line 768, col 47.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="addsimilar_on_conflict" value="true" id="ats_addsimilar_on_conflict" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_addsimilar_on_conflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_addsimilar_on_conflict'] # u"$tstrings['ats_addsimilar_on_conflict']" on line 771, col 49
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_addsimilar_on_conflict']")) # from line 771, col 49.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="notifconflict" value="true" id="ats_notifconflict" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_notifconflict">''')
        _v = VFFSL(SL,"tstrings",True)['ats_notifconflict'] # u"$tstrings['ats_notifconflict']" on line 774, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_notifconflict']")) # from line 774, col 40.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="notifsimilar" value="true" id="ats_notifsimilar" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_notifsimilar">''')
        _v = VFFSL(SL,"tstrings",True)['ats_notifsimilar'] # u"$tstrings['ats_notifsimilar']" on line 777, col 39
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_notifsimilar']")) # from line 777, col 39.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="add_autotimer_to_tags" value="true" id="ats_add_autotimer_to_tags" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_add_autotimer_to_tags">''')
        _v = VFFSL(SL,"tstrings",True)['ats_add_autotimer_to_tags'] # u"$tstrings['ats_add_autotimer_to_tags']" on line 780, col 48
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_add_autotimer_to_tags']")) # from line 780, col 48.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<input type="checkbox" name="add_name_to_tags" value="true" id="ats_add_name_to_tags" class="form-control chk--skinned">
\t\t\t\t\t\t\t\t<label for="ats_add_name_to_tags">''')
        _v = VFFSL(SL,"tstrings",True)['ats_add_name_to_tags'] # u"$tstrings['ats_add_name_to_tags']" on line 783, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_add_name_to_tags']")) # from line 783, col 43.
        write(u'''</label>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<label for="ats_refresh">''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh'] # u"$tstrings['ats_refresh']" on line 785, col 34
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh']")) # from line 785, col 34.
        write(u'''</label>
\t\t\t\t\t\t\t\t<select name="refresh" id="ats_refresh" class="form-control">
\t\t\t\t\t\t\t\t\t<option value="none" selected>''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_none'] # u"$tstrings['ats_refresh_none']" on line 787, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_none']")) # from line 787, col 40.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="auto" selected>''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_auto'] # u"$tstrings['ats_refresh_auto']" on line 788, col 40
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_auto']")) # from line 788, col 40.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="all" selected>''')
        _v = VFFSL(SL,"tstrings",True)['ats_refresh_all'] # u"$tstrings['ats_refresh_all']" on line 789, col 39
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_refresh_all']")) # from line 789, col 39.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t<label for="ats_editor">''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor'] # u"$tstrings['ats_editor']" on line 792, col 33
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor']")) # from line 792, col 33.
        write(u'''</label>
\t\t\t\t\t\t\t\t<select name="editor" id="ats_editor" class="form-control">
\t\t\t\t\t\t\t\t\t<option value="plain" selected>''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor_plain'] # u"$tstrings['ats_editor_plain']" on line 794, col 41
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor_plain']")) # from line 794, col 41.
        write(u'''</option>
\t\t\t\t\t\t\t\t\t<option value="wizzard" selected>''')
        _v = VFFSL(SL,"tstrings",True)['ats_editor_wizard'] # u"$tstrings['ats_editor_wizard']" on line 795, col 43
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['ats_editor_wizard']")) # from line 795, col 43.
        write(u'''</option>
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</fieldset>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class="modal-footer">
\t\t\t\t\t<button type="button" class="btn btn-default waves-effect" data-dismiss="modal">''')
        _v = VFFSL(SL,"tstrings",True)['close'] # u"$tstrings['close']" on line 802, col 86
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['close']")) # from line 802, col 86.
        write(u'''</button>
\t\t\t\t\t<button type="submit" name="saveSettings" class="btn btn--skinned waves-effect" data-dismiss="modal">''')
        _v = VFFSL(SL,"tstrings",True)['save'] # u"$tstrings['save']" on line 803, col 107
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['save']")) # from line 803, col 107.
        write(u'''</button>
\t\t\t\t</div>
\t\t\t</form>
\t\t</div>
\t</div>
</div>

<div id="ATTimerListModal" class="modal fade" role="dialog">
\t<div class="modal-dialog modal-lg">
\t\t<div class="modal-content">
\t\t\t<div class="modal-header">
\t\t\t\t<button type="button" class="close" data-dismiss="modal"><i class="material-icons material-icons-centered">close</i></button>
\t\t\t\t<h4 class="modal-title">''')
        _v = VFFSL(SL,"tstrings",True)['timers'] # u"$tstrings['timers']" on line 815, col 29
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['timers']")) # from line 815, col 29.
        write(u'''</h4>
\t\t\t</div>
\t\t\t<div class="modal-body" style="max-height: calc(100vh - 180px); overflow-y: auto;">
\t\t\t\t\t<div id="timerdlgcont"></div>
\t\t\t</div>
\t\t\t<div class="modal-footer">
\t\t\t\t<button type="button" class="btn btn-default waves-effect" data-dismiss="modal">''')
        _v = VFFSL(SL,"tstrings",True)['close'] # u"$tstrings['close']" on line 821, col 85
        if _v is not None: write(_filter(_v, rawExpr=u"$tstrings['close']")) # from line 821, col 85.
        write(u"""</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<script>

</script>

<script>
\twindow.valueLabelMap = {
\t\t'autoTimers': {
\t\t\t'searchType': {
""")
        for searchType in VFFSL(SL,"searchTypes",True): # generated from line 835, col 1
            write(u"""\t\t\t\t'""")
            _v = VFFSL(SL,"searchType",True) # u'$searchType' on line 836, col 6
            if _v is not None: write(_filter(_v, rawExpr=u'$searchType')) # from line 836, col 6.
            write(u"""': '""")
            _v = VFFSL(SL,"tstrings",True)["at_" + VFFSL(SL,"searchType",True) + "_match"] # u'$tstrings["at_" + $searchType + "_match"]' on line 836, col 21
            if _v is not None: write(_filter(_v, rawExpr=u'$tstrings["at_" + $searchType + "_match"]')) # from line 836, col 21.
            write(u"""',
""")
        write(u'''\t\t\t}
\t\t}
\t};
</script>

<script src="/modern/plugins/xml2json/xml2json.min.js"></script>
<script src="/modern/plugins/strftime/strftime.js"></script>
<script src="/modern/plugins/choices/choices.min.js"></script>

''')
        #  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/autotimers-app.js"></script>

''')
        _filter = self._CHEETAH__currentFilter = _orig_filter_44378347
        
        ########################################
        ## 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_at= 'respond'

## END CLASS DEFINITION

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


# 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=at()).run()


