Spade
Mini Shell
PKli�[/i����privacycheck.jsnu�[���/**
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
jQuery(document).ready(function() {
var variables = Joomla.getOptions('js-privacy-check'),
plg_quickicon_privacycheck_ajax_url =
variables.plg_quickicon_privacycheck_ajax_url,
plg_quickicon_privacycheck_url =
variables.plg_quickicon_privacycheck_url,
plg_quickicon_privacycheck_text =
variables.plg_quickicon_privacycheck_text;
var ajax_structure = {
success: function(data, textStatus, jqXHR) {
var link =
jQuery('#plg_quickicon_privacycheck').find('span.j-links-link');
try {
var requestList = jQuery.parseJSON(data);
} catch (e) {
// An error occurred
link.html(plg_quickicon_privacycheck_text.ERROR);
}
if (requestList.data.number_urgent_requests == 0) {
// No requests
link.html(plg_quickicon_privacycheck_text.NOREQUEST);
} else {
// Requests
var msgString = '<span class="label
label-important">'
+ requestList.data.number_urgent_requests +
'</span> '
+ plg_quickicon_privacycheck_text.REQUESTFOUND_MESSAGE;
jQuery('#system-message-container').prepend(
'<div class="alert alert-error
alert-joomlaupdate">'
+ msgString
+ ' <button class="btn btn-primary"
onclick="document.location=\'' +
plg_quickicon_privacycheck_url + '\'">'
+ plg_quickicon_privacycheck_text.REQUESTFOUND_BUTTON +
'</button>'
+ '</div>'
);
var msgString = plg_quickicon_privacycheck_text.REQUESTFOUND
+ ' <span class="label
label-important">'
+ requestList.data.number_urgent_requests + '</span>'
link.html(msgString);
}
},
error: function(jqXHR, textStatus, errorThrown) {
// An error occurred
jQuery('#plg_quickicon_privacycheck').find('span.j-links-link').html(plg_quickicon_privacycheck_text.ERROR);
},
url: plg_quickicon_privacycheck_ajax_url
};
ajax_object = new jQuery.ajax(ajax_structure);
});
PKfE�[D�;���application.jsnu�[���$('.dropdown-toggle').dropdown()
$('.collapse').collapse('show')
$('#myModal').modal('hide')
$('.typeahead').typeahead()
$('.tabs').button()
$('.tip').tooltip()
$(".alert-message").alert()PKfE�[r�;�tt
classes.jsnu�[���// Add classes
window.onload=function() {
var input = document.getElementsByTagName("input");
for (var i = 0; i < input.length; i++) {
if (input[i].className == 'button') {
input[i].className = 'btn btn-primary';
}
}
var button = document.getElementsByTagName("button");
for (var i = 0; i < input.length; i++) {
if (button[i].className == 'button') {
button[i].className = 'btn btn-primary';
}
}
var p = document.getElementsByTagName("p");
for (var i = 0; i < p.length; i++) {
if (p[i].className == 'readmore') {
p[i].className = 'btn';
}
}
var table = document.getElementsByTagName("table");
for (var i = 0; i < table.length; i++) {
if (table[i].className == 'category') {
table[i].className = 'table table-striped';
}
}
var ul = document.getElementsByTagName("ul");
for (var i = 0; i < ul.length; i++) {
if (ul[i].className == 'actions') {
ul[i].className = 'nav nav-pills';
}
}
var ul = document.getElementsByTagName("ul");
for (var i = 0; i < ul.length; i++) {
if (ul[i].className == 'pagenav') {
ul[i].className = 'pagination';
}
}
}PKfE�[dBu2$.$.template.jsnu�[���/**
* @package Joomla.Administrator
* @subpackage Templates.isis
* @copyright (C) 2012 Open Source Matters, Inc.
<https://www.joomla.org>
* @license GNU General Public License version 2 or later; see
LICENSE.txt
* @since 3.0
*/
jQuery(function($)
{
'use strict';
var $w = $(window);
$(document.body)
// add color classes to chosen field based on value
.on('liszt:ready', 'select[class^="chzn-color"],
select[class*=" chzn-color"]', function() {
var $select = $(this);
var cls = this.className.replace(/^.(chzn-color[a-z0-9-_]*)$.*/,
'$1');
var $container =
$select.next('.chzn-container').find('.chzn-single');
$container.addClass(cls).attr('rel', 'value_' +
$select.val());
$select.on('change click', function() {
$container.attr('rel', 'value_' + $select.val());
});
})
// Handle changes to (radio) button groups
.on('change', '.btn-group input:radio', function () {
var $this = $(this);
var $group = $this.closest('.btn-group');
var name = $this.prop('name');
var reversed = $group.hasClass('btn-group-reversed');
$group.find('input:radio[name="' + name +
'"]').each(function () {
var $input = $(this);
// Get the enclosing label
var $label = $input.closest('label');
var inputId = $input.attr('id');
var inputVal = $input.val();
var btnClass = 'primary';
// Include any additional labels for this control
if (inputId) {
$label = $label.add($('label[for="' + inputId +
'"]'));
}
if ($input.prop('checked')) {
if (inputVal != '') {
btnClass = (inputVal == 0 ? !reversed : reversed) ?
'danger' : 'success';
}
$label.addClass('active btn-' + btnClass);
} else {
$label.removeClass('active btn-success btn-danger
btn-primary');
}
})
})
.on('subform-row-add', initTemplate);
initTemplate();
// Called once on domready, again when a subform row is added
function initTemplate(event, container)
{
var $container = $(container || document);
// Create tooltips
$container.find('*[rel=tooltip]').tooltip();
// Turn radios into btn-group
$container.find('.radio.btn-group
label').addClass('btn');
// Handle disabled, prevent clicks on the container, and add disabled
style to each button
$container.find('fieldset.btn-group:disabled').each(function()
{
$(this).css('pointer-events',
'none').off('click').find('.btn').addClass('disabled');
});
// Setup coloring for buttons
$container.find('.btn-group input:checked').each(function() {
var $input = $(this);
var $label = $('label[for=' + $input.attr('id') +
']');
var btnClass = 'primary';
if ($input.val() != '')
{
var reversed =
$input.parent().hasClass('btn-group-reversed');
btnClass = ($input.val() == 0 ? !reversed : reversed) ?
'danger' : 'success';
}
$label.addClass('active btn-' + btnClass);
});
}
/**
* Append submenu items to empty UL on hover allowing a scrollable
dropdown
*/
if ($w.width() > 767)
{
var menuScroll = $('#menu > li > ul'),
emptyMenu = $('#nav-empty'),
linkWidth,
menuWidth,
offsetLeft;
$('#menu > li').on('click mouseenter', function()
{
// Set max-height (and width if scroll) for dropdown menu, depending of
window height
var $self = $(this),
$dropdownMenu = $self.children('ul'),
windowHeight = $w.height(),
linkHeight = $self.outerHeight(true),
statusHeight = $('#status').outerHeight(true),
menuHeight = $dropdownMenu.height(),
menuOuterHeight = $dropdownMenu.outerHeight(true),
scrollMenuWidth = $dropdownMenu.width() + 15,
maxHeight = windowHeight - (linkHeight + statusHeight +
(menuOuterHeight - menuHeight) + 20),
linkPaddingLeft =
$self.children('a').css('padding-left');
if (maxHeight < menuHeight)
{
$dropdownMenu.css('width', scrollMenuWidth);
}
else if (maxHeight > menuHeight)
{
$dropdownMenu.css('width', 'auto');
}
$dropdownMenu.css('max-height', maxHeight);
// Get the submenu position
linkWidth = $self.outerWidth(true);
menuWidth = $dropdownMenu.width();
offsetLeft = Math.round($self.offset().left) -
parseInt(linkPaddingLeft);
emptyMenu.empty().hide();
});
menuScroll.find('.dropdown-submenu >
a').on('mouseover', function() {
var $self = $(this),
dropdown = $self.next('ul'),
submenuWidth = dropdown.outerWidth(),
offsetTop = $self.offset().top,
linkPaddingTop = parseInt(dropdown.css('padding-top')) +
parseInt($self.css('padding-top')),
scroll = $w.scrollTop() + linkPaddingTop;
// Set the submenu position
if ($('html').attr('dir') == 'rtl')
{
emptyMenu.css({
top : offsetTop - scroll,
left: offsetLeft - (menuWidth - linkWidth) - submenuWidth
});
}
else
{
emptyMenu.css({
top : offsetTop - scroll,
left: offsetLeft + menuWidth
});
}
// Append items to empty <ul> and show it
dropdown.hide();
emptyMenu.show().html(dropdown.html());
// Check if the full element is visible. If not, adjust the position
if (emptyMenu.Jvisible() !== true)
{
emptyMenu.css({
top : ($w.height() - emptyMenu.outerHeight()) -
$('#status').height()
});
}
});
menuScroll.find('a.no-dropdown').on('mouseenter',
function() {
emptyMenu.empty().hide();
});
// obtain a reference to the original handler
var _clearMenus = $._data(document,
'events').click.filter(function (el) {
return el.namespace === 'data-api.dropdown' &&
el.selector === undefined
})[0].handler;
// disable the old listener
$(document)
.off('click.data-api.dropdown', _clearMenus)
.on('click.data-api.dropdown', function(e) {
e.button === 2 || _clearMenus();
if (!$('#menu').find('>
li').hasClass('open'))
{
emptyMenu.empty().hide();
}
});
$.fn.Jvisible = function(partial,hidden)
{
if (this.length < 1)
{
return;
}
var $t = this.length > 1 ? this.eq(0) : this,
t = $t.get(0)
var viewTop = $w.scrollTop(),
viewBottom = (viewTop + $w.height()) -
$('#status').height(),
offset = $t.offset(),
_top = offset.top,
_bottom = _top + $t.height(),
compareTop = partial === true ? _bottom : _top,
compareBottom = partial === true ? _top : _bottom;
return !!t.offsetWidth * t.offsetHeight && ((compareBottom <=
viewBottom) && (compareTop >= viewTop));
};
}
/**
* USED IN: All views with toolbar and sticky bar enabled
*/
var navTop;
var isFixed = false;
if (document.getElementById('isisJsData') &&
document.getElementById('isisJsData').getAttribute('data-tmpl-sticky')
== "true") {
processScrollInit();
processScroll();
$(window).on('resize', processScrollInit);
$(window).on('scroll', processScroll);
}
function processScrollInit() {
if ($('.subhead').length) {
navTop = $('.subhead').length &&
$('.subhead').offset().top -
parseInt(document.getElementById('isisJsData').getAttribute('data-tmpl-offset'));
// Fix the container top
$(".container-main").css("top",
$('.subhead').height() + $('nav.navbar').height());
// Only apply the scrollspy when the toolbar is not collapsed
if (document.body.clientWidth > 480) {
$('.subhead-collapse').height($('.subhead').height());
$('.subhead').scrollspy({offset: {top:
$('.subhead').offset().top -
$('nav.navbar').height()}});
}
}
}
function processScroll() {
if ($('.subhead').length) {
var scrollTop = $(window).scrollTop();
if (scrollTop >= navTop && !isFixed) {
isFixed = true;
$('.subhead').addClass('subhead-fixed');
// Fix the container top
$(".container-main").css("top",
$('.subhead').height() + $('nav.navbar').height());
} else if (scrollTop <= navTop && isFixed) {
isFixed = false;
$('.subhead').removeClass('subhead-fixed');
}
}
}
/**
* USED IN: All list views to hide/show the sidebar
*/
window.toggleSidebar = function(force)
{
var context = 'jsidebar';
var $sidebar = $('#j-sidebar-container'),
$main = $('#j-main-container'),
$message = $('#system-message-container'),
$debug = $('#system-debug'),
$toggleSidebarIcon = $('#j-toggle-sidebar-icon'),
$toggleButtonWrapper = $('#j-toggle-button-wrapper'),
$toggleButton = $('#j-toggle-sidebar-button'),
$sidebarToggle = $('#j-toggle-sidebar');
var openIcon = 'icon-arrow-left-2',
closedIcon = 'icon-arrow-right-2';
var $visible = $sidebarToggle.is(":visible");
if
(jQuery(document.querySelector("html")).attr('dir') ==
'rtl')
{
openIcon = 'icon-arrow-right-2';
closedIcon = 'icon-arrow-left-2';
}
var isComponent = $('body').hasClass('component');
$sidebar.removeClass('span2').addClass('j-sidebar-container');
$message.addClass('j-toggle-main');
$main.addClass('j-toggle-main');
if (!isComponent) {
$debug.addClass('j-toggle-main');
}
var mainHeight = $main.outerHeight()+30,
sidebarHeight = $sidebar.outerHeight(),
bodyWidth = $('body').outerWidth(),
sidebarWidth = $sidebar.outerWidth(),
contentWidth = $('#content').outerWidth(),
contentWidthRelative = contentWidth / bodyWidth * 100,
mainWidthRelative = (contentWidth - sidebarWidth) / bodyWidth * 100;
if (force)
{
// Load the value from localStorage
if (typeof(Storage) !== "undefined")
{
$visible = localStorage.getItem(context);
}
// Need to convert the value to a boolean
$visible = ($visible == 'true');
}
else
{
$message.addClass('j-toggle-transition');
$sidebar.addClass('j-toggle-transition');
$toggleButtonWrapper.addClass('j-toggle-transition');
$main.addClass('j-toggle-transition');
if (!isComponent) {
$debug.addClass('j-toggle-transition');
}
}
if ($visible)
{
$sidebarToggle.hide();
$sidebar.removeClass('j-sidebar-visible').addClass('j-sidebar-hidden');
$toggleButtonWrapper.removeClass('j-toggle-visible').addClass('j-toggle-hidden');
$toggleSidebarIcon.removeClass('j-toggle-visible').addClass('j-toggle-hidden');
$message.removeClass('span10').addClass('span12');
$main.removeClass('span10').addClass('span12
expanded');
$toggleSidebarIcon.removeClass(openIcon).addClass(closedIcon);
$toggleButton.attr( 'data-original-title',
Joomla.JText._('JTOGGLE_SHOW_SIDEBAR') );
$sidebar.attr('aria-hidden', true);
$sidebar.find('a').attr('tabindex', '-1');
$sidebar.find(':input').attr('tabindex',
'-1');
if (!isComponent) {
$debug.css( 'width', contentWidthRelative + '%' );
}
if (typeof(Storage) !== "undefined")
{
// Set the last selection in localStorage
localStorage.setItem(context, true);
}
}
else
{
$sidebarToggle.show();
$sidebar.removeClass('j-sidebar-hidden').addClass('j-sidebar-visible');
$toggleButtonWrapper.removeClass('j-toggle-hidden').addClass('j-toggle-visible');
$toggleSidebarIcon.removeClass('j-toggle-hidden').addClass('j-toggle-visible');
$message.removeClass('span12').addClass('span10');
$main.removeClass('span12
expanded').addClass('span10');
$toggleSidebarIcon.removeClass(closedIcon).addClass(openIcon);
$toggleButton.attr( 'data-original-title',
Joomla.JText._('JTOGGLE_HIDE_SIDEBAR') );
$sidebar.removeAttr('aria-hidden');
$sidebar.find('a').removeAttr('tabindex');
$sidebar.find(':input').removeAttr('tabindex');
if (!isComponent && bodyWidth > 768 && mainHeight
< sidebarHeight)
{
$debug.css( 'width', mainWidthRelative + '%' );
}
else if (!isComponent)
{
$debug.css( 'width', contentWidthRelative + '%' );
}
if (typeof(Storage) !== "undefined")
{
// Set the last selection in localStorage
localStorage.setItem( context, false );
}
}
}
});
PKݴ�[��,I� � 'administrator/admin-phocaitems-modal.jsnu�[���/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/
/**
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
(function () {
"use strict";
/**
* Javascript to insert the link
* View element calls jSelectPhocacartitems when a product is clicked
* jSelectPhoca creates the link tag, sends it to the editor,
* and closes the select frame.
*/
window.jSelectPhocacartitem = function (id, title, catid, object, link,
lang) {
var hreflang = '',
tag,
editor;
if (!Joomla.getOptions('xtd-phocacartitems')) {
// Something went wrong!
window.parent.jModalClose();
return false;
}
editor = Joomla.getOptions('xtd-phocacartitems').editor;
if (lang !== '') {
hreflang = ' hreflang = "' + lang +
'"';
}
tag = '<a' + hreflang + ' href="' + link +
'">' + title + '</a>';
/** Use the API, if editor supports it **/
if (window.parent.Joomla && window.parent.Joomla.editors
&& window.parent.Joomla.editors.instances &&
window.parent.Joomla.editors.instances.hasOwnProperty(editor)) {
window.parent.Joomla.editors.instances[editor].replaceSelection(tag);
} else {
window.parent.jInsertEditorText(tag, editor);
}
window.parent.jModalClose();
};
document.addEventListener('DOMContentLoaded', function () {
// Get the elements
var elements = document.querySelectorAll('.select-link');
for (var i = 0, l = elements.length; l > i; i++) {
// Listen for click event
elements[i].addEventListener('click', function (event) {
event.preventDefault();
var functionName =
event.target.getAttribute('data-function');
if (functionName === 'jSelectPhocacartitem') {
// Used in xtd_phocacartitems
window[functionName](event.target.getAttribute('data-id'),
event.target.getAttribute('data-title'), null, null,
event.target.getAttribute('data-uri'),
event.target.getAttribute('data-language'), null);
} else {
// Used in com_menus
window.parent[functionName](event.target.getAttribute('data-id'),
event.target.getAttribute('data-title'), null, null,
event.target.getAttribute('data-uri'),
event.target.getAttribute('data-language'), null);
}
});
}
});
})();PKݴ�[_�<
��+administrator/admin-phocaitems-modal.min.jsnu�[���(function(){"use
strict";window.jSelectPhocacartitem=function(a,b,c,d,e,f){var
g,h,i="";return
Joomla.getOptions("xtd-phocacartitems")?void(h=Joomla.getOptions("xtd-phocacartitems").editor,""!==f&&(i="
hreflang =
\""+f+"\""),g="<a"+i+"
href=\""+e+"\">"+b+"</a>",window.parent.Joomla&&window.parent.Joomla.editors&&window.parent.Joomla.editors.instances&&window.parent.Joomla.editors.instances.hasOwnProperty(h)?window.parent.Joomla.editors.instances[h].replaceSelection(g):window.parent.jInsertEditorText(g,h),window.parent.jModalClose()):(window.parent.jModalClose(),!1)},document.addEventListener("DOMContentLoaded",function(){for(var
a=document.querySelectorAll(".select-link"),b=0,c=a.length;c>b;b++)a[b].addEventListener("click",function(a){a.preventDefault();var
b=a.target.getAttribute("data-function");"jSelectPhocacartitem"===b?window[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),null,null,a.target.getAttribute("data-uri"),a.target.getAttribute("data-language"),null):window.parent[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),null,null,a.target.getAttribute("data-uri"),a.target.getAttribute("data-language"),null)})})})();PKݴ�[�,(Tz
z $administrator/bootstrap.typeahead.jsnu�[���/*
=============================================================
* bootstrap-typeahead.js v2.3.2
* http://getbootstrap.com/2.3.2/javascript.html#typeahead
* =============================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the
"License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS"
BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function($){
"use strict"; // jshint ;_;
/* TYPEAHEAD PUBLIC CLASS DEFINITION
* ================================= */
var Typeahead = function (element, options) {
this.$element = $(element)
this.options = $.extend({}, $.fn.typeahead.defaults, options)
this.matcher = this.options.matcher || this.matcher
this.sorter = this.options.sorter || this.sorter
this.highlighter = this.options.highlighter || this.highlighter
this.updater = this.options.updater || this.updater
this.source = this.options.source
this.$menu = $(this.options.menu)
this.shown = false
this.listen()
}
Typeahead.prototype = {
constructor: Typeahead
, select: function () {
var val =
this.$menu.find('.active').attr('data-value')
this.$element
.val(this.updater(val))
.change()
return this.hide()
}
, updater: function (item) {
return item
}
, show: function () {
var pos = $.extend({}, this.$element.position(), {
height: this.$element[0].offsetHeight
})
this.$menu
.insertAfter(this.$element)
.css({
top: pos.top + pos.height
, left: pos.left
})
.show()
this.shown = true
return this
}
, hide: function () {
this.$menu.hide()
this.shown = false
return this
}
, lookup: function (event) {
var items
this.query = this.$element.val()
if (!this.query || this.query.length < this.options.minLength) {
return this.shown ? this.hide() : this
}
items = $.isFunction(this.source) ? this.source(this.query,
$.proxy(this.process, this)) : this.source
return items ? this.process(items) : this
}
, process: function (items) {
var that = this
items = $.grep(items, function (item) {
return that.matcher(item)
})
items = this.sorter(items)
if (!items.length) {
return this.shown ? this.hide() : this
}
return this.render(items.slice(0, this.options.items)).show()
}
, matcher: function (item) {
return ~item.toLowerCase().indexOf(this.query.toLowerCase())
}
, sorter: function (items) {
var beginswith = []
, caseSensitive = []
, caseInsensitive = []
, item
while (item = items.shift()) {
if (!item.toLowerCase().indexOf(this.query.toLowerCase()))
beginswith.push(item)
else if (~item.indexOf(this.query)) caseSensitive.push(item)
else caseInsensitive.push(item)
}
return beginswith.concat(caseSensitive, caseInsensitive)
}
, highlighter: function (item) {
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
'\\$&')
return item.replace(new RegExp('(' + query + ')',
'ig'), function ($1, match) {
return '<strong>' + match +
'</strong>'
})
}
, render: function (items) {
var that = this
items = $(items).map(function (i, item) {
i = $(that.options.item).attr('data-value', item)
i.find('a').html(that.highlighter(item))
return i[0]
})
items.first().addClass('active')
this.$menu.html(items)
return this
}
, next: function (event) {
var active =
this.$menu.find('.active').removeClass('active')
, next = active.next()
if (!next.length) {
next = $(this.$menu.find('li')[0])
}
next.addClass('active')
}
, prev: function (event) {
var active =
this.$menu.find('.active').removeClass('active')
, prev = active.prev()
if (!prev.length) {
prev = this.$menu.find('li').last()
}
prev.addClass('active')
}
, listen: function () {
this.$element
.on('focus', $.proxy(this.focus, this))
.on('blur', $.proxy(this.blur, this))
.on('keypress', $.proxy(this.keypress, this))
.on('keyup', $.proxy(this.keyup, this))
if (this.eventSupported('keydown')) {
this.$element.on('keydown', $.proxy(this.keydown, this))
}
this.$menu
.on('click', $.proxy(this.click, this))
.on('mouseenter', 'li',
$.proxy(this.mouseenter, this))
.on('mouseleave', 'li',
$.proxy(this.mouseleave, this))
}
, eventSupported: function(eventName) {
var isSupported = eventName in this.$element
if (!isSupported) {
this.$element.setAttribute(eventName, 'return;')
isSupported = typeof this.$element[eventName] ===
'function'
}
return isSupported
}
, move: function (e) {
if (!this.shown) return
switch(e.keyCode) {
case 9: // tab
case 13: // enter
case 27: // escape
e.preventDefault()
break
case 38: // up arrow
e.preventDefault()
this.prev()
break
case 40: // down arrow
e.preventDefault()
this.next()
break
}
e.stopPropagation()
}
, keydown: function (e) {
this.suppressKeyPressRepeat = ~$.inArray(e.keyCode, [40,38,9,13,27])
this.move(e)
}
, keypress: function (e) {
if (this.suppressKeyPressRepeat) return
this.move(e)
}
, keyup: function (e) {
switch(e.keyCode) {
case 40: // down arrow
case 38: // up arrow
case 16: // shift
case 17: // ctrl
case 18: // alt
break
case 9: // tab
case 13: // enter
if (!this.shown) return
this.select()
break
case 27: // escape
if (!this.shown) return
this.hide()
break
default:
this.lookup()
}
e.stopPropagation()
e.preventDefault()
}
, focus: function (e) {
this.focused = true
}
, blur: function (e) {
this.focused = false
if (!this.mousedover && this.shown) this.hide()
}
, click: function (e) {
e.stopPropagation()
e.preventDefault()
this.select()
this.$element.focus()
}
, mouseenter: function (e) {
this.mousedover = true
this.$menu.find('.active').removeClass('active')
$(e.currentTarget).addClass('active')
}
, mouseleave: function (e) {
this.mousedover = false
if (!this.focused && this.shown) this.hide()
}
}
/* TYPEAHEAD PLUGIN DEFINITION
* =========================== */
var old = $.fn.typeahead
$.fn.typeahead = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('typeahead')
, options = typeof option == 'object' && option
if (!data) $this.data('typeahead', (data = new
Typeahead(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.typeahead.defaults = {
source: []
, items: 8
, menu: '<ul class="typeahead
dropdown-menu"></ul>'
, item: '<li><a
href="#"></a></li>'
, minLength: 1
}
$.fn.typeahead.Constructor = Typeahead
/* TYPEAHEAD NO CONFLICT
* =================== */
$.fn.typeahead.noConflict = function () {
$.fn.typeahead = old
return this
}
/* TYPEAHEAD DATA-API
* ================== */
$(document).on('focus.typeahead.data-api',
'[data-provide="typeahead"]', function (e) {
var $this = $(this)
if ($this.data('typeahead')) return
$this.typeahead($this.data())
})
}(window.jQuery);
PKݴ�[��L
administrator/coordinates.jsnu�[���function
setPMGPSLongitude(inputValue) {
longitudeValue = convertPMGPS(inputValue, 'longitude');
window.top.document.forms.adminForm.elements.gpslongitude.value =
longitudeValue;
}
function setPMGPSLatitude(inputValue) {
latitudeValue = convertPMGPS(inputValue, 'latitude');
window.top.document.forms.adminForm.elements.gpslatitude.value =
latitudeValue;
}
function setPMGPSLongitudeJForm(inputValue) {
longitudeValue = convertPMGPS(inputValue, 'longitude');
if (window.parent)
window.parent.phocaSelectMap_jform_gpslongitude(longitudeValue);
}
function setPMGPSLatitudeJForm(inputValue) {
latitudeValue = convertPMGPS(inputValue, 'latitude');
if (window.parent)
window.parent.phocaSelectMap_jform_gpslatitude(latitudeValue);
}
function convertPMGPS(inputValue, type) {
var status = 1;
var cAbs = 0;
var vAbs = 1000000000;
var degree = 0;
var minute = 0;
var second = 0;
var gpsValue = '';
var degrees = 180;
var potc = '';
var ms = 60;
if (type == 'longitude') {
degrees = 180;
}
if (type == 'latitude') {
degrees = 90;
}
if(isNaN(inputValue)) {
return '';
}
if(inputValue < 0) {
status = -1;
}
cAbs = Math.abs(Math.round(vAbs * inputValue));
if(cAbs > (vAbs * degrees)) {
return '';
}
degree = status * Math.floor(cAbs/vAbs);
minute = Math.floor(ms * ((cAbs/vAbs) - Math.floor(cAbs/vAbs)));
second = ms * Math.floor(vAbs * ((ms * ((cAbs/vAbs) -
Math.floor(cAbs/vAbs))) - Math.floor(ms * ((cAbs/vAbs) -
Math.floor(cAbs/vAbs)))) ) / vAbs;
second = Math.round(second * 1000)/1000;
if (degree < 0) {
if (type == 'longitude') {
potc = 'W';
}
if (type == 'latitude') {
potc = 'S';
}
}
if (degree > 0) {
if (type == 'longitude') {
potc = 'E';
}
if (type == 'latitude') {
potc = 'N';
}
}
gpsValue = Math.abs(degree) + '\u00b0' + '\u0020' +
minute + '\u0027' + '\u0020' + second +
'\u0022' + potc;
//status = 1;
return gpsValue;
}
/* utf-8 test ěščřžýáíé
*/PKݴ�[@Þͳ:�:administrator/geoxml3.jsnu�[���/*
geoXML3.js
Renders KML on the Google Maps JavaScript API Version 3
http://code.google.com/p/geoxml3/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
*/
// Extend the global String with a method to remove leading and trailing
whitespace
if (!String.prototype.trim) {
String.prototype.trim = function () {
return this.replace(/^\s+|\s+$/g, '');
};
}
// Declare namespace
geoXML3 = window.geoXML3 || {};
// Constructor for the root KML parser object
geoXML3.parser = function (options) {
// Private variables
var parserOptions = geoXML3.combineOptions(options, {
singleInfoWindow: false,
processStyles: true,
zoom: true
});
var docs = []; // Individual KML documents
var lastMarker;
// Private methods
var parse = function (urls) {
// Process one or more KML documents
if (typeof urls === 'string') {
// Single KML document
urls = [urls];
}
// Internal values for the set of documents as a whole
var internals = {
docSet: [],
remaining: urls.length,
parserOnly: !parserOptions.afterParse
};
var thisDoc;
for (var i = 0; i < urls.length; i++) {
thisDoc = {
url: urls[i],
internals: internals
};
internals.docSet.push(thisDoc);
geoXML3.fetchXML(thisDoc.url, function (responseXML)
{render(responseXML, thisDoc);});
}
};
var hideDocument = function (doc) {
// Hide the map objects associated with a document
var i;
for (i = 0; i < doc.markers.length; i++) {
this.markers[i].set_visible(false);
}
for (i = 0; i < doc.overlays.length; i++) {
doc.overlays[i].setOpacity(0);
}
};
var showDocument = function (doc) {
// Show the map objects associated with a document
var i;
for (i = 0; i < doc.markers.length; i++) {
doc.markers[i].set_visible(true);
}
for (i = 0; i < doc.overlays.length; i++) {
doc.overlays[i].setOpacity(doc.overlays[i].percentOpacity_);
}
};
var render = function (responseXML, doc) {
// Callback for retrieving a KML document: parse the KML and display it
on the map
if (!responseXML) {
// Error retrieving the data
geoXML3.log('Unable to retrieve ' + doc.url);
if (parserOptions.failedParse) {
parserOptions.failedParse(doc);
}
} else if (!doc) {
throw 'geoXML3 internal error: render called with null
document';
} else {
doc.styles = {};
doc.placemarks = [];
doc.groundOverlays = [];
if (parserOptions.zoom && !!parserOptions.map)
doc.bounds = new google.maps.LatLngBounds();
// Parse styles
var styleID, iconNodes, i;
var styleNodes = responseXML.getElementsByTagName('Style');
for (i = 0; i < styleNodes.length; i++) {
styleID = styleNodes[i].getAttribute('id');
iconNodes = styleNodes[i].getElementsByTagName('Icon');
if (!!iconNodes.length) {
doc.styles['#' + styleID] = {
href:
geoXML3.nodeValue(iconNodes[0].getElementsByTagName('href')[0])
};
}
}
if (!!parserOptions.processStyles || !parserOptions.createMarker) {
// Convert parsed styles into GMaps equivalents
processStyles(doc);
}
// Parse placemarks
var placemark, node, coords, path;
var placemarkNodes =
responseXML.getElementsByTagName('Placemark');
for (i = 0; i < placemarkNodes.length; i++) {
// Init the placemark object
node = placemarkNodes[i];
placemark = {
name:
geoXML3.nodeValue(node.getElementsByTagName('name')[0]),
description:
geoXML3.nodeValue(node.getElementsByTagName('description')[0]),
styleUrl:
geoXML3.nodeValue(node.getElementsByTagName('styleUrl')[0])
};
placemark.style = doc.styles[placemark.styleUrl] || {};
if (/^https?:\/\//.test(placemark.description)) {
placemark.description = '<a href="' +
placemark.description + '">' + placemark.description +
'</a>';
}
// Extract the coordinates
coords =
geoXML3.nodeValue(node.getElementsByTagName('coordinates')[0]).trim();
coords = coords.replace(/\s+/g, ' ').replace(/, /g,
',');
path = coords.split(' ');
// What sort of placemark?
if (path.length === 1) {
// Polygons/lines not supported in v3, so only plot markers
coords = path[0].split(',');
placemark.point = {
lat: parseFloat(coords[1]),
lng: parseFloat(coords[0]),
alt: parseFloat(coords[2])
};
if (!!doc.bounds) {
doc.bounds.extend(new google.maps.LatLng(placemark.point.lat,
placemark.point.lng));
}
// Call the appropriate function to create the marker
if (!!parserOptions.createMarker) {
parserOptions.createMarker(placemark, doc);
} else {
createMarker(placemark, doc);
}
}
}
// Parse ground overlays
var groundOverlay, color, transparency;
var groundNodes =
responseXML.getElementsByTagName('GroundOverlay');
for (i = 0; i < groundNodes.length; i++) {
node = groundNodes[i];
// Init the ground overlay object
groundOverlay = {
name:
geoXML3.nodeValue(node.getElementsByTagName('name')[0]),
description:
geoXML3.nodeValue(node.getElementsByTagName('description')[0]),
icon: {href:
geoXML3.nodeValue(node.getElementsByTagName('href')[0])},
latLonBox: {
north:
parseFloat(geoXML3.nodeValue(node.getElementsByTagName('north')[0])),
east:
parseFloat(geoXML3.nodeValue(node.getElementsByTagName('east')[0])),
south:
parseFloat(geoXML3.nodeValue(node.getElementsByTagName('south')[0])),
west:
parseFloat(geoXML3.nodeValue(node.getElementsByTagName('west')[0]))
}
};
if (!!doc.bounds) {
doc.bounds.union(new google.maps.LatLngBounds(
new google.maps.LatLng(groundOverlay.latLonBox.south,
groundOverlay.latLonBox.west),
new google.maps.LatLng(groundOverlay.latLonBox.north,
groundOverlay.latLonBox.east)
));
}
// Opacity is encoded in the color node
color =
geoXML3.nodeValue(node.getElementsByTagName('color')[0]);
if ((color !== '') && (color.length == 8)) {
transparency = parseInt(color.substring(0, 2), 16);
groundOverlay.opacity = Math.round((255 - transparency) / 2.55);
} else {
groundOverlay.opacity = 100;
}
// Call the appropriate function to create the overlay
if (!!parserOptions.createOverlay) {
parserOptions.createOverlay(groundOverlay, doc);
} else {
createOverlay(groundOverlay, doc);
}
}
if (!!doc.bounds) {
doc.internals.bounds = doc.internals.bounds || new
google.maps.LatLngBounds();
doc.internals.bounds.union(doc.bounds);
}
if (!!doc.styles || !!doc.markers || !!doc.overlays) {
doc.internals.parserOnly = false;
}
doc.internals.remaining -= 1;
if (doc.internals.remaining === 0) {
// We're done processing this set of KML documents
// Options that get invoked after parsing completes
if (!!doc.internals.bounds) {
parserOptions.map.fitBounds(doc.internals.bounds);
}
if (parserOptions.afterParse) {
parserOptions.afterParse(doc.internals.docSet);
}
if (!doc.internals.parserOnly) {
// geoXML3 is not being used only as a real-time parser, so keep
the parsed documents around
docs.concat(doc.internals.docSet);
}
}
}
};
var processStyles = function (doc) {
var stdRegEx =
/\/(red|blue|green|yellow|lightblue|purple|pink|orange)(-dot)?\.png/;
for (var styleID in doc.styles) {
if (!!doc.styles[styleID].href) {
// Init the style object with a standard KML icon
doc.styles[styleID].icon = new google.maps.MarkerImage(
doc.styles[styleID].href,
new google.maps.Size(32, 32),
new google.maps.Point(0, 0),
new google.maps.Point(16, 12)
);
// Look for a predictable shadow
if (stdRegEx.test(doc.styles[styleID].href)) {
// A standard GMap-style marker icon
doc.styles[styleID].shadow = new google.maps.MarkerImage(
'http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png',
new google.maps.Size(59, 32),
new google.maps.Point(0, 0),
new google.maps.Point(16, 12));
} else if
(doc.styles[styleID].href.indexOf('-pushpin.png') > -1) {
// Pushpin marker icon
doc.styles[styleID].shadow = new google.maps.MarkerImage(
'http://maps.google.com/mapfiles/ms/micons/pushpin_shadow.png',
new google.maps.Size(59, 32),
new google.maps.Point(0, 0),
new google.maps.Point(16, 12));
} else {
// Other MyMaps KML standard icon
doc.styles[styleID].shadow = new google.maps.MarkerImage(
doc.styles[styleID].href.replace('.png',
'.shadow.png'),
new google.maps.Size(59, 32),
new google.maps.Point(0, 0),
new google.maps.Point(16, 12));
}
}
}
};
var createMarker = function (placemark, doc) {
// create a Marker to the map from a placemark KML object
// Load basic marker properties
var markerOptions = geoXML3.combineOptions(parserOptions.markerOptions,
{
map: parserOptions.map,
position: new google.maps.LatLng(placemark.point.lat,
placemark.point.lng),
title: placemark.name,
zIndex: Math.round(-placemark.point.lat * 100000),
icon: placemark.style.icon,
shadow: placemark.style.shadow
});
// Create the marker on the map
var marker = new google.maps.Marker(markerOptions);
// Set up and create the infowindow
var infoWindowOptions =
geoXML3.combineOptions(parserOptions.infoWindowOptions, {
content: '<div
class="infowindow"><h3>' + placemark.name +
'</h3><div>' + placemark.description +
'</div></div>',
pixelOffset: new google.maps.Size(0, 2)
});
marker.infoWindow = new google.maps.InfoWindow(infoWindowOptions);
// Infowindow-opening event handler
google.maps.event.addListener(marker, 'click', function() {
if (!!parserOptions.singleInfoWindow) {
if (!!lastMarker && !!lastMarker.infoWindow) {
lastMarker.infoWindow.close();
}
lastMarker = this;
}
this.infoWindow.open(this.map, this);
});
if (!!doc) {
doc.markers = doc.markers || [];
doc.markers.push(marker);
}
return marker;
};
var createOverlay = function (groundOverlay, doc) {
// Add a ProjectedOverlay to the map from a groundOverlay KML object
if (!window.ProjectedOverlay) {
throw 'geoXML3 error: ProjectedOverlay not found while rendering
GroundOverlay from KML';
}
var bounds = new google.maps.LatLngBounds(
new google.maps.LatLng(groundOverlay.latLonBox.south,
groundOverlay.latLonBox.west),
new google.maps.LatLng(groundOverlay.latLonBox.north,
groundOverlay.latLonBox.east)
);
var overlayOptions =
geoXML3.combineOptions(parserOptions.overlayOptions, {percentOpacity:
groundOverlay.opacity});
var overlay = new ProjectedOverlay(parserOptions.map,
groundOverlay.icon.href, bounds, overlayOptions);
if (!!doc) {
doc.overlays = doc.overlays || [];
doc.overlays.push(overlay);
}
return
};
return {
// Expose some properties and methods
options: parserOptions,
docs: docs,
parse: parse,
hideDocument: hideDocument,
showDocument: showDocument,
processStyles: processStyles,
createMarker: createMarker,
createOverlay: createOverlay
};
};
// End of KML Parser
// Helper objects and functions
// Log a message to the debugging console, if one exists
geoXML3.log = function(msg) {
if (!!window.console) {
console.log(msg);
}
};
// Combine two options objects, a set of default values and a set of
override values
geoXML3.combineOptions = function (overrides, defaults) {
var result = {};
if (!!overrides) {
for (var prop in overrides) {
if (overrides.hasOwnProperty(prop)) {
result[prop] = overrides[prop];
}
}
}
if (!!defaults) {
for (prop in defaults) {
if (defaults.hasOwnProperty(prop) && (result[prop] ===
undefined)) {
result[prop] = defaults[prop];
}
}
}
return result;
};
// Retrieve a text document from url and pass it to callback as a string
geoXML3.fetchers = [];
geoXML3.fetchXML = function (url, callback) {
function timeoutHandler() {
callback();
};
var xhrFetcher;
if (!!geoXML3.fetchers.length) {
xhrFetcher = geoXML3.fetchers.pop();
} else {
if (!!window.XMLHttpRequest) {
xhrFetcher = new window.XMLHttpRequest(); // Most browsers
} else if (!!window.ActiveXObject) {
xhrFetcher = new window.ActiveXObject('Microsoft.XMLHTTP');
// Some IE
}
}
if (!xhrFetcher) {
geoXML3.log('Unable to create XHR object');
callback(null);
} else {
xhrFetcher.open('GET', url, true);
xhrFetcher.onreadystatechange = function () {
if (xhrFetcher.readyState === 4) {
// Retrieval complete
if (!!xhrFetcher.timeout)
clearTimeout(xhrFetcher.timeout);
if (xhrFetcher.status >= 400) {
geoXML3.log('HTTP error ' + xhrFetcher.status + '
retrieving ' + url);
callback();
} else {
// Returned successfully
callback(xhrFetcher.responseXML);
}
// We're done with this fetcher object
geoXML3.fetchers.push(xhrFetcher);
}
};
xhrFetcher.timeout = setTimeout(timeoutHandler, 60000);
xhrFetcher.send(null);
}
};
//nodeValue: Extract the text value of a DOM node, with leading and
trailing whitespace trimmed
geoXML3.nodeValue = function(node) {
if (!node) {
return '';
} else {
return (node.innerText || node.text || node.textContent).trim();
}
};
PKݴ�[Y=�@&&administrator/geoxml3.min.jsnu�[���String.prototype.trim||(String.prototype.trim=function(){return
this.replace(/^\s+|\s+$/g,"")}),geoXML3=window.geoXML3||{},geoXML3.parser=function(e){var
s,y=geoXML3.combineOptions(e,{singleInfoWindow:!1,processStyles:!0,zoom:!0}),w=[],a=function(e,o){if(e){if(!o)throw"geoXML3
internal error: render called with null document";var
n,t,a;o.styles={},o.placemarks=[],o.groundOverlays=[],y.zoom&&y.map&&(o.bounds=new
google.maps.LatLngBounds);var
s,r,l,i,g=e.getElementsByTagName("Style");for(a=0;a<g.length;a++)n=g[a].getAttribute("id"),(t=g[a].getElementsByTagName("Icon")).length&&(o.styles["#"+n]={href:geoXML3.nodeValue(t[0].getElementsByTagName("href")[0])});!y.processStyles&&y.createMarker||h(o);var
p,m,c,d=e.getElementsByTagName("Placemark");for(a=0;a<d.length;a++)r=d[a],(s={name:geoXML3.nodeValue(r.getElementsByTagName("name")[0]),description:geoXML3.nodeValue(r.getElementsByTagName("description")[0]),styleUrl:geoXML3.nodeValue(r.getElementsByTagName("styleUrl")[0])}).style=o.styles[s.styleUrl]||{},/^https?:\/\//.test(s.description)&&(s.description='<a
href="'+s.description+'">'+s.description+"</a>"),1===(i=(l=(l=geoXML3.nodeValue(r.getElementsByTagName("coordinates")[0]).trim()).replace(/\s+/g,"
").replace(/, /g,",")).split("
")).length&&(l=i[0].split(","),s.point={lat:parseFloat(l[1]),lng:parseFloat(l[0]),alt:parseFloat(l[2])},o.bounds&&o.bounds.extend(new
google.maps.LatLng(s.point.lat,s.point.lng)),y.createMarker?y.createMarker(s,o):f(s,o));var
u=e.getElementsByTagName("GroundOverlay");for(a=0;a<u.length;a++)r=u[a],p={name:geoXML3.nodeValue(r.getElementsByTagName("name")[0]),description:geoXML3.nodeValue(r.getElementsByTagName("description")[0]),icon:{href:geoXML3.nodeValue(r.getElementsByTagName("href")[0])},latLonBox:{north:parseFloat(geoXML3.nodeValue(r.getElementsByTagName("north")[0])),east:parseFloat(geoXML3.nodeValue(r.getElementsByTagName("east")[0])),south:parseFloat(geoXML3.nodeValue(r.getElementsByTagName("south")[0])),west:parseFloat(geoXML3.nodeValue(r.getElementsByTagName("west")[0]))}},o.bounds&&o.bounds.union(new
google.maps.LatLngBounds(new
google.maps.LatLng(p.latLonBox.south,p.latLonBox.west),new
google.maps.LatLng(p.latLonBox.north,p.latLonBox.east))),""!==(m=geoXML3.nodeValue(r.getElementsByTagName("color")[0]))&&8==m.length?(c=parseInt(m.substring(0,2),16),p.opacity=Math.round((255-c)/2.55)):p.opacity=100,y.createOverlay?y.createOverlay(p,o):L(p,o);o.bounds&&(o.internals.bounds=o.internals.bounds||new
google.maps.LatLngBounds,o.internals.bounds.union(o.bounds)),(o.styles||o.markers||o.overlays)&&(o.internals.parserOnly=!1),--o.internals.remaining,0===o.internals.remaining&&(o.internals.bounds&&y.map.fitBounds(o.internals.bounds),y.afterParse&&y.afterParse(o.internals.docSet),o.internals.parserOnly||w.concat(o.internals.docSet))}else
geoXML3.log("Unable to retrieve
"+o.url),y.failedParse&&y.failedParse(o)},h=function(e){var
o=/\/(red|blue|green|yellow|lightblue|purple|pink|orange)(-dot)?\.png/;for(var
n in e.styles)e.styles[n].href&&(e.styles[n].icon=new
google.maps.MarkerImage(e.styles[n].href,new google.maps.Size(32,32),new
google.maps.Point(0,0),new
google.maps.Point(16,12)),o.test(e.styles[n].href)?e.styles[n].shadow=new
google.maps.MarkerImage("http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png",new
google.maps.Size(59,32),new google.maps.Point(0,0),new
google.maps.Point(16,12)):-1<e.styles[n].href.indexOf("-pushpin.png")?e.styles[n].shadow=new
google.maps.MarkerImage("http://maps.google.com/mapfiles/ms/micons/pushpin_shadow.png",new
google.maps.Size(59,32),new google.maps.Point(0,0),new
google.maps.Point(16,12)):e.styles[n].shadow=new
google.maps.MarkerImage(e.styles[n].href.replace(".png",".shadow.png"),new
google.maps.Size(59,32),new google.maps.Point(0,0),new
google.maps.Point(16,12)))},f=function(e,o){var
n=geoXML3.combineOptions(y.markerOptions,{map:y.map,position:new
google.maps.LatLng(e.point.lat,e.point.lng),title:e.name,zIndex:Math.round(1e5*-e.point.lat),icon:e.style.icon,shadow:e.style.shadow}),t=new
google.maps.Marker(n),a=geoXML3.combineOptions(y.infoWindowOptions,{content:'<div
class="infowindow"><h3>'+e.name+"</h3><div>"+e.description+"</div></div>",pixelOffset:new
google.maps.Size(0,2)});return t.infoWindow=new
google.maps.InfoWindow(a),google.maps.event.addListener(t,"click",function(){y.singleInfoWindow&&(s&&s.infoWindow&&s.infoWindow.close(),s=this),this.infoWindow.open(this.map,this)}),o&&(o.markers=o.markers||[],o.markers.push(t)),t},L=function(e,o){if(!window.ProjectedOverlay)throw"geoXML3
error: ProjectedOverlay not found while rendering GroundOverlay from
KML";var n=new google.maps.LatLngBounds(new
google.maps.LatLng(e.latLonBox.south,e.latLonBox.west),new
google.maps.LatLng(e.latLonBox.north,e.latLonBox.east)),t=geoXML3.combineOptions(y.overlayOptions,{percentOpacity:e.opacity}),a=new
ProjectedOverlay(y.map,e.icon.href,n,t);o&&(o.overlays=o.overlays||[],o.overlays.push(a))};return{options:y,docs:w,parse:function(e){"string"==typeof
e&&(e=[e]);for(var
o,n={docSet:[],remaining:e.length,parserOnly:!y.afterParse},t=0;t<e.length;t++)o={url:e[t],internals:n},n.docSet.push(o),geoXML3.fetchXML(o.url,function(e){a(e,o)})},hideDocument:function(e){var
o;for(o=0;o<e.markers.length;o++)this.markers[o].set_visible(!1);for(o=0;o<e.overlays.length;o++)e.overlays[o].setOpacity(0)},showDocument:function(e){var
o;for(o=0;o<e.markers.length;o++)e.markers[o].set_visible(!0);for(o=0;o<e.overlays.length;o++)e.overlays[o].setOpacity(e.overlays[o].percentOpacity_)},processStyles:h,createMarker:f,createOverlay:L}},geoXML3.log=function(e){window.console&&console.log(e)},geoXML3.combineOptions=function(e,o){var
n={};if(e)for(var t in
e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(o)for(t in
o)o.hasOwnProperty(t)&&void 0===n[t]&&(n[t]=o[t]);return
n},geoXML3.fetchers=[],geoXML3.fetchXML=function(e,o){var
n;geoXML3.fetchers.length?n=geoXML3.fetchers.pop():window.XMLHttpRequest?n=new
window.XMLHttpRequest:window.ActiveXObject&&(n=new
window.ActiveXObject("Microsoft.XMLHTTP")),n?(n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&(n.timeout&&clearTimeout(n.timeout),400<=n.status?(geoXML3.log("HTTP
error "+n.status+" retrieving
"+e),o()):o(n.responseXML),geoXML3.fetchers.push(n))},n.timeout=setTimeout(function(){o()},6e4),n.send(null)):(geoXML3.log("Unable
to create XHR object"),o(null))},geoXML3.nodeValue=function(e){return
e?(e.innerText||e.text||e.textContent).trim():""};PKݴ�[�#o,,administrator/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[1���(administrator/jquery.equalheights.min.jsnu�[���/*!
* Simple jQuery Equal Heights
*
* Copyright (c) 2013 Matt Banks
* Dual licensed under the MIT and GPL licenses.
* Uses the same license as jQuery, see:
* http://docs.jquery.com/License
*
* @version 1.5.1
*/
!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return
c.each(function(){var
c=a(this).innerHeight();c>b&&(b=c)}),c.css("height",b)},a("[data-equal]").each(function(){var
b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery);PKݴ�[�,�Bd+d+administrator/phocacart.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
function phGetMsg(msg, defaultMsg) {
if (defaultMsg == 1) {
return '<div id="ph-ajaxtop-message">'
+ '<div id="ph-ajaxtop-close">x</div>'
+ '<div class="ph-result-txt ph-info-txt">' +
msg + '</div>'
+ '<div
class="ph-progressbar-bottom"></div>'
+ '</div>';
} else {
return '<div
id="ph-ajaxtop-close">x</div>' + msg +
'<div
class="ph-progressbar-bottom"></div>';
}
}
function phCloseMsgBoxSuccess() {
setTimeout(function(){
jQuery("#ph-ajaxtop").hide();
jQuery(".ph-result-txt").remove();
}, 2500);
jQuery(".ph-progressbar-bottom").animate({
width: "0%"
}, 2500 );
}
function phCloseMsgBoxError() {
setTimeout(function(){
jQuery("#ph-ajaxtop").hide();
jQuery(".ph-result-txt").remove();
}, 3500);
jQuery(".ph-progressbar-bottom").animate({
width: "0%"
}, 3500 );
}
/* Event - close ajax message on click */
jQuery(document).ready(function() {
jQuery("#ph-ajaxtop").on("click",
"#ph-ajaxtop-close", function() {
jQuery("#ph-ajaxtop").hide();
})
})
function phAddRowOptionParent(newRow, newHeader, attrid, url) {
var phCountRowOption = jQuery('.ph-row-option-attrid' +
attrid).length;
if(phCountRowOption == 0) {
jQuery('#phrowboxoptionjs' + attrid).append(newHeader);
}
jQuery('#phrowboxoptionjs' + attrid).append(newRow);
var phMiniColorsId = '#jform_optioncolor' + attrid +
phRowCountOption;// Reload minicolors
jQuery(phMiniColorsId).minicolors({
control: 'hex',
format: 'hex',
position: 'default',
theme: 'bootstrap'
});
/* Get and set the download token and download folder by ajax*/
data = {};
data['task'] = 'gettoken';
phRowCountOptionBeforeAjax = phRowCountOption;/* AJAX returns the values
after the phRowCountOption will be phRowCountOption++ in next rows*/
phRequestActiveToken = jQuery.ajax({
url: url,
type: 'POST',
data: data,
dataType: 'JSON',
success:function(response){
if ( response.status == 1 ){
var idFolder = '#jform_optiondownload_folder' + attrid +
phRowCountOptionBeforeAjax;
var idToken = '#jform_optiondownload_token' + attrid +
phRowCountOptionBeforeAjax;
jQuery(idFolder).val(response.folder);
jQuery(idToken).val(response.token);
phRequestActiveToken = null;
} else {
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error,
0));
phRequestActiveToken = null;
phCloseMsgBoxError();
}
}
});
phRowCountOption++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
}
function phRemoveOptionFolder(data, url) {
phRequestActiveToken = jQuery.ajax({
url: url,
type: 'POST',
data: data,
dataType: 'JSON',
success:function(response){
if ( response.status == 1 ){
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.message,
0));
phRequestActiveToken = null;
phCloseMsgBoxSuccess();
} else if (response.status == 2) {
/* no folder exists - nothing deleted - no need any message */
phRequestActiveToken = null;
} else {
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error,
0));
phRequestActiveToken = null;
phCloseMsgBoxError();
}
}
});
}
function phRemoveRowOptionParent(id, attrid, url) {
/* Remove download folder for deleted attribute option */
var idDownloadFolder = '#jform_optiondownload_folder' + attrid +
id;
var downloadFolder = jQuery(idDownloadFolder).val();
data = {};
data['task'] = 'removefolder';
data['folder'] = {0: downloadFolder};
phRemoveOptionFolder(data, url);
jQuery('#phOptionBox' + attrid + id).remove();
var phCountRowOption = jQuery('.ph-row-option-attrid' +
attrid).length;
if (phCountRowOption == 0) {
jQuery('#phrowboxoptionjs' + attrid).empty();/* clean header of
option added by js */
jQuery('#phrowboxoption' + attrid).empty();/* clean header of
option loaded by php */
}
/* phRowCountOption--;//DON'T SUBTRACT, it is not COUNT, but ID,
every row should be unique ID*/
}
function phAddRowAttributeParent(newRow) {
jQuery('#phrowboxattribute').append(newRow);
phRowCountAttribute++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
}
function phRemoveRowAttributeParent(id, url) {
/* Remove all attribute option folders */
var attrOptions = jQuery("#phAttributeBox" +
id).find("[data-attribute-id=\'" + id +
"\']");
var foldersToDelete = [];
for(var i = 0; i < attrOptions.length; i++){
foldersToDelete.push(attrOptions[i].value);
}
if (foldersToDelete.length !== 0) {
data = {};
data['task'] = 'removefolder';
data['folder'] = foldersToDelete;
phRemoveOptionFolder(data, url);
}
jQuery('#phAttributeBox' + id).remove();
var phCountRowAttribute = jQuery('.ph-row-attribute').length;
if (phCountRowAttribute == 0) {
jQuery('#phrowboxattribute').empty();
}
/* phRowCountAttribute--; DON'T SUBTRACT, it is not COUNT, but ID,
every row should be unique ID */
}
function phAddRowSpecificationParent(newRow, newHeader) {
var phCountRowSpecification =
jQuery('.ph-row-specification').length;
if(phCountRowSpecification == 0) {
jQuery('#phrowboxspecification').append(newHeader);
}
jQuery('#phrowboxspecification').append(newRow);
var phMiniColorsId = '#jform_speccolor' +
phRowCountSpecification;// Reload minicolors
jQuery(phMiniColorsId).minicolors({
control: 'hex',
format: 'hex',
position: 'default',
theme: 'bootstrap'
});
phRowCountSpecification++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
}
function phRemoveRowSpecification(id) {
jQuery('#phSpecificationBox' + id).remove();
var phCountRowSpecification =
jQuery('.ph-row-specification').length;
if (phCountRowSpecification == 0) {
jQuery('#phrowboxspecification').empty();
jQuery('#phrowboxspecificationheader').empty();
}
}
function phAddRowImageParent(newRow) {
jQuery('#phrowboximage').append(newRow);
phRowCountImage++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
}
function phRemoveRowImage(id) {
jQuery('#phrowimage' + id).remove();
var phCountRowImage = jQuery('.ph-row-image').length;
if (phCountRowImage == 0) {
jQuery('#phrowboximage').empty();
}
/* phRowCountImage--;';// DON'T SUBTRACT, it is not COUNT, but
ID, every row should be unique ID*/
}
function phAddRowDiscountParent(newRow, newHeader, isCompatible) {
var phCountRowDiscount = jQuery('.ph-row-discount').length;
if(phCountRowDiscount == 0) {
jQuery('#phrowboxdiscount').append(newHeader);
}
jQuery('#phrowboxdiscount').append(newRow);
phRowCountDiscount++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
if(isCompatible) {
var elements = document.querySelectorAll(".field-calendar");
for (i = 0; i < elements.length; i++) {
JoomlaCalendar.init(elements[i]);
}
}
/*
jQuery(\'select\').trigger("chosen:updated");//Reload
Chosen
CALENDAR IS RELOADED DIRECTLY BELOW THE NEW ROW
administrator\components\com_phocacart\libraries\phocacart\render\adminview.php*/
}
function phRemoveRowDiscount(id) {
jQuery('#phDiscountBox' + id).remove();
var phCountRowDiscount = jQuery('.ph-row-discount').length;
if (phCountRowDiscount == 0) {
jQuery('#phrowboxdiscount').empty();
jQuery('#phrowboxdiscountheader').empty();
}
}
function phAddRowPricehistoryParent(newRow, isCompatible) {
jQuery('#phrowboxpricehistory').append(newRow);
phRowCountPricehistory++;
jQuery('select').chosen({disable_search_threshold :
10,allow_single_deselect : true});
if(isCompatible) {
var elements = document.querySelectorAll(".field-calendar");
for (i = 0; i < elements.length; i++) {
JoomlaCalendar.init(elements[i]);
}
}
/*
jQuery(\'select\').trigger("chosen:updated");';//Reload
Chosen
// CALENDAR IS RELOADED DIRECTLY BELOW THE NEW ROW
administrator\components\com_phocacart\libraries\phocacart\render\adminview.php*/
}
function phRemoveRowPricehistory(id) {
jQuery('#phPricehistoryBox' + id).remove();
var phRowCountPricehistory =
jQuery('.ph-row-pricehistory').length;
if (phRowCountPricehistory == 0) {
jQuery('#phrowboxpricehistory').empty();
}
}
/* WIZARD */
function phDoRequestWizardParent(url, s) {
var dataPost = {};
phRequestActive = jQuery.ajax({
url: url,
type:'POST',
data:dataPost,
dataType:'JSON',
success:function(data){
if ( data.status == 1 ){
/* Category */
var phOutput = s["phFalse"];
if (data.category == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardCategory").html(phOutput);
/* Tax */
var phOutput = s["phFalse"];
if (data.tax == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardTax").html(phOutput);
/* Product */
var phOutput = s["phFalse"];
if (data.product == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardProduct").html(phOutput);
/* Shipping */
var phOutput = s["phFalse"];
if (data.shipping == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardShipping").html(phOutput);
/* Payment */
var phOutput = s["phFalse"];
if (data.payment == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardPayment").html(phOutput);
/* Country */
var phOutput = s["phFalseAdd"];
if (data.country == 1) { phOutput = s["phTrueAdd"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardCountry").html(phOutput);
/* Region */
var phOutput = s["phFalseAdd"];
if (data.region == 1) { phOutput = s["phTrueAdd"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardRegion").html(phOutput);
/* Menu */
var phOutput = s["phFalse"];
if (data.menu == 1) { phOutput = s["phTrue"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardMenu").html(phOutput);
/* Module */
var phOutput = s["phFalseAdd"];
if (data.module == 1) { phOutput = s["phTrueAdd"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardModule").html(phOutput);
/* Options */
var phOutput = s["phFalseEdit"];
if (data.option == 1) { phOutput = s["phTrueEdit"];} else
{s["phTrueAll"] = 0;}
jQuery("#phResultWizardOption").html(phOutput);
if(s["phTrueAll"] == 1) {
jQuery("#phResultWizardAll").css("display",
"block")
}
phRequestActive = null;
} else {
/* No Displaying of error
jQuery("#phResultWizardCategory").html(data.error);*/
phRequestActive = null;
}
}
});
}
PKݴ�[0���#administrator/phocacartbulkprice.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
LICENSE.php
*/
function phBulkPrice(dataUrl) {
var phVars = Joomla.getOptions('phVars');
var phLang = Joomla.getOptions('phLang');
var phItemCount = 1;
var phOutputBoxId = '#phBulkPriceOutputBox';
// Clear Output box
jQuery(phOutputBoxId).html('');
function phGetNextItem() {
jQuery.ajax({
url: phVars['urlbulkprice'] +'&p=' +
phItemCount + '&' + dataUrl,
method: 'GET',
async: true,
success: function(data) {
if (data.status == 1) {
++phItemCount;
var currentOutput = jQuery(phOutputBoxId).html();
var newOutput = data.output + currentOutput;
jQuery(phOutputBoxId).html(newOutput);
if (data.continue == 1) {
phGetNextItem();
}
} else {
var currentOutput = jQuery(phOutputBoxId).html();
var newOutput = data.output + currentOutput;
jQuery(phOutputBoxId).html(newOutput);
}
},// end success
error: function (xhr, ajaxOptions, thrownError) {
var currentOutput = jQuery(phOutputBoxId).html();
var newOutput = xhr.status + ' ' + thrownError;
jQuery(phOutputBoxId).html(newOutput);
}
});// end ajax
}
phGetNextItem();
}
jQuery(document).ready(function(){
jQuery('#phBulkPriceRun').on('submit', function(e){
e.stopPropagation();
e.preventDefault();
var data = jQuery(this).serialize();
phBulkPrice(data);
})
jQuery('#phBulkPriceRevert').on('submit',
function(e){
e.stopPropagation();
e.preventDefault();
var data = jQuery(this).serialize();
phBulkPrice(data);
})
})PKݴ�[�^}��A�Aadministrator/phocacartform.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
LICENSE.php
*/
/* VARIABLES */
/* FUNCTIONS */
function phRenderModalWindow(id, title) {
var phLang = Joomla.getOptions('phLang');
o = ''
+ '<div id="'+ id +'"
tabindex="-1" class="modal hide fade
jviewport-width80">'
+ ' <div class="modal-header">'
+ ' <button type="button" class="close
novalidate" data-dismiss="modal" aria-label="'+
phLang['COM_PHOCACART_CLOSE'] + '" <span
aria-hidden="true">×</span></button>'
+ ' <h3>'+ title +'</h3>'
+ ' </div>'
+ ' <div class="modal-body
jviewport-height70"><iframe
frameborder="0"></iframe></div>'
+ ' <div class="modal-footer"><button
type="button" class="btn"
data-dismiss="modal" aria-hidden="true">'+
phLang['COM_PHOCACART_CLOSE'] +
'</button></div>'
+ '</div>';
jQuery(".modal-backdrop").remove();// Remove not correctly
hidden modal-backdrop
jQuery("#phModalContainer").remove();// Remove previously
created container
var phModalContainer = jQuery('<div
id="phModalContainer"></div>');
phModalContainer.appendTo(document.body);
jQuery("#phModalContainer").html(o);
jQuery("#" + id).modal();
}
/* Function phDoRequest (create thumbnails) */
function phDoRequest(url, data, msg) {
jQuery("#ph-ajaxtop").html(phGetMsg(msg, 1));
jQuery("#ph-ajaxtop").show();
phRequestActive = jQuery.ajax({
url: url,
type:'POST',
data:data,
dataType:'JSON',
success:function(response){
if ( response.status == 2) {
// No message
jQuery("#ph-ajaxtop").hide();
jQuery(".ph-result-txt").remove();
phRequestActive = null;
} else if ( response.status == 1 ){
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.message,
0));
phRequestActive = null;
phCloseMsgBoxSuccess();
} else {
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error,
0));
phRequestActive = null;
phCloseMsgBoxError();
}
}
});
}
/* ProductFile, PublicFile */
function phAddValueFile(id, title) {
document.getElementById(id).value = title;
jQuery(".modal").modal("hide");
}
/* Image */
function phAddValueImage(id, title, params) {
document.getElementById(id).value = title;
jQuery(".modal").modal("hide");
if (params["request"] == 1) {
var data = {};
data["filename"] = encodeURIComponent(title);
data["manager"] = params['manager'];
/* Change image preview */
var image = "";
if (title.trim() != "") {
image = params["pathimage"] + title;
}
phChangePreviewImage(id, image);
phDoRequest(params["requesturl"], data,
params["requestmsg"]);
}
}
/* Image preview - product/category - change image for preview in admin in
tooltip */
function phChangePreviewImage(id, image) {
if (image != '') {
var phOutput = '<img src="' + image + '"
alt="" />';
} else {
var phOutput = '<span class="glyphicon glyphicon-ban-circle
ban-circle"></span>';
}
// Dynamically added form fields do not set right ID for other tags
except input
//var idItem = '#phTooltipImagePreview_' + id;
// var idItem =
jQuery(this).prev(".phTooltipImagePreview").attr("id");
var idItem =
jQuery("#"+id).prev("span").children(".phTooltipImagePreview");
jQuery(idItem).html(phOutput);
return true;
}
/* EVENTS */
jQuery(document).ready(function() {
/* ProductFile */
jQuery(document).on("click",
"a.phProductFileModalButton", function (e) {
var src = jQuery(this).attr("data-src");
var title = jQuery(this).attr("data-title");
var id =
jQuery(this).prev("input").attr("id");// data-id does
not work by dynamically added form fields
var idModal = "phProductFileModalName" + id;
var idIframe = idModal + " iframe";
src = src.replace("{ph-field-id}", id);
// Select right download folder
var idFolder = id;
// 1) Download File - form field added manually
idFolder = idFolder.replace("jform_download_file",
"jform_download_folder");
// 2) Download File - form field added dynamically
// 2a) Files in download options have only one download folder - in
this case == undefined (if undefined use the 1) )
// 2b) Files in attribute options have download folder for each
file - in this case == true
idFolder = idFolder.replace("__download_file",
"__download_folder");
if(typeof jQuery("#" + idFolder).val() !==
"undefined") {
// attribute options + download options (statically added
download file form field)
var phDownloadFolder = jQuery("#" + idFolder).val();
} else {
// download options (dynamically added download file form
fields)
var phDownloadFolder =
jQuery("#jform_download_folder").val();
}
src = src + "&folder=" + phDownloadFolder +
"&downloadfolder=" + phDownloadFolder;
var phModalWidth = 700;
//var phModalHeight = 400;
var width = jQuery(this).attr("data-width") ||
phModalWidth;
//var height = jQuery(this).attr("data-height") ||
phModalHeight;
var height = jQuery(window).height() - 200;
phRenderModalWindow(idModal, title);// Render Modal Window
jQuery("#" + idIframe).attr({"src": src,
"height": height, "width": width});// Set iframe url
for rendered modal window
});
/* PublicFile */
jQuery(document).on("click",
"a.phPublicFileModalButton", function (e) {
var src = jQuery(this).attr("data-src");
var title = jQuery(this).attr("data-title");
var id =
jQuery(this).prev("input").attr("id");// data-id does
not work by dynamically added form fields
var idModal = "phPublicFileModalName" + id;
var idIframe = idModal + " iframe";
src = src.replace("{ph-field-id}", id);
//var phDownloadFolder =
jQuery("#jform_download_folder").val();
src = src + "&folder=&downloadfolder=";
var phModalWidth = 700;
var width = jQuery(this).attr("data-width") ||
phModalWidth;
var height = jQuery(window).height() - 200;
phRenderModalWindow(idModal, title);// Render Modal Window
jQuery("#" + idIframe).attr({"src": src,
"height": height, "width": width});// Set iframe url
for rendered modal window
});
/* Image */
jQuery(document).on("click",
"a.phImageFileModalButton", function (e) {
var src = jQuery(this).attr("data-src");
var title = jQuery(this).attr("data-title");
// data-id does not work by dynamically added form fields
// only input tag has right ID - all other parts NOT
var id =
jQuery(this).prev("input").attr("id");
var idModal = "phImageFileModalName" + id;
var idIframe = idModal + " iframe";
src = src.replace("{ph-field-id}", id);
//src = src + "&folder=&downloadfolder=";
var phModalWidth = 700;
var width = jQuery(this).attr("data-width") ||
phModalWidth;
var height = jQuery(window).height() - 200;
phRenderModalWindow(idModal, title);// Render Modal Window
jQuery("#" + idIframe).attr({"src": src,
"height": height, "width": width});// Set iframe url
for rendered modal window
});
/* Event Create Thumbnails */
jQuery(document).on("change", ".imageCreateThumbs",
function() {
var data = {};
data["filename"] = encodeURIComponent(jQuery(this).val());
data["manager"] = jQuery(this).attr("data-manager");
// Change Preview Image
var image = "";
if (jQuery(this).val().trim() != "") {
var image = jQuery(this).attr("data-pathimage") +
jQuery(this).val();
}
phChangePreviewImage(jQuery(this).attr("id"), image);
phDoRequest(jQuery(this).attr("data-requesturl"), data,
jQuery(this).attr("data-requestmsg"));
})
/* Color */
jQuery(document).on("click",
"a.phColorTextPickerButton", function (e) {
var id =
jQuery(this).prev("input").attr("id");// data-id does
not work by dynamically added form fields
openPicker(id);
});
/* Event - adding new row of options (in attributes)
* Add and create download token and download folder for attribute
download files
*/
jQuery(document).on('subform-row-add', function(event, row){
/*
* Get "download_token" and "download_folder for
"options"
* Get only "download_token" for "additional download
files"
*/
if (jQuery(row).attr("data-base-name") ==
"options" || jQuery(row).attr("data-base-name") ==
"additional_download_files") {
var phVars = Joomla.getOptions('phVars');
var data = {};
data["task"] = "gettoken";
var optionId =
jQuery(row).find('input').first().attr('id');// Get the
option form field ID name of added option row
var idFolder = optionId.replace("__id",
"__download_folder");
var idToken = optionId.replace("__id",
"__download_token");
var url =
'index.php?option=com_phocacart&view=phocacartattributea&format=json&tmpl=component&'
+ phVars['token'] + '=1';
phRequestActiveToken = jQuery.ajax({
url: url,
type: 'POST',
data: data,
dataType: 'JSON',
success:function(response){
if ( response.status == 1 ){
if (jQuery(row).attr("data-base-name") ==
"options") {
// folder is not set for additional files
jQuery("#" +
idFolder).val(response.folder);
}
jQuery("#" +
idToken).val(response.token);
phRequestActiveToken = null;
} else {
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error, 0));
phRequestActiveToken = null;
phCloseMsgBoxError();
}
}
});
}
})
/* Event - remove row of options (in attributes)
* Remove download folder and its files
*/
jQuery(document).on('subform-row-remove', function(event,
row){
/* Possible warning but unfortunately the event cannot be stopped
*if(confirm("COM_PHOCACART_WARNING_REMOVING_ATTRIBUTE_OPTION_DELETES_DOWNLOAD_FOLDER_DOWNLOAD_FILE")){}
*/
if (jQuery(row).attr("data-base-name") ==
"options") {
var phVars = Joomla.getOptions('phVars');
data = {};
data['task'] = 'removefolder';
var optionId =
jQuery(row).find('input').first().attr('id');// Get the
option form field ID name of added option row
var idFolder = optionId.replace("__id",
"__download_folder");
// var idToken = optionId.replace("__id",
"__download_token");
var folder = jQuery("#" + idFolder).val();
data['folder'] = {0: folder};
var url =
'index.php?option=com_phocacart&view=phocacartattributea&format=json&tmpl=component&'
+ phVars['token'] + '=1';
phRequestActiveToken = jQuery.ajax({
url: url,
type: 'POST',
data: data,
dataType: 'JSON',
success:function(response){
if ( response.status == 1 ){
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.message,
0));
phRequestActiveToken = null;
phCloseMsgBoxSuccess();
} else if (response.status == 2) {
/* no folder exists - nothing deleted - no need any
message */
phRequestActiveToken = null;
} else {
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error, 0));
phRequestActiveToken = null;
phCloseMsgBoxError();
}
}
});
}
})
jQuery(document).on('paste',
'.imageCreateThumbs',function() {
var element = jQuery(this);
var id = element.attr("id");
var path = element.attr("data-pathimage");
var manager = element.attr("data-manager");
var requestUrl = element.attr("data-requesturl");
var requestMsg = element.attr("data-requestmsg");
var phVars = Joomla.getOptions('phVars');
var phLang = Joomla.getOptions('phLang');
var url =
'index.php?option=com_phocacart&view=phocacartimagea&format=json&tmpl=component&'
+ phVars['token'] + '=1';
// use event.originalEvent.clipboard for newer chrome versions
var items = (event.clipboardData ||
event.originalEvent.clipboardData).items;
//console . log(JSON.stringify(items)); // will give you the mime
types
// find pasted image among pasted items
var blob = null;
for (var i = 0; i < items.length; i++) {
if (items[i].type.indexOf("image") === 0) {
blob = items[i].getAsFile();
}
}
// load image if there is a pasted image
if (blob !== null) {
var reader = new FileReader();
reader.onload = function(event) {
var imgFormat =
event.target.result.split(',')[0];
var imgData = event.target.result.split(',')[1];
var title = jQuery('#jform_title').val();
if (title == '') {
jQuery("#ph-ajaxtop").html(phGetMsg('
', 1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg('<span
class="ph-result-txt ph-error-txt">'+
phLang['COM_PHOCACART_ERROR_TITLE_NOT_SET'] +
'</span>', 0));
phCloseMsgBoxSuccess();
return false;
}
jQuery.ajax({
url: url,
type:'post',
dataType: 'JSON',
data:{'image':imgData,
'imagetitle': title, 'imageformat': imgFormat},
success: function(response) {
if ( response.status == 1 ){
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.message,
0));
phCloseMsgBoxSuccess();
if ( response.file != '' ){
element.val(response.file);
var image = path + response.file;
phChangePreviewImage(id, image);
var dataCreateThumbs = {};
dataCreateThumbs["filename"] =
encodeURIComponent(response.file);
dataCreateThumbs["manager"] =
manager;
phDoRequest(requestUrl, dataCreateThumbs,
requestMsg);
}
} else {
jQuery("#ph-ajaxtop").html(phGetMsg(' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(response.error, 0));
phCloseMsgBoxError();
}
}
});
}
reader.readAsDataURL(blob);
}
return true;
})
})
PKݴ�[�#o,,
administrator/select2/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[�X���administrator/select2/LICENSEnu�[���Copyright
2012 Igor Vaynberg
Version: @@ver@@ Timestamp: @@timestamp@@
This software is licensed under the Apache License, Version 2.0 (the
"Apache License") or the GNU
General Public License version 2 (the "GPL License"). You may
choose either license to govern your
use of this software only upon the condition that you accept all of the
terms of either the Apache
License or the GPL License.
You may obtain a copy of the Apache License and the GPL License at:
http://www.apache.org/licenses/LICENSE-2.0
http://www.gnu.org/licenses/gpl-2.0.html
Unless required by applicable law or agreed to in writing, software
distributed under the Apache License
or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the Apache License and the GPL License for
the specific language governing
permissions and limitations under the Apache License and the GPL
License.PKݴ�[[�
99)administrator/select2/select2-spinner.gifnu�[���GIF89a����������FFFzzzXXX$$$���������666hhh!�NETSCAPE2.0!�Created
with ajaxload.info!�
,w !�DB�A��H���¬��a��D���@
^�A�X��P�@�"U���Q# ��B�\;���1�o�:2$v@
$|,3
�_#
d�53�"s5e!!�
,v i@e9�DA�A�����/�`ph$�Ca%@
���pH���x�F��uS��x#�
�.�݄�Yf�L_"
p
3B�W��]|L
\6�{|z�8�7[7!!�
,x
�e9�DE"������2r,��qP���j��`�8��@8bH,
*��0-�
�mFW��9�LP�E3+
(�B"
f�{�*BW_/�
@_$��~Kr�7Ar7!!�
,v
�4e9��!H�"�*��Q�/@���-�4�ép4�R+��-��p�ȧ`�P(�6��U/�
*,�)(+/]"lO�/�*Ak���K���]A~66�6!!�
,l
ie9�"���*���-�80H���=N;���T�E�����q��e��UoK2_WZ�V��1jgWe@tuH//w`?��f~#���6��#!!�
,~ �,e9��"���*
�;pR�%��#0��`�
�'�c�(��J@@���/1�i4��`�V��B�V
u}�"caNi/]))�-Lel mi}
me[+!!�
,y
Ie9��"M�6�*¨"7E͖��@G((L&�pqj@Z�����
��%@�w�Z) �pl(
���ԭ�q�u*R&c `))(s_J��>_\'Gm7�$+!!�
,w Ie9�*,� (�*�(�B5[1�
�Z��Iah!G��exz��J0�e�6��@V|U��4��Dm��%$͛�p
\Gx
}@+|=+
1�- Ea5l)+!!�
,y
)�䨞'A�K����ڍ,�����E\(l���&;5
��5D���0��3�a�0-���-�����ÃpH4V %
i
p[R"| ��#
� 6iZwcw*!!�
,y
)�䨞,K�*�����0�a�;аY8�b`4�n�¨Bb�b�x�,������������( Ƚ�
%
>
2*�i* /:�+$v*!!�
,u )�䨞l[�$�
�Jq[��q3�`Q[�5��:���IX!0�rAD8Cv����HPfi��iQ���AP@pC
%D
PQ46�
iciNj0w
�)#!!�
,y )��.q��
,G�Jr(�J�8�C��*���B�,����&<
�����h�W~-��`�, ����,�>;
8RN<,�<1T]
�c��'
qk$
@)#!;PKݴ�[K#�=E=E!administrator/select2/select2.cssnu�[���/*
Version: 3.4.3 Timestamp: Tue Sep 17 06:47:14 PDT 2013
*/
.select2-container {
margin: 0;
position: relative;
display: inline-block;
/* inline-block for ie7 */
zoom: 1;
*display: inline;
vertical-align: middle;
}
.select2-container,
.select2-drop,
.select2-search,
.select2-search input {
/*
Force border-box so that % widths fit the parent
container without overlap because of margin/padding.
More Info : http://www.quirksmode.org/css/box.html
*/
-webkit-box-sizing: border-box; /* webkit */
-moz-box-sizing: border-box; /* firefox */
box-sizing: border-box; /* css3 */
}
.select2-container .select2-choice {
display: block;
height: 26px;
padding: 0 0 0 8px;
overflow: hidden;
position: relative;
border: 1px solid #aaa;
white-space: nowrap;
line-height: 26px;
color: #444;
text-decoration: none;
border-radius: 4px;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top,
color-stop(0, #eee), color-stop(0.5, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff
50%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff
50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr =
'#ffffff', endColorstr = '#eeeeee', GradientType = 0);
background-image: linear-gradient(top, #fff 0%, #eee 50%);
}
.select2-container.select2-drop-above .select2-choice {
border-bottom-color: #aaa;
border-radius: 0 0 4px 4px;
background-image: -webkit-gradient(linear, left bottom, left top,
color-stop(0, #eee), color-stop(0.9, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff
90%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff
90%);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',
endColorstr='#eeeeee', GradientType=0);
background-image: linear-gradient(top, #eee 0%, #fff 90%);
}
.select2-container.select2-allowclear .select2-choice .select2-chosen {
margin-right: 42px;
}
.select2-container .select2-choice > .select2-chosen {
margin-right: 26px;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.select2-container .select2-choice abbr {
display: none;
width: 12px;
height: 12px;
position: absolute;
right: 24px;
top: 8px;
font-size: 1px;
text-decoration: none;
border: 0;
background: url('select2.png') right top no-repeat;
cursor: pointer;
outline: 0;
}
.select2-container.select2-allowclear .select2-choice abbr {
display: inline-block;
}
.select2-container .select2-choice abbr:hover {
background-position: right -11px;
cursor: pointer;
}
.select2-drop-mask {
border: 0;
margin: 0;
padding: 0;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
opacity: 0;
z-index: 9998;
/* styles required for IE to work */
background-color: #fff;
filter: alpha(opacity=0);
}
.select2-drop {
width: 100%;
margin-top: -1px;
position: absolute;
z-index: 9999;
top: 100%;
background: #fff;
color: #000;
border: 1px solid #aaa;
border-top: 0;
border-radius: 0 0 4px 4px;
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}
.select2-drop-auto-width {
border-top: 1px solid #aaa;
width: auto;
}
.select2-drop-auto-width .select2-search {
padding-top: 4px;
}
.select2-drop.select2-drop-above {
margin-top: 1px;
border-top: 1px solid #aaa;
border-bottom: 0;
border-radius: 4px 4px 0 0;
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}
.select2-drop-active {
border: 1px solid #5897fb;
border-top: none;
}
.select2-drop.select2-drop-above.select2-drop-active {
border-top: 1px solid #5897fb;
}
.select2-container .select2-choice .select2-arrow {
display: inline-block;
width: 18px;
height: 100%;
position: absolute;
right: 0;
top: 0;
border-left: 1px solid #aaa;
border-radius: 0 4px 4px 0;
background-clip: padding-box;
background: #ccc;
background-image: -webkit-gradient(linear, left bottom, left top,
color-stop(0, #ccc), color-stop(0.6, #eee));
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee
60%);
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee
60%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr =
'#eeeeee', endColorstr = '#cccccc', GradientType = 0);
background-image: linear-gradient(top, #ccc 0%, #eee 60%);
}
.select2-container .select2-choice .select2-arrow b {
display: block;
width: 100%;
height: 100%;
background: url('select2.png') no-repeat 0 1px;
}
.select2-search {
display: inline-block;
width: 100%;
min-height: 26px;
margin: 0;
padding-left: 4px;
padding-right: 4px;
position: relative;
z-index: 10000;
white-space: nowrap;
}
.select2-search input {
width: 100%;
height: auto !important;
min-height: 26px;
padding: 4px 20px 4px 5px;
margin: 0;
outline: 0;
font-family: sans-serif;
font-size: 1em;
border: 1px solid #aaa;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
background: #fff url('select2.png') no-repeat 100% -22px;
background: url('select2.png') no-repeat 100% -22px,
-webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff),
color-stop(0.99, #eee));
background: url('select2.png') no-repeat 100% -22px,
-webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat 100% -22px,
-moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat 100% -22px,
linear-gradient(top, #fff 85%, #eee 99%);
}
.select2-drop.select2-drop-above .select2-search input {
margin-top: 4px;
}
.select2-search input.select2-active {
background: #fff url('select2-spinner.gif') no-repeat 100%;
background: url('select2-spinner.gif') no-repeat 100%,
-webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff),
color-stop(0.99, #eee));
background: url('select2-spinner.gif') no-repeat 100%,
-webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2-spinner.gif') no-repeat 100%,
-moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2-spinner.gif') no-repeat 100%,
linear-gradient(top, #fff 85%, #eee 99%);
}
.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.select2-dropdown-open .select2-choice {
border-bottom-color: transparent;
-webkit-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background-color: #eee;
background-image: -webkit-gradient(linear, left bottom, left top,
color-stop(0, #fff), color-stop(0.5, #eee));
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee
50%);
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee
50%);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',
endColorstr='#ffffff', GradientType=0);
background-image: linear-gradient(top, #fff 0%, #eee 50%);
}
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
border: 1px solid #5897fb;
border-top-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0, #fff), color-stop(0.5, #eee));
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee
50%);
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',
endColorstr='#ffffff', GradientType=0);
background-image: linear-gradient(bottom, #fff 0%, #eee 50%);
}
.select2-dropdown-open .select2-choice .select2-arrow {
background: transparent;
border-left: none;
filter: none;
}
.select2-dropdown-open .select2-choice .select2-arrow b {
background-position: -18px 1px;
}
/* results */
.select2-results {
max-height: 200px;
padding: 0 0 0 4px;
margin: 4px 4px 4px 0;
position: relative;
overflow-x: hidden;
overflow-y: auto;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.select2-results ul.select2-result-sub {
margin: 0;
padding-left: 0;
}
.select2-results ul.select2-result-sub > li .select2-result-label {
padding-left: 20px }
.select2-results ul.select2-result-sub ul.select2-result-sub > li
.select2-result-label { padding-left: 40px }
.select2-results ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
.select2-results ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 80px }
.select2-results ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li
.select2-result-label { padding-left: 100px }
.select2-results ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
.select2-results ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub
ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 120px }
.select2-results li {
list-style: none;
display: list-item;
background-image: none;
}
.select2-results li.select2-result-with-children > .select2-result-label
{
font-weight: bold;
}
.select2-results .select2-result-label {
padding: 3px 7px 4px;
margin: 0;
cursor: pointer;
min-height: 1em;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-results .select2-highlighted {
background: #3875d7;
color: #fff;
}
.select2-results li em {
background: #feffde;
font-style: normal;
}
.select2-results .select2-highlighted em {
background: transparent;
}
.select2-results .select2-highlighted ul {
background: #fff;
color: #000;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-selection-limit {
background: #f4f4f4;
display: list-item;
}
/*
disabled look for disabled choices in the results dropdown
*/
.select2-results .select2-disabled.select2-highlighted {
color: #666;
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-disabled {
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-selected {
display: none;
}
.select2-more-results.select2-active {
background: #f4f4f4 url('select2-spinner.gif') no-repeat
100%;
}
.select2-more-results {
background: #f4f4f4;
display: list-item;
}
/* disabled styles */
.select2-container.select2-container-disabled .select2-choice {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container.select2-container-disabled .select2-choice
.select2-arrow {
background-color: #f4f4f4;
background-image: none;
border-left: 0;
}
.select2-container.select2-container-disabled .select2-choice abbr {
display: none;
}
/* multiselect */
.select2-container-multi .select2-choices {
height: auto !important;
height: 1%;
margin: 0;
padding: 0;
position: relative;
border: 1px solid #aaa;
cursor: text;
overflow: hidden;
background-color: #fff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%,
color-stop(1%, #eee), color-stop(15%, #fff));
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
background-image: linear-gradient(top, #eee 1%, #fff 15%);
}
.select2-locked {
padding: 3px 5px 3px 5px !important;
}
.select2-container-multi .select2-choices {
min-height: 26px;
}
.select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.select2-container-multi .select2-choices li {
float: left;
list-style: none;
}
.select2-container-multi .select2-choices .select2-search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}
.select2-container-multi .select2-choices .select2-search-field input {
padding: 5px;
margin: 1px 0;
font-family: sans-serif;
font-size: 100%;
color: #666;
outline: 0;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
background: transparent !important;
}
.select2-container-multi .select2-choices .select2-search-field
input.select2-active {
background: #fff url('select2-spinner.gif') no-repeat 100%
!important;
}
.select2-default {
color: #999 !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
padding: 3px 5px 3px 18px;
margin: 3px 0 3px 5px;
position: relative;
line-height: 13px;
color: #333;
cursor: default;
border: 1px solid #aaaaaa;
border-radius: 3px;
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #e4e4e4;
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',
endColorstr='#f4f4f4', GradientType=0);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%,
color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%,
#e8e8e8), color-stop(100%, #eee));
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0
50%, #e8e8e8 52%, #eee 100%);
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%,
#e8e8e8 52%, #eee 100%);
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%,
#e8e8e8 52%, #eee 100%);
}
.select2-container-multi .select2-choices .select2-search-choice
.select2-chosen {
cursor: default;
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
background: #d4d4d4;
}
.select2-search-choice-close {
display: block;
width: 12px;
height: 12px;
position: absolute;
right: 3px;
top: 4px;
font-size: 1px;
outline: none;
background: url('select2.png') right top no-repeat;
background: url('select2.png') right top no-repeat;
}
.select2-container-multi .select2-search-choice-close {
left: 3px;
}
.select2-container-multi .select2-choices .select2-search-choice
.select2-search-choice-close:hover {
background-position: right -11px;
}
.select2-container-multi .select2-choices .select2-search-choice-focus
.select2-search-choice-close {
background-position: right -11px;
}
/* disabled styles */
.select2-container-multi.select2-container-disabled .select2-choices {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container-multi.select2-container-disabled .select2-choices
.select2-search-choice {
padding: 3px 5px 3px 5px;
border: 1px solid #ddd;
background-image: none;
background-color: #f4f4f4;
}
.select2-container-multi.select2-container-disabled .select2-choices
.select2-search-choice .select2-search-choice-close { display: none;
background: none;
}
/* end multiselect */
.select2-result-selectable .select2-match,
.select2-result-unselectable .select2-match {
text-decoration: underline;
}
.select2-offscreen, .select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0px !important;
top: 0px !important;
}
.select2-display-none {
display: none;
}
.select2-measure-scrollbar {
position: absolute;
top: -10000px;
left: -10000px;
width: 100px;
height: 100px;
overflow: scroll;
}
/* Retina-ize icons */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen
and (min-resolution: 144dpi) {
.select2-search input, .select2-search-choice-close, .select2-container
.select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
background-image: url('select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
.select2-search input {
background-position: 100% -21px !important;
}
}
PKݴ�[<��y
y
administrator/select2/select2.jsnu�[���/*
Copyright 2012 Igor Vaynberg
Version: 3.4.3 Timestamp: Tue Sep 17 06:47:14 PDT 2013
This software is licensed under the Apache License, Version 2.0 (the
"Apache License") or the GNU
General Public License version 2 (the "GPL License"). You may
choose either license to govern your
use of this software only upon the condition that you accept all of the
terms of either the Apache
License or the GPL License.
You may obtain a copy of the Apache License and the GPL License at:
http://www.apache.org/licenses/LICENSE-2.0
http://www.gnu.org/licenses/gpl-2.0.html
Unless required by applicable law or agreed to in writing, software
distributed under the
Apache License or the GPL Licesnse is distributed on an "AS IS"
BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the Apache License
and the GPL License for
the specific language governing permissions and limitations under the
Apache License and the GPL License.
*/
(function ($) {
if(typeof $.fn.each2 == "undefined") {
$.extend($.fn, {
/*
* 4-10 times faster .each replacement
* use it carefully, as it overrides jQuery context of element
on each iteration
*/
each2 : function (c) {
var j = $([0]), i = -1, l = this.length;
while (
++i < l
&& (j.context = j[0] = this[i])
&& c.call(j[0], i, j) !== false
//"this"=DOM, i=index, j=jQuery object
);
return this;
}
});
}
})(jQuery);
(function ($, undefined) {
"use strict";
/*global document, window, jQuery, console */
if (window.Select2 !== undefined) {
return;
}
var KEY, AbstractSelect2, SingleSelect2, MultiSelect2, nextUid, sizer,
lastMousePosition={x:0,y:0}, $document, scrollBarDimensions,
KEY = {
TAB: 9,
ENTER: 13,
ESC: 27,
SPACE: 32,
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40,
SHIFT: 16,
CTRL: 17,
ALT: 18,
PAGE_UP: 33,
PAGE_DOWN: 34,
HOME: 36,
END: 35,
BACKSPACE: 8,
DELETE: 46,
isArrow: function (k) {
k = k.which ? k.which : k;
switch (k) {
case KEY.LEFT:
case KEY.RIGHT:
case KEY.UP:
case KEY.DOWN:
return true;
}
return false;
},
isControl: function (e) {
var k = e.which;
switch (k) {
case KEY.SHIFT:
case KEY.CTRL:
case KEY.ALT:
return true;
}
if (e.metaKey) return true;
return false;
},
isFunctionKey: function (k) {
k = k.which ? k.which : k;
return k >= 112 && k <= 123;
}
},
MEASURE_SCROLLBAR_TEMPLATE = "<div
class='select2-measure-scrollbar'></div>",
DIACRITICS =
{"\u24B6":"A","\uFF21":"A","\u00C0":"A","\u00C1":"A","\u00C2":"A","\u1EA6":"A","\u1EA4":"A","\u1EAA":"A","\u1EA8":"A","\u00C3":"A","\u0100":"A","\u0102":"A","\u1EB0":"A","\u1EAE":"A","\u1EB4":"A","\u1EB2":"A","\u0226":"A","\u01E0":"A","\u00C4":"A","\u01DE":"A","\u1EA2":"A","\u00C5":"A","\u01FA":"A","\u01CD":"A","\u0200":"A","\u0202":"A","\u1EA0":"A","\u1EAC":"A","\u1EB6":"A","\u1E00":"A","\u0104":"A","\u023A":"A","\u2C6F":"A","\uA732":"AA","\u00C6":"AE","\u01FC":"AE","\u01E2":"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B","\uFF22":"B","\u1E02":"B","\u1E04":"B","\u1E06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24B8":"C","\uFF23":"C","\u0106":"C","\u0108":"C","\u010A":"C","\u010C":"C","\u00C7":"C","\u1E08":"C","\u0187":"C","\u023B":"C","\uA73E":"C","\u24B9":"D","\uFF24":"D","\u1E0A":"D","\u010E":"D","\u1E0C":"D","\u1E10":"D","\u1E12":"D","\u1E0E":"D","\u0110":"D","\u018B":"D","\u018A":"D","\u0189":"D","\uA779":"D","\u01F1":"DZ","\u01C4":"DZ","\u01F2":"Dz","\u01C5":"Dz","\u24BA":"E","\uFF25":"E","\u00C8":"E","\u00C9":"E","\u00CA":"E","\u1EC0":"E","\u1EBE":"E","\u1EC4":"E","\u1EC2":"E","\u1EBC":"E","\u0112":"E","\u1E14":"E","\u1E16":"E","\u0114":"E","\u0116":"E","\u00CB":"E","\u1EBA":"E","\u011A":"E","\u0204":"E","\u0206":"E","\u1EB8":"E","\u1EC6":"E","\u0228":"E","\u1E1C":"E","\u0118":"E","\u1E18":"E","\u1E1A":"E","\u0190":"E","\u018E":"E","\u24BB":"F","\uFF26":"F","\u1E1E":"F","\u0191":"F","\uA77B":"F","\u24BC":"G","\uFF27":"G","\u01F4":"G","\u011C":"G","\u1E20":"G","\u011E":"G","\u0120":"G","\u01E6":"G","\u0122":"G","\u01E4":"G","\u0193":"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H","\uFF28":"H","\u0124":"H","\u1E22":"H","\u1E26":"H","\u021E":"H","\u1E24":"H","\u1E28":"H","\u1E2A":"H","\u0126":"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I","\uFF29":"I","\u00CC":"I","\u00CD":"I","\u00CE":"I","\u0128":"I","\u012A":"I","\u012C":"I","\u0130":"I","\u00CF":"I","\u1E2E":"I","\u1EC8":"I","\u01CF":"I","\u0208":"I","\u020A":"I","\u1ECA":"I","\u012E":"I","\u1E2C":"I","\u0197":"I","\u24BF":"J","\uFF2A":"J","\u0134":"J","\u0248":"J","\u24C0":"K","\uFF2B":"K","\u1E30":"K","\u01E8":"K","\u1E32":"K","\u0136":"K","\u1E34":"K","\u0198":"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L","\uFF2C":"L","\u013F":"L","\u0139":"L","\u013D":"L","\u1E36":"L","\u1E38":"L","\u013B":"L","\u1E3C":"L","\u1E3A":"L","\u0141":"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L","\u01C7":"LJ","\u01C8":"Lj","\u24C2":"M","\uFF2D":"M","\u1E3E":"M","\u1E40":"M","\u1E42":"M","\u2C6E":"M","\u019C":"M","\u24C3":"N","\uFF2E":"N","\u01F8":"N","\u0143":"N","\u00D1":"N","\u1E44":"N","\u0147":"N","\u1E46":"N","\u0145":"N","\u1E4A":"N","\u1E48":"N","\u0220":"N","\u019D":"N","\uA790":"N","\uA7A4":"N","\u01CA":"NJ","\u01CB":"Nj","\u24C4":"O","\uFF2F":"O","\u00D2":"O","\u00D3":"O","\u00D4":"O","\u1ED2":"O","\u1ED0":"O","\u1ED6":"O","\u1ED4":"O","\u00D5":"O","\u1E4C":"O","\u022C":"O","\u1E4E":"O","\u014C":"O","\u1E50":"O","\u1E52":"O","\u014E":"O","\u022E":"O","\u0230":"O","\u00D6":"O","\u022A":"O","\u1ECE":"O","\u0150":"O","\u01D1":"O","\u020C":"O","\u020E":"O","\u01A0":"O","\u1EDC":"O","\u1EDA":"O","\u1EE0":"O","\u1EDE":"O","\u1EE2":"O","\u1ECC":"O","\u1ED8":"O","\u01EA":"O","\u01EC":"O","\u00D8":"O","\u01FE":"O","\u0186":"O","\u019F":"O","\uA74A":"O","\uA74C":"O","\u01A2":"OI","\uA74E":"OO","\u0222":"OU","\u24C5":"P","\uFF30":"P","\u1E54":"P","\u1E56":"P","\u01A4":"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q","\uFF31":"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R","\uFF32":"R","\u0154":"R","\u1E58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1E5A":"R","\u1E5C":"R","\u0156":"R","\u1E5E":"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S","\uFF33":"S","\u1E9E":"S","\u015A":"S","\u1E64":"S","\u015C":"S","\u1E60":"S","\u0160":"S","\u1E66":"S","\u1E62":"S","\u1E68":"S","\u0218":"S","\u015E":"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T","\uFF34":"T","\u1E6A":"T","\u0164":"T","\u1E6C":"T","\u021A":"T","\u0162":"T","\u1E70":"T","\u1E6E":"T","\u0166":"T","\u01AC":"T","\u01AE":"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U","\uFF35":"U","\u00D9":"U","\u00DA":"U","\u00DB":"U","\u0168":"U","\u1E78":"U","\u016A":"U","\u1E7A":"U","\u016C":"U","\u00DC":"U","\u01DB":"U","\u01D7":"U","\u01D5":"U","\u01D9":"U","\u1EE6":"U","\u016E":"U","\u0170":"U","\u01D3":"U","\u0214":"U","\u0216":"U","\u01AF":"U","\u1EEA":"U","\u1EE8":"U","\u1EEE":"U","\u1EEC":"U","\u1EF0":"U","\u1EE4":"U","\u1E72":"U","\u0172":"U","\u1E76":"U","\u1E74":"U","\u0244":"U","\u24CB":"V","\uFF36":"V","\u1E7C":"V","\u1E7E":"V","\u01B2":"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W","\uFF37":"W","\u1E80":"W","\u1E82":"W","\u0174":"W","\u1E86":"W","\u1E84":"W","\u1E88":"W","\u2C72":"W","\u24CD":"X","\uFF38":"X","\u1E8A":"X","\u1E8C":"X","\u24CE":"Y","\uFF39":"Y","\u1EF2":"Y","\u00DD":"Y","\u0176":"Y","\u1EF8":"Y","\u0232":"Y","\u1E8E":"Y","\u0178":"Y","\u1EF6":"Y","\u1EF4":"Y","\u01B3":"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z","\uFF3A":"Z","\u0179":"Z","\u1E90":"Z","\u017B":"Z","\u017D":"Z","\u1E92":"Z","\u1E94":"Z","\u01B5":"Z","\u0224":"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a","\uFF41":"a","\u1E9A":"a","\u00E0":"a","\u00E1":"a","\u00E2":"a","\u1EA7":"a","\u1EA5":"a","\u1EAB":"a","\u1EA9":"a","\u00E3":"a","\u0101":"a","\u0103":"a","\u1EB1":"a","\u1EAF":"a","\u1EB5":"a","\u1EB3":"a","\u0227":"a","\u01E1":"a","\u00E4":"a","\u01DF":"a","\u1EA3":"a","\u00E5":"a","\u01FB":"a","\u01CE":"a","\u0201":"a","\u0203":"a","\u1EA1":"a","\u1EAD":"a","\u1EB7":"a","\u1E01":"a","\u0105":"a","\u2C65":"a","\u0250":"a","\uA733":"aa","\u00E6":"ae","\u01FD":"ae","\u01E3":"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b","\uFF42":"b","\u1E03":"b","\u1E05":"b","\u1E07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24D2":"c","\uFF43":"c","\u0107":"c","\u0109":"c","\u010B":"c","\u010D":"c","\u00E7":"c","\u1E09":"c","\u0188":"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d","\uFF44":"d","\u1E0B":"d","\u010F":"d","\u1E0D":"d","\u1E11":"d","\u1E13":"d","\u1E0F":"d","\u0111":"d","\u018C":"d","\u0256":"d","\u0257":"d","\uA77A":"d","\u01F3":"dz","\u01C6":"dz","\u24D4":"e","\uFF45":"e","\u00E8":"e","\u00E9":"e","\u00EA":"e","\u1EC1":"e","\u1EBF":"e","\u1EC5":"e","\u1EC3":"e","\u1EBD":"e","\u0113":"e","\u1E15":"e","\u1E17":"e","\u0115":"e","\u0117":"e","\u00EB":"e","\u1EBB":"e","\u011B":"e","\u0205":"e","\u0207":"e","\u1EB9":"e","\u1EC7":"e","\u0229":"e","\u1E1D":"e","\u0119":"e","\u1E19":"e","\u1E1B":"e","\u0247":"e","\u025B":"e","\u01DD":"e","\u24D5":"f","\uFF46":"f","\u1E1F":"f","\u0192":"f","\uA77C":"f","\u24D6":"g","\uFF47":"g","\u01F5":"g","\u011D":"g","\u1E21":"g","\u011F":"g","\u0121":"g","\u01E7":"g","\u0123":"g","\u01E5":"g","\u0260":"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h","\uFF48":"h","\u0125":"h","\u1E23":"h","\u1E27":"h","\u021F":"h","\u1E25":"h","\u1E29":"h","\u1E2B":"h","\u1E96":"h","\u0127":"h","\u2C68":"h","\u2C76":"h","\u0265":"h","\u0195":"hv","\u24D8":"i","\uFF49":"i","\u00EC":"i","\u00ED":"i","\u00EE":"i","\u0129":"i","\u012B":"i","\u012D":"i","\u00EF":"i","\u1E2F":"i","\u1EC9":"i","\u01D0":"i","\u0209":"i","\u020B":"i","\u1ECB":"i","\u012F":"i","\u1E2D":"i","\u0268":"i","\u0131":"i","\u24D9":"j","\uFF4A":"j","\u0135":"j","\u01F0":"j","\u0249":"j","\u24DA":"k","\uFF4B":"k","\u1E31":"k","\u01E9":"k","\u1E33":"k","\u0137":"k","\u1E35":"k","\u0199":"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l","\uFF4C":"l","\u0140":"l","\u013A":"l","\u013E":"l","\u1E37":"l","\u1E39":"l","\u013C":"l","\u1E3D":"l","\u1E3B":"l","\u017F":"l","\u0142":"l","\u019A":"l","\u026B":"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l","\u01C9":"lj","\u24DC":"m","\uFF4D":"m","\u1E3F":"m","\u1E41":"m","\u1E43":"m","\u0271":"m","\u026F":"m","\u24DD":"n","\uFF4E":"n","\u01F9":"n","\u0144":"n","\u00F1":"n","\u1E45":"n","\u0148":"n","\u1E47":"n","\u0146":"n","\u1E4B":"n","\u1E49":"n","\u019E":"n","\u0272":"n","\u0149":"n","\uA791":"n","\uA7A5":"n","\u01CC":"nj","\u24DE":"o","\uFF4F":"o","\u00F2":"o","\u00F3":"o","\u00F4":"o","\u1ED3":"o","\u1ED1":"o","\u1ED7":"o","\u1ED5":"o","\u00F5":"o","\u1E4D":"o","\u022D":"o","\u1E4F":"o","\u014D":"o","\u1E51":"o","\u1E53":"o","\u014F":"o","\u022F":"o","\u0231":"o","\u00F6":"o","\u022B":"o","\u1ECF":"o","\u0151":"o","\u01D2":"o","\u020D":"o","\u020F":"o","\u01A1":"o","\u1EDD":"o","\u1EDB":"o","\u1EE1":"o","\u1EDF":"o","\u1EE3":"o","\u1ECD":"o","\u1ED9":"o","\u01EB":"o","\u01ED":"o","\u00F8":"o","\u01FF":"o","\u0254":"o","\uA74B":"o","\uA74D":"o","\u0275":"o","\u01A3":"oi","\u0223":"ou","\uA74F":"oo","\u24DF":"p","\uFF50":"p","\u1E55":"p","\u1E57":"p","\u01A5":"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q","\uFF51":"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r","\uFF52":"r","\u0155":"r","\u1E59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1E5B":"r","\u1E5D":"r","\u0157":"r","\u1E5F":"r","\u024D":"r","\u027D":"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s","\uFF53":"s","\u00DF":"s","\u015B":"s","\u1E65":"s","\u015D":"s","\u1E61":"s","\u0161":"s","\u1E67":"s","\u1E63":"s","\u1E69":"s","\u0219":"s","\u015F":"s","\u023F":"s","\uA7A9":"s","\uA785":"s","\u1E9B":"s","\u24E3":"t","\uFF54":"t","\u1E6B":"t","\u1E97":"t","\u0165":"t","\u1E6D":"t","\u021B":"t","\u0163":"t","\u1E71":"t","\u1E6F":"t","\u0167":"t","\u01AD":"t","\u0288":"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u","\uFF55":"u","\u00F9":"u","\u00FA":"u","\u00FB":"u","\u0169":"u","\u1E79":"u","\u016B":"u","\u1E7B":"u","\u016D":"u","\u00FC":"u","\u01DC":"u","\u01D8":"u","\u01D6":"u","\u01DA":"u","\u1EE7":"u","\u016F":"u","\u0171":"u","\u01D4":"u","\u0215":"u","\u0217":"u","\u01B0":"u","\u1EEB":"u","\u1EE9":"u","\u1EEF":"u","\u1EED":"u","\u1EF1":"u","\u1EE5":"u","\u1E73":"u","\u0173":"u","\u1E77":"u","\u1E75":"u","\u0289":"u","\u24E5":"v","\uFF56":"v","\u1E7D":"v","\u1E7F":"v","\u028B":"v","\uA75F":"v","\u028C":"v","\uA761":"vy","\u24E6":"w","\uFF57":"w","\u1E81":"w","\u1E83":"w","\u0175":"w","\u1E87":"w","\u1E85":"w","\u1E98":"w","\u1E89":"w","\u2C73":"w","\u24E7":"x","\uFF58":"x","\u1E8B":"x","\u1E8D":"x","\u24E8":"y","\uFF59":"y","\u1EF3":"y","\u00FD":"y","\u0177":"y","\u1EF9":"y","\u0233":"y","\u1E8F":"y","\u00FF":"y","\u1EF7":"y","\u1E99":"y","\u1EF5":"y","\u01B4":"y","\u024F":"y","\u1EFF":"y","\u24E9":"z","\uFF5A":"z","\u017A":"z","\u1E91":"z","\u017C":"z","\u017E":"z","\u1E93":"z","\u1E95":"z","\u01B6":"z","\u0225":"z","\u0240":"z","\u2C6C":"z","\uA763":"z"};
$document = $(document);
nextUid=(function() { var counter=1; return function() { return
counter++; }; }());
function stripDiacritics(str) {
var ret, i, l, c;
if (!str || str.length < 1) return str;
ret = "";
for (i = 0, l = str.length; i < l; i++) {
c = str.charAt(i);
ret += DIACRITICS[c] || c;
}
return ret;
}
function indexOf(value, array) {
var i = 0, l = array.length;
for (; i < l; i = i + 1) {
if (equal(value, array[i])) return i;
}
return -1;
}
function measureScrollbar () {
var $template = $( MEASURE_SCROLLBAR_TEMPLATE );
$template.appendTo('body');
var dim = {
width: $template.width() - $template[0].clientWidth,
height: $template.height() - $template[0].clientHeight
};
$template.remove();
return dim;
}
/**
* Compares equality of a and b
* @param a
* @param b
*/
function equal(a, b) {
if (a === b) return true;
if (a === undefined || b === undefined) return false;
if (a === null || b === null) return false;
// Check whether 'a' or 'b' is a string
(primitive or object).
// The concatenation of an empty string (+'') converts
its argument to a string's primitive.
if (a.constructor === String) return a+'' ===
b+''; // a+'' - in case 'a' is a String
object
if (b.constructor === String) return b+'' ===
a+''; // b+'' - in case 'b' is a String
object
return false;
}
/**
* Splits the string into an array of values, trimming each value. An
empty array is returned for nulls or empty
* strings
* @param string
* @param separator
*/
function splitVal(string, separator) {
var val, i, l;
if (string === null || string.length < 1) return [];
val = string.split(separator);
for (i = 0, l = val.length; i < l; i = i + 1) val[i] =
$.trim(val[i]);
return val;
}
function getSideBorderPadding(element) {
return element.outerWidth(false) - element.width();
}
function installKeyUpChangeEvent(element) {
var key="keyup-change-value";
element.on("keydown", function () {
if ($.data(element, key) === undefined) {
$.data(element, key, element.val());
}
});
element.on("keyup", function () {
var val= $.data(element, key);
if (val !== undefined && element.val() !== val) {
$.removeData(element, key);
element.trigger("keyup-change");
}
});
}
$document.on("mousemove", function (e) {
lastMousePosition.x = e.pageX;
lastMousePosition.y = e.pageY;
});
/**
* filters mouse events so an event is fired only if the mouse moved.
*
* filters out mouse events that occur when mouse is stationary but
* the elements under the pointer are scrolled.
*/
function installFilteredMouseMove(element) {
element.on("mousemove", function (e) {
var lastpos = lastMousePosition;
if (lastpos === undefined || lastpos.x !== e.pageX || lastpos.y
!== e.pageY) {
$(e.target).trigger("mousemove-filtered", e);
}
});
}
/**
* Debounces a function. Returns a function that calls the original fn
function only if no invocations have been made
* within the last quietMillis milliseconds.
*
* @param quietMillis number of milliseconds to wait before invoking fn
* @param fn function to be debounced
* @param ctx object to be used as this reference within fn
* @return debounced version of fn
*/
function debounce(quietMillis, fn, ctx) {
ctx = ctx || undefined;
var timeout;
return function () {
var args = arguments;
window.clearTimeout(timeout);
timeout = window.setTimeout(function() {
fn.apply(ctx, args);
}, quietMillis);
};
}
/**
* A simple implementation of a thunk
* @param formula function used to lazily initialize the thunk
* @return {Function}
*/
function thunk(formula) {
var evaluated = false,
value;
return function() {
if (evaluated === false) { value = formula(); evaluated = true;
}
return value;
};
};
function installDebouncedScroll(threshold, element) {
var notify = debounce(threshold, function (e) {
element.trigger("scroll-debounced", e);});
element.on("scroll", function (e) {
if (indexOf(e.target, element.get()) >= 0) notify(e);
});
}
function focus($el) {
if ($el[0] === document.activeElement) return;
/* set the focus in a 0 timeout - that way the focus is set after
the processing
of the current event has finished - which seems like the only
reliable way
to set focus */
window.setTimeout(function() {
var el=$el[0], pos=$el.val().length, range;
$el.focus();
/* make sure el received focus so we do not error out when
trying to manipulate the caret.
sometimes modals or others listeners may steal it after its
set */
if ($el.is(":visible") && el ===
document.activeElement) {
/* after the focus is set move the caret to the end,
necessary when we val()
just before setting focus */
if(el.setSelectionRange)
{
el.setSelectionRange(pos, pos);
}
else if (el.createTextRange) {
range = el.createTextRange();
range.collapse(false);
range.select();
}
}
}, 0);
}
function getCursorInfo(el) {
el = $(el)[0];
var offset = 0;
var length = 0;
if ('selectionStart' in el) {
offset = el.selectionStart;
length = el.selectionEnd - offset;
} else if ('selection' in document) {
el.focus();
var sel = document.selection.createRange();
length = document.selection.createRange().text.length;
sel.moveStart('character', -el.value.length);
offset = sel.text.length - length;
}
return { offset: offset, length: length };
}
function killEvent(event) {
event.preventDefault();
event.stopPropagation();
}
function killEventImmediately(event) {
event.preventDefault();
event.stopImmediatePropagation();
}
function measureTextWidth(e) {
if (!sizer){
var style = e[0].currentStyle || window.getComputedStyle(e[0],
null);
sizer = $(document.createElement("div")).css({
position: "absolute",
left: "-10000px",
top: "-10000px",
display: "none",
fontSize: style.fontSize,
fontFamily: style.fontFamily,
fontStyle: style.fontStyle,
fontWeight: style.fontWeight,
letterSpacing: style.letterSpacing,
textTransform: style.textTransform,
whiteSpace: "nowrap"
});
sizer.attr("class","select2-sizer");
$("body").append(sizer);
}
sizer.text(e.val());
return sizer.width();
}
function syncCssClasses(dest, src, adapter) {
var classes, replacements = [], adapted;
classes = dest.attr("class");
if (classes) {
classes = '' + classes; // for IE which returns
object
$(classes.split(" ")).each2(function() {
if (this.indexOf("select2-") === 0) {
replacements.push(this);
}
});
}
classes = src.attr("class");
if (classes) {
classes = '' + classes; // for IE which returns
object
$(classes.split(" ")).each2(function() {
if (this.indexOf("select2-") !== 0) {
adapted = adapter(this);
if (adapted) {
replacements.push(this);
}
}
});
}
dest.attr("class", replacements.join(" "));
}
function markMatch(text, term, markup, escapeMarkup) {
var
match=stripDiacritics(text.toUpperCase()).indexOf(stripDiacritics(term.toUpperCase())),
tl=term.length;
if (match<0) {
markup.push(escapeMarkup(text));
return;
}
markup.push(escapeMarkup(text.substring(0, match)));
markup.push("<span
class='select2-match'>");
markup.push(escapeMarkup(text.substring(match, match + tl)));
markup.push("</span>");
markup.push(escapeMarkup(text.substring(match + tl, text.length)));
}
function defaultEscapeMarkup(markup) {
var replace_map = {
'\\': '\',
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
"/": '/'
};
return String(markup).replace(/[&<>"'\/\\]/g,
function (match) {
return replace_map[match];
});
}
/**
* Produces an ajax-based query function
*
* @param options object containing configuration paramters
* @param options.params parameter map for the transport ajax call, can
contain such options as cache, jsonpCallback, etc. see $.ajax
* @param options.transport function that will be used to execute the
ajax request. must be compatible with parameters supported by $.ajax
* @param options.url url for the data
* @param options.data a function(searchTerm, pageNumber, context) that
should return an object containing query string parameters for the above
url.
* @param options.dataType request data type: ajax, jsonp, other
datatatypes supported by jQuery's $.ajax function or the transport
function if specified
* @param options.quietMillis (optional) milliseconds to wait before
making the ajaxRequest, helps debounce the ajax function if invoked too
often
* @param options.results a function(remoteData, pageNumber) that
converts data returned form the remote request to the format expected by
Select2.
* The expected format is an object containing the following keys:
* results array of objects that will be used as choices
* more (optional) boolean indicating whether there are more
results available
* Example: {results:[{id:1, text:'Red'},{id:2,
text:'Blue'}], more:true}
*/
function ajax(options) {
var timeout, // current scheduled but not yet executed request
handler = null,
quietMillis = options.quietMillis || 100,
ajaxUrl = options.url,
self = this;
return function (query) {
window.clearTimeout(timeout);
timeout = window.setTimeout(function () {
var data = options.data, // ajax data function
url = ajaxUrl, // ajax url string or function
transport = options.transport ||
$.fn.select2.ajaxDefaults.transport,
// deprecated - to be removed in 4.0 - use params
instead
deprecated = {
type: options.type || 'GET', // set type
of request (GET or POST)
cache: options.cache || false,
jsonpCallback: options.jsonpCallback||undefined,
dataType: options.dataType||"json"
},
params = $.extend({}, $.fn.select2.ajaxDefaults.params,
deprecated);
data = data ? data.call(self, query.term, query.page,
query.context) : null;
url = (typeof url === 'function') ?
url.call(self, query.term, query.page, query.context) : url;
if (handler) { handler.abort(); }
if (options.params) {
if ($.isFunction(options.params)) {
$.extend(params, options.params.call(self));
} else {
$.extend(params, options.params);
}
}
$.extend(params, {
url: url,
dataType: options.dataType,
data: data,
success: function (data) {
// TO DO - replace query.page with query so users
have access to term, page, etc.
var results = options.results(data, query.page);
query.callback(results);
}
});
handler = transport.call(self, params);
}, quietMillis);
};
}
/**
* Produces a query function that works with a local array
*
* @param options object containing configuration parameters. The
options parameter can either be an array or an
* object.
*
* If the array form is used it is assumed that it contains objects
with 'id' and 'text' keys.
*
* If the object form is used ti is assumed that it contains
'data' and 'text' keys. The 'data' key should
contain
* an array of objects that will be used as choices. These objects must
contain at least an 'id' key. The 'text'
* key can either be a String in which case it is expected that each
element in the 'data' array has a key with the
* value of 'text' which will be used to match choices.
Alternatively, text can be a function(item) that can extract
* the text.
*/
function local(options) {
var data = options, // data elements
dataText,
tmp,
text = function (item) { return ""+item.text; }; //
function used to retrieve the text portion of a data item that is matched
against the search
if ($.isArray(data)) {
tmp = data;
data = { results: tmp };
}
if ($.isFunction(data) === false) {
tmp = data;
data = function() { return tmp; };
}
var dataItem = data();
if (dataItem.text) {
text = dataItem.text;
// if text is not a function we assume it to be a key name
if (!$.isFunction(text)) {
dataText = dataItem.text; // we need to store this in a
separate variable because in the next step data gets reset and data.text is
no longer available
text = function (item) { return item[dataText]; };
}
}
return function (query) {
var t = query.term, filtered = { results: [] }, process;
if (t === "") {
query.callback(data());
return;
}
process = function(datum, collection) {
var group, attr;
datum = datum[0];
if (datum.children) {
group = {};
for (attr in datum) {
if (datum.hasOwnProperty(attr))
group[attr]=datum[attr];
}
group.children=[];
$(datum.children).each2(function(i, childDatum) {
process(childDatum, group.children); });
if (group.children.length || query.matcher(t,
text(group), datum)) {
collection.push(group);
}
} else {
if (query.matcher(t, text(datum), datum)) {
collection.push(datum);
}
}
};
$(data().results).each2(function(i, datum) { process(datum,
filtered.results); });
query.callback(filtered);
};
}
// TO DO javadoc
function tags(data) {
var isFunc = $.isFunction(data);
return function (query) {
var t = query.term, filtered = {results: []};
$(isFunc ? data() : data).each(function () {
var isObject = this.text !== undefined,
text = isObject ? this.text : this;
if (t === "" || query.matcher(t, text)) {
filtered.results.push(isObject ? this : {id: this,
text: this});
}
});
query.callback(filtered);
};
}
/**
* Checks if the formatter function should be used.
*
* Throws an error if it is not a function. Returns true if it should
be used,
* false if no formatting should be performed.
*
* @param formatter
*/
function checkFormatter(formatter, formatterName) {
if ($.isFunction(formatter)) return true;
if (!formatter) return false;
throw new Error(formatterName +" must be a function or a falsy
value");
}
function evaluate(val) {
return $.isFunction(val) ? val() : val;
}
function countResults(results) {
var count = 0;
$.each(results, function(i, item) {
if (item.children) {
count += countResults(item.children);
} else {
count++;
}
});
return count;
}
/**
* Default tokenizer. This function uses breaks the input on substring
match of any string from the
* opts.tokenSeparators array and uses opts.createSearchChoice to
create the choice object. Both of those
* two options have to be defined in order for the tokenizer to work.
*
* @param input text user has typed so far or pasted into the search
field
* @param selection currently selected choices
* @param selectCallback function(choice) callback tho add the choice
to selection
* @param opts select2's opts
* @return undefined/null to leave the current input unchanged, or a
string to change the input to the returned value
*/
function defaultTokenizer(input, selection, selectCallback, opts) {
var original = input, // store the original so we can compare and
know if we need to tell the search to update its text
dupe = false, // check for whether a token we extracted
represents a duplicate selected choice
token, // token
index, // position at which the separator was found
i, l, // looping variables
separator; // the matched separator
if (!opts.createSearchChoice || !opts.tokenSeparators ||
opts.tokenSeparators.length < 1) return undefined;
while (true) {
index = -1;
for (i = 0, l = opts.tokenSeparators.length; i < l; i++) {
separator = opts.tokenSeparators[i];
index = input.indexOf(separator);
if (index >= 0) break;
}
if (index < 0) break; // did not find any token separator in
the input string, bail
token = input.substring(0, index);
input = input.substring(index + separator.length);
if (token.length > 0) {
token = opts.createSearchChoice.call(this, token,
selection);
if (token !== undefined && token !== null
&& opts.id(token) !== undefined && opts.id(token) !== null)
{
dupe = false;
for (i = 0, l = selection.length; i < l; i++) {
if (equal(opts.id(token), opts.id(selection[i]))) {
dupe = true; break;
}
}
if (!dupe) selectCallback(token);
}
}
}
if (original!==input) return input;
}
/**
* Creates a new class
*
* @param superClass
* @param methods
*/
function clazz(SuperClass, methods) {
var constructor = function () {};
constructor.prototype = new SuperClass;
constructor.prototype.constructor = constructor;
constructor.prototype.parent = SuperClass.prototype;
constructor.prototype = $.extend(constructor.prototype, methods);
return constructor;
}
AbstractSelect2 = clazz(Object, {
// abstract
bind: function (func) {
var self = this;
return function () {
func.apply(self, arguments);
};
},
// abstract
init: function (opts) {
var results, search, resultsSelector =
".select2-results", disabled, readonly;
// prepare options
this.opts = opts = this.prepareOpts(opts);
this.id=opts.id;
// destroy if called on an existing component
if (opts.element.data("select2") !== undefined
&&
opts.element.data("select2") !== null) {
opts.element.data("select2").destroy();
}
this.container = this.createContainer();
this.containerId="s2id_"+(opts.element.attr("id") ||
"autogen"+nextUid());
this.containerSelector="#"+this.containerId.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,
'\\$1');
this.container.attr("id", this.containerId);
// cache the body so future lookups are cheap
this.body = thunk(function() { return
opts.element.closest("body"); });
syncCssClasses(this.container, this.opts.element,
this.opts.adaptContainerCssClass);
this.container.attr("style",
opts.element.attr("style"));
this.container.css(evaluate(opts.containerCss));
this.container.addClass(evaluate(opts.containerCssClass));
this.elementTabIndex =
this.opts.element.attr("tabindex");
// swap container for the element
this.opts.element
.data("select2", this)
.attr("tabindex", "-1")
.before(this.container)
.on("click.select2", killEvent); // do not leak
click events
this.container.data("select2", this);
this.dropdown = this.container.find(".select2-drop");
syncCssClasses(this.dropdown, this.opts.element,
this.opts.adaptDropdownCssClass);
this.dropdown.addClass(evaluate(opts.dropdownCssClass));
this.dropdown.data("select2", this);
this.dropdown.on("click", killEvent);
this.results = results = this.container.find(resultsSelector);
this.search = search =
this.container.find("input.select2-input");
this.queryCount = 0;
this.resultsPage = 0;
this.context = null;
// initialize the container
this.initContainer();
this.container.on("click", killEvent);
installFilteredMouseMove(this.results);
this.dropdown.on("mousemove-filtered touchstart touchmove
touchend", resultsSelector, this.bind(this.highlightUnderEvent));
installDebouncedScroll(80, this.results);
this.dropdown.on("scroll-debounced", resultsSelector,
this.bind(this.loadMoreIfNeeded));
// do not propagate change event from the search field out of
the component
$(this.container).on("change",
".select2-input", function(e) {e.stopPropagation();});
$(this.dropdown).on("change",
".select2-input", function(e) {e.stopPropagation();});
// if jquery.mousewheel plugin is installed we can prevent
out-of-bounds scrolling of results via mousewheel
if ($.fn.mousewheel) {
results.mousewheel(function (e, delta, deltaX, deltaY) {
var top = results.scrollTop(), height;
if (deltaY > 0 && top - deltaY <= 0) {
results.scrollTop(0);
killEvent(e);
} else if (deltaY < 0 &&
results.get(0).scrollHeight - results.scrollTop() + deltaY <=
results.height()) {
results.scrollTop(results.get(0).scrollHeight -
results.height());
killEvent(e);
}
});
}
installKeyUpChangeEvent(search);
search.on("keyup-change input paste",
this.bind(this.updateResults));
search.on("focus", function () {
search.addClass("select2-focused"); });
search.on("blur", function () {
search.removeClass("select2-focused");});
this.dropdown.on("mouseup", resultsSelector,
this.bind(function (e) {
if
($(e.target).closest(".select2-result-selectable").length > 0)
{
this.highlightUnderEvent(e);
this.selectHighlighted(e);
}
}));
// trap all mouse events from leaving the dropdown. sometimes
there may be a modal that is listening
// for mouse events outside of itself so it can close itself.
since the dropdown is now outside the select2's
// dom it will trigger the popup close, which is not what we
want
this.dropdown.on("click mouseup mousedown", function
(e) { e.stopPropagation(); });
if ($.isFunction(this.opts.initSelection)) {
// initialize selection based on the current value of the
source element
this.initSelection();
// if the user has provided a function that can set
selection based on the value of the source element
// we monitor the change event on the element and trigger
it, allowing for two way synchronization
this.monitorSource();
}
if (opts.maximumInputLength !== null) {
this.search.attr("maxlength",
opts.maximumInputLength);
}
var disabled = opts.element.prop("disabled");
if (disabled === undefined) disabled = false;
this.enable(!disabled);
var readonly = opts.element.prop("readonly");
if (readonly === undefined) readonly = false;
this.readonly(readonly);
// Calculate size of scrollbar
scrollBarDimensions = scrollBarDimensions ||
measureScrollbar();
this.autofocus = opts.element.prop("autofocus");
opts.element.prop("autofocus", false);
if (this.autofocus) this.focus();
this.nextSearchTerm = undefined;
},
// abstract
destroy: function () {
var element=this.opts.element, select2 =
element.data("select2");
this.close();
if (this.propertyObserver) { delete this.propertyObserver;
this.propertyObserver = null; }
if (select2 !== undefined) {
select2.container.remove();
select2.dropdown.remove();
element
.removeClass("select2-offscreen")
.removeData("select2")
.off(".select2")
.prop("autofocus", this.autofocus || false);
if (this.elementTabIndex) {
element.attr({tabindex: this.elementTabIndex});
} else {
element.removeAttr("tabindex");
}
element.show();
}
},
// abstract
optionToData: function(element) {
if (element.is("option")) {
return {
id:element.prop("value"),
text:element.text(),
element: element.get(),
css: element.attr("class"),
disabled: element.prop("disabled"),
locked: equal(element.attr("locked"),
"locked") || equal(element.data("locked"), true)
};
} else if (element.is("optgroup")) {
return {
text:element.attr("label"),
children:[],
element: element.get(),
css: element.attr("class")
};
}
},
// abstract
prepareOpts: function (opts) {
var element, select, idKey, ajaxUrl, self = this;
element = opts.element;
if (element.get(0).tagName.toLowerCase() ===
"select") {
this.select = select = opts.element;
}
if (select) {
// these options are not allowed when attached to a select
because they are picked up off the element itself
$.each(["id", "multiple",
"ajax", "query", "createSearchChoice",
"initSelection", "data", "tags"], function ()
{
if (this in opts) {
throw new Error("Option '" + this +
"' is not allowed for Select2 when attached to a <select>
element.");
}
});
}
opts = $.extend({}, {
populateResults: function(container, results, query) {
var populate, data, result, children, id=this.opts.id;
populate=function(results, container, depth) {
var i, l, result, selectable, disabled, compound,
node, label, innerContainer, formatted;
results = opts.sortResults(results, container,
query);
for (i = 0, l = results.length; i < l; i = i +
1) {
result=results[i];
disabled = (result.disabled === true);
selectable = (!disabled) && (id(result)
!== undefined);
compound=result.children &&
result.children.length > 0;
node=$("<li></li>");
node.addClass("select2-results-dept-"+depth);
node.addClass("select2-result");
node.addClass(selectable ?
"select2-result-selectable" :
"select2-result-unselectable");
if (disabled) {
node.addClass("select2-disabled"); }
if (compound) {
node.addClass("select2-result-with-children"); }
node.addClass(self.opts.formatResultCssClass(result));
label=$(document.createElement("div"));
label.addClass("select2-result-label");
formatted=opts.formatResult(result, label,
query, self.opts.escapeMarkup);
if (formatted!==undefined) {
label.html(formatted);
}
node.append(label);
if (compound) {
innerContainer=$("<ul></ul>");
innerContainer.addClass("select2-result-sub");
populate(result.children, innerContainer,
depth+1);
node.append(innerContainer);
}
node.data("select2-data", result);
container.append(node);
}
};
populate(results, container, 0);
}
}, $.fn.select2.defaults, opts);
if (typeof(opts.id) !== "function") {
idKey = opts.id;
opts.id = function (e) { return e[idKey]; };
}
if ($.isArray(opts.element.data("select2Tags"))) {
if ("tags" in opts) {
throw "tags specified as both an attribute
'data-select2-tags' and in options of Select2 " +
opts.element.attr("id");
}
opts.tags=opts.element.data("select2Tags");
}
if (select) {
opts.query = this.bind(function (query) {
var data = { results: [], more: false },
term = query.term,
children, placeholderOption, process;
process=function(element, collection) {
var group;
if (element.is("option")) {
if (query.matcher(term, element.text(),
element)) {
collection.push(self.optionToData(element));
}
} else if (element.is("optgroup")) {
group=self.optionToData(element);
element.children().each2(function(i, elm) {
process(elm, group.children); });
if (group.children.length>0) {
collection.push(group);
}
}
};
children=element.children();
// ignore the placeholder option if there is one
if (this.getPlaceholder() !== undefined &&
children.length > 0) {
placeholderOption = this.getPlaceholderOption();
if (placeholderOption) {
children=children.not(placeholderOption);
}
}
children.each2(function(i, elm) { process(elm,
data.results); });
query.callback(data);
});
// this is needed because inside val() we construct choices
from options and there id is hardcoded
opts.id=function(e) { return e.id; };
opts.formatResultCssClass = function(data) { return
data.css; };
} else {
if (!("query" in opts)) {
if ("ajax" in opts) {
ajaxUrl = opts.element.data("ajax-url");
if (ajaxUrl && ajaxUrl.length > 0) {
opts.ajax.url = ajaxUrl;
}
opts.query = ajax.call(opts.element, opts.ajax);
} else if ("data" in opts) {
opts.query = local(opts.data);
} else if ("tags" in opts) {
opts.query = tags(opts.tags);
if (opts.createSearchChoice === undefined) {
opts.createSearchChoice = function (term) {
return {id: $.trim(term), text: $.trim(term)}; };
}
if (opts.initSelection === undefined) {
opts.initSelection = function (element,
callback) {
var data = [];
$(splitVal(element.val(),
opts.separator)).each(function () {
var obj = { id: this, text: this },
tags = opts.tags;
if ($.isFunction(tags)) tags=tags();
$(tags).each(function() { if
(equal(this.id, obj.id)) { obj = this; return false; } });
data.push(obj);
});
callback(data);
};
}
}
}
}
if (typeof(opts.query) !== "function") {
throw "query function not defined for Select2 " +
opts.element.attr("id");
}
return opts;
},
/**
* Monitor the original element for changes and update select2
accordingly
*/
// abstract
monitorSource: function () {
var el = this.opts.element, sync;
el.on("change.select2", this.bind(function (e) {
if
(this.opts.element.data("select2-change-triggered") !== true) {
this.initSelection();
}
}));
sync = this.bind(function () {
var enabled, readonly, self = this;
// sync enabled state
var disabled = el.prop("disabled");
if (disabled === undefined) disabled = false;
this.enable(!disabled);
var readonly = el.prop("readonly");
if (readonly === undefined) readonly = false;
this.readonly(readonly);
syncCssClasses(this.container, this.opts.element,
this.opts.adaptContainerCssClass);
this.container.addClass(evaluate(this.opts.containerCssClass));
syncCssClasses(this.dropdown, this.opts.element,
this.opts.adaptDropdownCssClass);
this.dropdown.addClass(evaluate(this.opts.dropdownCssClass));
});
// mozilla and IE
el.on("propertychange.select2
DOMAttrModified.select2", sync);
// hold onto a reference of the callback to work around a
chromium bug
if (this.mutationCallback === undefined) {
this.mutationCallback = function (mutations) {
mutations.forEach(sync);
}
}
// safari and chrome
if (typeof WebKitMutationObserver !== "undefined") {
if (this.propertyObserver) { delete this.propertyObserver;
this.propertyObserver = null; }
this.propertyObserver = new
WebKitMutationObserver(this.mutationCallback);
this.propertyObserver.observe(el.get(0), { attributes:true,
subtree:false });
}
},
// abstract
triggerSelect: function(data) {
var evt = $.Event("select2-selecting", { val:
this.id(data), object: data });
this.opts.element.trigger(evt);
return !evt.isDefaultPrevented();
},
/**
* Triggers the change event on the source element
*/
// abstract
triggerChange: function (details) {
details = details || {};
details= $.extend({}, details, { type: "change", val:
this.val() });
// prevents recursive triggering
this.opts.element.data("select2-change-triggered",
true);
this.opts.element.trigger(details);
this.opts.element.data("select2-change-triggered",
false);
// some validation frameworks ignore the change event and
listen instead to keyup, click for selects
// so here we trigger the click event manually
this.opts.element.click();
// ValidationEngine ignorea the change event and listens
instead to blur
// so here we trigger the blur event manually if so desired
if (this.opts.blurOnChange)
this.opts.element.blur();
},
//abstract
isInterfaceEnabled: function()
{
return this.enabledInterface === true;
},
// abstract
enableInterface: function() {
var enabled = this._enabled && !this._readonly,
disabled = !enabled;
if (enabled === this.enabledInterface) return false;
this.container.toggleClass("select2-container-disabled",
disabled);
this.close();
this.enabledInterface = enabled;
return true;
},
// abstract
enable: function(enabled) {
if (enabled === undefined) enabled = true;
if (this._enabled === enabled) return;
this._enabled = enabled;
this.opts.element.prop("disabled", !enabled);
this.enableInterface();
},
// abstract
disable: function() {
this.enable(false);
},
// abstract
readonly: function(enabled) {
if (enabled === undefined) enabled = false;
if (this._readonly === enabled) return false;
this._readonly = enabled;
this.opts.element.prop("readonly", enabled);
this.enableInterface();
return true;
},
// abstract
opened: function () {
return
this.container.hasClass("select2-dropdown-open");
},
// abstract
positionDropdown: function() {
var $dropdown = this.dropdown,
offset = this.container.offset(),
height = this.container.outerHeight(false),
width = this.container.outerWidth(false),
dropHeight = $dropdown.outerHeight(false),
viewPortRight = $(window).scrollLeft() + $(window).width(),
viewportBottom = $(window).scrollTop() +
$(window).height(),
dropTop = offset.top + height,
dropLeft = offset.left,
enoughRoomBelow = dropTop + dropHeight <=
viewportBottom,
enoughRoomAbove = (offset.top - dropHeight) >=
this.body().scrollTop(),
dropWidth = $dropdown.outerWidth(false),
enoughRoomOnRight = dropLeft + dropWidth <=
viewPortRight,
aboveNow =
$dropdown.hasClass("select2-drop-above"),
bodyOffset,
above,
css,
resultsListNode;
if (this.opts.dropdownAutoWidth) {
resultsListNode = $('.select2-results',
$dropdown)[0];
$dropdown.addClass('select2-drop-auto-width');
$dropdown.css('width', '');
// Add scrollbar width to dropdown if vertical scrollbar is
present
dropWidth = $dropdown.outerWidth(false) +
(resultsListNode.scrollHeight === resultsListNode.clientHeight ? 0 :
scrollBarDimensions.width);
dropWidth > width ? width = dropWidth : dropWidth =
width;
enoughRoomOnRight = dropLeft + dropWidth <=
viewPortRight;
}
else {
this.container.removeClass('select2-drop-auto-width');
}
// fix positioning when body has an offset and is not position:
static
if (this.body().css('position') !==
'static') {
bodyOffset = this.body().offset();
dropTop -= bodyOffset.top;
dropLeft -= bodyOffset.left;
}
// always prefer the current above/below alignment, unless
there is not enough room
if (aboveNow) {
above = true;
if (!enoughRoomAbove && enoughRoomBelow) above =
false;
} else {
above = false;
if (!enoughRoomBelow && enoughRoomAbove) above =
true;
}
if (!enoughRoomOnRight) {
dropLeft = offset.left + width - dropWidth;
}
if (above) {
dropTop = offset.top - dropHeight;
this.container.addClass("select2-drop-above");
$dropdown.addClass("select2-drop-above");
}
else {
this.container.removeClass("select2-drop-above");
$dropdown.removeClass("select2-drop-above");
}
css = $.extend({
top: dropTop,
left: dropLeft,
width: width
}, evaluate(this.opts.dropdownCss));
$dropdown.css(css);
},
// abstract
shouldOpen: function() {
var event;
if (this.opened()) return false;
if (this._enabled === false || this._readonly === true) return
false;
event = $.Event("select2-opening");
this.opts.element.trigger(event);
return !event.isDefaultPrevented();
},
// abstract
clearDropdownAlignmentPreference: function() {
// clear the classes used to figure out the preference of where
the dropdown should be opened
this.container.removeClass("select2-drop-above");
this.dropdown.removeClass("select2-drop-above");
},
/**
* Opens the dropdown
*
* @return {Boolean} whether or not dropdown was opened. This
method will return false if, for example,
* the dropdown is already open, or if the 'open' event
listener on the element called preventDefault().
*/
// abstract
open: function () {
if (!this.shouldOpen()) return false;
this.opening();
return true;
},
/**
* Performs the opening of the dropdown
*/
// abstract
opening: function() {
var cid = this.containerId,
scroll = "scroll." + cid,
resize = "resize."+cid,
orient = "orientationchange."+cid,
mask, maskCss;
this.container.addClass("select2-dropdown-open").addClass("select2-container-active");
this.clearDropdownAlignmentPreference();
if(this.dropdown[0] !== this.body().children().last()[0]) {
this.dropdown.detach().appendTo(this.body());
}
// create the dropdown mask if doesnt already exist
mask = $("#select2-drop-mask");
if (mask.length == 0) {
mask = $(document.createElement("div"));
mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask");
mask.hide();
mask.appendTo(this.body());
mask.on("mousedown touchstart click", function
(e) {
var dropdown = $("#select2-drop"), self;
if (dropdown.length > 0) {
self=dropdown.data("select2");
if (self.opts.selectOnBlur) {
self.selectHighlighted({noFocus: true});
}
self.close({focus:false});
e.preventDefault();
e.stopPropagation();
}
});
}
// ensure the mask is always right before the dropdown
if (this.dropdown.prev()[0] !== mask[0]) {
this.dropdown.before(mask);
}
// move the global id to the correct dropdown
$("#select2-drop").removeAttr("id");
this.dropdown.attr("id", "select2-drop");
// show the elements
mask.show();
this.positionDropdown();
this.dropdown.show();
this.positionDropdown();
this.dropdown.addClass("select2-drop-active");
// attach listeners to events that can change the position of
the container and thus require
// the position of the dropdown to be updated as well so it
does not come unglued from the container
var that = this;
this.container.parents().add(window).each(function () {
$(this).on(resize+" "+scroll+"
"+orient, function (e) {
that.positionDropdown();
});
});
},
// abstract
close: function () {
if (!this.opened()) return;
var cid = this.containerId,
scroll = "scroll." + cid,
resize = "resize."+cid,
orient = "orientationchange."+cid;
// unbind event listeners
this.container.parents().add(window).each(function () {
$(this).off(scroll).off(resize).off(orient); });
this.clearDropdownAlignmentPreference();
$("#select2-drop-mask").hide();
this.dropdown.removeAttr("id"); // only the active
dropdown has the select2-drop id
this.dropdown.hide();
this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active");
this.results.empty();
this.clearSearch();
this.search.removeClass("select2-active");
this.opts.element.trigger($.Event("select2-close"));
},
/**
* Opens control, sets input value, and updates results.
*/
// abstract
externalSearch: function (term) {
this.open();
this.search.val(term);
this.updateResults(false);
},
// abstract
clearSearch: function () {
},
//abstract
getMaximumSelectionSize: function() {
return evaluate(this.opts.maximumSelectionSize);
},
// abstract
ensureHighlightVisible: function () {
var results = this.results, children, index, child, hb, rb, y,
more;
index = this.highlight();
if (index < 0) return;
if (index == 0) {
// if the first element is highlighted scroll all the way
to the top,
// that way any unselectable headers above it will also be
scrolled
// into view
results.scrollTop(0);
return;
}
children =
this.findHighlightableChoices().find('.select2-result-label');
child = $(children[index]);
hb = child.offset().top + child.outerHeight(true);
// if this is the last child lets also make sure
select2-more-results is visible
if (index === children.length - 1) {
more = results.find("li.select2-more-results");
if (more.length > 0) {
hb = more.offset().top + more.outerHeight(true);
}
}
rb = results.offset().top + results.outerHeight(true);
if (hb > rb) {
results.scrollTop(results.scrollTop() + (hb - rb));
}
y = child.offset().top - results.offset().top;
// make sure the top of the element is visible
if (y < 0 && child.css('display') !=
'none' ) {
results.scrollTop(results.scrollTop() + y); // y is
negative
}
},
// abstract
findHighlightableChoices: function() {
return
this.results.find(".select2-result-selectable:not(.select2-disabled)");
},
// abstract
moveHighlight: function (delta) {
var choices = this.findHighlightableChoices(),
index = this.highlight();
while (index > -1 && index < choices.length) {
index += delta;
var choice = $(choices[index]);
if (choice.hasClass("select2-result-selectable")
&& !choice.hasClass("select2-disabled") &&
!choice.hasClass("select2-selected")) {
this.highlight(index);
break;
}
}
},
// abstract
highlight: function (index) {
var choices = this.findHighlightableChoices(),
choice,
data;
if (arguments.length === 0) {
return
indexOf(choices.filter(".select2-highlighted")[0],
choices.get());
}
if (index >= choices.length) index = choices.length - 1;
if (index < 0) index = 0;
this.removeHighlight();
choice = $(choices[index]);
choice.addClass("select2-highlighted");
this.ensureHighlightVisible();
data = choice.data("select2-data");
if (data) {
this.opts.element.trigger({ type:
"select2-highlight", val: this.id(data), choice: data });
}
},
removeHighlight: function() {
this.results.find(".select2-highlighted").removeClass("select2-highlighted");
},
// abstract
countSelectableResults: function() {
return this.findHighlightableChoices().length;
},
// abstract
highlightUnderEvent: function (event) {
var el =
$(event.target).closest(".select2-result-selectable");
if (el.length > 0 &&
!el.is(".select2-highlighted")) {
var choices = this.findHighlightableChoices();
this.highlight(choices.index(el));
} else if (el.length == 0) {
// if we are over an unselectable item remove all
highlights
this.removeHighlight();
}
},
// abstract
loadMoreIfNeeded: function () {
var results = this.results,
more = results.find("li.select2-more-results"),
below, // pixels the element is below the scroll fold,
below==0 is when the element is starting to be visible
offset = -1, // index of first element without data
page = this.resultsPage + 1,
self=this,
term=this.search.val(),
context=this.context;
if (more.length === 0) return;
below = more.offset().top - results.offset().top -
results.height();
if (below <= this.opts.loadMorePadding) {
more.addClass("select2-active");
this.opts.query({
element: this.opts.element,
term: term,
page: page,
context: context,
matcher: this.opts.matcher,
callback: this.bind(function (data) {
// ignore a response if the select2 has been closed
before it was received
if (!self.opened()) return;
self.opts.populateResults.call(this, results,
data.results, {term: term, page: page, context:context});
self.postprocessResults(data, false, false);
if (data.more===true) {
more.detach().appendTo(results).text(self.opts.formatLoadMore(page+1));
window.setTimeout(function() {
self.loadMoreIfNeeded(); }, 10);
} else {
more.remove();
}
self.positionDropdown();
self.resultsPage = page;
self.context = data.context;
this.opts.element.trigger({ type:
"select2-loaded", items: data });
})});
}
},
/**
* Default tokenizer function which does nothing
*/
tokenize: function() {
},
/**
* @param initial whether or not this is the call to this method
right after the dropdown has been opened
*/
// abstract
updateResults: function (initial) {
var search = this.search,
results = this.results,
opts = this.opts,
data,
self = this,
input,
term = search.val(),
lastTerm = $.data(this.container,
"select2-last-term"),
// sequence number used to drop out-of-order responses
queryNumber;
// prevent duplicate queries against the same term
if (initial !== true && lastTerm && equal(term,
lastTerm)) return;
$.data(this.container, "select2-last-term", term);
// if the search is currently hidden we do not alter the
results
if (initial !== true && (this.showSearchInput === false
|| !this.opened())) {
return;
}
function postRender() {
search.removeClass("select2-active");
self.positionDropdown();
}
function render(html) {
results.html(html);
postRender();
}
queryNumber = ++this.queryCount;
var maxSelSize = this.getMaximumSelectionSize();
if (maxSelSize >=1) {
data = this.data();
if ($.isArray(data) && data.length >= maxSelSize
&& checkFormatter(opts.formatSelectionTooBig,
"formatSelectionTooBig")) {
render("<li
class='select2-selection-limit'>" +
opts.formatSelectionTooBig(maxSelSize) + "</li>");
return;
}
}
if (search.val().length < opts.minimumInputLength) {
if (checkFormatter(opts.formatInputTooShort,
"formatInputTooShort")) {
render("<li
class='select2-no-results'>" +
opts.formatInputTooShort(search.val(), opts.minimumInputLength) +
"</li>");
} else {
render("");
}
if (initial && this.showSearch)
this.showSearch(true);
return;
}
if (opts.maximumInputLength && search.val().length >
opts.maximumInputLength) {
if (checkFormatter(opts.formatInputTooLong,
"formatInputTooLong")) {
render("<li
class='select2-no-results'>" +
opts.formatInputTooLong(search.val(), opts.maximumInputLength) +
"</li>");
} else {
render("");
}
return;
}
if (opts.formatSearching &&
this.findHighlightableChoices().length === 0) {
render("<li
class='select2-searching'>" + opts.formatSearching() +
"</li>");
}
search.addClass("select2-active");
this.removeHighlight();
// give the tokenizer a chance to pre-process the input
input = this.tokenize();
if (input != undefined && input != null) {
search.val(input);
}
this.resultsPage = 1;
opts.query({
element: opts.element,
term: search.val(),
page: this.resultsPage,
context: null,
matcher: opts.matcher,
callback: this.bind(function (data) {
var def; // default choice
// ignore old responses
if (queryNumber != this.queryCount) {
return;
}
// ignore a response if the select2 has been closed before
it was received
if (!this.opened()) {
this.search.removeClass("select2-active");
return;
}
// save context, if any
this.context = (data.context===undefined) ? null :
data.context;
// create a default choice and prepend it to the list
if (this.opts.createSearchChoice && search.val()
!== "") {
def = this.opts.createSearchChoice.call(self,
search.val(), data.results);
if (def !== undefined && def !== null
&& self.id(def) !== undefined && self.id(def) !== null) {
if ($(data.results).filter(
function () {
return equal(self.id(this), self.id(def));
}).length === 0) {
data.results.unshift(def);
}
}
}
if (data.results.length === 0 &&
checkFormatter(opts.formatNoMatches, "formatNoMatches")) {
render("<li
class='select2-no-results'>" +
opts.formatNoMatches(search.val()) + "</li>");
return;
}
results.empty();
self.opts.populateResults.call(this, results, data.results,
{term: search.val(), page: this.resultsPage, context:null});
if (data.more === true &&
checkFormatter(opts.formatLoadMore, "formatLoadMore")) {
results.append("<li
class='select2-more-results'>" +
self.opts.escapeMarkup(opts.formatLoadMore(this.resultsPage)) +
"</li>");
window.setTimeout(function() { self.loadMoreIfNeeded();
}, 10);
}
this.postprocessResults(data, initial);
postRender();
this.opts.element.trigger({ type:
"select2-loaded", items: data });
})});
},
// abstract
cancel: function () {
this.close();
},
// abstract
blur: function () {
// if selectOnBlur == true, select the currently highlighted
option
if (this.opts.selectOnBlur)
this.selectHighlighted({noFocus: true});
this.close();
this.container.removeClass("select2-container-active");
// synonymous to .is(':focus'), which is available in
jquery >= 1.6
if (this.search[0] === document.activeElement) {
this.search.blur(); }
this.clearSearch();
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
},
// abstract
focusSearch: function () {
focus(this.search);
},
// abstract
selectHighlighted: function (options) {
var index=this.highlight(),
highlighted=this.results.find(".select2-highlighted"),
data =
highlighted.closest('.select2-result').data("select2-data");
if (data) {
this.highlight(index);
this.onSelect(data, options);
} else if (options && options.noFocus) {
this.close();
}
},
// abstract
getPlaceholder: function () {
var placeholderOption;
return this.opts.element.attr("placeholder") ||
this.opts.element.attr("data-placeholder") || //
jquery 1.4 compat
this.opts.element.data("placeholder") ||
this.opts.placeholder ||
((placeholderOption = this.getPlaceholderOption()) !==
undefined ? placeholderOption.text() : undefined);
},
// abstract
getPlaceholderOption: function() {
if (this.select) {
var firstOption = this.select.children().first();
if (this.opts.placeholderOption !== undefined ) {
//Determine the placeholder option based on the
specified placeholderOption setting
return (this.opts.placeholderOption ===
"first" && firstOption) ||
(typeof this.opts.placeholderOption ===
"function" && this.opts.placeholderOption(this.select));
} else if (firstOption.text() === "" &&
firstOption.val() === "") {
//No explicit placeholder option specified, use the
first if it's blank
return firstOption;
}
}
},
/**
* Get the desired width for the container element. This is
* derived first from option `width` passed to select2, then
* the inline 'style' on the original element, and
finally
* falls back to the jQuery calculated element width.
*/
// abstract
initContainerWidth: function () {
function resolveContainerWidth() {
var style, attrs, matches, i, l;
if (this.opts.width === "off") {
return null;
} else if (this.opts.width === "element"){
return this.opts.element.outerWidth(false) === 0 ?
'auto' : this.opts.element.outerWidth(false) + 'px';
} else if (this.opts.width === "copy" ||
this.opts.width === "resolve") {
// check if there is inline style on the element that
contains width
style = this.opts.element.attr('style');
if (style !== undefined) {
attrs = style.split(';');
for (i = 0, l = attrs.length; i < l; i = i + 1)
{
matches = attrs[i].replace(/\s/g, '')
.match(/[^-]width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i);
if (matches !== null && matches.length
>= 1)
return matches[1];
}
}
if (this.opts.width === "resolve") {
// next check if css('width') can resolve
a width that is percent based, this is sometimes possible
// when attached to input type=hidden or elements
hidden via css
style = this.opts.element.css('width');
if (style.indexOf("%") > 0) return
style;
// finally, fallback on the calculated width of the
element
return (this.opts.element.outerWidth(false) === 0 ?
'auto' : this.opts.element.outerWidth(false) + 'px');
}
return null;
} else if ($.isFunction(this.opts.width)) {
return this.opts.width();
} else {
return this.opts.width;
}
};
var width = resolveContainerWidth.call(this);
if (width !== null) {
this.container.css("width", width);
}
}
});
SingleSelect2 = clazz(AbstractSelect2, {
// single
createContainer: function () {
var container =
$(document.createElement("div")).attr({
"class": "select2-container"
}).html([
"<a href='javascript:void(0)'
onclick='return false;' class='select2-choice'
tabindex='-1'>",
" <span
class='select2-chosen'> </span><abbr
class='select2-search-choice-close'></abbr>",
" <span
class='select2-arrow'><b></b></span>",
"</a>",
"<input class='select2-focusser
select2-offscreen' type='text'/>",
"<div class='select2-drop
select2-display-none'>",
" <div
class='select2-search'>",
" <input type='text'
autocomplete='off' autocorrect='off'
autocapitalize='off' spellcheck='false'
class='select2-input'/>",
" </div>",
" <ul
class='select2-results'>",
" </ul>",
"</div>"].join(""));
return container;
},
// single
enableInterface: function() {
if (this.parent.enableInterface.apply(this, arguments)) {
this.focusser.prop("disabled",
!this.isInterfaceEnabled());
}
},
// single
opening: function () {
var el, range, len;
if (this.opts.minimumResultsForSearch >= 0) {
this.showSearch(true);
}
this.parent.opening.apply(this, arguments);
if (this.showSearchInput !== false) {
// IE appends focusser.val() at the end of field :/ so we
manually insert it at the beginning using a range
// all other browsers handle this just fine
this.search.val(this.focusser.val());
}
this.search.focus();
// move the cursor to the end after focussing, otherwise it
will be at the beginning and
// new text will appear *before* focusser.val()
el = this.search.get(0);
if (el.createTextRange) {
range = el.createTextRange();
range.collapse(false);
range.select();
} else if (el.setSelectionRange) {
len = this.search.val().length;
el.setSelectionRange(len, len);
}
// initializes search's value with nextSearchTerm (if
defined by user)
// ignore nextSearchTerm if the dropdown is opened by the user
pressing a letter
if(this.search.val() === "") {
if(this.nextSearchTerm != undefined){
this.search.val(this.nextSearchTerm);
this.search.select();
}
}
this.focusser.prop("disabled",
true).val("");
this.updateResults(true);
this.opts.element.trigger($.Event("select2-open"));
},
// single
close: function (params) {
if (!this.opened()) return;
this.parent.close.apply(this, arguments);
params = params || {focus: true};
this.focusser.removeAttr("disabled");
if (params.focus) {
this.focusser.focus();
}
},
// single
focus: function () {
if (this.opened()) {
this.close();
} else {
this.focusser.removeAttr("disabled");
this.focusser.focus();
}
},
// single
isFocused: function () {
return
this.container.hasClass("select2-container-active");
},
// single
cancel: function () {
this.parent.cancel.apply(this, arguments);
this.focusser.removeAttr("disabled");
this.focusser.focus();
},
// single
destroy: function() {
$("label[for='" +
this.focusser.attr('id') + "']")
.attr('for',
this.opts.element.attr("id"));
this.parent.destroy.apply(this, arguments);
},
// single
initContainer: function () {
var selection,
container = this.container,
dropdown = this.dropdown;
if (this.opts.minimumResultsForSearch < 0) {
this.showSearch(false);
} else {
this.showSearch(true);
}
this.selection = selection =
container.find(".select2-choice");
this.focusser = container.find(".select2-focusser");
// rewrite labels from original element to focusser
this.focusser.attr("id",
"s2id_autogen"+nextUid());
$("label[for='" +
this.opts.element.attr("id") + "']")
.attr('for', this.focusser.attr('id'));
this.focusser.attr("tabindex", this.elementTabIndex);
this.search.on("keydown", this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
// prevent the page from scrolling
killEvent(e);
return;
}
switch (e.which) {
case KEY.UP:
case KEY.DOWN:
this.moveHighlight((e.which === KEY.UP) ? -1 : 1);
killEvent(e);
return;
case KEY.ENTER:
this.selectHighlighted();
killEvent(e);
return;
case KEY.TAB:
this.selectHighlighted({noFocus: true});
return;
case KEY.ESC:
this.cancel(e);
killEvent(e);
return;
}
}));
this.search.on("blur", this.bind(function(e) {
// a workaround for chrome to keep the search field
focussed when the scroll bar is used to scroll the dropdown.
// without this the search field loses focus which is
annoying
if (document.activeElement === this.body().get(0)) {
window.setTimeout(this.bind(function() {
this.search.focus();
}), 0);
}
}));
this.focusser.on("keydown", this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
if (e.which === KEY.TAB || KEY.isControl(e) ||
KEY.isFunctionKey(e) || e.which === KEY.ESC) {
return;
}
if (this.opts.openOnEnter === false && e.which ===
KEY.ENTER) {
killEvent(e);
return;
}
if (e.which == KEY.DOWN || e.which == KEY.UP
|| (e.which == KEY.ENTER &&
this.opts.openOnEnter)) {
if (e.altKey || e.ctrlKey || e.shiftKey || e.metaKey)
return;
this.open();
killEvent(e);
return;
}
if (e.which == KEY.DELETE || e.which == KEY.BACKSPACE) {
if (this.opts.allowClear) {
this.clear();
}
killEvent(e);
return;
}
}));
installKeyUpChangeEvent(this.focusser);
this.focusser.on("keyup-change input",
this.bind(function(e) {
if (this.opts.minimumResultsForSearch >= 0) {
e.stopPropagation();
if (this.opened()) return;
this.open();
}
}));
selection.on("mousedown", "abbr",
this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
this.clear();
killEventImmediately(e);
this.close();
this.selection.focus();
}));
selection.on("mousedown", this.bind(function (e) {
if
(!this.container.hasClass("select2-container-active")) {
this.opts.element.trigger($.Event("select2-focus"));
}
if (this.opened()) {
this.close();
} else if (this.isInterfaceEnabled()) {
this.open();
}
killEvent(e);
}));
dropdown.on("mousedown", this.bind(function() {
this.search.focus(); }));
selection.on("focus", this.bind(function(e) {
killEvent(e);
}));
this.focusser.on("focus", this.bind(function(){
if
(!this.container.hasClass("select2-container-active")) {
this.opts.element.trigger($.Event("select2-focus"));
}
this.container.addClass("select2-container-active");
})).on("blur", this.bind(function() {
if (!this.opened()) {
this.container.removeClass("select2-container-active");
this.opts.element.trigger($.Event("select2-blur"));
}
}));
this.search.on("focus", this.bind(function(){
if
(!this.container.hasClass("select2-container-active")) {
this.opts.element.trigger($.Event("select2-focus"));
}
this.container.addClass("select2-container-active");
}));
this.initContainerWidth();
this.opts.element.addClass("select2-offscreen");
this.setPlaceholder();
},
// single
clear: function(triggerChange) {
var data=this.selection.data("select2-data");
if (data) { // guard against queued quick consecutive clicks
var evt = $.Event("select2-clearing");
this.opts.element.trigger(evt);
if (evt.isDefaultPrevented()) {
return;
}
var placeholderOption = this.getPlaceholderOption();
this.opts.element.val(placeholderOption ?
placeholderOption.val() : "");
this.selection.find(".select2-chosen").empty();
this.selection.removeData("select2-data");
this.setPlaceholder();
if (triggerChange !== false){
this.opts.element.trigger({ type:
"select2-removed", val: this.id(data), choice: data });
this.triggerChange({removed:data});
}
}
},
/**
* Sets selection based on source element's value
*/
// single
initSelection: function () {
var selected;
if (this.isPlaceholderOptionSelected()) {
this.updateSelection(null);
this.close();
this.setPlaceholder();
} else {
var self = this;
this.opts.initSelection.call(null, this.opts.element,
function(selected){
if (selected !== undefined && selected !==
null) {
self.updateSelection(selected);
self.close();
self.setPlaceholder();
}
});
}
},
isPlaceholderOptionSelected: function() {
var placeholderOption;
if (!this.getPlaceholder()) return false; // no placeholder
specified so no option should be considered
return ((placeholderOption = this.getPlaceholderOption()) !==
undefined && placeholderOption.is(':selected'))
|| (this.opts.element.val() === "")
|| (this.opts.element.val() === undefined)
|| (this.opts.element.val() === null);
},
// single
prepareOpts: function () {
var opts = this.parent.prepareOpts.apply(this, arguments),
self=this;
if (opts.element.get(0).tagName.toLowerCase() ===
"select") {
// install the selection initializer
opts.initSelection = function (element, callback) {
var selected = element.find(":selected");
// a single select box always has a value, no need to
null check 'selected'
callback(self.optionToData(selected));
};
} else if ("data" in opts) {
// install default initSelection when applied to hidden
input and data is local
opts.initSelection = opts.initSelection || function
(element, callback) {
var id = element.val();
//search in data by id, storing the actual matching
item
var match = null;
opts.query({
matcher: function(term, text, el){
var is_match = equal(id, opts.id(el));
if (is_match) {
match = el;
}
return is_match;
},
callback: !$.isFunction(callback) ? $.noop :
function() {
callback(match);
}
});
};
}
return opts;
},
// single
getPlaceholder: function() {
// if a placeholder is specified on a single select without a
valid placeholder option ignore it
if (this.select) {
if (this.getPlaceholderOption() === undefined) {
return undefined;
}
}
return this.parent.getPlaceholder.apply(this, arguments);
},
// single
setPlaceholder: function () {
var placeholder = this.getPlaceholder();
if (this.isPlaceholderOptionSelected() && placeholder
!== undefined) {
// check for a placeholder option if attached to a select
if (this.select && this.getPlaceholderOption() ===
undefined) return;
this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(placeholder));
this.selection.addClass("select2-default");
this.container.removeClass("select2-allowclear");
}
},
// single
postprocessResults: function (data, initial, noHighlightUpdate) {
var selected = 0, self = this, showSearchInput = true;
// find the selected element in the result list
this.findHighlightableChoices().each2(function (i, elm) {
if (equal(self.id(elm.data("select2-data")),
self.opts.element.val())) {
selected = i;
return false;
}
});
// and highlight it
if (noHighlightUpdate !== false) {
if (initial === true && selected >= 0) {
this.highlight(selected);
} else {
this.highlight(0);
}
}
// hide the search box if this is the first we got the results
and there are enough of them for search
if (initial === true) {
var min = this.opts.minimumResultsForSearch;
if (min >= 0) {
this.showSearch(countResults(data.results) >= min);
}
}
},
// single
showSearch: function(showSearchInput) {
if (this.showSearchInput === showSearchInput) return;
this.showSearchInput = showSearchInput;
this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",
!showSearchInput);
this.dropdown.find(".select2-search").toggleClass("select2-offscreen",
!showSearchInput);
//add "select2-with-searchbox" to the container if
search box is shown
$(this.dropdown,
this.container).toggleClass("select2-with-searchbox",
showSearchInput);
},
// single
onSelect: function (data, options) {
if (!this.triggerSelect(data)) { return; }
var old = this.opts.element.val(),
oldData = this.data();
this.opts.element.val(this.id(data));
this.updateSelection(data);
this.opts.element.trigger({ type: "select2-selected",
val: this.id(data), choice: data });
this.nextSearchTerm = this.opts.nextSearchTerm(data,
this.search.val());
this.close();
if (!options || !options.noFocus)
this.focusser.focus();
if (!equal(old, this.id(data))) {
this.triggerChange({added:data,removed:oldData}); }
},
// single
updateSelection: function (data) {
var container=this.selection.find(".select2-chosen"),
formatted, cssClass;
this.selection.data("select2-data", data);
container.empty();
if (data !== null) {
formatted=this.opts.formatSelection(data, container,
this.opts.escapeMarkup);
}
if (formatted !== undefined) {
container.append(formatted);
}
cssClass=this.opts.formatSelectionCssClass(data, container);
if (cssClass !== undefined) {
container.addClass(cssClass);
}
this.selection.removeClass("select2-default");
if (this.opts.allowClear && this.getPlaceholder() !==
undefined) {
this.container.addClass("select2-allowclear");
}
},
// single
val: function () {
var val,
triggerChange = false,
data = null,
self = this,
oldData = this.data();
if (arguments.length === 0) {
return this.opts.element.val();
}
val = arguments[0];
if (arguments.length > 1) {
triggerChange = arguments[1];
}
if (this.select) {
this.select
.val(val)
.find(":selected").each2(function (i, elm) {
data = self.optionToData(elm);
return false;
});
this.updateSelection(data);
this.setPlaceholder();
if (triggerChange) {
this.triggerChange({added: data, removed:oldData});
}
} else {
// val is an id. !val is true for
[undefined,null,'',0] - 0 is legal
if (!val && val !== 0) {
this.clear(triggerChange);
return;
}
if (this.opts.initSelection === undefined) {
throw new Error("cannot call val() if
initSelection() is not defined");
}
this.opts.element.val(val);
this.opts.initSelection(this.opts.element, function(data){
self.opts.element.val(!data ? "" :
self.id(data));
self.updateSelection(data);
self.setPlaceholder();
if (triggerChange) {
self.triggerChange({added: data, removed:oldData});
}
});
}
},
// single
clearSearch: function () {
this.search.val("");
this.focusser.val("");
},
// single
data: function(value) {
var data,
triggerChange = false;
if (arguments.length === 0) {
data = this.selection.data("select2-data");
if (data == undefined) data = null;
return data;
} else {
if (arguments.length > 1) {
triggerChange = arguments[1];
}
if (!value) {
this.clear(triggerChange);
} else {
data = this.data();
this.opts.element.val(!value ? "" :
this.id(value));
this.updateSelection(value);
if (triggerChange) {
this.triggerChange({added: value, removed:data});
}
}
}
}
});
MultiSelect2 = clazz(AbstractSelect2, {
// multi
createContainer: function () {
var container =
$(document.createElement("div")).attr({
"class": "select2-container
select2-container-multi"
}).html([
"<ul class='select2-choices'>",
" <li
class='select2-search-field'>",
" <input type='text'
autocomplete='off' autocorrect='off'
autocapitalize='off' spellcheck='false'
class='select2-input'>",
" </li>",
"</ul>",
"<div class='select2-drop select2-drop-multi
select2-display-none'>",
" <ul
class='select2-results'>",
" </ul>",
"</div>"].join(""));
return container;
},
// multi
prepareOpts: function () {
var opts = this.parent.prepareOpts.apply(this, arguments),
self=this;
// TO DO validate placeholder is a string if specified
if (opts.element.get(0).tagName.toLowerCase() ===
"select") {
// install sthe selection initializer
opts.initSelection = function (element, callback) {
var data = [];
element.find(":selected").each2(function (i,
elm) {
data.push(self.optionToData(elm));
});
callback(data);
};
} else if ("data" in opts) {
// install default initSelection when applied to hidden
input and data is local
opts.initSelection = opts.initSelection || function
(element, callback) {
var ids = splitVal(element.val(), opts.separator);
//search in data by array of ids, storing matching
items in a list
var matches = [];
opts.query({
matcher: function(term, text, el){
var is_match = $.grep(ids, function(id) {
return equal(id, opts.id(el));
}).length;
if (is_match) {
matches.push(el);
}
return is_match;
},
callback: !$.isFunction(callback) ? $.noop :
function() {
// reorder matches based on the order they
appear in the ids array because right now
// they are in the order in which they appear
in data array
var ordered = [];
for (var i = 0; i < ids.length; i++) {
var id = ids[i];
for (var j = 0; j < matches.length; j++)
{
var match = matches[j];
if (equal(id, opts.id(match))) {
ordered.push(match);
matches.splice(j, 1);
break;
}
}
}
callback(ordered);
}
});
};
}
return opts;
},
selectChoice: function (choice) {
var selected =
this.container.find(".select2-search-choice-focus");
if (selected.length && choice && choice[0] ==
selected[0]) {
} else {
if (selected.length) {
this.opts.element.trigger("choice-deselected", selected);
}
selected.removeClass("select2-search-choice-focus");
if (choice && choice.length) {
this.close();
choice.addClass("select2-search-choice-focus");
this.opts.element.trigger("choice-selected",
choice);
}
}
},
// multi
destroy: function() {
$("label[for='" +
this.search.attr('id') + "']")
.attr('for',
this.opts.element.attr("id"));
this.parent.destroy.apply(this, arguments);
},
// multi
initContainer: function () {
var selector = ".select2-choices", selection;
this.searchContainer =
this.container.find(".select2-search-field");
this.selection = selection = this.container.find(selector);
var _this = this;
this.selection.on("click",
".select2-search-choice:not(.select2-locked)", function (e) {
//killEvent(e);
_this.search[0].focus();
_this.selectChoice($(this));
});
// rewrite labels from original element to focusser
this.search.attr("id",
"s2id_autogen"+nextUid());
$("label[for='" +
this.opts.element.attr("id") + "']")
.attr('for', this.search.attr('id'));
this.search.on("input paste", this.bind(function() {
if (!this.isInterfaceEnabled()) return;
if (!this.opened()) {
this.open();
}
}));
this.search.attr("tabindex", this.elementTabIndex);
this.keydowns = 0;
this.search.on("keydown", this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
++this.keydowns;
var selected =
selection.find(".select2-search-choice-focus");
var prev =
selected.prev(".select2-search-choice:not(.select2-locked)");
var next =
selected.next(".select2-search-choice:not(.select2-locked)");
var pos = getCursorInfo(this.search);
if (selected.length &&
(e.which == KEY.LEFT || e.which == KEY.RIGHT || e.which
== KEY.BACKSPACE || e.which == KEY.DELETE || e.which == KEY.ENTER)) {
var selectedChoice = selected;
if (e.which == KEY.LEFT && prev.length) {
selectedChoice = prev;
}
else if (e.which == KEY.RIGHT) {
selectedChoice = next.length ? next : null;
}
else if (e.which === KEY.BACKSPACE) {
this.unselect(selected.first());
this.search.width(10);
selectedChoice = prev.length ? prev : next;
} else if (e.which == KEY.DELETE) {
this.unselect(selected.first());
this.search.width(10);
selectedChoice = next.length ? next : null;
} else if (e.which == KEY.ENTER) {
selectedChoice = null;
}
this.selectChoice(selectedChoice);
killEvent(e);
if (!selectedChoice || !selectedChoice.length) {
this.open();
}
return;
} else if (((e.which === KEY.BACKSPACE &&
this.keydowns == 1)
|| e.which == KEY.LEFT) && (pos.offset == 0
&& !pos.length)) {
this.selectChoice(selection.find(".select2-search-choice:not(.select2-locked)").last());
killEvent(e);
return;
} else {
this.selectChoice(null);
}
if (this.opened()) {
switch (e.which) {
case KEY.UP:
case KEY.DOWN:
this.moveHighlight((e.which === KEY.UP) ? -1 : 1);
killEvent(e);
return;
case KEY.ENTER:
this.selectHighlighted();
killEvent(e);
return;
case KEY.TAB:
this.selectHighlighted({noFocus:true});
this.close();
return;
case KEY.ESC:
this.cancel(e);
killEvent(e);
return;
}
}
if (e.which === KEY.TAB || KEY.isControl(e) ||
KEY.isFunctionKey(e)
|| e.which === KEY.BACKSPACE || e.which === KEY.ESC) {
return;
}
if (e.which === KEY.ENTER) {
if (this.opts.openOnEnter === false) {
return;
} else if (e.altKey || e.ctrlKey || e.shiftKey ||
e.metaKey) {
return;
}
}
this.open();
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
// prevent the page from scrolling
killEvent(e);
}
if (e.which === KEY.ENTER) {
// prevent form from being submitted
killEvent(e);
}
}));
this.search.on("keyup", this.bind(function (e) {
this.keydowns = 0;
this.resizeSearch();
})
);
this.search.on("blur", this.bind(function(e) {
this.container.removeClass("select2-container-active");
this.search.removeClass("select2-focused");
this.selectChoice(null);
if (!this.opened()) this.clearSearch();
e.stopImmediatePropagation();
this.opts.element.trigger($.Event("select2-blur"));
}));
this.container.on("click", selector,
this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
if
($(e.target).closest(".select2-search-choice").length > 0) {
// clicked inside a select2 search choice, do not open
return;
}
this.selectChoice(null);
this.clearPlaceholder();
if
(!this.container.hasClass("select2-container-active")) {
this.opts.element.trigger($.Event("select2-focus"));
}
this.open();
this.focusSearch();
e.preventDefault();
}));
this.container.on("focus", selector,
this.bind(function () {
if (!this.isInterfaceEnabled()) return;
if
(!this.container.hasClass("select2-container-active")) {
this.opts.element.trigger($.Event("select2-focus"));
}
this.container.addClass("select2-container-active");
this.dropdown.addClass("select2-drop-active");
this.clearPlaceholder();
}));
this.initContainerWidth();
this.opts.element.addClass("select2-offscreen");
// set the placeholder if necessary
this.clearSearch();
},
// multi
enableInterface: function() {
if (this.parent.enableInterface.apply(this, arguments)) {
this.search.prop("disabled",
!this.isInterfaceEnabled());
}
},
// multi
initSelection: function () {
var data;
if (this.opts.element.val() === "" &&
this.opts.element.text() === "") {
this.updateSelection([]);
this.close();
// set the placeholder if necessary
this.clearSearch();
}
if (this.select || this.opts.element.val() !== "") {
var self = this;
this.opts.initSelection.call(null, this.opts.element,
function(data){
if (data !== undefined && data !== null) {
self.updateSelection(data);
self.close();
// set the placeholder if necessary
self.clearSearch();
}
});
}
},
// multi
clearSearch: function () {
var placeholder = this.getPlaceholder(),
maxWidth = this.getMaxSearchWidth();
if (placeholder !== undefined && this.getVal().length
=== 0 && this.search.hasClass("select2-focused") ===
false) {
this.search.val(placeholder).addClass("select2-default");
// stretch the search box to full width of the container so
as much of the placeholder is visible as possible
// we could call this.resizeSearch(), but we do not because
that requires a sizer and we do not want to create one so early because of
a firefox bug, see #944
this.search.width(maxWidth > 0 ? maxWidth :
this.container.css("width"));
} else {
this.search.val("").width(10);
}
},
// multi
clearPlaceholder: function () {
if (this.search.hasClass("select2-default")) {
this.search.val("").removeClass("select2-default");
}
},
// multi
opening: function () {
this.clearPlaceholder(); // should be done before super so
placeholder is not used to search
this.resizeSearch();
this.parent.opening.apply(this, arguments);
this.focusSearch();
this.updateResults(true);
this.search.focus();
this.opts.element.trigger($.Event("select2-open"));
},
// multi
close: function () {
if (!this.opened()) return;
this.parent.close.apply(this, arguments);
},
// multi
focus: function () {
this.close();
this.search.focus();
},
// multi
isFocused: function () {
return this.search.hasClass("select2-focused");
},
// multi
updateSelection: function (data) {
var ids = [], filtered = [], self = this;
// filter out duplicates
$(data).each(function () {
if (indexOf(self.id(this), ids) < 0) {
ids.push(self.id(this));
filtered.push(this);
}
});
data = filtered;
this.selection.find(".select2-search-choice").remove();
$(data).each(function () {
self.addSelectedChoice(this);
});
self.postprocessResults();
},
// multi
tokenize: function() {
var input = this.search.val();
input = this.opts.tokenizer.call(this, input, this.data(),
this.bind(this.onSelect), this.opts);
if (input != null && input != undefined) {
this.search.val(input);
if (input.length > 0) {
this.open();
}
}
},
// multi
onSelect: function (data, options) {
if (!this.triggerSelect(data)) { return; }
this.addSelectedChoice(data);
this.opts.element.trigger({ type: "selected", val:
this.id(data), choice: data });
if (this.select || !this.opts.closeOnSelect)
this.postprocessResults(data, false, this.opts.closeOnSelect===true);
if (this.opts.closeOnSelect) {
this.close();
this.search.width(10);
} else {
if (this.countSelectableResults()>0) {
this.search.width(10);
this.resizeSearch();
if (this.getMaximumSelectionSize() > 0 &&
this.val().length >= this.getMaximumSelectionSize()) {
// if we reached max selection size repaint the
results so choices
// are replaced with the max selection reached
message
this.updateResults(true);
}
this.positionDropdown();
} else {
// if nothing left to select close
this.close();
this.search.width(10);
}
}
// since its not possible to select an element that has already
been
// added we do not need to check if this is a new element
before firing change
this.triggerChange({ added: data });
if (!options || !options.noFocus)
this.focusSearch();
},
// multi
cancel: function () {
this.close();
this.focusSearch();
},
addSelectedChoice: function (data) {
var enableChoice = !data.locked,
enabledItem = $(
"<li
class='select2-search-choice'>" +
" <div></div>" +
" <a href='#' onclick='return
false;' class='select2-search-choice-close'
tabindex='-1'></a>" +
"</li>"),
disabledItem = $(
"<li class='select2-search-choice
select2-locked'>" +
"<div></div>" +
"</li>");
var choice = enableChoice ? enabledItem : disabledItem,
id = this.id(data),
val = this.getVal(),
formatted,
cssClass;
formatted=this.opts.formatSelection(data,
choice.find("div"), this.opts.escapeMarkup);
if (formatted != undefined) {
choice.find("div").replaceWith("<div>"+formatted+"</div>");
}
cssClass=this.opts.formatSelectionCssClass(data,
choice.find("div"));
if (cssClass != undefined) {
choice.addClass(cssClass);
}
if(enableChoice){
choice.find(".select2-search-choice-close")
.on("mousedown", killEvent)
.on("click dblclick", this.bind(function (e) {
if (!this.isInterfaceEnabled()) return;
$(e.target).closest(".select2-search-choice").fadeOut('fast',
this.bind(function(){
this.unselect($(e.target));
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
this.close();
this.focusSearch();
})).dequeue();
killEvent(e);
})).on("focus", this.bind(function () {
if (!this.isInterfaceEnabled()) return;
this.container.addClass("select2-container-active");
this.dropdown.addClass("select2-drop-active");
}));
}
choice.data("select2-data", data);
choice.insertBefore(this.searchContainer);
val.push(id);
this.setVal(val);
},
// multi
unselect: function (selected) {
var val = this.getVal(),
data,
index;
selected =
selected.closest(".select2-search-choice");
if (selected.length === 0) {
throw "Invalid argument: " + selected + ".
Must be .select2-search-choice";
}
data = selected.data("select2-data");
if (!data) {
// prevent a race condition when the 'x' is
clicked really fast repeatedly the event can be queued
// and invoked on an element already removed
return;
}
while((index = indexOf(this.id(data), val)) >= 0) {
val.splice(index, 1);
this.setVal(val);
if (this.select) this.postprocessResults();
}
selected.remove();
this.opts.element.trigger({ type: "removed", val:
this.id(data), choice: data });
this.triggerChange({ removed: data });
},
// multi
postprocessResults: function (data, initial, noHighlightUpdate) {
var val = this.getVal(),
choices = this.results.find(".select2-result"),
compound =
this.results.find(".select2-result-with-children"),
self = this;
choices.each2(function (i, choice) {
var id = self.id(choice.data("select2-data"));
if (indexOf(id, val) >= 0) {
choice.addClass("select2-selected");
// mark all children of the selected parent as selected
choice.find(".select2-result-selectable").addClass("select2-selected");
}
});
compound.each2(function(i, choice) {
// hide an optgroup if it doesnt have any selectable
children
if (!choice.is('.select2-result-selectable')
&&
choice.find(".select2-result-selectable:not(.select2-selected)").length
=== 0) {
choice.addClass("select2-selected");
}
});
if (this.highlight() == -1 && noHighlightUpdate !==
false){
self.highlight(0);
}
//If all results are chosen render formatNoMAtches
if(!this.opts.createSearchChoice &&
!choices.filter('.select2-result:not(.select2-selected)').length
> 0){
if(!data || data && !data.more &&
this.results.find(".select2-no-results").length === 0) {
if (checkFormatter(self.opts.formatNoMatches,
"formatNoMatches")) {
this.results.append("<li
class='select2-no-results'>" +
self.opts.formatNoMatches(self.search.val()) + "</li>");
}
}
}
},
// multi
getMaxSearchWidth: function() {
return this.selection.width() -
getSideBorderPadding(this.search);
},
// multi
resizeSearch: function () {
var minimumWidth, left, maxWidth, containerLeft, searchWidth,
sideBorderPadding = getSideBorderPadding(this.search);
minimumWidth = measureTextWidth(this.search) + 10;
left = this.search.offset().left;
maxWidth = this.selection.width();
containerLeft = this.selection.offset().left;
searchWidth = maxWidth - (left - containerLeft) -
sideBorderPadding;
if (searchWidth < minimumWidth) {
searchWidth = maxWidth - sideBorderPadding;
}
if (searchWidth < 40) {
searchWidth = maxWidth - sideBorderPadding;
}
if (searchWidth <= 0) {
searchWidth = minimumWidth;
}
this.search.width(Math.floor(searchWidth));
},
// multi
getVal: function () {
var val;
if (this.select) {
val = this.select.val();
return val === null ? [] : val;
} else {
val = this.opts.element.val();
return splitVal(val, this.opts.separator);
}
},
// multi
setVal: function (val) {
var unique;
if (this.select) {
this.select.val(val);
} else {
unique = [];
// filter out duplicates
$(val).each(function () {
if (indexOf(this, unique) < 0) unique.push(this);
});
this.opts.element.val(unique.length === 0 ? "" :
unique.join(this.opts.separator));
}
},
// multi
buildChangeDetails: function (old, current) {
var current = current.slice(0),
old = old.slice(0);
// remove intersection from each array
for (var i = 0; i < current.length; i++) {
for (var j = 0; j < old.length; j++) {
if (equal(this.opts.id(current[i]),
this.opts.id(old[j]))) {
current.splice(i, 1);
i--;
old.splice(j, 1);
j--;
}
}
}
return {added: current, removed: old};
},
// multi
val: function (val, triggerChange) {
var oldData, self=this, changeDetails;
if (arguments.length === 0) {
return this.getVal();
}
oldData=this.data();
if (!oldData.length) oldData=[];
// val is an id. !val is true for
[undefined,null,'',0] - 0 is legal
if (!val && val !== 0) {
this.opts.element.val("");
this.updateSelection([]);
this.clearSearch();
if (triggerChange) {
this.triggerChange({added: this.data(), removed:
oldData});
}
return;
}
// val is a list of ids
this.setVal(val);
if (this.select) {
this.opts.initSelection(this.select,
this.bind(this.updateSelection));
if (triggerChange) {
this.triggerChange(this.buildChangeDetails(oldData,
this.data()));
}
} else {
if (this.opts.initSelection === undefined) {
throw new Error("val() cannot be called if
initSelection() is not defined");
}
this.opts.initSelection(this.opts.element, function(data){
var ids=$.map(data, self.id);
self.setVal(ids);
self.updateSelection(data);
self.clearSearch();
if (triggerChange) {
self.triggerChange(self.buildChangeDetails(oldData,
this.data()));
}
});
}
this.clearSearch();
},
// multi
onSortStart: function() {
if (this.select) {
throw new Error("Sorting of elements is not supported
when attached to <select>. Attach to <input
type='hidden'/> instead.");
}
// collapse search field into 0 width so its container can be
collapsed as well
this.search.width(0);
// hide the container
this.searchContainer.hide();
},
// multi
onSortEnd:function() {
var val=[], self=this;
// show search and move it to the end of the list
this.searchContainer.show();
// make sure the search container is the last item in the list
this.searchContainer.appendTo(this.searchContainer.parent());
// since we collapsed the width in dragStarted, we resize it
here
this.resizeSearch();
// update selection
this.selection.find(".select2-search-choice").each(function() {
val.push(self.opts.id($(this).data("select2-data")));
});
this.setVal(val);
this.triggerChange();
},
// multi
data: function(values, triggerChange) {
var self=this, ids, old;
if (arguments.length === 0) {
return this.selection
.find(".select2-search-choice")
.map(function() { return
$(this).data("select2-data"); })
.get();
} else {
old = this.data();
if (!values) { values = []; }
ids = $.map(values, function(e) { return self.opts.id(e);
});
this.setVal(ids);
this.updateSelection(values);
this.clearSearch();
if (triggerChange) {
this.triggerChange(this.buildChangeDetails(old,
this.data()));
}
}
}
});
$.fn.select2 = function () {
var args = Array.prototype.slice.call(arguments, 0),
opts,
select2,
method, value, multiple,
allowedMethods = ["val", "destroy",
"opened", "open", "close", "focus",
"isFocused", "container", "dropdown",
"onSortStart", "onSortEnd", "enable",
"disable", "readonly", "positionDropdown",
"data", "search"],
valueMethods = ["opened", "isFocused",
"container", "dropdown"],
propertyMethods = ["val", "data"],
methodsMap = { search: "externalSearch" };
this.each(function () {
if (args.length === 0 || typeof(args[0]) ===
"object") {
opts = args.length === 0 ? {} : $.extend({}, args[0]);
opts.element = $(this);
if (opts.element.get(0).tagName.toLowerCase() ===
"select") {
multiple = opts.element.prop("multiple");
} else {
multiple = opts.multiple || false;
if ("tags" in opts) {opts.multiple = multiple
= true;}
}
select2 = multiple ? new MultiSelect2() : new
SingleSelect2();
select2.init(opts);
} else if (typeof(args[0]) === "string") {
if (indexOf(args[0], allowedMethods) < 0) {
throw "Unknown method: " + args[0];
}
value = undefined;
select2 = $(this).data("select2");
if (select2 === undefined) return;
method=args[0];
if (method === "container") {
value = select2.container;
} else if (method === "dropdown") {
value = select2.dropdown;
} else {
if (methodsMap[method]) method = methodsMap[method];
value = select2[method].apply(select2, args.slice(1));
}
if (indexOf(args[0], valueMethods) >= 0
|| (indexOf(args[0], propertyMethods) &&
args.length == 1)) {
return false; // abort the iteration, ready to return
first matched value
}
} else {
throw "Invalid arguments to select2 plugin: " +
args;
}
});
return (value === undefined) ? this : value;
};
// plugin defaults, accessible to users
$.fn.select2.defaults = {
width: "copy",
loadMorePadding: 0,
closeOnSelect: true,
openOnEnter: true,
containerCss: {},
dropdownCss: {},
containerCssClass: "",
dropdownCssClass: "",
formatResult: function(result, container, query, escapeMarkup) {
var markup=[];
markMatch(result.text, query.term, markup, escapeMarkup);
return markup.join("");
},
formatSelection: function (data, container, escapeMarkup) {
return data ? escapeMarkup(data.text) : undefined;
},
sortResults: function (results, container, query) {
return results;
},
formatResultCssClass: function(data) {return undefined;},
formatSelectionCssClass: function(data, container) {return
undefined;},
formatNoMatches: function () { return "No matches found";
},
formatInputTooShort: function (input, min) { var n = min -
input.length; return "Please enter " + n + " more
character" + (n == 1? "" : "s"); },
formatInputTooLong: function (input, max) { var n = input.length -
max; return "Please delete " + n + " character" + (n ==
1? "" : "s"); },
formatSelectionTooBig: function (limit) { return "You can only
select " + limit + " item" + (limit == 1 ? "" :
"s"); },
formatLoadMore: function (pageNumber) { return "Loading more
results..."; },
formatSearching: function () { return "Searching..."; },
minimumResultsForSearch: 0,
minimumInputLength: 0,
maximumInputLength: null,
maximumSelectionSize: 0,
id: function (e) { return e.id; },
matcher: function(term, text) {
return
stripDiacritics(''+text).toUpperCase().indexOf(stripDiacritics(''+term).toUpperCase())
>= 0;
},
separator: ",",
tokenSeparators: [],
tokenizer: defaultTokenizer,
escapeMarkup: defaultEscapeMarkup,
blurOnChange: false,
selectOnBlur: false,
adaptContainerCssClass: function(c) { return c; },
adaptDropdownCssClass: function(c) { return null; },
nextSearchTerm: function(selectedObject, currentSearchTerm) {
return undefined; }
};
$.fn.select2.ajaxDefaults = {
transport: $.ajax,
params: {
type: "GET",
cache: false,
dataType: "json"
}
};
// exports
window.Select2 = {
query: {
ajax: ajax,
local: local,
tags: tags
}, util: {
debounce: debounce,
markMatch: markMatch,
escapeMarkup: defaultEscapeMarkup,
stripDiacritics: stripDiacritics
}, "class": {
"abstract": AbstractSelect2,
"single": SingleSelect2,
"multi": MultiSelect2
}
};
}(jQuery));
PKݴ�[2�9�ee!administrator/select2/select2.pngnu�[����PNG
IHDR<(����,IDATx����Ka��J���.b]*(Ɉv�d�
�<��P��!Rq�T�СH#�Gy�Rد�����Ht0L�>����9�,m)��y�u�م}�;���)I�J�,���Q(��X��V�&��Oh�F!{n�{���,���%]�אGc��5x>@�3��&���2���%�C��,b�Eu�9=T6�7��)��E��
��"��lo�y[�e��C�Ú
&�� D���m�#����
��QȼŪj
ބ�v@
Te�M���ܽ�;���G9���b��}�1�̟�ǾT��:
�hCf
<t�;LT�A������N+���^@���no-�ۏ/��F�e0aG�3XƏ����1�(����J�B��[�lgp�ْ.?��$8 N����Z4����5�����d^��e0aw!��2nA渫`�r�"�ߍo�F���A�غ�kW
�<�`�.R��~���~�J<���Sp�)�پ:tB���*}2E|�L�����`W�W�1��{!s���-�sZ�[��ضP�o|�}q��IEND�B`�PKݴ�[Ť-[MM#administrator/select2/select2x2.pngnu�[����PNG
IHDRxPқ��IDATx�흱nA@#A �C�%�\P�'���
��
Q!Au�t����D�+-n\�$����4Z�f�8n�w�+�])������r✃��o���`h��5���='�K�A��8� %7�A��������)�\%!q��&D�O�\
�,{��H.)��^���S��7�=Ȣ�:�du"ր��i�}%E�>ts��"|�ג��P?s�B��Q�5c!�����y�s��g8�"�e-dn���61�~,�Y�Tp�6zCub�
Gp��}�y:�J�@p7���kԣ� �JR
�{Y2��w/�,����u���O�˓Sw�5Z����%}kphhqɱ96�)�\%!q�>�F���8<�aLp�<�e��%,�T%+��@
�@':�� ��&o����`@��s�7��`@0
�C2a"T�j�ҏej�y%a��G�u�~ �
��u
�Z��\7�>G��+W����w��Xx$�V�.�E(<`���Q¶�{�a~(|�sj�F�<\�%k'�K����A�T+y���
^����pO��I>.��
�%�{'�cJ�k�x!x��'?�lK�S�o��Z�_��-� J���.�t��p7�A�L���=[/�A�ደUrwB��!x��J�~�~o�g���S�\E�`�
�AC���5P"��qa���b�l��
��c�P�$#��]�`�Ӓl]pZr�`ӂӒl\p(��I��+%x�`@�1�1&(mW���IEND�B`�PKݴ�[�#o,,barrating/img/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[��E��barrating/img/star.pngnu�[����PNG
IHDR0���sBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks
CS6輲��IDATX��q�0E�=�'��3.��5����W�ր�݁�]���@��D0�h�qf�g4��w `��v��p��O��Hf�P��d��ԉ>��B%�
�����$W�ZA�8v�@$���*�b��9w|r`J�nG=��<���m�ɮ��o�R�l�'���_�H:D��@u."�[P
�NDL�~��/D���E~`�$���B"��F8:~����X��:h����h̔@>C
3%��!�9��ԍv{����SB̸�\,�
X�H)"%]�UJl�
'U���ià����\% ��x��6�G";)z,�c.}��1Eݘcb>�/�g@vL�
�H���H�IUD�AQ7�|��j싾��Y�O�"���D��j���-括V�0�E~`_��# Df��C��_�~���eR+�Ui�*��E��$_d�2V��Y�Z�b��b�(��8�j�����ߛ�nJ���ӵ�'�E�T�^ޗ�IEND�B`�PKݴ�[#��^��barrating/img/star.svgnu�[���<?xml
version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN'
'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg width="24" height="48"
clip-rule="evenodd" fill-rule="evenodd"
image-rendering="optimizeQuality"
shape-rendering="geometricPrecision"
text-rendering="geometricPrecision" version="1.1"
viewBox="0 0 203 406" xml:space="preserve"
xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
<![CDATA[
.fil1 {fill:#E3E3E3}
.fil0 {fill:#45A7D4}
]]>
</style>
</defs>
<polygon class="fil0" points="102 203 130 275 203 281
147 331 164 406 102 366 39 406 56 331 0 281 74 275"/>
<polygon class="fil1" points="102 2 129 72 202 78 146
127 163 202 102 161 40 202 57 127 2 78 74 72"/>
</svg>
PKݴ�[����barrating/img/star@2x.pngnu�[����PNG
IHDR0`[��psBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks
CS6輲��IDATx��1R�H�?��/�*�X�r��
���7�#ho�
�uH�d�l�s��O�j�0��#��VY%J�L�7�{�����P(�2�"T�o�V�,B���f��J�@0|d�{�"�����������.�%�5�T!D�?�z�_�{|W
�4�oٯ�
>+��/ʲL�e��L��
_�4�����>`�wU����eYF@�W@������
���x�'��Oʲ�R��d�d�h�үGy�\����q\�C��^w��<T��.���82�!X�Hq �g�1�X���mT_�6��d��Ѽ$����eyC���vHfl�DD�/�|�逄ӪD+y�$>1�䡧�8��aG/td;Ƀ��;�y0v�a&�.�
$��J�^-�n���#�� ���SW���0�u
�;�K"g&�a�uVgp�_�0�
U�[�ZD2ɀk܄�c�\lY>u�z���DD.,�LtW��g���Ƚ%����/��z�tG�������
)h��� ֿ��Ş��6"W�M�Ƚ�DTW:�;b��*
���q�N�H�R�9��
X\^�oC4֕e�y:U�݁� ��:�/�Y��_���0Y��/ԆF�k����FK�k���j�'�5�Wa��0d���*L~!��r����9{c�i&��|T�|��/�����2����r=
��*�?�B��k� �_h�����X�Ҹ��P�B9l��b~��<�l����B�4�逄ӪD+y�$>1�䡧�8��aG/td;Ƀ��;�y0v�a&�.�
$��J��z}�v�����S��������6�E=�k�u��^�q�J�S�͗k�_���Ӟ�/�Jc~!�v��Vi|o �����Y�������R��_h��g����P!���#糐혭�
H�/��L�
��F$��g��o�M���_hD��g��{Ms~IEND�B`�PKݴ�[{��?��barrating/img/star@2x.svgnu�[���<?xml
version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN'
'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg width="48" height="96"
clip-rule="evenodd" fill-rule="evenodd"
image-rendering="optimizeQuality"
shape-rendering="geometricPrecision"
text-rendering="geometricPrecision" version="1.1"
viewBox="0 0 203 406" xml:space="preserve"
xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
<![CDATA[
.fil1 {fill:#E3E3E3}
.fil0 {fill:#45A7D4}
]]>
</style>
</defs>
<polygon class="fil0" points="102 203 130 275 203 281
147 331 164 406 102 366 39 406 56 331 0 281 74 275"/>
<polygon class="fil1" points="102 2 129 72 202 78 146
127 163 202 102 161 40 202 57 127 2 78 74 72"/>
</svg>
PKݴ�[�#o,,barrating/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[xBJ�<M<Mbarrating/jquery.barrating.jsnu�[���/**
* jQuery Bar Rating Plugin v1.2.2
*
* http://github.com/antennaio/jquery-bar-rating
*
* Copyright (c) 2012-2016 Kazik Pietruszewski
*
* This plugin is available under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], factory);
} else if (typeof module === 'object' &&
module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// browser globals
factory(jQuery);
}
}(function ($) {
var BarRating = (function() {
function BarRating() {
var self = this;
// wrap element in a wrapper div
var wrapElement = function() {
var classes = ['br-wrapper'];
if (self.options.theme !== '') {
classes.push('br-theme-' +
self.options.theme);
}
self.$elem.wrap($('<div />', {
'class': classes.join(' ')
}));
};
// unwrap element
var unwrapElement = function() {
self.$elem.unwrap();
};
// find option by value
var findOption = function(value) {
if ($.isNumeric(value)) {
value = Math.floor(value);
}
return $('option[value="' + value +
'"]', self.$elem);
};
// get initial option
var getInitialOption = function() {
var initialRating = self.options.initialRating;
if (!initialRating) {
return $('option:selected', self.$elem);
}
return findOption(initialRating);
};
// get empty option
var getEmptyOption = function() {
var $emptyOpt =
self.$elem.find('option[value="' + self.options.emptyValue +
'"]');
if (!$emptyOpt.length && self.options.allowEmpty) {
$emptyOpt = $('<option />', {
'value': self.options.emptyValue });
return $emptyOpt.prependTo(self.$elem);
}
return $emptyOpt;
};
// get data
var getData = function(key) {
var data = self.$elem.data('barrating');
if (typeof key !== 'undefined') {
return data[key];
}
return data;
};
// set data
var setData = function(key, value) {
if (value !== null && typeof value ===
'object') {
self.$elem.data('barrating', value);
} else {
self.$elem.data('barrating')[key] = value;
}
};
// save data on element
var saveDataOnElement = function() {
var $opt = getInitialOption();
var $emptyOpt = getEmptyOption();
var value = $opt.val();
var text = $opt.data('html') ?
$opt.data('html') : $opt.text();
// if the allowEmpty option is not set let's check if
empty option exists in the select field
var allowEmpty = (self.options.allowEmpty !== null) ?
self.options.allowEmpty :
!!$emptyOpt.length;
var emptyValue = ($emptyOpt.length) ? $emptyOpt.val() :
null;
var emptyText = ($emptyOpt.length) ? $emptyOpt.text() :
null;
setData(null, {
userOptions: self.options,
// initial rating based on the OPTION value
ratingValue: value,
ratingText: text,
// rating will be restored by calling clear method
originalRatingValue: value,
originalRatingText: text,
// allow empty ratings?
allowEmpty: allowEmpty,
// rating value and text of the empty OPTION
emptyRatingValue: emptyValue,
emptyRatingText: emptyText,
// read-only state
readOnly: self.options.readonly,
// did the user already select a rating?
ratingMade: false
});
};
// remove data on element
var removeDataOnElement = function() {
self.$elem.removeData('barrating');
};
// return current rating text
var ratingText = function() {
return getData('ratingText');
};
// return current rating value
var ratingValue = function() {
return getData('ratingValue');
};
// build widget and return jQuery element
var buildWidget = function() {
var $w = $('<div />', { 'class':
'br-widget' });
// create A elements that will replace OPTIONs
self.$elem.find('option').each(function() {
var val, text, html, $a;
val = $(this).val();
// create ratings - but only if val is not defined as
empty
if (val !== getData('emptyRatingValue')) {
text = $(this).text();
html = $(this).data('html');
if (html) { text = html; }
$a = $('<a />', {
'href': '#',
'data-rating-value': val,
'data-rating-text': text,
'html': (self.options.showValues) ?
text : ''
});
$w.append($a);
}
});
// append .br-current-rating div to the widget
if (self.options.showSelectedRating) {
$w.append($('<div />', {
'text': '', 'class':
'br-current-rating' }));
}
// additional classes for the widget
if (self.options.reverse) {
$w.addClass('br-reverse');
}
if (self.options.readonly) {
$w.addClass('br-readonly');
}
return $w;
};
// return a jQuery function name depending on the
'reverse' setting
var nextAllorPreviousAll = function() {
if (getData('userOptions').reverse) {
return 'nextAll';
} else {
return 'prevAll';
}
};
// set the value of the select field
var setSelectFieldValue = function(value) {
// change selected option
findOption(value).prop('selected', true);
self.$elem.change();
};
// reset select field
var resetSelectField = function() {
$('option',
self.$elem).prop('selected', function() {
return this.defaultSelected;
});
self.$elem.change();
};
// display the currently selected rating
var showSelectedRating = function(text) {
// text undefined?
text = text ? text : ratingText();
// special case when the selected rating is defined as
empty
if (text == getData('emptyRatingText')) {
text = '';
}
// update .br-current-rating div
if (self.options.showSelectedRating) {
self.$elem.parent().find('.br-current-rating').text(text);
}
};
// return rounded fraction of a value (14.4 -> 40, 0.99
-> 90)
var fraction = function(value) {
return Math.round(((Math.floor(value * 10) / 10) % 1) *
100);
};
// remove all classes from elements
var resetStyle = function() {
// remove all classes starting with br-*
self.$widget.find('a').removeClass(function(index, classes) {
return (classes.match(/(^|\s)br-\S+/g) ||
[]).join(' ');
});
};
// apply style by setting classes on elements
var applyStyle = function() {
var $a =
self.$widget.find('a[data-rating-value="' + ratingValue() +
'"]');
var initialRating =
getData('userOptions').initialRating;
var baseValue = $.isNumeric(ratingValue()) ? ratingValue()
: 0;
var f = fraction(initialRating);
var $all, $fractional;
resetStyle();
// add classes
$a.addClass('br-selected
br-current')[nextAllorPreviousAll()]()
.addClass('br-selected');
if (!getData('ratingMade') &&
$.isNumeric(initialRating)) {
if ((initialRating <= baseValue) || !f) {
return;
}
$all = self.$widget.find('a');
$fractional = ($a.length) ?
$a[(getData('userOptions').reverse) ?
'prev' : 'next']() :
$all[(getData('userOptions').reverse) ?
'last' : 'first']();
$fractional.addClass('br-fractional');
$fractional.addClass('br-fractional-' + f);
}
};
// check if the element is deselectable?
var isDeselectable = function($element) {
if (!getData('allowEmpty') ||
!getData('userOptions').deselectable) {
return false;
}
return (ratingValue() ==
$element.attr('data-rating-value'));
};
// handle click events
var attachClickHandler = function($elements) {
$elements.on('click.barrating', function(event) {
var $a = $(this),
options = getData('userOptions'),
value,
text;
event.preventDefault();
value = $a.attr('data-rating-value');
text = $a.attr('data-rating-text');
// is current and deselectable?
if (isDeselectable($a)) {
value = getData('emptyRatingValue');
text = getData('emptyRatingText');
}
// remember selected rating
setData('ratingValue', value);
setData('ratingText', text);
setData('ratingMade', true);
setSelectFieldValue(value);
showSelectedRating(text);
applyStyle();
// onSelect callback
options.onSelect.call(
self,
ratingValue(),
ratingText(),
event
);
return false;
});
};
// handle mouseenter events
var attachMouseEnterHandler = function($elements) {
$elements.on('mouseenter.barrating', function() {
var $a = $(this);
resetStyle();
$a.addClass('br-active')[nextAllorPreviousAll()]()
.addClass('br-active');
showSelectedRating($a.attr('data-rating-text'));
});
};
// handle mouseleave events
var attachMouseLeaveHandler = function($elements) {
self.$widget.on('mouseleave.barrating
blur.barrating', function() {
showSelectedRating();
applyStyle();
});
};
// somewhat primitive way to remove 300ms click delay on touch
devices
// for a more advanced solution consider setting `fastClicks`
option to false
// and using a library such as fastclick
(https://github.com/ftlabs/fastclick)
var fastClicks = function($elements) {
$elements.on('touchstart.barrating',
function(event) {
event.preventDefault();
event.stopPropagation();
$(this).click();
});
};
// disable clicks
var disableClicks = function($elements) {
$elements.on('click.barrating', function(event) {
event.preventDefault();
});
};
var attachHandlers = function($elements) {
// attach click event handler
attachClickHandler($elements);
if (self.options.hoverState) {
// attach mouseenter event handler
attachMouseEnterHandler($elements);
// attach mouseleave event handler
attachMouseLeaveHandler($elements);
}
};
var detachHandlers = function($elements) {
// remove event handlers in the ".barrating"
namespace
$elements.off('.barrating');
};
var setupHandlers = function(readonly) {
var $elements = self.$widget.find('a');
if (fastClicks) {
fastClicks($elements);
}
if (readonly) {
detachHandlers($elements);
disableClicks($elements);
} else {
attachHandlers($elements);
}
};
this.show = function() {
// run only once
if (getData()) return;
// wrap element
wrapElement();
// save data
saveDataOnElement();
// build & append widget to the DOM
self.$widget = buildWidget();
self.$widget.insertAfter(self.$elem);
applyStyle();
showSelectedRating();
setupHandlers(self.options.readonly);
// hide the select field
self.$elem.hide();
};
this.readonly = function(state) {
if (typeof state !== 'boolean' ||
getData('readOnly') == state) return;
setupHandlers(state);
setData('readOnly', state);
self.$widget.toggleClass('br-readonly');
};
this.set = function(value) {
var options = getData('userOptions');
if (self.$elem.find('option[value="' + value
+ '"]').length === 0) return;
// set data
setData('ratingValue', value);
setData('ratingText',
self.$elem.find('option[value="' + value +
'"]').text());
setData('ratingMade', true);
setSelectFieldValue(ratingValue());
showSelectedRating(ratingText());
applyStyle();
// onSelect callback
if (!options.silent) {
options.onSelect.call(
this,
ratingValue(),
ratingText()
);
}
};
this.clear = function() {
var options = getData('userOptions');
// restore original data
setData('ratingValue',
getData('originalRatingValue'));
setData('ratingText',
getData('originalRatingText'));
setData('ratingMade', false);
resetSelectField();
showSelectedRating(ratingText());
applyStyle();
// onClear callback
options.onClear.call(
this,
ratingValue(),
ratingText()
);
};
this.destroy = function() {
var value = ratingValue();
var text = ratingText();
var options = getData('userOptions');
// detach handlers
detachHandlers(self.$widget.find('a'));
// remove widget
self.$widget.remove();
// remove data
removeDataOnElement();
// unwrap the element
unwrapElement();
// show the element
self.$elem.show();
// onDestroy callback
options.onDestroy.call(
this,
value,
text
);
};
}
BarRating.prototype.init = function (options, elem) {
this.$elem = $(elem);
this.options = $.extend({}, $.fn.barrating.defaults, options);
return this.options;
};
return BarRating;
})();
$.fn.barrating = function (method, options) {
return this.each(function () {
var plugin = new BarRating();
// plugin works with select fields
if (!$(this).is('select')) {
$.error('Sorry, this plugin only works with select
fields.');
}
// method supplied
if (plugin.hasOwnProperty(method)) {
plugin.init(options, this);
if (method === 'show') {
return plugin.show(options);
} else {
// plugin exists?
if (plugin.$elem.data('barrating')) {
plugin.$widget =
$(this).next('.br-widget');
return plugin[method](options);
}
}
// no method supplied or only options supplied
} else if (typeof method === 'object' || !method) {
options = method;
plugin.init(options, this);
return plugin.show();
} else {
$.error('Method ' + method + ' does not
exist on jQuery.barrating');
}
});
};
$.fn.barrating.defaults = {
theme:'',
initialRating:null, // initial rating
allowEmpty:null, // allow empty ratings?
emptyValue:'', // this is the expected value of the empty
rating
showValues:false, // display rating values on the bars?
showSelectedRating:true, // append a div with a rating to the
widget?
deselectable:true, // allow to deselect ratings?
reverse:false, // reverse the rating?
readonly:false, // make the rating ready-only?
fastClicks:true, // remove 300ms click delay on touch devices?
hoverState:true, // change state on hover?
silent:false, // supress callbacks when controlling ratings
programatically
onSelect:function (value, text, event) {
}, // callback fired when a rating is selected
onClear:function (value, text) {
}, // callback fired when a rating is cleared
onDestroy:function (value, text) {
} // callback fired when a widget is destroyed
};
$.fn.barrating.BarRating = BarRating;
}));
PKݴ�["�#�&&!barrating/jquery.barrating.min.jsnu�[���!function(t){"function"==typeof
define&&define.amd?define(["jquery"],t):"object"==typeof
module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var
e=function(){function e(){var e=this,n=function(){var
n=["br-wrapper"];""!==e.options.theme&&n.push("br-theme-"+e.options.theme),e.$elem.wrap(t("<div
/>",{"class":n.join("
")}))},i=function(){e.$elem.unwrap()},a=function(n){return
t.isNumeric(n)&&(n=Math.floor(n)),t('option[value="'+n+'"]',e.$elem)},r=function(){var
n=e.options.initialRating;return
n?a(n):t("option:selected",e.$elem)},o=function(){var
n=e.$elem.find('option[value="'+e.options.emptyValue+'"]');return!n.length&&e.options.allowEmpty?(n=t("<option
/>",{value:e.options.emptyValue}),n.prependTo(e.$elem)):n},l=function(t){var
n=e.$elem.data("barrating");return"undefined"!=typeof
t?n[t]:n},s=function(t,n){null!==n&&"object"==typeof
n?e.$elem.data("barrating",n):e.$elem.data("barrating")[t]=n},u=function(){var
t=r(),n=o(),i=t.val(),a=t.data("html")?t.data("html"):t.text(),l=null!==e.options.allowEmpty?e.options.allowEmpty:!!n.length,u=n.length?n.val():null,d=n.length?n.text():null;s(null,{userOptions:e.options,ratingValue:i,ratingText:a,originalRatingValue:i,originalRatingText:a,allowEmpty:l,emptyRatingValue:u,emptyRatingText:d,readOnly:e.options.readonly,ratingMade:!1})},d=function(){e.$elem.removeData("barrating")},c=function(){return
l("ratingText")},f=function(){return
l("ratingValue")},g=function(){var n=t("<div
/>",{"class":"br-widget"});return
e.$elem.find("option").each(function(){var
i,a,r,o;i=t(this).val(),i!==l("emptyRatingValue")&&(a=t(this).text(),r=t(this).data("html"),r&&(a=r),o=t("<a
/>",{href:"#","data-rating-value":i,"data-rating-text":a,html:e.options.showValues?a:""}),n.append(o))}),e.options.showSelectedRating&&n.append(t("<div
/>",{text:"","class":"br-current-rating"})),e.options.reverse&&n.addClass("br-reverse"),e.options.readonly&&n.addClass("br-readonly"),n},p=function(){return
l("userOptions").reverse?"nextAll":"prevAll"},h=function(t){a(t).prop("selected",!0),e.$elem.change()},m=function(){t("option",e.$elem).prop("selected",function(){return
this.defaultSelected}),e.$elem.change()},v=function(t){t=t?t:c(),t==l("emptyRatingText")&&(t=""),e.options.showSelectedRating&&e.$elem.parent().find(".br-current-rating").text(t)},y=function(t){return
Math.round(Math.floor(10*t)/10%1*100)},b=function(){e.$widget.find("a").removeClass(function(t,e){return(e.match(/(^|\s)br-\S+/g)||[]).join("
")})},w=function(){var
n,i,a=e.$widget.find('a[data-rating-value="'+f()+'"]'),r=l("userOptions").initialRating,o=t.isNumeric(f())?f():0,s=y(r);if(b(),a.addClass("br-selected
br-current")[p()]().addClass("br-selected"),!l("ratingMade")&&t.isNumeric(r)){if(o>=r||!s)return;n=e.$widget.find("a"),i=a.length?a[l("userOptions").reverse?"prev":"next"]():n[l("userOptions").reverse?"last":"first"](),i.addClass("br-fractional"),i.addClass("br-fractional-"+s)}},$=function(t){return
l("allowEmpty")&&l("userOptions").deselectable?f()==t.attr("data-rating-value"):!1},x=function(n){n.on("click.barrating",function(n){var
i,a,r=t(this),o=l("userOptions");return
n.preventDefault(),i=r.attr("data-rating-value"),a=r.attr("data-rating-text"),$(r)&&(i=l("emptyRatingValue"),a=l("emptyRatingText")),s("ratingValue",i),s("ratingText",a),s("ratingMade",!0),h(i),v(a),w(),o.onSelect.call(e,f(),c(),n),!1})},R=function(e){e.on("mouseenter.barrating",function(){var
e=t(this);b(),e.addClass("br-active")[p()]().addClass("br-active"),v(e.attr("data-rating-text"))})},V=function(t){e.$widget.on("mouseleave.barrating
blur.barrating",function(){v(),w()})},O=function(e){e.on("touchstart.barrating",function(e){e.preventDefault(),e.stopPropagation(),t(this).click()})},C=function(t){t.on("click.barrating",function(t){t.preventDefault()})},S=function(t){x(t),e.options.hoverState&&(R(t),V(t))},T=function(t){t.off(".barrating")},j=function(t){var
n=e.$widget.find("a");O&&O(n),t?(T(n),C(n)):S(n)};this.show=function(){l()||(n(),u(),e.$widget=g(),e.$widget.insertAfter(e.$elem),w(),v(),j(e.options.readonly),e.$elem.hide())},this.readonly=function(t){"boolean"==typeof
t&&l("readOnly")!=t&&(j(t),s("readOnly",t),e.$widget.toggleClass("br-readonly"))},this.set=function(t){var
n=l("userOptions");0!==e.$elem.find('option[value="'+t+'"]').length&&(s("ratingValue",t),s("ratingText",e.$elem.find('option[value="'+t+'"]').text()),s("ratingMade",!0),h(f()),v(c()),w(),n.silent||n.onSelect.call(this,f(),c()))},this.clear=function(){var
t=l("userOptions");s("ratingValue",l("originalRatingValue")),s("ratingText",l("originalRatingText")),s("ratingMade",!1),m(),v(c()),w(),t.onClear.call(this,f(),c())},this.destroy=function(){var
t=f(),n=c(),a=l("userOptions");T(e.$widget.find("a")),e.$widget.remove(),d(),i(),e.$elem.show(),a.onDestroy.call(this,t,n)}}return
e.prototype.init=function(e,n){return
this.$elem=t(n),this.options=t.extend({},t.fn.barrating.defaults,e),this.options},e}();t.fn.barrating=function(n,i){return
this.each(function(){var a=new
e;if(t(this).is("select")||t.error("Sorry, this plugin only
works with select
fields."),a.hasOwnProperty(n)){if(a.init(i,this),"show"===n)return
a.show(i);if(a.$elem.data("barrating"))return
a.$widget=t(this).next(".br-widget"),a[n](i)}else{if("object"==typeof
n||!n)return i=n,a.init(i,this),a.show();t.error("Method
"+n+" does not exist on
jQuery.barrating")}})},t.fn.barrating.defaults={theme:"",initialRating:null,allowEmpty:null,emptyValue:"",showValues:!1,showSelectedRating:!0,deselectable:!0,reverse:!1,readonly:!1,fastClicks:!0,hoverState:!0,silent:!1,onSelect:function(t,e,n){},onClear:function(t,e){},onDestroy:function(t,e){}},t.fn.barrating.BarRating=e});PKݴ�[�C��##barrating/themes/css-stars.cssnu�[���/*.br-theme-css-stars
.br-widget {
height: 40px;
white-space: nowrap;
margin-top: -15px;
}
.br-theme-css-stars .br-widget a {
text-decoration: none;
height: 30px;
width: 30px;
float: left;
font-size: 35px;
margin-right: 0px;
}
.br-theme-css-stars .br-widget a:after {
content: "\2605";
color: #d2d2d2;
}
.br-theme-css-stars .br-widget a.br-active:after {
color: #45A7D4;
}
.br-theme-css-stars .br-widget a.br-selected:after {
color: #45A7D4;
}
.br-theme-css-stars .br-widget .br-current-rating {
display: none;
}
.br-theme-css-stars .br-readonly a {
cursor: default;
}
@media print {
.br-theme-css-stars .br-widget a:after {
content: "\2606";
color: black;
}
.br-theme-css-stars .br-widget a.br-active:after,
.br-theme-css-stars .br-widget a.br-selected:after {
content: "\2605";
color: black;
}
}*/
/* Backward compatibility with templates*/
.ph-rating .br-widget {
height: 24px;
}
.ph-rating .br-widget a {
/*background: url('../img/star.png');*/
background: url(../img/star.svg);
width: 24px;
height: 24px;
display: block;
float: left;
}
.ph-rating .br-widget a:hover,
.ph-rating .br-widget a.br-active,
.ph-rating .br-widget a.br-selected {
background-position: 0 24px;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio : 1.5),
(min-resolution: 192dpi) {
.ph-rating .br-widget a {
/*background: url('../img/star@2x.png');*/
background: url('../img/star@2x.svg');
background-size: 24px 48px;
}
}
PKݴ�[�#o,,barrating/themes/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[�H���base64/base64.jsnu�[���/**
*
* Base64 encode / decode
* http://www.webtoolkit.info/
*
**/
var Base64 = {
// private property
_keyStr :
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
// public method for encoding
encode : function (input) {
var output = "";
var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
var i = 0;
input = Base64._utf8_encode(input);
while (i < input.length) {
chr1 = input.charCodeAt(i++);
chr2 = input.charCodeAt(i++);
chr3 = input.charCodeAt(i++);
enc1 = chr1 >> 2;
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
enc4 = chr3 & 63;
if (isNaN(chr2)) {
enc3 = enc4 = 64;
} else if (isNaN(chr3)) {
enc4 = 64;
}
output = output +
this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
}
return output;
},
// public method for decoding
decode : function (input) {
var output = "";
var chr1, chr2, chr3;
var enc1, enc2, enc3, enc4;
var i = 0;
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
while (i < input.length) {
enc1 = this._keyStr.indexOf(input.charAt(i++));
enc2 = this._keyStr.indexOf(input.charAt(i++));
enc3 = this._keyStr.indexOf(input.charAt(i++));
enc4 = this._keyStr.indexOf(input.charAt(i++));
chr1 = (enc1 << 2) | (enc2 >> 4);
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
chr3 = ((enc3 & 3) << 6) | enc4;
output = output + String.fromCharCode(chr1);
if (enc3 != 64) {
output = output + String.fromCharCode(chr2);
}
if (enc4 != 64) {
output = output + String.fromCharCode(chr3);
}
}
output = Base64._utf8_decode(output);
return output;
},
// private method for UTF-8 encoding
_utf8_encode : function (string) {
string = string.replace(/\r\n/g,"\n");
var utftext = "";
for (var n = 0; n < string.length; n++) {
var c = string.charCodeAt(n);
if (c < 128) {
utftext += String.fromCharCode(c);
}
else if((c > 127) && (c < 2048)) {
utftext += String.fromCharCode((c >> 6) | 192);
utftext += String.fromCharCode((c & 63) | 128);
}
else {
utftext += String.fromCharCode((c >> 12) | 224);
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
utftext += String.fromCharCode((c & 63) | 128);
}
}
return utftext;
},
// private method for UTF-8 decoding
_utf8_decode : function (utftext) {
var string = "";
var i = 0;
var c = c1 = c2 = 0;
while ( i < utftext.length ) {
c = utftext.charCodeAt(i);
if (c < 128) {
string += String.fromCharCode(c);
i++;
}
else if((c > 191) && (c < 224)) {
c2 = utftext.charCodeAt(i+1);
string += String.fromCharCode(((c & 31) << 6) | (c2 &
63));
i += 2;
}
else {
c2 = utftext.charCodeAt(i+1);
c3 = utftext.charCodeAt(i+2);
string += String.fromCharCode(((c & 15) << 12) | ((c2 &
63) << 6) | (c3 & 63));
i += 3;
}
}
return string;
}
}PKݴ�[��wd��base64/base64.min.jsnu�[���var
Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(r){var
t,e,o,a,h,c,n,d="",C=0;for(r=Base64._utf8_encode(r);C<r.length;)a=(t=r.charCodeAt(C++))>>2,h=(3&t)<<4|(e=r.charCodeAt(C++))>>4,c=(15&e)<<2|(o=r.charCodeAt(C++))>>6,n=63&o,isNaN(e)?c=n=64:isNaN(o)&&(n=64),d=d+this._keyStr.charAt(a)+this._keyStr.charAt(h)+this._keyStr.charAt(c)+this._keyStr.charAt(n);return
d},decode:function(r){var
t,e,o,a,h,c,n="",d=0;for(r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");d<r.length;)t=this._keyStr.indexOf(r.charAt(d++))<<2|(a=this._keyStr.indexOf(r.charAt(d++)))>>4,e=(15&a)<<4|(h=this._keyStr.indexOf(r.charAt(d++)))>>2,o=(3&h)<<6|(c=this._keyStr.indexOf(r.charAt(d++))),n+=String.fromCharCode(t),64!=h&&(n+=String.fromCharCode(e)),64!=c&&(n+=String.fromCharCode(o));return
n=Base64._utf8_decode(n)},_utf8_encode:function(r){r=r.replace(/\r\n/g,"\n");for(var
t="",e=0;e<r.length;e++){var
o=r.charCodeAt(e);o<128?t+=String.fromCharCode(o):(127<o&&o<2048?t+=String.fromCharCode(o>>6|192):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128)),t+=String.fromCharCode(63&o|128))}return
t},_utf8_decode:function(r){for(var
t="",e=0,o=c1=c2=0;e<r.length;)(o=r.charCodeAt(e))<128?(t+=String.fromCharCode(o),e++):191<o&&o<224?(c2=r.charCodeAt(e+1),t+=String.fromCharCode((31&o)<<6|63&c2),e+=2):(c2=r.charCodeAt(e+1),c3=r.charCodeAt(e+2),t+=String.fromCharCode((15&o)<<12|(63&c2)<<6|63&c3),e+=3);return
t}};PKݴ�[�#o,,base64/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[j������chartjs/Chart.min.jsnu�[���!function(a){if("object"==typeof
exports&&"undefined"!=typeof
module)module.exports=a();else if("function"==typeof
define&&define.amd)define([],a);else{var
b;b="undefined"!=typeof
window?window:"undefined"!=typeof
global?global:"undefined"!=typeof
self?self:this,b.Chart=a()}}(function(){var a;return function
a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var
i="function"==typeof
require&&require;if(!h&&i)return i(g,!0);if(f)return
f(g,!0);var j=new Error("Cannot find module
'"+g+"'");throw
j.code="MODULE_NOT_FOUND",j}var
k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var
c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return
c[g].exports}for(var f="function"==typeof
require&&require,g=0;g<d.length;g++)e(d[g]);return
e}({1:[function(a,b,c){function e(a){if(a){var
b=/^#([a-fA-F0-9]{3})$/,c=/^#([a-fA-F0-9]{6})$/,e=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,f=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,g=/(\w+)/,h=[0,0,0],i=1,j=a.match(b);if(j){j=j[1];for(var
k=0;k<h.length;k++)h[k]=parseInt(j[k]+j[k],16)}else
if(j=a.match(c)){j=j[1];for(var
k=0;k<h.length;k++)h[k]=parseInt(j.slice(2*k,2*k+2),16)}else
if(j=a.match(e)){for(var
k=0;k<h.length;k++)h[k]=parseInt(j[k+1]);i=parseFloat(j[4])}else
if(j=a.match(f)){for(var
k=0;k<h.length;k++)h[k]=Math.round(2.55*parseFloat(j[k+1]));i=parseFloat(j[4])}else
if(j=a.match(g)){if("transparent"==j[1])return[0,0,0,0];if(h=d[j[1]],!h)return}for(var
k=0;k<h.length;k++)h[k]=t(h[k],0,255);return
i=i||0==i?t(i,0,1):1,h[3]=i,h}}function f(a){if(a){var
b=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,c=a.match(b);if(c){var
d=parseFloat(c[4]),e=t(parseInt(c[1]),0,360),f=t(parseFloat(c[2]),0,100),g=t(parseFloat(c[3]),0,100),h=t(isNaN(d)?1:d,0,1);return[e,f,g,h]}}}function
g(a){if(a){var
b=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,c=a.match(b);if(c){var
d=parseFloat(c[4]),e=t(parseInt(c[1]),0,360),f=t(parseFloat(c[2]),0,100),g=t(parseFloat(c[3]),0,100),h=t(isNaN(d)?1:d,0,1);return[e,f,g,h]}}}function
h(a){var b=e(a);return b&&b.slice(0,3)}function i(a){var
b=f(a);return b&&b.slice(0,3)}function j(a){var b=e(a);return
b?b[3]:(b=f(a))?b[3]:(b=g(a))?b[3]:void 0}function
k(a){return"#"+u(a[0])+u(a[1])+u(a[2])}function l(a,b){return
b<1||a[3]&&a[3]<1?m(a,b):"rgb("+a[0]+",
"+a[1]+", "+a[2]+")"}function m(a,b){return void
0===b&&(b=void 0!==a[3]?a[3]:1),"rgba("+a[0]+",
"+a[1]+", "+a[2]+", "+b+")"}function
n(a,b){if(b<1||a[3]&&a[3]<1)return o(a,b);var
c=Math.round(a[0]/255*100),d=Math.round(a[1]/255*100),e=Math.round(a[2]/255*100);return"rgb("+c+"%,
"+d+"%, "+e+"%)"}function o(a,b){var
c=Math.round(a[0]/255*100),d=Math.round(a[1]/255*100),e=Math.round(a[2]/255*100);return"rgba("+c+"%,
"+d+"%, "+e+"%,
"+(b||a[3]||1)+")"}function p(a,b){return
b<1||a[3]&&a[3]<1?q(a,b):"hsl("+a[0]+",
"+a[1]+"%, "+a[2]+"%)"}function q(a,b){return void
0===b&&(b=void 0!==a[3]?a[3]:1),"hsla("+a[0]+",
"+a[1]+"%, "+a[2]+"%, "+b+")"}function
r(a,b){return void 0===b&&(b=void
0!==a[3]?a[3]:1),"hwb("+a[0]+", "+a[1]+"%,
"+a[2]+"%"+(void 0!==b&&1!==b?",
"+b:"")+")"}function s(a){return
v[a.slice(0,3)]}function t(a,b,c){return Math.min(Math.max(b,a),c)}function
u(a){var b=a.toString(16).toUpperCase();return
b.length<2?"0"+b:b}var
d=a(5);b.exports={getRgba:e,getHsla:f,getRgb:h,getHsl:i,getHwb:g,getAlpha:j,hexString:k,rgbString:l,rgbaString:m,percentString:n,percentaString:o,hslString:p,hslaString:q,hwbString:r,keyword:s};var
v={};for(var w in d)v[d[w]]=w},{5:5}],2:[function(a,b,c){var
d=a(4),e=a(1),f=function(a){if(a instanceof f)return a;if(!(this instanceof
f))return new
f(a);this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var
b;if("string"==typeof
a)if(b=e.getRgba(a))this.setValues("rgb",b);else
if(b=e.getHsla(a))this.setValues("hsl",b);else{if(!(b=e.getHwb(a)))throw
new Error('Unable to parse color from string
"'+a+'"');this.setValues("hwb",b)}else
if("object"==typeof a)if(b=a,void 0!==b.r||void
0!==b.red)this.setValues("rgb",b);else if(void 0!==b.l||void
0!==b.lightness)this.setValues("hsl",b);else if(void
0!==b.v||void 0!==b.value)this.setValues("hsv",b);else if(void
0!==b.w||void
0!==b.whiteness)this.setValues("hwb",b);else{if(void
0===b.c&&void 0===b.cyan)throw new Error("Unable to parse
color from object
"+JSON.stringify(a));this.setValues("cmyk",b)}};f.prototype={rgb:function(){return
this.setSpace("rgb",arguments)},hsl:function(){return
this.setSpace("hsl",arguments)},hsv:function(){return
this.setSpace("hsv",arguments)},hwb:function(){return
this.setSpace("hwb",arguments)},cmyk:function(){return
this.setSpace("cmyk",arguments)},rgbArray:function(){return
this.values.rgb},hslArray:function(){return
this.values.hsl},hsvArray:function(){return
this.values.hsv},hwbArray:function(){var a=this.values;return
1!==a.alpha?a.hwb.concat([a.alpha]):a.hwb},cmykArray:function(){return
this.values.cmyk},rgbaArray:function(){var a=this.values;return
a.rgb.concat([a.alpha])},hslaArray:function(){var a=this.values;return
a.hsl.concat([a.alpha])},alpha:function(a){return void
0===a?this.values.alpha:(this.setValues("alpha",a),this)},red:function(a){return
this.setChannel("rgb",0,a)},green:function(a){return
this.setChannel("rgb",1,a)},blue:function(a){return
this.setChannel("rgb",2,a)},hue:function(a){return
a&&(a%=360,a=a<0?360+a:a),this.setChannel("hsl",0,a)},saturation:function(a){return
this.setChannel("hsl",1,a)},lightness:function(a){return
this.setChannel("hsl",2,a)},saturationv:function(a){return
this.setChannel("hsv",1,a)},whiteness:function(a){return
this.setChannel("hwb",1,a)},blackness:function(a){return
this.setChannel("hwb",2,a)},value:function(a){return
this.setChannel("hsv",2,a)},cyan:function(a){return
this.setChannel("cmyk",0,a)},magenta:function(a){return
this.setChannel("cmyk",1,a)},yellow:function(a){return
this.setChannel("cmyk",2,a)},black:function(a){return
this.setChannel("cmyk",3,a)},hexString:function(){return
e.hexString(this.values.rgb)},rgbString:function(){return
e.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return
e.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return
e.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return
e.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return
e.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return
e.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return
e.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var
a=this.values.rgb;return
a[0]<<16|a[1]<<8|a[2]},luminosity:function(){for(var
a=this.values.rgb,b=[],c=0;c<a.length;c++){var
d=a[c]/255;b[c]=d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}return.2126*b[0]+.7152*b[1]+.0722*b[2]},contrast:function(a){var
b=this.luminosity(),c=a.luminosity();return
b>c?(b+.05)/(c+.05):(c+.05)/(b+.05)},level:function(a){var
b=this.contrast(a);return
b>=7.1?"AAA":b>=4.5?"AA":""},dark:function(){var
a=this.values.rgb,b=(299*a[0]+587*a[1]+114*a[2])/1e3;return
b<128},light:function(){return!this.dark()},negate:function(){for(var
a=[],b=0;b<3;b++)a[b]=255-this.values.rgb[b];return
this.setValues("rgb",a),this},lighten:function(a){var
b=this.values.hsl;return
b[2]+=b[2]*a,this.setValues("hsl",b),this},darken:function(a){var
b=this.values.hsl;return
b[2]-=b[2]*a,this.setValues("hsl",b),this},saturate:function(a){var
b=this.values.hsl;return
b[1]+=b[1]*a,this.setValues("hsl",b),this},desaturate:function(a){var
b=this.values.hsl;return
b[1]-=b[1]*a,this.setValues("hsl",b),this},whiten:function(a){var
b=this.values.hwb;return
b[1]+=b[1]*a,this.setValues("hwb",b),this},blacken:function(a){var
b=this.values.hwb;return
b[2]+=b[2]*a,this.setValues("hwb",b),this},greyscale:function(){var
a=this.values.rgb,b=.3*a[0]+.59*a[1]+.11*a[2];return
this.setValues("rgb",[b,b,b]),this},clearer:function(a){var
b=this.values.alpha;return
this.setValues("alpha",b-b*a),this},opaquer:function(a){var
b=this.values.alpha;return
this.setValues("alpha",b+b*a),this},rotate:function(a){var
b=this.values.hsl,c=(b[0]+a)%360;return
b[0]=c<0?360+c:c,this.setValues("hsl",b),this},mix:function(a,b){var
c=this,d=a,e=void
0===b?.5:b,f=2*e-1,g=c.alpha()-d.alpha(),h=((f*g===-1?f:(f+g)/(1+f*g))+1)/2,i=1-h;return
this.rgb(h*c.red()+i*d.red(),h*c.green()+i*d.green(),h*c.blue()+i*d.blue()).alpha(c.alpha()*e+d.alpha()*(1-e))},toJSON:function(){return
this.rgb()},clone:function(){var d,e,a=new
f,b=this.values,c=a.values;for(var g in
b)b.hasOwnProperty(g)&&(d=b[g],e={}.toString.call(d),"[object
Array]"===e?c[g]=d.slice(0):"[object
Number]"===e?c[g]=d:console.error("unexpected color
value:",d));return
a}},f.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},f.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},f.prototype.getValues=function(a){for(var
b=this.values,c={},d=0;d<a.length;d++)c[a.charAt(d)]=b[a][d];return
1!==b.alpha&&(c.a=b.alpha),c},f.prototype.setValues=function(a,b){var
h,c=this.values,e=this.spaces,f=this.maxes,g=1;if("alpha"===a)g=b;else
if(b.length)c[a]=b.slice(0,a.length),g=b[a.length];else if(void
0!==b[a.charAt(0)]){for(h=0;h<a.length;h++)c[a][h]=b[a.charAt(h)];g=b.a}else
if(void 0!==b[e[a][0]]){var
i=e[a];for(h=0;h<a.length;h++)c[a][h]=b[i[h]];g=b.alpha}if(c.alpha=Math.max(0,Math.min(1,void
0===g?c.alpha:g)),"alpha"===a)return!1;var
j;for(h=0;h<a.length;h++)j=Math.max(0,Math.min(f[a][h],c[a][h])),c[a][h]=Math.round(j);for(var
k in
e)k!==a&&(c[k]=d[a][k](c[a]));return!0},f.prototype.setSpace=function(a,b){var
c=b[0];return void 0===c?this.getValues(a):("number"==typeof
c&&(c=Array.prototype.slice.call(b)),this.setValues(a,c),this)},f.prototype.setChannel=function(a,b,c){var
d=this.values[a];return void
0===c?d[b]:c===d[b]?this:(d[b]=c,this.setValues(a,d),this)},"undefined"!=typeof
window&&(window.Color=f),b.exports=f},{1:1,4:4}],3:[function(a,c,d){function
e(a){var
h,i,j,b=a[0]/255,c=a[1]/255,d=a[2]/255,e=Math.min(b,c,d),f=Math.max(b,c,d),g=f-e;return
f==e?h=0:b==f?h=(c-d)/g:c==f?h=2+(d-b)/g:d==f&&(h=4+(b-c)/g),h=Math.min(60*h,360),h<0&&(h+=360),j=(e+f)/2,i=f==e?0:j<=.5?g/(f+e):g/(2-f-e),[h,100*i,100*j]}function
f(a){var
h,i,j,b=a[0],c=a[1],d=a[2],e=Math.min(b,c,d),f=Math.max(b,c,d),g=f-e;return
i=0==f?0:g/f*1e3/10,f==e?h=0:b==f?h=(c-d)/g:c==f?h=2+(d-b)/g:d==f&&(h=4+(b-c)/g),h=Math.min(60*h,360),h<0&&(h+=360),j=f/255*1e3/10,[h,i,j]}function
h(a){var
b=a[0],c=a[1],d=a[2],f=e(a)[0],g=1/255*Math.min(b,Math.min(c,d)),d=1-1/255*Math.max(b,Math.max(c,d));return[f,100*g,100*d]}function
i(a){var e,f,g,h,b=a[0]/255,c=a[1]/255,d=a[2]/255;return
h=Math.min(1-b,1-c,1-d),e=(1-b-h)/(1-h)||0,f=(1-c-h)/(1-h)||0,g=(1-d-h)/(1-h)||0,[100*e,100*f,100*g,100*h]}function
j(a){return Z[JSON.stringify(a)]}function k(a){var
b=a[0]/255,c=a[1]/255,d=a[2]/255;b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92,c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92,d=d>.04045?Math.pow((d+.055)/1.055,2.4):d/12.92;var
e=.4124*b+.3576*c+.1805*d,f=.2126*b+.7152*c+.0722*d,g=.0193*b+.1192*c+.9505*d;return[100*e,100*f,100*g]}function
l(a){var f,g,h,b=k(a),c=b[0],d=b[1],e=b[2];return
c/=95.047,d/=100,e/=108.883,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,d=d>.008856?Math.pow(d,1/3):7.787*d+16/116,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,f=116*d-16,g=500*(c-d),h=200*(d-e),[f,g,h]}function
m(a){return M(l(a))}function n(a){var
e,f,g,h,i,b=a[0]/360,c=a[1]/100,d=a[2]/100;if(0==c)return
i=255*d,[i,i,i];f=d<.5?d*(1+c):d+c-d*c,e=2*d-f,h=[0,0,0];for(var
j=0;j<3;j++)g=b+1/3*-(j-1),g<0&&g++,g>1&&g--,i=6*g<1?e+6*(f-e)*g:2*g<1?f:3*g<2?e+(f-e)*(2/3-g)*6:e,h[j]=255*i;return
h}function o(a){var e,f,b=a[0],c=a[1]/100,d=a[2]/100;return
0===d?[0,0,0]:(d*=2,c*=d<=1?d:2-d,f=(d+c)/2,e=2*c/(d+c),[b,100*e,100*f])}function
p(a){return h(n(a))}function q(a){return i(n(a))}function s(a){return
j(n(a))}function t(a){var
b=a[0]/60,c=a[1]/100,d=a[2]/100,e=Math.floor(b)%6,f=b-Math.floor(b),g=255*d*(1-c),h=255*d*(1-c*f),i=255*d*(1-c*(1-f)),d=255*d;switch(e){case
0:return[d,i,g];case 1:return[h,d,g];case 2:return[g,d,i];case
3:return[g,h,d];case 4:return[i,g,d];case 5:return[d,g,h]}}function
u(a){var e,f,b=a[0],c=a[1]/100,d=a[2]/100;return
f=(2-c)*d,e=c*d,e/=f<=1?f:2-f,e=e||0,f/=2,[b,100*e,100*f]}function
v(a){return h(t(a))}function w(a){return i(t(a))}function x(a){return
j(t(a))}function y(a){var
h,i,j,k,c=a[0]/360,d=a[1]/100,e=a[2]/100,f=d+e;switch(f>1&&(d/=f,e/=f),h=Math.floor(6*c),i=1-e,j=6*c-h,0!=(1&h)&&(j=1-j),k=d+j*(i-d),h){default:case
6:case 0:r=i,g=k,b=d;break;case 1:r=k,g=i,b=d;break;case
2:r=d,g=i,b=k;break;case 3:r=d,g=k,b=i;break;case 4:r=k,g=d,b=i;break;case
5:r=i,g=d,b=k}return[255*r,255*g,255*b]}function z(a){return
e(y(a))}function A(a){return f(y(a))}function B(a){return i(y(a))}function
C(a){return j(y(a))}function D(a){var
f,g,h,b=a[0]/100,c=a[1]/100,d=a[2]/100,e=a[3]/100;return
f=1-Math.min(1,b*(1-e)+e),g=1-Math.min(1,c*(1-e)+e),h=1-Math.min(1,d*(1-e)+e),[255*f,255*g,255*h]}function
E(a){return e(D(a))}function F(a){return f(D(a))}function G(a){return
h(D(a))}function H(a){return j(D(a))}function I(a){var
e,f,g,b=a[0]/100,c=a[1]/100,d=a[2]/100;return
e=3.2406*b+c*-1.5372+d*-.4986,f=b*-.9689+1.8758*c+.0415*d,g=.0557*b+c*-.204+1.057*d,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e=12.92*e,f=f>.0031308?1.055*Math.pow(f,1/2.4)-.055:f=12.92*f,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g=12.92*g,e=Math.min(Math.max(0,e),1),f=Math.min(Math.max(0,f),1),g=Math.min(Math.max(0,g),1),[255*e,255*f,255*g]}function
J(a){var e,f,g,b=a[0],c=a[1],d=a[2];return
b/=95.047,c/=100,d/=108.883,b=b>.008856?Math.pow(b,1/3):7.787*b+16/116,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,d=d>.008856?Math.pow(d,1/3):7.787*d+16/116,e=116*c-16,f=500*(b-c),g=200*(c-d),[e,f,g]}function
K(a){return M(J(a))}function L(a){var e,f,g,h,b=a[0],c=a[1],d=a[2];return
b<=8?(f=100*b/903.3,h=7.787*(f/100)+16/116):(f=100*Math.pow((b+16)/116,3),h=Math.pow(f/100,1/3)),e=e/95.047<=.008856?e=95.047*(c/500+h-16/116)/7.787:95.047*Math.pow(c/500+h,3),g=g/108.883<=.008859?g=108.883*(h-d/200-16/116)/7.787:108.883*Math.pow(h-d/200,3),[e,f,g]}function
M(a){var e,f,g,b=a[0],c=a[1],d=a[2];return
e=Math.atan2(d,c),f=360*e/2/Math.PI,f<0&&(f+=360),g=Math.sqrt(c*c+d*d),[b,g,f]}function
N(a){return I(L(a))}function O(a){var e,f,g,b=a[0],c=a[1],d=a[2];return
g=d/360*2*Math.PI,e=c*Math.cos(g),f=c*Math.sin(g),[b,e,f]}function
P(a){return L(O(a))}function Q(a){return N(O(a))}function R(a){return
Y[a]}function S(a){return e(R(a))}function T(a){return f(R(a))}function
U(a){return h(R(a))}function V(a){return i(R(a))}function W(a){return
l(R(a))}function X(a){return
k(R(a))}c.exports={rgb2hsl:e,rgb2hsv:f,rgb2hwb:h,rgb2cmyk:i,rgb2keyword:j,rgb2xyz:k,rgb2lab:l,rgb2lch:m,hsl2rgb:n,hsl2hsv:o,hsl2hwb:p,hsl2cmyk:q,hsl2keyword:s,hsv2rgb:t,hsv2hsl:u,hsv2hwb:v,hsv2cmyk:w,hsv2keyword:x,hwb2rgb:y,hwb2hsl:z,hwb2hsv:A,hwb2cmyk:B,hwb2keyword:C,cmyk2rgb:D,cmyk2hsl:E,cmyk2hsv:F,cmyk2hwb:G,cmyk2keyword:H,keyword2rgb:R,keyword2hsl:S,keyword2hsv:T,keyword2hwb:U,keyword2cmyk:V,keyword2lab:W,keyword2xyz:X,xyz2rgb:I,xyz2lab:J,xyz2lch:K,lab2xyz:L,lab2rgb:N,lab2lch:M,lch2lab:O,lch2xyz:P,lch2rgb:Q};var
Y={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Z={};for(var
$ in Y)Z[JSON.stringify(Y[$])]=$},{}],4:[function(a,b,c){var
d=a(3),e=function(){return new j};for(var f in
d){e[f+"Raw"]=function(a){return
function(b){return"number"==typeof
b&&(b=Array.prototype.slice.call(arguments)),d[a](b)}}(f);var
g=/(\w+)2(\w+)/.exec(f),h=g[1],i=g[2];e[h]=e[h]||{},e[h][i]=e[f]=function(a){return
function(b){"number"==typeof
b&&(b=Array.prototype.slice.call(arguments));var
c=d[a](b);if("string"==typeof c||void 0===c)return c;for(var
e=0;e<c.length;e++)c[e]=Math.round(c[e]);return c}}(f)}var
j=function(){this.convs={}};j.prototype.routeSpace=function(a,b){var
c=b[0];return void 0===c?this.getValues(a):("number"==typeof
c&&(c=Array.prototype.slice.call(b)),this.setValues(a,c))},j.prototype.setValues=function(a,b){return
this.space=a,this.convs={},this.convs[a]=b,this},j.prototype.getValues=function(a){var
b=this.convs[a];if(!b){var
c=this.space,d=this.convs[c];b=e[c][a](d),this.convs[a]=b}return
b},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(a){j.prototype[a]=function(b){return
this.routeSpace(a,arguments)}}),b.exports=e},{3:3}],5:[function(a,b,c){b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(b,c,d){!function(b,e){"object"==typeof
d&&"undefined"!=typeof
c?c.exports=e():"function"==typeof
a&&a.amd?a(e):b.moment=e()}(this,function(){"use
strict";function d(){return a.apply(null,arguments)}function
e(b){a=b}function f(a){return a instanceof Array||"[object
Array]"===Object.prototype.toString.call(a)}function
g(a){return"[object
Object]"===Object.prototype.toString.call(a)}function h(a){var b;for(b
in a)return!1;return!0}function i(a){return a instanceof
Date||"[object
Date]"===Object.prototype.toString.call(a)}function j(a,b){var
d,c=[];for(d=0;d<a.length;++d)c.push(b(a[d],d));return c}function
k(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function
l(a,b){for(var c in b)k(b,c)&&(a[c]=b[c]);return
k(b,"toString")&&(a.toString=b.toString),k(b,"valueOf")&&(a.valueOf=b.valueOf),a}function
m(a,b,c,d){return Jc(a,b,c,d,!0).utc()}function
n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function
o(a){return null==a._pf&&(a._pf=n()),a._pf}function
q(a){if(null==a._isValid){var
b=o(a),c=p.call(b.parsedDateParts,function(a){return
null!=a});a._isValid=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c),a._strict&&(a._isValid=a._isValid&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void
0===b.bigHour)}return a._isValid}function r(a){var b=m(NaN);return
null!=a?l(o(b),a):o(b).userInvalidated=!0,b}function s(a){return void
0===a}function u(a,b){var
c,d,e;if(s(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),s(b._i)||(a._i=b._i),s(b._f)||(a._f=b._f),s(b._l)||(a._l=b._l),s(b._strict)||(a._strict=b._strict),s(b._tzm)||(a._tzm=b._tzm),s(b._isUTC)||(a._isUTC=b._isUTC),s(b._offset)||(a._offset=b._offset),s(b._pf)||(a._pf=o(b)),s(b._locale)||(a._locale=b._locale),t.length>0)for(c
in t)d=t[c],e=b[d],s(e)||(a[d]=e);return a}function
w(a){u(this,a),this._d=new
Date(null!=a._d?a._d.getTime():NaN),v===!1&&(v=!0,d.updateOffset(this),v=!1)}function
x(a){return a instanceof
w||null!=a&&null!=a._isAMomentObject}function y(a){return
a<0?Math.ceil(a)||0:Math.floor(a)}function z(a){var b=+a,c=0;return
0!==b&&isFinite(b)&&(c=y(b)),c}function A(a,b,c){var
g,d=Math.min(a.length,b.length),e=Math.abs(a.length-b.length),f=0;for(g=0;g<d;g++)(c&&a[g]!==b[g]||!c&&z(a[g])!==z(b[g]))&&f++;return
f+e}function
B(a){d.suppressDeprecationWarnings===!1&&"undefined"!=typeof
console&&console.warn&&console.warn("Deprecation
warning: "+a)}function C(a,b){var c=!0;return l(function(){return
null!=d.deprecationHandler&&d.deprecationHandler(null,a),c&&(B(a+"\nArguments:
"+Array.prototype.slice.call(arguments).join(",
")+"\n"+(new
Error).stack),c=!1),b.apply(this,arguments)},b)}function
E(a,b){null!=d.deprecationHandler&&d.deprecationHandler(a,b),D[a]||(B(b),D[a]=!0)}function
F(a){return a instanceof Function||"[object
Function]"===Object.prototype.toString.call(a)}function G(a){var
b,c;for(c in
a)b=a[c],F(b)?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new
RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function
H(a,b){var d,c=l({},a);for(d in
b)k(b,d)&&(g(a[d])&&g(b[d])?(c[d]={},l(c[d],a[d]),l(c[d],b[d])):null!=b[d]?c[d]=b[d]:delete
c[d]);for(d in
a)k(a,d)&&!k(b,d)&&g(a[d])&&(c[d]=l({},c[d]));return
c}function I(a){null!=a&&this.set(a)}function L(a,b,c){var
d=this._calendar[a]||this._calendar.sameElse;return
F(d)?d.call(b,c):d}function N(a){var
b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return
b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return
a.slice(1)}),this._longDateFormat[a])}function P(){return
this._invalidDate}function S(a){return
this._ordinal.replace("%d",a)}function U(a,b,c,d){var
e=this._relativeTime[c];return F(e)?e(a,b,c,d):e.replace(/%d/i,a)}function
V(a,b){var
c=this._relativeTime[a>0?"future":"past"];return
F(c)?c(b):c.replace(/%s/i,b)}function X(a,b){var
c=a.toLowerCase();W[c]=W[c+"s"]=W[b]=a}function
Y(a){return"string"==typeof a?W[a]||W[a.toLowerCase()]:void
0}function Z(a){var c,d,b={};for(d in
a)k(a,d)&&(c=Y(d),c&&(b[c]=a[d]));return b}function
_(a,b){$[a]=b}function aa(a){var b=[];for(var c in
a)b.push({unit:c,priority:$[c]});return b.sort(function(a,b){return
a.priority-b.priority}),b}function ba(a,b){return function(c){return
null!=c?(da(this,a,c),d.updateOffset(this,b),this):ca(this,a)}}function
ca(a,b){return
a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function
da(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function
ea(a){return a=Y(a),F(this[a])?this[a]():this}function
fa(a,b){if("object"==typeof a){a=Z(a);for(var
c=aa(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else
if(a=Y(a),F(this[a]))return this[a](b);return this}function ga(a,b,c){var
d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function
la(a,b,c,d){var e=d;"string"==typeof
d&&(e=function(){return
this[d]()}),a&&(ka[a]=e),b&&(ka[b[0]]=function(){return
ga(e.apply(this,arguments),b[1],b[2])}),c&&(ka[c]=function(){return
this.localeData().ordinal(e.apply(this,arguments),a)})}function
ma(a){return
a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function
na(a){var
c,d,b=a.match(ha);for(c=0,d=b.length;c<d;c++)ka[b[c]]?b[c]=ka[b[c]]:b[c]=ma(b[c]);return
function(c){var f,e="";for(f=0;f<d;f++)e+=b[f]instanceof
Function?b[f].call(c,a):b[f];return e}}function oa(a,b){return
a.isValid()?(b=pa(b,a.localeData()),ja[b]=ja[b]||na(b),ja[b](a)):a.localeData().invalidDate()}function
pa(a,b){function d(a){return b.longDateFormat(a)||a}var
c=5;for(ia.lastIndex=0;c>=0&&ia.test(a);)a=a.replace(ia,d),ia.lastIndex=0,c-=1;return
a}function Ia(a,b,c){Ha[a]=F(b)?b:function(a,d){return
a&&c?c:b}}function Ja(a,b){return
k(Ha,a)?Ha[a](b._strict,b._locale):new RegExp(Ka(a))}function Ka(a){return
La(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return
b||c||d||e}))}function La(a){return
a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function
Na(a,b){var c,d=b;for("string"==typeof
a&&(a=[a]),"number"==typeof
b&&(d=function(a,c){c[b]=z(a)}),c=0;c<a.length;c++)Ma[a[c]]=d}function
Oa(a,b){Na(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function
Pa(a,b,c){null!=b&&k(Ma,a)&&Ma[a](b,c._a,c,a)}function
$a(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function
bb(a,b){return
f(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||_a).test(b)?"format":"standalone"][a.month()]}function
db(a,b){return
f(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[_a.test(b)?"format":"standalone"][a.month()]}function
eb(a,b,c){var
d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=m([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return
c?"MMM"===b?(e=Za.call(this._shortMonthsParse,g),e!==-1?e:null):(e=Za.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=Za.call(this._shortMonthsParse,g),e!==-1?e:(e=Za.call(this._longMonthsParse,g),e!==-1?e:null)):(e=Za.call(this._longMonthsParse,g),e!==-1?e:(e=Za.call(this._shortMonthsParse,g),e!==-1?e:null))}function
fb(a,b,c){var d,e,f;if(this._monthsParseExact)return
eb.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=m([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new
RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new
RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new
RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return
d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return
d;if(!c&&this._monthsParse[d].test(a))return d}}function
gb(a,b){var c;if(!a.isValid())return a;if("string"==typeof
b)if(/^\d+$/.test(b))b=z(b);else
if(b=a.localeData().monthsParse(b),"number"!=typeof b)return
a;return
c=Math.min(a.date(),$a(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function
hb(a){return
null!=a?(gb(this,a),d.updateOffset(this,!0),this):ca(this,"Month")}function
ib(){return $a(this.year(),this.month())}function kb(a){return
this._monthsParseExact?(k(this,"_monthsRegex")||nb.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=jb),
this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function
mb(a){return
this._monthsParseExact?(k(this,"_monthsRegex")||nb.call(this),a?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=lb),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function
nb(){function a(a,b){return b.length-a.length}var
e,f,b=[],c=[],d=[];for(e=0;e<12;e++)f=m([2e3,e]),b.push(this.monthsShort(f,"")),c.push(this.months(f,"")),d.push(this.months(f,"")),d.push(this.monthsShort(f,""));for(b.sort(a),c.sort(a),d.sort(a),e=0;e<12;e++)b[e]=La(b[e]),c[e]=La(c[e]);for(e=0;e<24;e++)d[e]=La(d[e]);this._monthsRegex=new
RegExp("^("+d.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new
RegExp("^("+c.join("|")+")","i"),this._monthsShortStrictRegex=new
RegExp("^("+b.join("|")+")","i")}function
ob(a){return pb(a)?366:365}function pb(a){return
a%4===0&&a%100!==0||a%400===0}function rb(){return
pb(this.year())}function sb(a,b,c,d,e,f,g){var h=new
Date(a,b,c,d,e,f,g);return
a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function
tb(a){var b=new Date(Date.UTC.apply(null,arguments));return
a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function
ub(a,b,c){var d=7+b-c,e=(7+tb(a,0,d).getUTCDay()-b)%7;return-e+d-1}function
vb(a,b,c,d,e){var i,j,f=(7+c-d)%7,g=ub(a,d,e),h=1+7*(b-1)+f+g;return
h<=0?(i=a-1,j=ob(i)+h):h>ob(a)?(i=a+1,j=h-ob(a)):(i=a,j=h),{year:i,dayOfYear:j}}function
wb(a,b,c){var
f,g,d=ub(a.year(),b,c),e=Math.floor((a.dayOfYear()-d-1)/7)+1;return
e<1?(g=a.year()-1,f=e+xb(g,b,c)):e>xb(a.year(),b,c)?(f=e-xb(a.year(),b,c),g=a.year()+1):(g=a.year(),f=e),{week:f,year:g}}function
xb(a,b,c){var d=ub(a,b,c),e=ub(a+1,b,c);return(ob(a)-d+e)/7}function
yb(a){return wb(a,this._week.dow,this._week.doy).week}function Ab(){return
this._week.dow}function Bb(){return this._week.doy}function Cb(a){var
b=this.localeData().week(this);return
null==a?b:this.add(7*(a-b),"d")}function Db(a){var
b=wb(this,1,4).week;return
null==a?b:this.add(7*(a-b),"d")}function
Eb(a,b){return"string"!=typeof
a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof
a?a:null):parseInt(a,10)}function Fb(a,b){return"string"==typeof
a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Hb(a,b){return
f(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]}function
Jb(a){return this._weekdaysShort[a.day()]}function Lb(a){return
this._weekdaysMin[a.day()]}function Mb(a,b,c){var
d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=m([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return
c?"dddd"===b?(e=Za.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=Za.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=Za.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=Za.call(this._weekdaysParse,g),e!==-1?e:(e=Za.call(this._shortWeekdaysParse,g),e!==-1?e:(e=Za.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=Za.call(this._shortWeekdaysParse,g),e!==-1?e:(e=Za.call(this._weekdaysParse,g),e!==-1?e:(e=Za.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=Za.call(this._minWeekdaysParse,g),e!==-1?e:(e=Za.call(this._weekdaysParse,g),e!==-1?e:(e=Za.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function
Nb(a,b,c){var d,e,f;if(this._weekdaysParseExact)return
Mb.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=m([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new
RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new
RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new
RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new
RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return
d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return
d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return
d;if(!c&&this._weekdaysParse[d].test(a))return d}}function
Ob(a){if(!this.isValid())return null!=a?this:NaN;var
b=this._isUTC?this._d.getUTCDay():this._d.getDay();return
null!=a?(a=Eb(a,this.localeData()),this.add(a-b,"d")):b}function
Pb(a){if(!this.isValid())return null!=a?this:NaN;var
b=(this.day()+7-this.localeData()._week.dow)%7;return
null==a?b:this.add(a-b,"d")}function
Qb(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var
b=Fb(a,this.localeData());return this.day(this.day()%7?b:b-7)}return
this.day()||7}function Sb(a){return
this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Xb.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Rb),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function
Ub(a){return
this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Xb.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tb),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function
Wb(a){return
this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Xb.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vb),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function
Xb(){function a(a,b){return b.length-a.length}var
f,g,h,i,j,b=[],c=[],d=[],e=[];for(f=0;f<7;f++)g=m([2e3,1]).day(f),h=this.weekdaysMin(g,""),i=this.weekdaysShort(g,""),j=this.weekdays(g,""),b.push(h),c.push(i),d.push(j),e.push(h),e.push(i),e.push(j);for(b.sort(a),c.sort(a),d.sort(a),e.sort(a),f=0;f<7;f++)c[f]=La(c[f]),d[f]=La(d[f]),e[f]=La(e[f]);this._weekdaysRegex=new
RegExp("^("+e.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new
RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new
RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new
RegExp("^("+b.join("|")+")","i")}function
Yb(){return this.hours()%12||12}function Zb(){return
this.hours()||24}function $b(a,b){la(a,0,0,function(){return
this.localeData().meridiem(this.hours(),this.minutes(),b)})}function
_b(a,b){return b._meridiemParse}function
ac(a){return"p"===(a+"").toLowerCase().charAt(0)}function
cc(a,b,c){return
a>11?c?"pm":"PM":c?"am":"AM"}function
hc(a){return
a?a.toLowerCase().replace("_","-"):a}function
ic(a){for(var
c,d,e,f,b=0;b<a.length;){for(f=hc(a[b]).split("-"),c=f.length,d=hc(a[b+1]),d=d?d.split("-"):null;c>0;){if(e=jc(f.slice(0,c).join("-")))return
e;if(d&&d.length>=c&&A(f,d,!0)>=c-1)break;c--}b++}return
null}function jc(a){var
d=null;if(!fc[a]&&"undefined"!=typeof
c&&c&&c.exports)try{d=gc._abbr,b("./locale/"+a),kc(d)}catch(a){}return
fc[a]}function kc(a,b){var c;return
a&&(c=s(b)?nc(a):lc(a,b),c&&(gc=c)),gc._abbr}function
lc(a,b){if(null!==b){var c=ec;return
b.abbr=a,null!=fc[a]?(E("defineLocaleOverride","use
moment.updateLocale(localeName, config) to change an existing locale.
moment.defineLocale(localeName, config) should only be used for creating a
new locale See http://momentjs.com/guides/#/warnings/define-locale/ for
more
info."),c=fc[a]._config):null!=b.parentLocale&&(null!=fc[b.parentLocale]?c=fc[b.parentLocale]._config:E("parentLocaleUndefined","specified
parentLocale is not defined yet. See
http://momentjs.com/guides/#/warnings/parent-locale/")),fc[a]=new
I(H(c,b)),kc(a),fc[a]}return delete fc[a],null}function
mc(a,b){if(null!=b){var
c,d=ec;null!=fc[a]&&(d=fc[a]._config),b=H(d,b),c=new
I(b),c.parentLocale=fc[a],fc[a]=c,kc(a)}else
null!=fc[a]&&(null!=fc[a].parentLocale?fc[a]=fc[a].parentLocale:null!=fc[a]&&delete
fc[a]);return fc[a]}function nc(a){var
b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return
gc;if(!f(a)){if(b=jc(a))return b;a=[a]}return ic(a)}function oc(){return
J(fc)}function pc(a){var b,c=a._a;return
c&&o(a).overflow===-2&&(b=c[Ra]<0||c[Ra]>11?Ra:c[Sa]<1||c[Sa]>$a(c[Qa],c[Ra])?Sa:c[Ta]<0||c[Ta]>24||24===c[Ta]&&(0!==c[Ua]||0!==c[Va]||0!==c[Wa])?Ta:c[Ua]<0||c[Ua]>59?Ua:c[Va]<0||c[Va]>59?Va:c[Wa]<0||c[Wa]>999?Wa:-1,o(a)._overflowDayOfYear&&(b<Qa||b>Sa)&&(b=Sa),o(a)._overflowWeeks&&b===-1&&(b=Xa),o(a)._overflowWeekday&&b===-1&&(b=Ya),o(a).overflow=b),a}function
wc(a){var
b,c,f,g,h,i,d=a._i,e=qc.exec(d)||rc.exec(d);if(e){for(o(a).iso=!0,b=0,c=tc.length;b<c;b++)if(tc[b][1].exec(e[1])){g=tc[b][0],f=tc[b][2]!==!1;break}if(null==g)return
void(a._isValid=!1);if(e[3]){for(b=0,c=uc.length;b<c;b++)if(uc[b][1].exec(e[3])){h=(e[2]||"
")+uc[b][0];break}if(null==h)return
void(a._isValid=!1)}if(!f&&null!=h)return
void(a._isValid=!1);if(e[4]){if(!sc.exec(e[4]))return
void(a._isValid=!1);i="Z"}a._f=g+(h||"")+(i||""),Cc(a)}else
a._isValid=!1}function xc(a){var b=vc.exec(a._i);return
null!==b?void(a._d=new
Date(+b[1])):(wc(a),void(a._isValid===!1&&(delete
a._isValid,d.createFromInputFallback(a))))}function yc(a,b,c){return
null!=a?a:null!=b?b:c}function zc(a){var b=new Date(d.now());return
a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function
Ac(a){var
b,c,e,f,d=[];if(!a._d){for(e=zc(a),a._w&&null==a._a[Sa]&&null==a._a[Ra]&&Bc(a),a._dayOfYear&&(f=yc(a._a[Qa],e[Qa]),a._dayOfYear>ob(f)&&(o(a)._overflowDayOfYear=!0),c=tb(f,0,a._dayOfYear),a._a[Ra]=c.getUTCMonth(),a._a[Sa]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=d[b]=e[b];for(;b<7;b++)a._a[b]=d[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[Ta]&&0===a._a[Ua]&&0===a._a[Va]&&0===a._a[Wa]&&(a._nextDay=!0,a._a[Ta]=0),a._d=(a._useUTC?tb:sb).apply(null,d),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Ta]=24)}}function
Bc(a){var
b,c,d,e,f,g,h,i;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=yc(b.GG,a._a[Qa],wb(Kc(),1,4).year),d=yc(b.W,1),e=yc(b.E,1),(e<1||e>7)&&(i=!0)):(f=a._locale._week.dow,g=a._locale._week.doy,c=yc(b.gg,a._a[Qa],wb(Kc(),f,g).year),d=yc(b.w,1),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f),d<1||d>xb(c,f,g)?o(a)._overflowWeeks=!0:null!=i?o(a)._overflowWeekday=!0:(h=vb(c,d,e,f,g),a._a[Qa]=h.year,a._dayOfYear=h.dayOfYear)}function
Cc(a){if(a._f===d.ISO_8601)return void wc(a);a._a=[],o(a).empty=!0;var
c,e,f,g,h,b=""+a._i,i=b.length,j=0;for(f=pa(a._f,a._locale).match(ha)||[],c=0;c<f.length;c++)g=f[c],e=(b.match(Ja(g,a))||[])[0],e&&(h=b.substr(0,b.indexOf(e)),h.length>0&&o(a).unusedInput.push(h),b=b.slice(b.indexOf(e)+e.length),j+=e.length),ka[g]?(e?o(a).empty=!1:o(a).unusedTokens.push(g),Pa(g,e,a)):a._strict&&!e&&o(a).unusedTokens.push(g);o(a).charsLeftOver=i-j,b.length>0&&o(a).unusedInput.push(b),a._a[Ta]<=12&&o(a).bigHour===!0&&a._a[Ta]>0&&(o(a).bigHour=void
0),o(a).parsedDateParts=a._a.slice(0),o(a).meridiem=a._meridiem,a._a[Ta]=Dc(a._locale,a._a[Ta],a._meridiem),Ac(a),pc(a)}function
Dc(a,b,c){var d;return
null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function
Ec(a){var b,c,d,e,f;if(0===a._f.length)return
o(a).invalidFormat=!0,void(a._d=new
Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=u({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],Cc(b),q(b)&&(f+=o(b).charsLeftOver,f+=10*o(b).unusedTokens.length,o(b).score=f,(null==d||f<d)&&(d=f,c=b));l(a,c||b)}function
Fc(a){if(!a._d){var
b=Z(a._i);a._a=j([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return
a&&parseInt(a,10)}),Ac(a)}}function Gc(a){var b=new
w(pc(Hc(a)));return
b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function
Hc(a){var b=a._i,c=a._f;return a._locale=a._locale||nc(a._l),null===b||void
0===c&&""===b?r({nullInput:!0}):("string"==typeof
b&&(a._i=b=a._locale.preparse(b)),x(b)?new
w(pc(b)):(f(c)?Ec(a):i(b)?a._d=b:c?Cc(a):Ic(a),q(a)||(a._d=null),a))}function
Ic(a){var b=a._i;void 0===b?a._d=new Date(d.now()):i(b)?a._d=new
Date(b.valueOf()):"string"==typeof
b?xc(a):f(b)?(a._a=j(b.slice(0),function(a){return
parseInt(a,10)}),Ac(a)):"object"==typeof
b?Fc(a):"number"==typeof b?a._d=new
Date(b):d.createFromInputFallback(a)}function Jc(a,b,c,d,e){var
i={};return"boolean"==typeof c&&(d=c,c=void
0),(g(a)&&h(a)||f(a)&&0===a.length)&&(a=void
0),i._isAMomentObject=!0,i._useUTC=i._isUTC=e,i._l=c,i._i=a,i._f=b,i._strict=d,Gc(i)}function
Kc(a,b,c,d){return Jc(a,b,c,d,!1)}function Nc(a,b){var
c,d;if(1===b.length&&f(b[0])&&(b=b[0]),!b.length)return
Kc();for(c=b[0],d=1;d<b.length;++d)b[d].isValid()&&!b[d][a](c)||(c=b[d]);return
c}function Oc(){var a=[].slice.call(arguments,0);return
Nc("isBefore",a)}function Pc(){var
a=[].slice.call(arguments,0);return Nc("isAfter",a)}function
Rc(a){var
b=Z(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=nc(),this._bubble()}function
Sc(a){return a instanceof Rc}function Tc(a,b){la(a,0,0,function(){var
a=this.utcOffset(),c="+";return
a<0&&(a=-a,c="-"),c+ga(~~(a/60),2)+b+ga(~~a%60,2)})}function
Vc(a,b){var
c=(b||"").match(a)||[],d=c[c.length-1]||[],e=(d+"").match(Uc)||["-",0,0],f=+(60*e[1])+z(e[2]);return"+"===e[0]?f:-f}function
Wc(a,b){var c,e;return
b._isUTC?(c=b.clone(),e=(x(a)||i(a)?a.valueOf():Kc(a).valueOf())-c.valueOf(),c._d.setTime(c._d.valueOf()+e),d.updateOffset(c,!1),c):Kc(a).local()}function
Xc(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function
Yc(a,b){var e,c=this._offset||0;return
this.isValid()?null!=a?("string"==typeof
a?a=Vc(Ea,a):Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(e=Xc(this)),this._offset=a,this._isUTC=!0,null!=e&&this.add(e,"m"),c!==a&&(!b||this._changeInProgress?pd(this,jd(a-c,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?c:Xc(this):null!=a?this:NaN}function
Zc(a,b){return null!=a?("string"!=typeof
a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function
$c(a){return this.utcOffset(0,a)}function _c(a){return
this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Xc(this),"m")),this}function
ad(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof
this._i&&this.utcOffset(Vc(Da,this._i)),this}function
bd(a){return!!this.isValid()&&(a=a?Kc(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function
cd(){return
this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function
dd(){if(!s(this._isDSTShifted))return this._isDSTShifted;var
a={};if(u(a,this),a=Hc(a),a._a){var
b=a._isUTC?m(a._a):Kc(a._a);this._isDSTShifted=this.isValid()&&A(a._a,b.toArray())>0}else
this._isDSTShifted=!1;return this._isDSTShifted}function
ed(){return!!this.isValid()&&!this._isUTC}function
fd(){return!!this.isValid()&&this._isUTC}function
gd(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function
jd(a,b){var e,f,g,c=a,d=null;return
Sc(a)?c={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof
a?(c={},b?c[b]=a:c.milliseconds=a):(d=hd.exec(a))?(e="-"===d[1]?-1:1,c={y:0,d:z(d[Sa])*e,h:z(d[Ta])*e,m:z(d[Ua])*e,s:z(d[Va])*e,ms:z(d[Wa])*e}):(d=id.exec(a))?(e="-"===d[1]?-1:1,c={y:kd(d[2],e),M:kd(d[3],e),w:kd(d[4],e),d:kd(d[5],e),h:kd(d[6],e),m:kd(d[7],e),s:kd(d[8],e)}):null==c?c={}:"object"==typeof
c&&("from"in c||"to"in
c)&&(g=md(Kc(c.from),Kc(c.to)),c={},c.ms=g.milliseconds,c.M=g.months),f=new
Rc(c),Sc(a)&&k(a,"_locale")&&(f._locale=a._locale),f}function
kd(a,b){var
c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function
ld(a,b){var c={milliseconds:0,months:0};return
c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function
md(a,b){var c;return
a.isValid()&&b.isValid()?(b=Wc(b,a),a.isBefore(b)?c=ld(a,b):(c=ld(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function
nd(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function
od(a,b){return function(c,d){var e,f;return
null===d||isNaN(+d)||(E(b,"moment()."+b+"(period, number) is
deprecated. Please use moment()."+b+"(number, period). See
http://momentjs.com/guides/#/warnings/add-inverted-param/ for more
info."),f=c,c=d,d=f),c="string"==typeof
c?+c:c,e=jd(c,d),pd(this,e,a),this}}function pd(a,b,c,e){var
f=b._milliseconds,g=nd(b._days),h=nd(b._months);a.isValid()&&(e=null==e||e,f&&a._d.setTime(a._d.valueOf()+f*c),g&&da(a,"Date",ca(a,"Date")+g*c),h&&gb(a,ca(a,"Month")+h*c),e&&d.updateOffset(a,g||h))}function
sd(a,b){var c=a.diff(b,"days",!0);return
c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function
td(a,b){var
c=a||Kc(),e=Wc(c,this).startOf("day"),f=d.calendarFormat(this,e)||"sameElse",g=b&&(F(b[f])?b[f].call(this,c):b[f]);return
this.format(g||this.localeData().calendar(f,this,Kc(c)))}function
ud(){return new w(this)}function vd(a,b){var
c=x(a)?a:Kc(a);return!(!this.isValid()||!c.isValid())&&(b=Y(s(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function
wd(a,b){var
c=x(a)?a:Kc(a);return!(!this.isValid()||!c.isValid())&&(b=Y(s(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function
xd(a,b,c,d){return
d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function
yd(a,b){var
d,c=x(a)?a:Kc(a);return!(!this.isValid()||!c.isValid())&&(b=Y(b||"millisecond"),"millisecond"===b?this.valueOf()===c.valueOf():(d=c.valueOf(),this.clone().startOf(b).valueOf()<=d&&d<=this.clone().endOf(b).valueOf()))}function
zd(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function Ad(a,b){return
this.isSame(a,b)||this.isBefore(a,b)}function Bd(a,b,c){var d,e,f,g;return
this.isValid()?(d=Wc(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=Y(b),"year"===b||"month"===b||"quarter"===b?(g=Cd(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:y(g)):NaN):NaN}function
Cd(a,b){var
e,f,c=12*(b.year()-a.year())+(b.month()-a.month()),d=a.clone().add(c,"months");return
b-d<0?(e=a.clone().add(c-1,"months"),f=(b-d)/(d-e)):(e=a.clone().add(c+1,"months"),f=(b-d)/(e-d)),-(c+f)||0}function
Dd(){return this.clone().locale("en").format("ddd MMM DD
YYYY HH:mm:ss [GMT]ZZ")}function Ed(){var a=this.clone().utc();return
0<a.year()&&a.year()<=9999?F(Date.prototype.toISOString)?this.toDate().toISOString():oa(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):oa(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function
Fd(a){a||(a=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var
b=oa(this,a);return this.localeData().postformat(b)}function Gd(a,b){return
this.isValid()&&(x(a)&&a.isValid()||Kc(a).isValid())?jd({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function
Hd(a){return this.from(Kc(),a)}function Id(a,b){return
this.isValid()&&(x(a)&&a.isValid()||Kc(a).isValid())?jd({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function
Jd(a){return this.to(Kc(),a)}function Kd(a){var b;return void
0===a?this._locale._abbr:(b=nc(a),null!=b&&(this._locale=b),this)}function
Md(){return this._locale}function
Nd(a){switch(a=Y(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function
Od(a){return a=Y(a),void
0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function
Pd(){return this._d.valueOf()-6e4*(this._offset||0)}function Qd(){return
Math.floor(this.valueOf()/1e3)}function Rd(){return new
Date(this.valueOf())}function Sd(){var
a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function
Td(){var
a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function
Ud(){return this.isValid()?this.toISOString():null}function Vd(){return
q(this)}function Wd(){return l({},o(this))}function Xd(){return
o(this).overflow}function
Yd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function
Zd(a,b){la(0,[a,a.length],0,b)}function $d(a){return
ce.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function
_d(a){return ce.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function
ae(){return xb(this.year(),1,4)}function be(){var
a=this.localeData()._week;return xb(this.year(),a.dow,a.doy)}function
ce(a,b,c,d,e){var f;return
null==a?wb(this,d,e).year:(f=xb(a,d,e),b>f&&(b=f),de.call(this,a,b,c,d,e))}function
de(a,b,c,d,e){var f=vb(a,b,c,d,e),g=tb(f.year,0,f.dayOfYear);return
this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function
ee(a){return
null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function
ge(a){var
b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return
null==a?b:this.add(a-b,"d")}function
ke(a,b){b[Wa]=z(1e3*("0."+a))}function me(){return
this._isUTC?"UTC":""}function ne(){return
this._isUTC?"Coordinated Universal Time":""}function
qe(a){return Kc(1e3*a)}function re(){return
Kc.apply(null,arguments).parseZone()}function se(a){return a}function
ue(a,b,c,d){var e=nc(),f=m().set(d,b);return e[c](f,a)}function
ve(a,b,c){if("number"==typeof a&&(b=a,a=void
0),a=a||"",null!=b)return ue(a,b,c,"month");var
d,e=[];for(d=0;d<12;d++)e[d]=ue(a,d,c,"month");return
e}function we(a,b,c,d){"boolean"==typeof
a?("number"==typeof b&&(c=b,b=void
0),b=b||""):(b=a,c=b,a=!1,"number"==typeof
b&&(c=b,b=void 0),b=b||"");var
e=nc(),f=a?e._week.dow:0;if(null!=c)return
ue(b,(c+f)%7,d,"day");var
g,h=[];for(g=0;g<7;g++)h[g]=ue(b,(g+f)%7,d,"day");return
h}function xe(a,b){return ve(a,b,"months")}function
ye(a,b){return ve(a,b,"monthsShort")}function ze(a,b,c){return
we(a,b,c,"weekdays")}function Ae(a,b,c){return
we(a,b,c,"weekdaysShort")}function Be(a,b,c){return
we(a,b,c,"weekdaysMin")}function De(){var a=this._data;return
this._milliseconds=Ce(this._milliseconds),this._days=Ce(this._days),this._months=Ce(this._months),a.milliseconds=Ce(a.milliseconds),a.seconds=Ce(a.seconds),a.minutes=Ce(a.minutes),a.hours=Ce(a.hours),a.months=Ce(a.months),a.years=Ce(a.years),this}function
Ee(a,b,c,d){var e=jd(b,c);return
a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function
Fe(a,b){return Ee(this,a,b,1)}function Ge(a,b){return
Ee(this,a,b,-1)}function He(a){return
a<0?Math.floor(a):Math.ceil(a)}function Ie(){var
e,f,g,h,i,a=this._milliseconds,b=this._days,c=this._months,d=this._data;return
a>=0&&b>=0&&c>=0||a<=0&&b<=0&&c<=0||(a+=864e5*He(Ke(c)+b),b=0,c=0),d.milliseconds=a%1e3,e=y(a/1e3),d.seconds=e%60,f=y(e/60),d.minutes=f%60,g=y(f/60),d.hours=g%24,b+=y(g/24),i=y(Je(b)),c+=i,b-=He(Ke(i)),h=y(c/12),c%=12,d.days=b,d.months=c,d.years=h,this}function
Je(a){return 4800*a/146097}function Ke(a){return 146097*a/4800}function
Le(a){var
b,c,d=this._milliseconds;if(a=Y(a),"month"===a||"year"===a)return
b=this._days+d/864e5,c=this._months+Je(b),"month"===a?c:c/12;switch(b=this._days+Math.round(Ke(this._months)),a){case"week":return
b/7+d/6048e5;case"day":return
b+d/864e5;case"hour":return
24*b+d/36e5;case"minute":return
1440*b+d/6e4;case"second":return
86400*b+d/1e3;case"millisecond":return
Math.floor(864e5*b)+d;default:throw new Error("Unknown unit
"+a)}}function Me(){return
this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12)}function
Ne(a){return function(){return this.as(a)}}function We(a){return
a=Y(a),this[a+"s"]()}function Xe(a){return function(){return
this._data[a]}}function df(){return y(this.days()/7)}function
gf(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function hf(a,b,c){var
d=jd(a).abs(),e=ef(d.as("s")),f=ef(d.as("m")),g=ef(d.as("h")),h=ef(d.as("d")),i=ef(d.as("M")),j=ef(d.as("y")),k=e<ff.s&&["s",e]||f<=1&&["m"]||f<ff.m&&["mm",f]||g<=1&&["h"]||g<ff.h&&["hh",g]||h<=1&&["d"]||h<ff.d&&["dd",h]||i<=1&&["M"]||i<ff.M&&["MM",i]||j<=1&&["y"]||["yy",j];return
k[2]=b,k[3]=+a>0,k[4]=c,gf.apply(null,k)}function jf(a){return void
0===a?ef:"function"==typeof a&&(ef=a,!0)}function
kf(a,b){return void 0!==ff[a]&&(void
0===b?ff[a]:(ff[a]=b,!0))}function lf(a){var
b=this.localeData(),c=hf(this,!a,b);return
a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function nf(){var
d,e,f,a=mf(this._milliseconds)/1e3,b=mf(this._days),c=mf(this._months);d=y(a/60),e=y(d/60),a%=60,d%=60,f=y(c/12),c%=12;var
g=f,h=c,i=b,j=e,k=d,l=a,m=this.asSeconds();return
m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var
a,p;p=Array.prototype.some?Array.prototype.some:function(a){for(var
b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in
b&&a.call(this,b[d],d,b))return!0;return!1};var
t=d.momentProperties=[],v=!1,D={};d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;var
J;J=Object.keys?Object.keys:function(a){var b,c=[];for(b in
a)k(a,b)&&c.push(b);return c};var Za,K={sameDay:"[Today at]
LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at]
LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd
[at] LT",sameElse:"L"},M={LTS:"h:mm:ss
A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D,
YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D,
YYYY h:mm A"},O="Invalid
date",Q="%d",R=/\d{1,2}/,T={future:"in
%s",past:"%s ago",s:"a few seconds",m:"a
minute",mm:"%d minutes",h:"an hour",hh:"%d
hours",d:"a day",dd:"%d days",M:"a
month",MM:"%d months",y:"a year",yy:"%d
years"},W={},$={},ha=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ia=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ja={},ka={},qa=/\d/,ra=/\d\d/,sa=/\d{3}/,ta=/\d{4}/,ua=/[+-]?\d{6}/,va=/\d\d?/,wa=/\d\d\d\d?/,xa=/\d\d\d\d\d\d?/,ya=/\d{1,3}/,za=/\d{1,4}/,Aa=/[+-]?\d{1,6}/,Ba=/\d+/,Ca=/[+-]?\d+/,Da=/Z|[+-]\d\d:?\d\d/gi,Ea=/Z|[+-]\d\d(?::?\d\d)?/gi,Fa=/[+-]?\d+(\.\d{1,3})?/,Ga=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ha={},Ma={},Qa=0,Ra=1,Sa=2,Ta=3,Ua=4,Va=5,Wa=6,Xa=7,Ya=8;Za=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var
b;for(b=0;b<this.length;++b)if(this[b]===a)return
b;return-1},la("M",["MM",2],"Mo",function(){return
this.month()+1}),la("MMM",0,0,function(a){return
this.localeData().monthsShort(this,a)}),la("MMMM",0,0,function(a){return
this.localeData().months(this,a)}),X("month","M"),_("month",8),Ia("M",va),Ia("MM",va,ra),Ia("MMM",function(a,b){return
b.monthsShortRegex(a)}),Ia("MMMM",function(a,b){return
b.monthsRegex(a)}),Na(["M","MM"],function(a,b){b[Ra]=z(a)-1}),Na(["MMM","MMMM"],function(a,b,c,d){var
e=c._locale.monthsParse(a,d,c._strict);null!=e?b[Ra]=e:o(c).invalidMonth=a});var
_a=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ab="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cb="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jb=Ga,lb=Ga;la("Y",0,0,function(){var
a=this.year();return
a<=9999?""+a:"+"+a}),la(0,["YY",2],0,function(){return
this.year()%100}),la(0,["YYYY",4],0,"year"),la(0,["YYYYY",5],0,"year"),la(0,["YYYYYY",6,!0],0,"year"),X("year","y"),_("year",1),Ia("Y",Ca),Ia("YY",va,ra),Ia("YYYY",za,ta),Ia("YYYYY",Aa,ua),Ia("YYYYYY",Aa,ua),Na(["YYYYY","YYYYYY"],Qa),Na("YYYY",function(a,b){b[Qa]=2===a.length?d.parseTwoDigitYear(a):z(a)}),Na("YY",function(a,b){b[Qa]=d.parseTwoDigitYear(a)}),Na("Y",function(a,b){b[Qa]=parseInt(a,10)}),d.parseTwoDigitYear=function(a){return
z(a)+(z(a)>68?1900:2e3)};var
qb=ba("FullYear",!0);la("w",["ww",2],"wo","week"),la("W",["WW",2],"Wo","isoWeek"),X("week","w"),X("isoWeek","W"),_("week",5),_("isoWeek",5),Ia("w",va),Ia("ww",va,ra),Ia("W",va),Ia("WW",va,ra),Oa(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=z(a)});var
zb={dow:0,doy:6};la("d",0,"do","day"),la("dd",0,0,function(a){return
this.localeData().weekdaysMin(this,a)}),la("ddd",0,0,function(a){return
this.localeData().weekdaysShort(this,a)}),la("dddd",0,0,function(a){return
this.localeData().weekdays(this,a)}),la("e",0,0,"weekday"),la("E",0,0,"isoWeekday"),X("day","d"),X("weekday","e"),X("isoWeekday","E"),_("day",11),_("weekday",11),_("isoWeekday",11),Ia("d",va),Ia("e",va),Ia("E",va),Ia("dd",function(a,b){return
b.weekdaysMinRegex(a)}),Ia("ddd",function(a,b){return
b.weekdaysShortRegex(a)}),Ia("dddd",function(a,b){return
b.weekdaysRegex(a)}),Oa(["dd","ddd","dddd"],function(a,b,c,d){var
e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:o(c).invalidWeekday=a}),Oa(["d","e","E"],function(a,b,c,d){b[d]=z(a)});var
Gb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ib="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rb=Ga,Tb=Ga,Vb=Ga;la("H",["HH",2],0,"hour"),la("h",["hh",2],0,Yb),la("k",["kk",2],0,Zb),la("hmm",0,0,function(){return""+Yb.apply(this)+ga(this.minutes(),2)}),la("hmmss",0,0,function(){return""+Yb.apply(this)+ga(this.minutes(),2)+ga(this.seconds(),2)}),la("Hmm",0,0,function(){return""+this.hours()+ga(this.minutes(),2)}),la("Hmmss",0,0,function(){return""+this.hours()+ga(this.minutes(),2)+ga(this.seconds(),2)}),$b("a",!0),$b("A",!1),X("hour","h"),_("hour",13),Ia("a",_b),Ia("A",_b),Ia("H",va),Ia("h",va),Ia("HH",va,ra),Ia("hh",va,ra),Ia("hmm",wa),Ia("hmmss",xa),Ia("Hmm",wa),Ia("Hmmss",xa),Na(["H","HH"],Ta),Na(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),Na(["h","hh"],function(a,b,c){b[Ta]=z(a),o(c).bigHour=!0}),Na("hmm",function(a,b,c){var
d=a.length-2;b[Ta]=z(a.substr(0,d)),b[Ua]=z(a.substr(d)),o(c).bigHour=!0}),Na("hmmss",function(a,b,c){var
d=a.length-4,e=a.length-2;b[Ta]=z(a.substr(0,d)),b[Ua]=z(a.substr(d,2)),b[Va]=z(a.substr(e)),o(c).bigHour=!0}),Na("Hmm",function(a,b,c){var
d=a.length-2;b[Ta]=z(a.substr(0,d)),b[Ua]=z(a.substr(d))}),Na("Hmmss",function(a,b,c){var
d=a.length-4,e=a.length-2;b[Ta]=z(a.substr(0,d)),b[Ua]=z(a.substr(d,2)),b[Va]=z(a.substr(e))});var
gc,bc=/[ap]\.?m?\.?/i,dc=ba("Hours",!0),ec={calendar:K,longDateFormat:M,invalidDate:O,ordinal:Q,ordinalParse:R,relativeTime:T,months:ab,monthsShort:cb,week:zb,weekdays:Gb,weekdaysMin:Kb,weekdaysShort:Ib,meridiemParse:bc},fc={},qc=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T|
)(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,rc=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T|
)(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,sc=/Z|[+-]\d\d(?::?\d\d)?/,tc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],uc=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vc=/^\/?Date\((\-?\d+)/i;
d.createFromInputFallback=C("moment construction falls back to js
Date. This is discouraged and will be removed in upcoming major release.
Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more
info.",function(a){a._d=new Date(a._i+(a._useUTC?"
UTC":""))}),d.ISO_8601=function(){};var
Lc=C("moment().min is deprecated, use moment.max instead.
http://momentjs.com/guides/#/warnings/min-max/",function(){var
a=Kc.apply(null,arguments);return
this.isValid()&&a.isValid()?a<this?this:a:r()}),Mc=C("moment().max
is deprecated, use moment.min instead.
http://momentjs.com/guides/#/warnings/min-max/",function(){var
a=Kc.apply(null,arguments);return
this.isValid()&&a.isValid()?a>this?this:a:r()}),Qc=function(){return
Date.now?Date.now():+new
Date};Tc("Z",":"),Tc("ZZ",""),Ia("Z",Ea),Ia("ZZ",Ea),Na(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Vc(Ea,a)});var
Uc=/([\+\-]|\d\d)/gi;d.updateOffset=function(){};var hd=/^(\-)?(?:(\d*)[.
])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,id=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;jd.fn=Rc.prototype;var
qd=od(1,"add"),rd=od(-1,"subtract");d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var
Ld=C("moment().lang() is deprecated. Instead, use
moment().localeData() to get the language configuration. Use
moment().locale() to change languages.",function(a){return void
0===a?this.localeData():this.locale(a)});la(0,["gg",2],0,function(){return
this.weekYear()%100}),la(0,["GG",2],0,function(){return
this.isoWeekYear()%100}),Zd("gggg","weekYear"),Zd("ggggg","weekYear"),Zd("GGGG","isoWeekYear"),Zd("GGGGG","isoWeekYear"),X("weekYear","gg"),X("isoWeekYear","GG"),_("weekYear",1),_("isoWeekYear",1),Ia("G",Ca),Ia("g",Ca),Ia("GG",va,ra),Ia("gg",va,ra),Ia("GGGG",za,ta),Ia("gggg",za,ta),Ia("GGGGG",Aa,ua),Ia("ggggg",Aa,ua),Oa(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=z(a)}),Oa(["gg","GG"],function(a,b,c,e){b[e]=d.parseTwoDigitYear(a)}),la("Q",0,"Qo","quarter"),X("quarter","Q"),_("quarter",7),Ia("Q",qa),Na("Q",function(a,b){b[Ra]=3*(z(a)-1)}),la("D",["DD",2],"Do","date"),X("date","D"),_("date",9),Ia("D",va),Ia("DD",va,ra),Ia("Do",function(a,b){return
a?b._ordinalParse:b._ordinalParseLenient}),Na(["D","DD"],Sa),Na("Do",function(a,b){b[Sa]=z(a.match(va)[0],10)});var
fe=ba("Date",!0);la("DDD",["DDDD",3],"DDDo","dayOfYear"),X("dayOfYear","DDD"),_("dayOfYear",4),Ia("DDD",ya),Ia("DDDD",sa),Na(["DDD","DDDD"],function(a,b,c){c._dayOfYear=z(a)}),la("m",["mm",2],0,"minute"),X("minute","m"),_("minute",14),Ia("m",va),Ia("mm",va,ra),Na(["m","mm"],Ua);var
he=ba("Minutes",!1);la("s",["ss",2],0,"second"),X("second","s"),_("second",15),Ia("s",va),Ia("ss",va,ra),Na(["s","ss"],Va);var
ie=ba("Seconds",!1);la("S",0,0,function(){return~~(this.millisecond()/100)}),la(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),la(0,["SSS",3],0,"millisecond"),la(0,["SSSS",4],0,function(){return
10*this.millisecond()}),la(0,["SSSSS",5],0,function(){return
100*this.millisecond()}),la(0,["SSSSSS",6],0,function(){return
1e3*this.millisecond()}),la(0,["SSSSSSS",7],0,function(){return
1e4*this.millisecond()}),la(0,["SSSSSSSS",8],0,function(){return
1e5*this.millisecond()}),la(0,["SSSSSSSSS",9],0,function(){return
1e6*this.millisecond()}),X("millisecond","ms"),_("millisecond",16),Ia("S",ya,qa),Ia("SS",ya,ra),Ia("SSS",ya,sa);var
je;for(je="SSSS";je.length<=9;je+="S")Ia(je,Ba);for(je="S";je.length<=9;je+="S")Na(je,ke);var
le=ba("Milliseconds",!1);la("z",0,0,"zoneAbbr"),la("zz",0,0,"zoneName");var
oe=w.prototype;oe.add=qd,oe.calendar=td,oe.clone=ud,oe.diff=Bd,oe.endOf=Od,oe.format=Fd,oe.from=Gd,oe.fromNow=Hd,oe.to=Id,oe.toNow=Jd,oe.get=ea,oe.invalidAt=Xd,oe.isAfter=vd,oe.isBefore=wd,oe.isBetween=xd,oe.isSame=yd,oe.isSameOrAfter=zd,oe.isSameOrBefore=Ad,oe.isValid=Vd,oe.lang=Ld,oe.locale=Kd,oe.localeData=Md,oe.max=Mc,oe.min=Lc,oe.parsingFlags=Wd,oe.set=fa,oe.startOf=Nd,oe.subtract=rd,oe.toArray=Sd,oe.toObject=Td,oe.toDate=Rd,oe.toISOString=Ed,oe.toJSON=Ud,oe.toString=Dd,oe.unix=Qd,oe.valueOf=Pd,oe.creationData=Yd,oe.year=qb,oe.isLeapYear=rb,oe.weekYear=$d,oe.isoWeekYear=_d,oe.quarter=oe.quarters=ee,oe.month=hb,oe.daysInMonth=ib,oe.week=oe.weeks=Cb,oe.isoWeek=oe.isoWeeks=Db,oe.weeksInYear=be,oe.isoWeeksInYear=ae,oe.date=fe,oe.day=oe.days=Ob,oe.weekday=Pb,oe.isoWeekday=Qb,oe.dayOfYear=ge,oe.hour=oe.hours=dc,oe.minute=oe.minutes=he,oe.second=oe.seconds=ie,oe.millisecond=oe.milliseconds=le,oe.utcOffset=Yc,oe.utc=$c,oe.local=_c,oe.parseZone=ad,oe.hasAlignedHourOffset=bd,oe.isDST=cd,oe.isLocal=ed,oe.isUtcOffset=fd,oe.isUtc=gd,oe.isUTC=gd,oe.zoneAbbr=me,oe.zoneName=ne,oe.dates=C("dates
accessor is deprecated. Use date
instead.",fe),oe.months=C("months accessor is deprecated. Use
month instead",hb),oe.years=C("years accessor is deprecated. Use
year instead",qb),oe.zone=C("moment().zone is deprecated, use
moment().utcOffset instead.
http://momentjs.com/guides/#/warnings/zone/",Zc),oe.isDSTShifted=C("isDSTShifted
is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for
more information",dd);var
pe=oe,te=I.prototype;te.calendar=L,te.longDateFormat=N,te.invalidDate=P,te.ordinal=S,te.preparse=se,te.postformat=se,te.relativeTime=U,te.pastFuture=V,te.set=G,te.months=bb,te.monthsShort=db,te.monthsParse=fb,te.monthsRegex=mb,te.monthsShortRegex=kb,te.week=yb,te.firstDayOfYear=Bb,te.firstDayOfWeek=Ab,te.weekdays=Hb,te.weekdaysMin=Lb,te.weekdaysShort=Jb,te.weekdaysParse=Nb,te.weekdaysRegex=Sb,te.weekdaysShortRegex=Ub,te.weekdaysMinRegex=Wb,te.isPM=ac,te.meridiem=cc,kc("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var
b=a%10,c=1===z(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return
a+c}}),d.lang=C("moment.lang is deprecated. Use moment.locale
instead.",kc),d.langData=C("moment.langData is deprecated. Use
moment.localeData instead.",nc);var
Ce=Math.abs,Oe=Ne("ms"),Pe=Ne("s"),Qe=Ne("m"),Re=Ne("h"),Se=Ne("d"),Te=Ne("w"),Ue=Ne("M"),Ve=Ne("y"),Ye=Xe("milliseconds"),Ze=Xe("seconds"),$e=Xe("minutes"),_e=Xe("hours"),af=Xe("days"),bf=Xe("months"),cf=Xe("years"),ef=Math.round,ff={s:45,m:45,h:22,d:26,M:11},mf=Math.abs,of=Rc.prototype;of.abs=De,of.add=Fe,of.subtract=Ge,of.as=Le,of.asMilliseconds=Oe,of.asSeconds=Pe,of.asMinutes=Qe,of.asHours=Re,of.asDays=Se,of.asWeeks=Te,of.asMonths=Ue,of.asYears=Ve,of.valueOf=Me,of._bubble=Ie,of.get=We,of.milliseconds=Ye,of.seconds=Ze,of.minutes=$e,of.hours=_e,of.days=af,of.weeks=df,of.months=bf,of.years=cf,of.humanize=lf,of.toISOString=nf,of.toString=nf,of.toJSON=nf,of.locale=Kd,of.localeData=Md,of.toIsoString=C("toIsoString()
is deprecated. Please use toISOString() instead (notice the
capitals)",nf),of.lang=Ld,la("X",0,0,"unix"),la("x",0,0,"valueOf"),Ia("x",Ca),Ia("X",Fa),Na("X",function(a,b,c){c._d=new
Date(1e3*parseFloat(a,10))}),Na("x",function(a,b,c){c._d=new
Date(z(a))}),d.version="2.14.1",e(Kc),d.fn=pe,d.min=Oc,d.max=Pc,d.now=Qc,d.utc=m,d.unix=qe,d.months=xe,d.isDate=i,d.locale=kc,d.invalid=r,d.duration=jd,d.isMoment=x,d.weekdays=ze,d.parseZone=re,d.localeData=nc,d.isDuration=Sc,d.monthsShort=ye,d.weekdaysMin=Be,d.defineLocale=lc,d.updateLocale=mc,d.locales=oc,d.weekdaysShort=Ae,d.normalizeUnits=Y,d.relativeTimeRounding=jf,d.relativeTimeThreshold=kf,d.calendarFormat=sd,d.prototype=pe;var
pf=d;return pf})},{}],7:[function(a,b,c){var
d=a(27)();a(26)(d),a(22)(d),a(25)(d),a(21)(d),a(23)(d),a(24)(d),a(28)(d),a(32)(d),a(30)(d),a(31)(d),a(33)(d),a(29)(d),a(34)(d),a(35)(d),a(36)(d),a(37)(d),a(38)(d),a(41)(d),a(39)(d),a(40)(d),a(42)(d),a(43)(d),a(44)(d),a(15)(d),a(16)(d),a(17)(d),a(18)(d),a(19)(d),a(20)(d),a(8)(d),a(9)(d),a(10)(d),a(11)(d),a(12)(d),a(13)(d),a(14)(d),window.Chart=b.exports=d},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,8:8,9:9}],8:[function(a,b,c){"use
strict";b.exports=function(a){a.Bar=function(b,c){return
c.type="bar",new a(b,c)}}},{}],9:[function(a,b,c){"use
strict";b.exports=function(a){a.Bubble=function(b,c){return
c.type="bubble",new a(b,c)}}},{}],10:[function(a,b,c){"use
strict";b.exports=function(a){a.Doughnut=function(b,c){return
c.type="doughnut",new a(b,c)}}},{}],11:[function(a,b,c){"use
strict";b.exports=function(a){a.Line=function(b,c){return
c.type="line",new a(b,c)}}},{}],12:[function(a,b,c){"use
strict";b.exports=function(a){a.PolarArea=function(b,c){return
c.type="polarArea",new
a(b,c)}}},{}],13:[function(a,b,c){"use
strict";b.exports=function(a){a.Radar=function(b,c){return
c.options=a.helpers.configMerge({aspectRatio:1},c.options),c.type="radar",new
a(b,c)}}},{}],14:[function(a,b,c){"use
strict";b.exports=function(a){var
b={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(a){return"("+a.xLabel+",
"+a.yLabel+")"}}}};a.defaults.scatter=b,a.controllers.scatter=a.controllers.line,a.Scatter=function(b,c){return
c.type="scatter",new a(b,c)}}},{}],15:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},a.controllers.bar=a.DatasetController.extend({dataElementType:a.elements.Rectangle,initialize:function(b,c){a.DatasetController.prototype.initialize.call(this,b,c),this.getMeta().bar=!0},getBarCount:function(){var
a=this,c=0;return b.each(a.chart.data.datasets,function(b,d){var
e=a.chart.getDatasetMeta(d);e.bar&&a.chart.isDatasetVisible(d)&&++c},a),c},update:function(a){var
c=this;b.each(c.getMeta().data,function(b,d){c.updateElement(b,d,a)},c)},updateElement:function(a,c,d){var
e=this,f=e.getMeta(),g=e.getScaleForId(f.xAxisID),h=e.getScaleForId(f.yAxisID),i=h.getBasePixel(),j=e.chart.options.elements.rectangle,k=a.custom||{},l=e.getDataset();b.extend(a,{_xScale:g,_yScale:h,_datasetIndex:e.index,_index:c,_model:{x:e.calculateBarX(c,e.index),y:d?i:e.calculateBarY(c,e.index),label:e.chart.data.labels[c],datasetLabel:l.label,base:d?i:e.calculateBarBase(e.index,c),width:e.calculateBarWidth(c),backgroundColor:k.backgroundColor?k.backgroundColor:b.getValueAtIndexOrDefault(l.backgroundColor,c,j.backgroundColor),borderSkipped:k.borderSkipped?k.borderSkipped:j.borderSkipped,borderColor:k.borderColor?k.borderColor:b.getValueAtIndexOrDefault(l.borderColor,c,j.borderColor),borderWidth:k.borderWidth?k.borderWidth:b.getValueAtIndexOrDefault(l.borderWidth,c,j.borderWidth)}}),a.pivot()},calculateBarBase:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.yAxisID),f=0;if(e.options.stacked){for(var
g=c.chart,h=g.data.datasets,i=Number(h[a].data[b]),j=0;j<a;j++){var
k=h[j],l=g.getDatasetMeta(j);if(l.bar&&l.yAxisID===e.id&&g.isDatasetVisible(j)){var
m=Number(k.data[b]);f+=i<0?Math.min(m,0):Math.max(m,0)}}return
e.getPixelForValue(f)}return e.getBasePixel()},getRuler:function(a){var
f,b=this,c=b.getMeta(),d=b.getScaleForId(c.xAxisID),e=b.getBarCount();f="category"===d.options.type?d.getPixelForTick(a+1)-d.getPixelForTick(a):d.width/d.ticks.length;var
g=f*d.options.categoryPercentage,h=(f-f*d.options.categoryPercentage)/2,i=g/e;if(d.ticks.length!==b.chart.data.labels.length){var
j=d.ticks.length/b.chart.data.labels.length;i*=j}var
k=i*d.options.barPercentage,l=i-i*d.options.barPercentage;return{datasetCount:e,tickWidth:f,categoryWidth:g,categorySpacing:h,fullBarWidth:i,barWidth:k,barSpacing:l}},calculateBarWidth:function(a){var
b=this.getScaleForId(this.getMeta().xAxisID);if(b.options.barThickness)return
b.options.barThickness;var c=this.getRuler(a);return
b.options.stacked?c.categoryWidth:c.barWidth},getBarIndex:function(a){var
c,d,b=0;for(d=0;d<a;++d)c=this.chart.getDatasetMeta(d),c.bar&&this.chart.isDatasetVisible(d)&&++b;return
b},calculateBarX:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.xAxisID),f=c.getBarIndex(b),g=c.getRuler(a),h=e.getPixelForValue(null,a,b,c.chart.isCombo);return
h-=c.chart.isCombo?g.tickWidth/2:0,e.options.stacked?h+g.categoryWidth/2+g.categorySpacing:h+g.barWidth/2+g.categorySpacing+g.barWidth*f+g.barSpacing/2+g.barSpacing*f},calculateBarY:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.yAxisID),f=Number(c.getDataset().data[a]);if(e.options.stacked){for(var
g=0,h=0,i=0;i<b;i++){var
j=c.chart.data.datasets[i],k=c.chart.getDatasetMeta(i);if(k.bar&&k.yAxisID===e.id&&c.chart.isDatasetVisible(i)){var
l=Number(j.data[a]);l<0?h+=l||0:g+=l||0}}return
f<0?e.getPixelForValue(h+f):e.getPixelForValue(g+f)}return
e.getPixelForValue(f)},draw:function(a){var
c=this,d=a||1;b.each(c.getMeta().data,function(a,b){var
e=c.getDataset().data[b];null===e||void
0===e||isNaN(e)||a.transition(d).draw()},c)},setHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a._index,e=a.custom||{},f=a._model;f.backgroundColor=e.hoverBackgroundColor?e.hoverBackgroundColor:b.getValueAtIndexOrDefault(c.hoverBackgroundColor,d,b.getHoverColor(f.backgroundColor)),f.borderColor=e.hoverBorderColor?e.hoverBorderColor:b.getValueAtIndexOrDefault(c.hoverBorderColor,d,b.getHoverColor(f.borderColor)),f.borderWidth=e.hoverBorderWidth?e.hoverBorderWidth:b.getValueAtIndexOrDefault(c.hoverBorderWidth,d,f.borderWidth)},removeHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a._index,e=a.custom||{},f=a._model,g=this.chart.options.elements.rectangle;f.backgroundColor=e.backgroundColor?e.backgroundColor:b.getValueAtIndexOrDefault(c.backgroundColor,d,g.backgroundColor),f.borderColor=e.borderColor?e.borderColor:b.getValueAtIndexOrDefault(c.borderColor,d,g.borderColor),f.borderWidth=e.borderWidth?e.borderWidth:b.getValueAtIndexOrDefault(c.borderWidth,d,g.borderWidth)}}),a.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(a,b){var
c="";return
a.length>0&&(a[0].yLabel?c=a[0].yLabel:b.labels.length>0&&a[0].index<b.labels.length&&(c=b.labels[a[0].index])),c},label:function(a,b){var
c=b.datasets[a.datasetIndex].label||"";return c+":
"+a.xLabel}}}},a.controllers.horizontalBar=a.controllers.bar.extend({updateElement:function(a,c,d){var
e=this,f=e.getMeta(),g=e.getScaleForId(f.xAxisID),h=e.getScaleForId(f.yAxisID),i=g.getBasePixel(),j=a.custom||{},k=e.getDataset(),l=e.chart.options.elements.rectangle;b.extend(a,{_xScale:g,_yScale:h,_datasetIndex:e.index,_index:c,_model:{x:d?i:e.calculateBarX(c,e.index),y:e.calculateBarY(c,e.index),label:e.chart.data.labels[c],datasetLabel:k.label,base:d?i:e.calculateBarBase(e.index,c),height:e.calculateBarHeight(c),backgroundColor:j.backgroundColor?j.backgroundColor:b.getValueAtIndexOrDefault(k.backgroundColor,c,l.backgroundColor),borderSkipped:j.borderSkipped?j.borderSkipped:l.borderSkipped,borderColor:j.borderColor?j.borderColor:b.getValueAtIndexOrDefault(k.borderColor,c,l.borderColor),borderWidth:j.borderWidth?j.borderWidth:b.getValueAtIndexOrDefault(k.borderWidth,c,l.borderWidth)},draw:function(){function
k(a){return h[(j+a)%4]}var
a=this._chart.ctx,b=this._view,c=b.height/2,d=b.y-c,e=b.y+c,f=b.base-(b.base-b.x),g=b.borderWidth/2;b.borderWidth&&(d+=g,e-=g,f+=g),a.beginPath(),a.fillStyle=b.backgroundColor,a.strokeStyle=b.borderColor,a.lineWidth=b.borderWidth;var
h=[[b.base,e],[b.base,d],[f,d],[f,e]],i=["bottom","left","top","right"],j=i.indexOf(b.borderSkipped,0);j===-1&&(j=0),a.moveTo.apply(a,k(0));for(var
l=1;l<4;l++)a.lineTo.apply(a,k(l));a.fill(),b.borderWidth&&a.stroke()},inRange:function(a,b){var
c=this._view,d=!1;return
c&&(d=c.x<c.base?b>=c.y-c.height/2&&b<=c.y+c.height/2&&a>=c.x&&a<=c.base:b>=c.y-c.height/2&&b<=c.y+c.height/2&&a>=c.base&&a<=c.x),d}}),a.pivot()},calculateBarBase:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.xAxisID),f=0;if(e.options.stacked){for(var
g=c.chart,h=g.data.datasets,i=Number(h[a].data[b]),j=0;j<a;j++){var
k=h[j],l=g.getDatasetMeta(j);if(l.bar&&l.xAxisID===e.id&&g.isDatasetVisible(j)){var
m=Number(k.data[b]);f+=i<0?Math.min(m,0):Math.max(m,0)}}return
e.getPixelForValue(f)}return e.getBasePixel()},getRuler:function(a){var
f,b=this,c=b.getMeta(),d=b.getScaleForId(c.yAxisID),e=b.getBarCount();f="category"===d.options.type?d.getPixelForTick(a+1)-d.getPixelForTick(a):d.width/d.ticks.length;var
g=f*d.options.categoryPercentage,h=(f-f*d.options.categoryPercentage)/2,i=g/e;if(d.ticks.length!==b.chart.data.labels.length){var
j=d.ticks.length/b.chart.data.labels.length;i*=j}var
k=i*d.options.barPercentage,l=i-i*d.options.barPercentage;return{datasetCount:e,tickHeight:f,categoryHeight:g,categorySpacing:h,fullBarHeight:i,barHeight:k,barSpacing:l}},calculateBarHeight:function(a){var
b=this,c=b.getScaleForId(b.getMeta().yAxisID);if(c.options.barThickness)return
c.options.barThickness;var d=b.getRuler(a);return
c.options.stacked?d.categoryHeight:d.barHeight},calculateBarX:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.xAxisID),f=Number(c.getDataset().data[a]);if(e.options.stacked){for(var
g=0,h=0,i=0;i<b;i++){var
j=c.chart.data.datasets[i],k=c.chart.getDatasetMeta(i);if(k.bar&&k.xAxisID===e.id&&c.chart.isDatasetVisible(i)){var
l=Number(j.data[a]);l<0?h+=l||0:g+=l||0}}return
f<0?e.getPixelForValue(h+f):e.getPixelForValue(g+f)}return
e.getPixelForValue(f)},calculateBarY:function(a,b){var
c=this,d=c.getMeta(),e=c.getScaleForId(d.yAxisID),f=c.getBarIndex(b),g=c.getRuler(a),h=e.getPixelForValue(null,a,b,c.chart.isCombo);return
h-=c.chart.isCombo?g.tickHeight/2:0,e.options.stacked?h+g.categoryHeight/2+g.categorySpacing:h+g.barHeight/2+g.categorySpacing+g.barHeight*f+g.barSpacing/2+g.barSpacing*f}})}},{}],16:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.bubble={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(a,b){var
c=b.datasets[a.datasetIndex].label||"",d=b.datasets[a.datasetIndex].data[a.index];return
c+": ("+d.x+", "+d.y+",
"+d.r+")"}}}},a.controllers.bubble=a.DatasetController.extend({dataElementType:a.elements.Point,update:function(a){var
c=this,d=c.getMeta(),e=d.data;b.each(e,function(b,d){c.updateElement(b,d,a)})},updateElement:function(c,d,e){var
f=this,g=f.getMeta(),h=f.getScaleForId(g.xAxisID),i=f.getScaleForId(g.yAxisID),j=c.custom||{},k=f.getDataset(),l=k.data[d],m=f.chart.options.elements.point,n=f.index;b.extend(c,{_xScale:h,_yScale:i,_datasetIndex:n,_index:d,_model:{x:e?h.getPixelForDecimal(.5):h.getPixelForValue("object"==typeof
l?l:NaN,d,n,f.chart.isCombo),y:e?i.getBasePixel():i.getPixelForValue(l,d,n),radius:e?0:j.radius?j.radius:f.getRadius(l),hitRadius:j.hitRadius?j.hitRadius:b.getValueAtIndexOrDefault(k.hitRadius,d,m.hitRadius)}}),a.DatasetController.prototype.removeHoverStyle.call(f,c,m);var
o=c._model;o.skip=j.skip?j.skip:isNaN(o.x)||isNaN(o.y),c.pivot()},getRadius:function(a){return
a.r||this.chart.options.elements.point.radius},setHoverStyle:function(c){var
d=this;a.DatasetController.prototype.setHoverStyle.call(d,c);var
e=d.chart.data.datasets[c._datasetIndex],f=c._index,g=c.custom||{},h=c._model;h.radius=g.hoverRadius?g.hoverRadius:b.getValueAtIndexOrDefault(e.hoverRadius,f,d.chart.options.elements.point.hoverRadius)+d.getRadius(e.data[f])},removeHoverStyle:function(b){var
c=this;a.DatasetController.prototype.removeHoverStyle.call(c,b,c.chart.options.elements.point);var
d=c.chart.data.datasets[b._datasetIndex].data[b._index],e=b.custom||{},f=b._model;f.radius=e.radius?e.radius:c.getRadius(d)}})}},{}],17:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=a.defaults;c.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(a){var
b=[];b.push('<ul
class="'+a.id+'-legend">');var
c=a.data,d=c.datasets,e=c.labels;if(d.length)for(var
f=0;f<d[0].data.length;++f)b.push('<li><span
style="background-color:'+d[0].backgroundColor[f]+'"></span>'),e[f]&&b.push(e[f]),b.push("</li>");return
b.push("</ul>"),b.join("")},legend:{labels:{generateLabels:function(a){var
c=a.data;return
c.labels.length&&c.datasets.length?c.labels.map(function(d,e){var
f=a.getDatasetMeta(0),g=c.datasets[0],h=f.data[e],i=h&&h.custom||{},j=b.getValueAtIndexOrDefault,k=a.options.elements.arc,l=i.backgroundColor?i.backgroundColor:j(g.backgroundColor,e,k.backgroundColor),m=i.borderColor?i.borderColor:j(g.borderColor,e,k.borderColor),n=i.borderWidth?i.borderWidth:j(g.borderWidth,e,k.borderWidth);return{text:d,fillStyle:l,strokeStyle:m,lineWidth:n,hidden:isNaN(g.data[e])||f.data[e].hidden,index:e}}):[]}},onClick:function(a,b){var
e,f,g,c=b.index,d=this.chart;for(e=0,f=(d.data.datasets||[]).length;e<f;++e)g=d.getDatasetMeta(e),g.data[c].hidden=!g.data[c].hidden;d.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(a,b){return
b.labels[a.index]+":
"+b.datasets[a.datasetIndex].data[a.index]}}}},c.pie=b.clone(c.doughnut),b.extend(c.pie,{cutoutPercentage:0}),a.controllers.doughnut=a.controllers.pie=a.DatasetController.extend({dataElementType:a.elements.Arc,linkScales:b.noop,getRingIndex:function(a){for(var
b=0,c=0;c<a;++c)this.chart.isDatasetVisible(c)&&++b;return
b},update:function(a){var
c=this,d=c.chart,e=d.chartArea,f=d.options,g=f.elements.arc,h=e.right-e.left-g.borderWidth,i=e.bottom-e.top-g.borderWidth,j=Math.min(h,i),k={x:0,y:0},l=c.getMeta(),m=f.cutoutPercentage,n=f.circumference;if(n<2*Math.PI){var
o=f.rotation%(2*Math.PI);o+=2*Math.PI*(o>=Math.PI?-1:o<-Math.PI?1:0);var
p=o+n,q={x:Math.cos(o),y:Math.sin(o)},r={x:Math.cos(p),y:Math.sin(p)},s=o<=0&&0<=p||o<=2*Math.PI&&2*Math.PI<=p,t=o<=.5*Math.PI&&.5*Math.PI<=p||o<=2.5*Math.PI&&2.5*Math.PI<=p,u=o<=-Math.PI&&-Math.PI<=p||o<=Math.PI&&Math.PI<=p,v=o<=.5*-Math.PI&&.5*-Math.PI<=p||o<=1.5*Math.PI&&1.5*Math.PI<=p,w=m/100,x={x:u?-1:Math.min(q.x*(q.x<0?1:w),r.x*(r.x<0?1:w)),y:v?-1:Math.min(q.y*(q.y<0?1:w),r.y*(r.y<0?1:w))},y={x:s?1:Math.max(q.x*(q.x>0?1:w),r.x*(r.x>0?1:w)),y:t?1:Math.max(q.y*(q.y>0?1:w),r.y*(r.y>0?1:w))},z={width:.5*(y.x-x.x),height:.5*(y.y-x.y)};j=Math.min(h/z.width,i/z.height),k={x:(y.x+x.x)*-.5,y:(y.y+x.y)*-.5}}d.borderWidth=c.getMaxBorderWidth(l.data),d.outerRadius=Math.max((j-d.borderWidth)/2,0),d.innerRadius=Math.max(m?d.outerRadius/100*m:1,0),d.radiusLength=(d.outerRadius-d.innerRadius)/d.getVisibleDatasetCount(),d.offsetX=k.x*d.outerRadius,d.offsetY=k.y*d.outerRadius,l.total=c.calculateTotal(),c.outerRadius=d.outerRadius-d.radiusLength*c.getRingIndex(c.index),c.innerRadius=c.outerRadius-d.radiusLength,b.each(l.data,function(b,d){c.updateElement(b,d,a)})},updateElement:function(a,c,d){var
e=this,f=e.chart,g=f.chartArea,h=f.options,i=h.animation,j=(g.left+g.right)/2,k=(g.top+g.bottom)/2,l=h.rotation,m=h.rotation,n=e.getDataset(),o=d&&i.animateRotate?0:a.hidden?0:e.calculateCircumference(n.data[c])*(h.circumference/(2*Math.PI)),p=d&&i.animateScale?0:e.innerRadius,q=d&&i.animateScale?0:e.outerRadius,r=b.getValueAtIndexOrDefault;b.extend(a,{_datasetIndex:e.index,_index:c,_model:{x:j+f.offsetX,y:k+f.offsetY,startAngle:l,endAngle:m,circumference:o,outerRadius:q,innerRadius:p,label:r(n.label,c,f.data.labels[c])}});var
s=a._model;this.removeHoverStyle(a),d&&i.animateRotate||(0===c?s.startAngle=h.rotation:s.startAngle=e.getMeta().data[c-1]._model.endAngle,s.endAngle=s.startAngle+s.circumference),a.pivot()},removeHoverStyle:function(b){a.DatasetController.prototype.removeHoverStyle.call(this,b,this.chart.options.elements.arc)},calculateTotal:function(){var
e,a=this.getDataset(),c=this.getMeta(),d=0;return
b.each(c.data,function(b,c){e=a.data[c],isNaN(e)||b.hidden||(d+=Math.abs(e))}),d},calculateCircumference:function(a){var
b=this.getMeta().total;return
b>0&&!isNaN(a)?2*Math.PI*(a/b):0},getMaxBorderWidth:function(a){for(var
e,f,b=0,c=this.index,d=a.length,g=0;g<d;g++)e=a[g]._model?a[g]._model.borderWidth:0,f=a[g]._chart?a[g]._chart.config.data.datasets[c].hoverBorderWidth:0,b=e>b?e:b,b=f>b?f:b;return
b}})}},{}],18:[function(a,b,c){"use
strict";b.exports=function(a){function c(a,c){return
b.getValueOrDefault(a.showLine,c.showLines)}var
b=a.helpers;a.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},a.controllers.line=a.DatasetController.extend({datasetElementType:a.elements.Line,dataElementType:a.elements.Point,addElementAndReset:function(b){var
d=this,e=d.chart.options,f=d.getMeta();a.DatasetController.prototype.addElementAndReset.call(d,b),c(d.getDataset(),e)&&0!==f.dataset._model.tension&&d.updateBezierControlPoints()},update:function(a){var
k,l,m,d=this,e=d.getMeta(),f=e.dataset,g=e.data||[],h=d.chart.options,i=h.elements.line,j=d.getScaleForId(e.yAxisID),n=d.getDataset(),o=c(n,h);for(o&&(m=f.custom||{},void
0!==n.tension&&void
0===n.lineTension&&(n.lineTension=n.tension),f._scale=j,f._datasetIndex=d.index,f._children=g,f._model={spanGaps:n.spanGaps?n.spanGaps:h.spanGaps,tension:m.tension?m.tension:b.getValueOrDefault(n.lineTension,i.tension),backgroundColor:m.backgroundColor?m.backgroundColor:n.backgroundColor||i.backgroundColor,borderWidth:m.borderWidth?m.borderWidth:n.borderWidth||i.borderWidth,borderColor:m.borderColor?m.borderColor:n.borderColor||i.borderColor,borderCapStyle:m.borderCapStyle?m.borderCapStyle:n.borderCapStyle||i.borderCapStyle,borderDash:m.borderDash?m.borderDash:n.borderDash||i.borderDash,borderDashOffset:m.borderDashOffset?m.borderDashOffset:n.borderDashOffset||i.borderDashOffset,borderJoinStyle:m.borderJoinStyle?m.borderJoinStyle:n.borderJoinStyle||i.borderJoinStyle,fill:m.fill?m.fill:void
0!==n.fill?n.fill:i.fill,steppedLine:m.steppedLine?m.steppedLine:b.getValueOrDefault(n.steppedLine,i.stepped),scaleTop:j.top,scaleBottom:j.bottom,scaleZero:j.getBasePixel()},f.pivot()),k=0,l=g.length;k<l;++k)d.updateElement(g[k],k,a);for(o&&0!==f._model.tension&&d.updateBezierControlPoints(),k=0,l=g.length;k<l;++k)g[k].pivot()},getPointBackgroundColor:function(a,c){var
d=this.chart.options.elements.point.backgroundColor,e=this.getDataset(),f=a.custom||{};return
f.backgroundColor?d=f.backgroundColor:e.pointBackgroundColor?d=b.getValueAtIndexOrDefault(e.pointBackgroundColor,c,d):e.backgroundColor&&(d=e.backgroundColor),d},getPointBorderColor:function(a,c){var
d=this.chart.options.elements.point.borderColor,e=this.getDataset(),f=a.custom||{};return
f.borderColor?d=f.borderColor:e.pointBorderColor?d=b.getValueAtIndexOrDefault(e.pointBorderColor,c,d):e.borderColor&&(d=e.borderColor),d},getPointBorderWidth:function(a,c){var
d=this.chart.options.elements.point.borderWidth,e=this.getDataset(),f=a.custom||{};return
f.borderWidth?d=f.borderWidth:e.pointBorderWidth?d=b.getValueAtIndexOrDefault(e.pointBorderWidth,c,d):e.borderWidth&&(d=e.borderWidth),d},updateElement:function(a,c,d){var
n,o,e=this,f=e.getMeta(),g=a.custom||{},h=e.getDataset(),i=e.index,j=h.data[c],k=e.getScaleForId(f.yAxisID),l=e.getScaleForId(f.xAxisID),m=e.chart.options.elements.point;void
0!==h.radius&&void
0===h.pointRadius&&(h.pointRadius=h.radius),void
0!==h.hitRadius&&void
0===h.pointHitRadius&&(h.pointHitRadius=h.hitRadius),n=l.getPixelForValue("object"==typeof
j?j:NaN,c,i,e.chart.isCombo),o=d?k.getBasePixel():e.calculatePointY(j,c,i),a._xScale=l,a._yScale=k,a._datasetIndex=i,a._index=c,a._model={x:n,y:o,skip:g.skip||isNaN(n)||isNaN(o),radius:g.radius||b.getValueAtIndexOrDefault(h.pointRadius,c,m.radius),pointStyle:g.pointStyle||b.getValueAtIndexOrDefault(h.pointStyle,c,m.pointStyle),backgroundColor:e.getPointBackgroundColor(a,c),borderColor:e.getPointBorderColor(a,c),borderWidth:e.getPointBorderWidth(a,c),tension:f.dataset._model?f.dataset._model.tension:0,steppedLine:!!f.dataset._model&&f.dataset._model.steppedLine,hitRadius:g.hitRadius||b.getValueAtIndexOrDefault(h.pointHitRadius,c,m.hitRadius)}},calculatePointY:function(a,b,c){var
j,k,l,d=this,e=d.chart,f=d.getMeta(),g=d.getScaleForId(f.yAxisID),h=0,i=0;if(g.options.stacked){for(j=0;j<c;j++)if(k=e.data.datasets[j],l=e.getDatasetMeta(j),"line"===l.type&&l.yAxisID===g.id&&e.isDatasetVisible(j)){var
m=Number(g.getRightValue(k.data[b]));m<0?i+=m||0:h+=m||0}var
n=Number(g.getRightValue(a));return
n<0?g.getPixelForValue(i+n):g.getPixelForValue(h+n)}return
g.getPixelForValue(a)},updateBezierControlPoints:function(){function
l(a,b,c){return k?Math.max(Math.min(a,c),b):a}var
f,g,h,i,j,a=this,c=a.getMeta(),d=a.chart.chartArea,e=(c.data||[]).filter(function(a){return!a._model.skip}),k=a.chart.options.elements.line.capBezierPoints;for(f=0,g=e.length;f<g;++f)h=e[f],i=h._model,j=b.splineCurve(b.previousItem(e,f)._model,i,b.nextItem(e,f)._model,c.dataset._model.tension),i.controlPointPreviousX=l(j.previous.x,d.left,d.right),i.controlPointPreviousY=l(j.previous.y,d.top,d.bottom),i.controlPointNextX=l(j.next.x,d.left,d.right),i.controlPointNextY=l(j.next.y,d.top,d.bottom)},draw:function(a){var
g,h,b=this,d=b.getMeta(),e=d.data||[],f=a||1;for(g=0,h=e.length;g<h;++g)e[g].transition(f);for(c(b.getDataset(),b.chart.options)&&d.dataset.transition(f).draw(),g=0,h=e.length;g<h;++g)e[g].draw()},setHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a._index,e=a.custom||{},f=a._model;f.radius=e.hoverRadius||b.getValueAtIndexOrDefault(c.pointHoverRadius,d,this.chart.options.elements.point.hoverRadius),f.backgroundColor=e.hoverBackgroundColor||b.getValueAtIndexOrDefault(c.pointHoverBackgroundColor,d,b.getHoverColor(f.backgroundColor)),f.borderColor=e.hoverBorderColor||b.getValueAtIndexOrDefault(c.pointHoverBorderColor,d,b.getHoverColor(f.borderColor)),f.borderWidth=e.hoverBorderWidth||b.getValueAtIndexOrDefault(c.pointHoverBorderWidth,d,f.borderWidth)},removeHoverStyle:function(a){var
c=this,d=c.chart.data.datasets[a._datasetIndex],e=a._index,f=a.custom||{},g=a._model;void
0!==d.radius&&void
0===d.pointRadius&&(d.pointRadius=d.radius),g.radius=f.radius||b.getValueAtIndexOrDefault(d.pointRadius,e,c.chart.options.elements.point.radius),g.backgroundColor=c.getPointBackgroundColor(a,e),g.borderColor=c.getPointBorderColor(a,e),g.borderWidth=c.getPointBorderWidth(a,e)}})}},{}],19:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0,ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,aspectRatio:1,legendCallback:function(a){var
b=[];b.push('<ul
class="'+a.id+'-legend">');var
c=a.data,d=c.datasets,e=c.labels;if(d.length)for(var
f=0;f<d[0].data.length;++f)b.push('<li><span
style="background-color:'+d[0].backgroundColor[f]+'">'),e[f]&&b.push(e[f]),b.push("</span></li>");return
b.push("</ul>"),b.join("")},legend:{labels:{generateLabels:function(a){var
c=a.data;return
c.labels.length&&c.datasets.length?c.labels.map(function(d,e){var
f=a.getDatasetMeta(0),g=c.datasets[0],h=f.data[e],i=h.custom||{},j=b.getValueAtIndexOrDefault,k=a.options.elements.arc,l=i.backgroundColor?i.backgroundColor:j(g.backgroundColor,e,k.backgroundColor),m=i.borderColor?i.borderColor:j(g.borderColor,e,k.borderColor),n=i.borderWidth?i.borderWidth:j(g.borderWidth,e,k.borderWidth);return{text:d,fillStyle:l,strokeStyle:m,lineWidth:n,hidden:isNaN(g.data[e])||f.data[e].hidden,index:e}}):[]}},onClick:function(a,b){var
e,f,g,c=b.index,d=this.chart;for(e=0,f=(d.data.datasets||[]).length;e<f;++e)g=d.getDatasetMeta(e),g.data[c].hidden=!g.data[c].hidden;d.update()}},tooltips:{callbacks:{title:function(){return""},label:function(a,b){return
b.labels[a.index]+":
"+a.yLabel}}}},a.controllers.polarArea=a.DatasetController.extend({dataElementType:a.elements.Arc,linkScales:b.noop,update:function(a){var
c=this,d=c.chart,e=d.chartArea,f=c.getMeta(),g=d.options,h=g.elements.arc,i=Math.min(e.right-e.left,e.bottom-e.top);
d.outerRadius=Math.max((i-h.borderWidth/2)/2,0),d.innerRadius=Math.max(g.cutoutPercentage?d.outerRadius/100*g.cutoutPercentage:1,0),d.radiusLength=(d.outerRadius-d.innerRadius)/d.getVisibleDatasetCount(),c.outerRadius=d.outerRadius-d.radiusLength*c.index,c.innerRadius=c.outerRadius-d.radiusLength,f.count=c.countVisibleElements(),b.each(f.data,function(b,d){c.updateElement(b,d,a)})},updateElement:function(a,c,d){for(var
e=this,f=e.chart,g=e.getDataset(),h=f.options,i=h.animation,j=f.scale,k=b.getValueAtIndexOrDefault,l=f.data.labels,m=e.calculateCircumference(g.data[c]),n=j.xCenter,o=j.yCenter,p=0,q=e.getMeta(),r=0;r<c;++r)isNaN(g.data[r])||q.data[r].hidden||++p;var
s=h.startAngle,t=a.hidden?0:j.getDistanceFromCenterForValue(g.data[c]),u=s+m*p,v=u+(a.hidden?0:m),w=i.animateScale?0:j.getDistanceFromCenterForValue(g.data[c]);b.extend(a,{_datasetIndex:e.index,_index:c,_scale:j,_model:{x:n,y:o,innerRadius:0,outerRadius:d?w:t,startAngle:d&&i.animateRotate?s:u,endAngle:d&&i.animateRotate?s:v,label:k(l,c,l[c])}}),e.removeHoverStyle(a),a.pivot()},removeHoverStyle:function(b){a.DatasetController.prototype.removeHoverStyle.call(this,b,this.chart.options.elements.arc)},countVisibleElements:function(){var
a=this.getDataset(),c=this.getMeta(),d=0;return
b.each(c.data,function(b,c){isNaN(a.data[c])||b.hidden||d++}),d},calculateCircumference:function(a){var
b=this.getMeta().count;return
b>0&&!isNaN(a)?2*Math.PI/b:0}})}},{}],20:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},a.controllers.radar=a.DatasetController.extend({datasetElementType:a.elements.Line,dataElementType:a.elements.Point,linkScales:b.noop,addElementAndReset:function(b){a.DatasetController.prototype.addElementAndReset.call(this,b),this.updateBezierControlPoints()},update:function(a){var
c=this,d=c.getMeta(),e=d.dataset,f=d.data,g=e.custom||{},h=c.getDataset(),i=c.chart.options.elements.line,j=c.chart.scale;void
0!==h.tension&&void
0===h.lineTension&&(h.lineTension=h.tension),b.extend(d.dataset,{_datasetIndex:c.index,_children:f,_loop:!0,_model:{tension:g.tension?g.tension:b.getValueOrDefault(h.lineTension,i.tension),backgroundColor:g.backgroundColor?g.backgroundColor:h.backgroundColor||i.backgroundColor,borderWidth:g.borderWidth?g.borderWidth:h.borderWidth||i.borderWidth,borderColor:g.borderColor?g.borderColor:h.borderColor||i.borderColor,fill:g.fill?g.fill:void
0!==h.fill?h.fill:i.fill,borderCapStyle:g.borderCapStyle?g.borderCapStyle:h.borderCapStyle||i.borderCapStyle,borderDash:g.borderDash?g.borderDash:h.borderDash||i.borderDash,borderDashOffset:g.borderDashOffset?g.borderDashOffset:h.borderDashOffset||i.borderDashOffset,borderJoinStyle:g.borderJoinStyle?g.borderJoinStyle:h.borderJoinStyle||i.borderJoinStyle,scaleTop:j.top,scaleBottom:j.bottom,scaleZero:j.getBasePosition()}}),d.dataset.pivot(),b.each(f,function(b,d){c.updateElement(b,d,a)},c),c.updateBezierControlPoints()},updateElement:function(a,c,d){var
e=this,f=a.custom||{},g=e.getDataset(),h=e.chart.scale,i=e.chart.options.elements.point,j=h.getPointPositionForValue(c,g.data[c]);b.extend(a,{_datasetIndex:e.index,_index:c,_scale:h,_model:{x:d?h.xCenter:j.x,y:d?h.yCenter:j.y,tension:f.tension?f.tension:b.getValueOrDefault(g.tension,e.chart.options.elements.line.tension),radius:f.radius?f.radius:b.getValueAtIndexOrDefault(g.pointRadius,c,i.radius),backgroundColor:f.backgroundColor?f.backgroundColor:b.getValueAtIndexOrDefault(g.pointBackgroundColor,c,i.backgroundColor),borderColor:f.borderColor?f.borderColor:b.getValueAtIndexOrDefault(g.pointBorderColor,c,i.borderColor),borderWidth:f.borderWidth?f.borderWidth:b.getValueAtIndexOrDefault(g.pointBorderWidth,c,i.borderWidth),pointStyle:f.pointStyle?f.pointStyle:b.getValueAtIndexOrDefault(g.pointStyle,c,i.pointStyle),hitRadius:f.hitRadius?f.hitRadius:b.getValueAtIndexOrDefault(g.hitRadius,c,i.hitRadius)}}),a._model.skip=f.skip?f.skip:isNaN(a._model.x)||isNaN(a._model.y)},updateBezierControlPoints:function(){var
a=this.chart.chartArea,c=this.getMeta();b.each(c.data,function(d,e){var
f=d._model,g=b.splineCurve(b.previousItem(c.data,e,!0)._model,f,b.nextItem(c.data,e,!0)._model,f.tension);f.controlPointPreviousX=Math.max(Math.min(g.previous.x,a.right),a.left),f.controlPointPreviousY=Math.max(Math.min(g.previous.y,a.bottom),a.top),f.controlPointNextX=Math.max(Math.min(g.next.x,a.right),a.left),f.controlPointNextY=Math.max(Math.min(g.next.y,a.bottom),a.top),d.pivot()})},draw:function(a){var
c=this.getMeta(),d=a||1;b.each(c.data,function(a){a.transition(d)}),c.dataset.transition(d).draw(),b.each(c.data,function(a){a.draw()})},setHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a.custom||{},e=a._index,f=a._model;f.radius=d.hoverRadius?d.hoverRadius:b.getValueAtIndexOrDefault(c.pointHoverRadius,e,this.chart.options.elements.point.hoverRadius),f.backgroundColor=d.hoverBackgroundColor?d.hoverBackgroundColor:b.getValueAtIndexOrDefault(c.pointHoverBackgroundColor,e,b.getHoverColor(f.backgroundColor)),f.borderColor=d.hoverBorderColor?d.hoverBorderColor:b.getValueAtIndexOrDefault(c.pointHoverBorderColor,e,b.getHoverColor(f.borderColor)),f.borderWidth=d.hoverBorderWidth?d.hoverBorderWidth:b.getValueAtIndexOrDefault(c.pointHoverBorderWidth,e,f.borderWidth)},removeHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a.custom||{},e=a._index,f=a._model,g=this.chart.options.elements.point;f.radius=d.radius?d.radius:b.getValueAtIndexOrDefault(c.radius,e,g.radius),f.backgroundColor=d.backgroundColor?d.backgroundColor:b.getValueAtIndexOrDefault(c.pointBackgroundColor,e,g.backgroundColor),f.borderColor=d.borderColor?d.borderColor:b.getValueAtIndexOrDefault(c.pointBorderColor,e,g.borderColor),f.borderWidth=d.borderWidth?d.borderWidth:b.getValueAtIndexOrDefault(c.pointBorderWidth,e,g.borderWidth)}})}},{}],21:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:b.noop,onComplete:b.noop},a.Animation=a.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),a.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(a,b,c,d){var
e=this;d||(a.animating=!0);for(var
f=0;f<e.animations.length;++f)if(e.animations[f].chartInstance===a)return
void(e.animations[f].animationObject=b);e.animations.push({chartInstance:a,animationObject:b}),1===e.animations.length&&e.requestAnimationFrame()},cancelAnimation:function(a){var
c=b.findIndex(this.animations,function(b){return
b.chartInstance===a});c!==-1&&(this.animations.splice(c,1),a.animating=!1)},requestAnimationFrame:function(){var
a=this;null===a.request&&(a.request=b.requestAnimFrame.call(window,function(){a.request=null,a.startDigest()}))},startDigest:function(){var
a=this,b=Date.now(),c=0;a.dropFrames>1&&(c=Math.floor(a.dropFrames),a.dropFrames=a.dropFrames%1);for(var
d=0;d<a.animations.length;)null===a.animations[d].animationObject.currentStep&&(a.animations[d].animationObject.currentStep=0),a.animations[d].animationObject.currentStep+=1+c,a.animations[d].animationObject.currentStep>a.animations[d].animationObject.numSteps&&(a.animations[d].animationObject.currentStep=a.animations[d].animationObject.numSteps),a.animations[d].animationObject.render(a.animations[d].chartInstance,a.animations[d].animationObject),a.animations[d].animationObject.onAnimationProgress&&a.animations[d].animationObject.onAnimationProgress.call&&a.animations[d].animationObject.onAnimationProgress.call(a.animations[d].chartInstance,a.animations[d]),a.animations[d].animationObject.currentStep===a.animations[d].animationObject.numSteps?(a.animations[d].animationObject.onAnimationComplete&&a.animations[d].animationObject.onAnimationComplete.call&&a.animations[d].animationObject.onAnimationComplete.call(a.animations[d].chartInstance,a.animations[d]),a.animations[d].chartInstance.animating=!1,a.animations.splice(d,1)):++d;var
e=Date.now(),f=(e-b)/a.frameDuration;a.dropFrames+=f,a.animations.length>0&&a.requestAnimationFrame()}}}},{}],22:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.canvasHelpers={};b.drawPoint=function(a,b,c,d,e){var
f,g,h,i,j,k;if("object"==typeof
b&&(f=b.toString(),"[object
HTMLImageElement]"===f||"[object
HTMLCanvasElement]"===f))return void
a.drawImage(b,d-b.width/2,e-b.height/2);if(!(isNaN(c)||c<=0)){switch(b){default:a.beginPath(),a.arc(d,e,c,0,2*Math.PI),a.closePath(),a.fill();break;case"triangle":a.beginPath(),g=3*c/Math.sqrt(3),j=g*Math.sqrt(3)/2,a.moveTo(d-g/2,e+j/3),a.lineTo(d+g/2,e+j/3),a.lineTo(d,e-2*j/3),a.closePath(),a.fill();break;case"rect":k=1/Math.SQRT2*c,a.beginPath(),a.fillRect(d-k,e-k,2*k,2*k),a.strokeRect(d-k,e-k,2*k,2*k);break;case"rectRot":k=1/Math.SQRT2*c,a.beginPath(),a.moveTo(d-k,e),a.lineTo(d,e+k),a.lineTo(d+k,e),a.lineTo(d,e-k),a.closePath(),a.fill();break;case"cross":a.beginPath(),a.moveTo(d,e+c),a.lineTo(d,e-c),a.moveTo(d-c,e),a.lineTo(d+c,e),a.closePath();break;case"crossRot":a.beginPath(),h=Math.cos(Math.PI/4)*c,i=Math.sin(Math.PI/4)*c,a.moveTo(d-h,e-i),a.lineTo(d+h,e+i),a.moveTo(d-h,e+i),a.lineTo(d+h,e-i),a.closePath();break;case"star":a.beginPath(),a.moveTo(d,e+c),a.lineTo(d,e-c),a.moveTo(d-c,e),a.lineTo(d+c,e),h=Math.cos(Math.PI/4)*c,i=Math.sin(Math.PI/4)*c,a.moveTo(d-h,e-i),a.lineTo(d+h,e+i),a.moveTo(d-h,e+i),a.lineTo(d+h,e-i),a.closePath();break;case"line":a.beginPath(),a.moveTo(d-c,e),a.lineTo(d+c,e),a.closePath();break;case"dash":a.beginPath(),a.moveTo(d,e),a.lineTo(d+c,e),a.closePath()}a.stroke()}}}},{}],23:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.types={},a.instances={},a.controllers={},a.Controller=function(c){return
this.chart=c,this.config=c.config,this.options=this.config.options=b.configMerge(a.defaults.global,a.defaults[this.config.type],this.config.options||{}),this.id=b.uid(),Object.defineProperty(this,"data",{get:function(){return
this.config.data}}),a.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},b.extend(a.Controller.prototype,{initialize:function(){var
b=this;return
a.plugins.notify("beforeInit",[b]),b.bindEvents(),b.ensureScalesHaveIDs(),b.buildOrUpdateControllers(),b.buildScales(),b.updateLayout(),b.resetElements(),b.initToolTip(),b.update(),a.plugins.notify("afterInit",[b]),b},clear:function(){return
b.clear(this.chart),this},stop:function(){return
a.animationService.cancelAnimation(this),this},resize:function(d){var
e=this,f=e.chart,g=f.canvas,h=b.getMaximumWidth(g),i=f.aspectRatio,j=e.options.maintainAspectRatio&&isNaN(i)===!1&&isFinite(i)&&0!==i?h/i:b.getMaximumHeight(g),k=f.width!==h||f.height!==j;if(!k)return
e;g.width=f.width=h,g.height=f.height=j,b.retinaScale(f);var
l={width:h,height:j};return
a.plugins.notify("resize",[e,l]),e.options.onResize&&e.options.onResize(e,l),d||(e.stop(),e.update(e.options.responsiveAnimationDuration)),e},ensureScalesHaveIDs:function(){var
a=this.options,c=a.scales||{},d=a.scale;b.each(c.xAxes,function(a,b){a.id=a.id||"x-axis-"+b}),b.each(c.yAxes,function(a,b){a.id=a.id||"y-axis-"+b}),d&&(d.id=d.id||"scale")},buildScales:function(){var
c=this,d=c.options,e=c.scales={},f=[];d.scales&&(f=f.concat((d.scales.xAxes||[]).map(function(a){return{options:a,dtype:"category"}}),(d.scales.yAxes||[]).map(function(a){return{options:a,dtype:"linear"}}))),d.scale&&f.push({options:d.scale,dtype:"radialLinear",isDefault:!0}),b.each(f,function(d){var
f=d.options,g=b.getValueOrDefault(f.type,d.dtype),h=a.scaleService.getScaleConstructor(g);if(h){var
i=new
h({id:f.id,options:f,ctx:c.chart.ctx,chart:c});e[i.id]=i,d.isDefault&&(c.scale=i)}}),a.scaleService.addScalesToLayout(this)},updateLayout:function(){a.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var
c=this,d=[],e=[];if(b.each(c.data.datasets,function(b,f){var
g=c.getDatasetMeta(f);g.type||(g.type=b.type||c.config.type),d.push(g.type),g.controller?g.controller.updateIndex(f):(g.controller=new
a.controllers[g.type](c,f),e.push(g.controller))},c),d.length>1)for(var
f=1;f<d.length;f++)if(d[f]!==d[f-1]){c.isCombo=!0;break}return
e},resetElements:function(){var
a=this;b.each(a.data.datasets,function(b,c){a.getDatasetMeta(c).controller.reset()},a)},update:function(d,e){var
f=this;a.plugins.notify("beforeUpdate",[f]),f.tooltip._data=f.data;var
g=f.buildOrUpdateControllers();b.each(f.data.datasets,function(a,b){f.getDatasetMeta(b).controller.buildOrUpdateElements()},f),a.layoutService.update(f,f.chart.width,f.chart.height),a.plugins.notify("afterScaleUpdate",[f]),b.each(g,function(a){a.reset()}),f.updateDatasets(),a.plugins.notify("afterUpdate",[f]),f.render(d,e)},updateDatasets:function(){var
c,d,b=this;if(a.plugins.notify("beforeDatasetsUpdate",[b])){for(c=0,d=b.data.datasets.length;c<d;++c)b.getDatasetMeta(c).controller.update();a.plugins.notify("afterDatasetsUpdate",[b])}},render:function(d,e){var
f=this;a.plugins.notify("beforeRender",[f]);var
g=f.options.animation;if(g&&("undefined"!=typeof
d&&0!==d||"undefined"==typeof
d&&0!==g.duration)){var h=new
a.Animation;h.numSteps=(d||g.duration)/16.66,h.easing=g.easing,h.render=function(a,c){var
d=b.easingEffects[c.easing],e=c.currentStep/c.numSteps,f=d(e);a.draw(f,e,c.currentStep)},h.onAnimationProgress=g.onProgress,h.onAnimationComplete=g.onComplete,a.animationService.addAnimation(f,h,d,e)}else
f.draw(),g&&g.onComplete&&g.onComplete.call&&g.onComplete.call(f);return
f},draw:function(c){var
d=this,e=c||1;d.clear(),a.plugins.notify("beforeDraw",[d,e]),b.each(d.boxes,function(a){a.draw(d.chartArea)},d),d.scale&&d.scale.draw(),a.plugins.notify("beforeDatasetsDraw",[d,e]),b.each(d.data.datasets,function(a,b){d.isDatasetVisible(b)&&d.getDatasetMeta(b).controller.draw(c)},d,!0),a.plugins.notify("afterDatasetsDraw",[d,e]),d.tooltip.transition(e).draw(),a.plugins.notify("afterDraw",[d,e])},getElementAtEvent:function(a){var
c=this,d=b.getRelativePosition(a,c.chart),e=[];return
b.each(c.data.datasets,function(a,f){if(c.isDatasetVisible(f)){var
g=c.getDatasetMeta(f);b.each(g.data,function(a){if(a.inRange(d.x,d.y))return
e.push(a),e})}}),e.slice(0,1)},getElementsAtEvent:function(a){var
c=this,d=b.getRelativePosition(a,c.chart),e=[],f=function(){if(c.data.datasets)for(var
a=0;a<c.data.datasets.length;a++){var
b=c.getDatasetMeta(a);if(c.isDatasetVisible(a))for(var
e=0;e<b.data.length;e++)if(b.data[e].inRange(d.x,d.y))return
b.data[e]}}.call(c);return
f?(b.each(c.data.datasets,function(a,b){if(c.isDatasetVisible(b)){var
d=c.getDatasetMeta(b),g=d.data[f._index];g&&!g._view.skip&&e.push(g)}},c),e):e},getElementsAtXAxis:function(a){var
c=this,d=b.getRelativePosition(a,c.chart),e=[],f=function(){if(c.data.datasets)for(var
a=0;a<c.data.datasets.length;a++){var
b=c.getDatasetMeta(a);if(c.isDatasetVisible(a))for(var
e=0;e<b.data.length;e++)if(b.data[e].inLabelRange(d.x,d.y))return
b.data[e]}}.call(c);return
f?(b.each(c.data.datasets,function(a,d){if(c.isDatasetVisible(d)){var
g=c.getDatasetMeta(d),h=b.findIndex(g.data,function(a){return
f._model.x===a._model.x});h===-1||g.data[h]._view.skip||e.push(g.data[h])}},c),e):e},getElementsAtEventForMode:function(a,b){var
c=this;switch(b){case"single":return
c.getElementAtEvent(a);case"label":return
c.getElementsAtEvent(a);case"dataset":return
c.getDatasetAtEvent(a);case"x-axis":return
c.getElementsAtXAxis(a);default:return
a}},getDatasetAtEvent:function(a){var b=this.getElementAtEvent(a);return
b.length>0&&(b=this.getDatasetMeta(b[0]._datasetIndex).data),b},getDatasetMeta:function(a){var
b=this,c=b.data.datasets[a];c._meta||(c._meta={});var
d=c._meta[b.id];return
d||(d=c._meta[b.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),d},getVisibleDatasetCount:function(){for(var
a=0,b=0,c=this.data.datasets.length;b<c;++b)this.isDatasetVisible(b)&&a++;return
a},isDatasetVisible:function(a){var
b=this.getDatasetMeta(a);return"boolean"==typeof
b.hidden?!b.hidden:!this.data.datasets[a].hidden},generateLegend:function(){return
this.options.legendCallback(this)},destroy:function(){var
c=this;c.stop(),c.clear(),b.unbindEvents(c,c.events),b.removeResizeListener(c.chart.canvas.parentNode);var
d=c.chart.canvas;d.width=c.chart.width,d.height=c.chart.height,void
0!==c.chart.originalDevicePixelRatio&&c.chart.ctx.scale(1/c.chart.originalDevicePixelRatio,1/c.chart.originalDevicePixelRatio),d.style.width=c.chart.originalCanvasStyleWidth,d.style.height=c.chart.originalCanvasStyleHeight,a.plugins.notify("destroy",[c]),delete
a.instances[c.id]},toBase64Image:function(){return
this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){var
b=this;b.tooltip=new
a.Tooltip({_chart:b.chart,_chartInstance:b,_data:b.data,_options:b.options.tooltips},b)},bindEvents:function(){var
a=this;b.bindEvents(a,a.options.events,function(b){a.eventHandler(b)})},updateHoverStyle:function(a,b,c){var
e,f,g,d=c?"setHoverStyle":"removeHoverStyle";switch(b){case"single":a=[a[0]];break;case"label":case"dataset":case"x-axis":break;default:return}for(f=0,g=a.length;f<g;++f)e=a[f],e&&this.getDatasetMeta(e._datasetIndex).controller[d](e)},eventHandler:function(c){var
d=this,e=d.tooltip,f=d.options||{},g=f.hover,h=f.tooltips;return
d.lastActive=d.lastActive||[],d.lastTooltipActive=d.lastTooltipActive||[],"mouseout"===c.type?(d.active=[],d.tooltipActive=[]):(d.active=d.getElementsAtEventForMode(c,g.mode),d.tooltipActive=d.getElementsAtEventForMode(c,h.mode)),g.onHover&&g.onHover.call(d,d.active),"mouseup"!==c.type&&"click"!==c.type||(f.onClick&&f.onClick.call(d,c,d.active),d.legend&&d.legend.handleEvent&&d.legend.handleEvent(c)),d.lastActive.length&&d.updateHoverStyle(d.lastActive,g.mode,!1),d.active.length&&g.mode&&d.updateHoverStyle(d.active,g.mode,!0),(h.enabled||h.custom)&&(e.initialize(),e._active=d.tooltipActive,e.update(!0)),e.pivot(),d.animating||b.arrayEquals(d.active,d.lastActive)&&b.arrayEquals(d.tooltipActive,d.lastTooltipActive)||(d.stop(),(h.enabled||h.custom)&&e.update(!0),d.render(g.animationDuration,!0)),d.lastActive=d.active,d.lastTooltipActive=d.tooltipActive,d}})}},{}],24:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=b.noop;a.DatasetController=function(a,b){this.initialize.call(this,a,b)},b.extend(a.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(a,b){var
c=this;c.chart=a,c.index=b,c.linkScales(),c.addElements()},updateIndex:function(a){this.index=a},linkScales:function(){var
a=this,b=a.getMeta(),c=a.getDataset();null===b.xAxisID&&(b.xAxisID=c.xAxisID||a.chart.options.scales.xAxes[0].id),null===b.yAxisID&&(b.yAxisID=c.yAxisID||a.chart.options.scales.yAxes[0].id)},getDataset:function(){return
this.chart.data.datasets[this.index]},getMeta:function(){return
this.chart.getDatasetMeta(this.index)},getScaleForId:function(a){return
this.chart.scales[a]},reset:function(){this.update(!0)},createMetaDataset:function(){var
a=this,b=a.datasetElementType;return b&&new
b({_chart:a.chart.chart,_datasetIndex:a.index})},createMetaData:function(a){var
b=this,c=b.dataElementType;return c&&new
c({_chart:b.chart.chart,_datasetIndex:b.index,_index:a})},addElements:function(){var
e,f,a=this,b=a.getMeta(),c=a.getDataset().data||[],d=b.data;for(e=0,f=c.length;e<f;++e)d[e]=d[e]||a.createMetaData(b,e);b.dataset=b.dataset||a.createMetaDataset()},addElementAndReset:function(a){var
b=this,c=b.createMetaData(a);b.getMeta().data.splice(a,0,c),b.updateElement(c,a,!0)},buildOrUpdateElements:function(){var
a=this.getMeta(),b=a.data,c=this.getDataset().data.length,d=b.length;if(c<d)b.splice(c,d-c);else
if(c>d)for(var
e=d;e<c;++e)this.addElementAndReset(e)},update:c,draw:function(a){var
c=a||1;b.each(this.getMeta().data,function(a){a.transition(c).draw()})},removeHoverStyle:function(a,c){var
d=this.chart.data.datasets[a._datasetIndex],e=a._index,f=a.custom||{},g=b.getValueAtIndexOrDefault,h=a._model;h.backgroundColor=f.backgroundColor?f.backgroundColor:g(d.backgroundColor,e,c.backgroundColor),h.borderColor=f.borderColor?f.borderColor:g(d.borderColor,e,c.borderColor),h.borderWidth=f.borderWidth?f.borderWidth:g(d.borderWidth,e,c.borderWidth)},setHoverStyle:function(a){var
c=this.chart.data.datasets[a._datasetIndex],d=a._index,e=a.custom||{},f=b.getValueAtIndexOrDefault,g=b.getHoverColor,h=a._model;h.backgroundColor=e.hoverBackgroundColor?e.hoverBackgroundColor:f(c.hoverBackgroundColor,d,g(h.backgroundColor)),h.borderColor=e.hoverBorderColor?e.hoverBorderColor:f(c.hoverBorderColor,d,g(h.borderColor)),h.borderWidth=e.hoverBorderWidth?e.hoverBorderWidth:f(c.hoverBorderWidth,d,h.borderWidth)}}),a.DatasetController.extend=b.inherits}},{}],25:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.elements={},a.Element=function(a){b.extend(this,a),this.initialize.apply(this,arguments)},b.extend(a.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var
a=this;return
a._view||(a._view=b.clone(a._model)),a._start=b.clone(a._view),a},transition:function(a){var
c=this;return
c._view||(c._view=b.clone(c._model)),1===a?(c._view=c._model,c._start=null,c):(c._start||c.pivot(),b.each(c._model,function(d,e){if("_"===e[0]);else
if(c._view.hasOwnProperty(e))if(d===c._view[e]);else
if("string"==typeof d)try{var
f=b.color(c._model[e]).mix(b.color(c._start[e]),a);c._view[e]=f.rgbString()}catch(a){c._view[e]=d}else
if("number"==typeof d){var g=void
0!==c._start[e]&&isNaN(c._start[e])===!1?c._start[e]:0;c._view[e]=(c._model[e]-g)*a+g}else
c._view[e]=d;else"number"!=typeof
d||isNaN(c._view[e])?c._view[e]=d:c._view[e]=d*a},c),c)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return
b.isNumber(this._model.x)&&b.isNumber(this._model.y)}}),a.Element.extend=b.inherits}},{}],26:[function(a,b,c){"use
strict";var d=a(2);b.exports=function(a){function e(a,b,c){var
d;return"string"==typeof
a?(d=parseInt(a,10),a.indexOf("%")!=-1&&(d=d/100*b.parentNode[c])):d=a,d}function
f(a){return void
0!==a&&null!==a&&"none"!==a}function g(a,b,c){var
d=document.defaultView,g=a.parentNode,h=d.getComputedStyle(a)[b],i=d.getComputedStyle(g)[b],j=f(h),k=f(i),l=Number.POSITIVE_INFINITY;return
j||k?Math.min(j?e(h,a,c):l,k?e(i,g,c):l):"none"}var
b=a.helpers={};b.each=function(a,c,d,e){var
f,g;if(b.isArray(a))if(g=a.length,e)for(f=g-1;f>=0;f--)c.call(d,a[f],f);else
for(f=0;f<g;f++)c.call(d,a[f],f);else if("object"==typeof
a){var
h=Object.keys(a);for(g=h.length,f=0;f<g;f++)c.call(d,a[h[f]],h[f])}},b.clone=function(a){var
c={};return
b.each(a,function(a,d){b.isArray(a)?c[d]=a.slice(0):"object"==typeof
a&&null!==a?c[d]=b.clone(a):c[d]=a}),c},b.extend=function(a){for(var
c=function(b,c){a[c]=b},d=1,e=arguments.length;d<e;d++)b.each(arguments[d],c);return
a},b.configMerge=function(c){var d=b.clone(c);return
b.each(Array.prototype.slice.call(arguments,1),function(c){b.each(c,function(c,e){if("scales"===e)d[e]=b.scaleMerge(d.hasOwnProperty(e)?d[e]:{},c);else
if("scale"===e)d[e]=b.configMerge(d.hasOwnProperty(e)?d[e]:{},a.scaleService.getScaleDefaults(c.type),c);else
if(d.hasOwnProperty(e)&&b.isArray(d[e])&&b.isArray(c)){var
f=d[e];b.each(c,function(a,c){c<f.length?"object"==typeof
f[c]&&null!==f[c]&&"object"==typeof
a&&null!==a?f[c]=b.configMerge(f[c],a):f[c]=a:f.push(a)})}else
d.hasOwnProperty(e)&&"object"==typeof
d[e]&&null!==d[e]&&"object"==typeof
c?d[e]=b.configMerge(d[e],c):d[e]=c})}),d},b.scaleMerge=function(c,d){var
e=b.clone(c);return
b.each(d,function(c,d){"xAxes"===d||"yAxes"===d?e.hasOwnProperty(d)?b.each(c,function(c,f){var
g=b.getValueOrDefault(c.type,"xAxes"===d?"category":"linear"),h=a.scaleService.getScaleDefaults(g);f>=e[d].length||!e[d][f].type?e[d].push(b.configMerge(h,c)):c.type&&c.type!==e[d][f].type?e[d][f]=b.configMerge(e[d][f],h,c):e[d][f]=b.configMerge(e[d][f],c)}):(e[d]=[],b.each(c,function(c){var
f=b.getValueOrDefault(c.type,"xAxes"===d?"category":"linear");e[d].push(b.configMerge(a.scaleService.getScaleDefaults(f),c))})):e.hasOwnProperty(d)&&"object"==typeof
e[d]&&null!==e[d]&&"object"==typeof
c?e[d]=b.configMerge(e[d],c):e[d]=c}),e},b.getValueAtIndexOrDefault=function(a,c,d){return
void
0===a||null===a?d:b.isArray(a)?c<a.length?a[c]:d:a},b.getValueOrDefault=function(a,b){return
void 0===a?b:a},b.indexOf=Array.prototype.indexOf?function(a,b){return
a.indexOf(b)}:function(a,b){for(var
c=0,d=a.length;c<d;++c)if(a[c]===b)return
c;return-1},b.where=function(a,c){if(b.isArray(a)&&Array.prototype.filter)return
a.filter(c);var d=[];return
b.each(a,function(a){c(a)&&d.push(a)}),d},b.findIndex=Array.prototype.findIndex?function(a,b,c){return
a.findIndex(b,c)}:function(a,b,c){c=void 0===c?a:c;for(var
d=0,e=a.length;d<e;++d)if(b.call(c,a[d],d,a))return
d;return-1},b.findNextWhere=function(a,b,c){void
0!==c&&null!==c||(c=-1);for(var d=c+1;d<a.length;d++){var
e=a[d];if(b(e))return e}},b.findPreviousWhere=function(a,b,c){void
0!==c&&null!==c||(c=a.length);for(var d=c-1;d>=0;d--){var
e=a[d];if(b(e))return e}},b.inherits=function(a){var
c=this,d=a&&a.hasOwnProperty("constructor")?a.constructor:function(){return
c.apply(this,arguments)},e=function(){this.constructor=d};return
e.prototype=c.prototype,d.prototype=new
e,d.extend=b.inherits,a&&b.extend(d.prototype,a),d.__super__=c.prototype,d},b.noop=function(){},b.uid=function(){var
a=0;return function(){return
a++}}(),b.isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},b.almostEquals=function(a,b,c){return
Math.abs(a-b)<c},b.max=function(a){return a.reduce(function(a,b){return
isNaN(b)?a:Math.max(a,b)},Number.NEGATIVE_INFINITY)},b.min=function(a){return
a.reduce(function(a,b){return
isNaN(b)?a:Math.min(a,b)},Number.POSITIVE_INFINITY)},b.sign=Math.sign?function(a){return
Math.sign(a)}:function(a){return
a=+a,0===a||isNaN(a)?a:a>0?1:-1},b.log10=Math.log10?function(a){return
Math.log10(a)}:function(a){return
Math.log(a)/Math.LN10},b.toRadians=function(a){return
a*(Math.PI/180)},b.toDegrees=function(a){return
a*(180/Math.PI)},b.getAngleFromPoint=function(a,b){var
c=b.x-a.x,d=b.y-a.y,e=Math.sqrt(c*c+d*d),f=Math.atan2(d,c);return
f<-.5*Math.PI&&(f+=2*Math.PI),{angle:f,distance:e}},b.aliasPixel=function(a){return
a%2===0?0:.5},b.splineCurve=function(a,b,c,d){var
e=a.skip?b:a,f=b,g=c.skip?b:c,h=Math.sqrt(Math.pow(f.x-e.x,2)+Math.pow(f.y-e.y,2)),i=Math.sqrt(Math.pow(g.x-f.x,2)+Math.pow(g.y-f.y,2)),j=h/(h+i),k=i/(h+i);j=isNaN(j)?0:j,k=isNaN(k)?0:k;var
l=d*j,m=d*k;return{previous:{x:f.x-l*(g.x-e.x),y:f.y-l*(g.y-e.y)},next:{x:f.x+m*(g.x-e.x),y:f.y+m*(g.y-e.y)}}},b.nextItem=function(a,b,c){return
c?b>=a.length-1?a[0]:a[b+1]:b>=a.length-1?a[a.length-1]:a[b+1]},b.previousItem=function(a,b,c){return
c?b<=0?a[a.length-1]:a[b-1]:b<=0?a[0]:a[b-1]},b.niceNum=function(a,c){var
f,d=Math.floor(b.log10(a)),e=a/Math.pow(10,d);return
f=c?e<1.5?1:e<3?2:e<7?5:10:e<=1?1:e<=2?2:e<=5?5:10,f*Math.pow(10,d)};var
c=b.easingEffects={linear:function(a){return
a},easeInQuad:function(a){return
a*a},easeOutQuad:function(a){return-1*a*(a-2)},easeInOutQuad:function(a){return(a/=.5)<1?.5*a*a:-.5*(--a*(a-2)-1)},easeInCubic:function(a){return
a*a*a},easeOutCubic:function(a){return
1*((a=a/1-1)*a*a+1)},easeInOutCubic:function(a){return(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},easeInQuart:function(a){return
a*a*a*a},easeOutQuart:function(a){return-1*((a=a/1-1)*a*a*a-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)},easeInQuint:function(a){return
1*(a/=1)*a*a*a*a},easeOutQuint:function(a){return
1*((a=a/1-1)*a*a*a*a+1)},easeInOutQuint:function(a){return(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)},easeInSine:function(a){return-1*Math.cos(a/1*(Math.PI/2))+1},easeOutSine:function(a){return
1*Math.sin(a/1*(Math.PI/2))},easeInOutSine:function(a){return-.5*(Math.cos(Math.PI*a/1)-1)},easeInExpo:function(a){return
0===a?1:1*Math.pow(2,10*(a/1-1))},easeOutExpo:function(a){return
1===a?1:1*(-Math.pow(2,-10*a/1)+1)},easeInOutExpo:function(a){return
0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return
a>=1?a:-1*(Math.sqrt(1-(a/=1)*a)-1)},easeOutCirc:function(a){return
1*Math.sqrt(1-(a=a/1-1)*a)},easeInOutCirc:function(a){return(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeInElastic:function(a){var
b=1.70158,c=0,d=1;return
0===a?0:1===(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),-(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)))},easeOutElastic:function(a){var
b=1.70158,c=0,d=1;return
0===a?0:1===(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),d*Math.pow(2,-10*a)*Math.sin((1*a-b)*(2*Math.PI)/c)+1)},easeInOutElastic:function(a){var
b=1.70158,c=0,d=1;return
0===a?0:2===(a/=.5)?1:(c||(c=1*(.3*1.5)),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),a<1?-.5*(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)):d*Math.pow(2,-10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)*.5+1)},easeInBack:function(a){var
b=1.70158;return 1*(a/=1)*a*((b+1)*a-b)},easeOutBack:function(a){var
b=1.70158;return
1*((a=a/1-1)*a*((b+1)*a+b)+1)},easeInOutBack:function(a){var
b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},easeInBounce:function(a){return
1-c.easeOutBounce(1-a)},easeOutBounce:function(a){return(a/=1)<1/2.75?1*(7.5625*a*a):a<2/2.75?1*(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?1*(7.5625*(a-=2.25/2.75)*a+.9375):1*(7.5625*(a-=2.625/2.75)*a+.984375)},easeInOutBounce:function(a){return
a<.5?.5*c.easeInBounce(2*a):.5*c.easeOutBounce(2*a-1)+.5}};b.requestAnimFrame=function(){return
window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return
window.setTimeout(a,1e3/60)}}(),b.cancelAnimFrame=function(){return
window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(a){return
window.clearTimeout(a,1e3/60)}}(),b.getRelativePosition=function(a,c){var
d,e,f=a.originalEvent||a,g=a.currentTarget||a.srcElement,h=g.getBoundingClientRect(),i=f.touches;i&&i.length>0?(d=i[0].clientX,e=i[0].clientY):(d=f.clientX,e=f.clientY);var
j=parseFloat(b.getStyle(g,"padding-left")),k=parseFloat(b.getStyle(g,"padding-top")),l=parseFloat(b.getStyle(g,"padding-right")),m=parseFloat(b.getStyle(g,"padding-bottom")),n=h.right-h.left-j-l,o=h.bottom-h.top-k-m;return
d=Math.round((d-h.left-j)/n*g.width/c.currentDevicePixelRatio),e=Math.round((e-h.top-k)/o*g.height/c.currentDevicePixelRatio),{x:d,y:e}},b.addEvent=function(a,b,c){a.addEventListener?a.addEventListener(b,c):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c},b.removeEvent=function(a,c,d){a.removeEventListener?a.removeEventListener(c,d,!1):a.detachEvent?a.detachEvent("on"+c,d):a["on"+c]=b.noop},b.bindEvents=function(a,c,d){var
e=a.events=a.events||{};b.each(c,function(c){e[c]=function(){d.apply(a,arguments)},b.addEvent(a.chart.canvas,c,e[c])})},b.unbindEvents=function(a,c){var
d=a.chart.canvas;b.each(c,function(a,c){b.removeEvent(d,c,a)})},b.getConstraintWidth=function(a){return
g(a,"max-width","clientWidth")},b.getConstraintHeight=function(a){return
g(a,"max-height","clientHeight")},b.getMaximumWidth=function(a){var
c=a.parentNode,d=parseInt(b.getStyle(c,"padding-left"))+parseInt(b.getStyle(c,"padding-right")),e=c.clientWidth-d,f=b.getConstraintWidth(a);return
isNaN(f)?e:Math.min(e,f)},b.getMaximumHeight=function(a){var
c=a.parentNode,d=parseInt(b.getStyle(c,"padding-top"))+parseInt(b.getStyle(c,"padding-bottom")),e=c.clientHeight-d,f=b.getConstraintHeight(a);return
isNaN(f)?e:Math.min(e,f)},b.getStyle=function(a,b){return
a.currentStyle?a.currentStyle[b]:document.defaultView.getComputedStyle(a,null).getPropertyValue(b)},b.retinaScale=function(a){var
b=a.ctx,c=a.canvas,d=c.width,e=c.height,f=a.currentDevicePixelRatio=window.devicePixelRatio||1;1!==f&&(c.height=e*f,c.width=d*f,b.scale(f,f),a.originalDevicePixelRatio=a.originalDevicePixelRatio||f),c.style.width=d+"px",
c.style.height=e+"px"},b.clear=function(a){a.ctx.clearRect(0,0,a.width,a.height)},b.fontString=function(a,b,c){return
b+" "+a+"px
"+c},b.longestText=function(a,c,d,e){e=e||{};var
f=e.data=e.data||{},g=e.garbageCollect=e.garbageCollect||[];e.font!==c&&(f=e.data={},g=e.garbageCollect=[],e.font=c),a.font=c;var
h=0;b.each(d,function(c){void
0!==c&&null!==c&&b.isArray(c)!==!0?h=b.measureText(a,f,g,h,c):b.isArray(c)&&b.each(c,function(c){void
0===c||null===c||b.isArray(c)||(h=b.measureText(a,f,g,h,c))})});var
i=g.length/2;if(i>d.length){for(var j=0;j<i;j++)delete
f[g[j]];g.splice(0,i)}return h},b.measureText=function(a,b,c,d,e){var
f=b[e];return
f||(f=b[e]=a.measureText(e).width,c.push(e)),f>d&&(d=f),d},b.numberOfLabelLines=function(a){var
c=1;return
b.each(a,function(a){b.isArray(a)&&a.length>c&&(c=a.length)}),c},b.drawRoundedRectangle=function(a,b,c,d,e,f){a.beginPath(),a.moveTo(b+f,c),a.lineTo(b+d-f,c),a.quadraticCurveTo(b+d,c,b+d,c+f),a.lineTo(b+d,c+e-f),a.quadraticCurveTo(b+d,c+e,b+d-f,c+e),a.lineTo(b+f,c+e),a.quadraticCurveTo(b,c+e,b,c+e-f),a.lineTo(b,c+f),a.quadraticCurveTo(b,c,b+f,c),a.closePath()},b.color=function(b){return
d?d(b instanceof
CanvasGradient?a.defaults.global.defaultColor:b):(console.log("Color.js
not found!"),b)},b.addResizeListener=function(a,b){var
c=document.createElement("iframe"),d="chartjs-hidden-iframe";c.classlist?c.classlist.add(d):c.setAttribute("class",d);var
e=c.style;e.width="100%",e.display="block",e.border=0,e.height=0,e.margin=0,e.position="absolute",e.left=0,e.right=0,e.top=0,e.bottom=0,a.insertBefore(c,a.firstChild),(c.contentWindow||c).onresize=function(){b&&b()}},b.removeResizeListener=function(a){var
b=a.querySelector(".chartjs-hidden-iframe");b&&b.parentNode.removeChild(b)},b.isArray=Array.isArray?function(a){return
Array.isArray(a)}:function(a){return"[object
Array]"===Object.prototype.toString.call(a)},b.arrayEquals=function(a,c){var
d,e,f,g;if(!a||!c||a.length!=c.length)return!1;for(d=0,e=a.length;d<e;++d)if(f=a[d],g=c[d],f
instanceof Array&&g instanceof
Array){if(!b.arrayEquals(f,g))return!1}else
if(f!=g)return!1;return!0},b.callCallback=function(a,b,c){a&&"function"==typeof
a.call&&a.apply(c,b)},b.getHoverColor=function(a){return a
instanceof
CanvasPattern?a:b.color(a).saturate(.5).darken(.1).rgbString()}}},{2:2}],27:[function(a,b,c){"use
strict";b.exports=function(){var a=function(b,c){var
d=this,e=a.helpers;return
d.config=c||{data:{datasets:[]}},b.length&&b[0].getContext&&(b=b[0]),b.getContext&&(b=b.getContext("2d")),d.ctx=b,d.canvas=b.canvas,b.canvas.style.display=b.canvas.style.display||"block",d.width=b.canvas.width||parseInt(e.getStyle(b.canvas,"width"),10)||e.getMaximumWidth(b.canvas),d.height=b.canvas.height||parseInt(e.getStyle(b.canvas,"height"),10)||e.getMaximumHeight(b.canvas),d.aspectRatio=d.width/d.height,(isNaN(d.aspectRatio)||isFinite(d.aspectRatio)===!1)&&(d.aspectRatio=void
0!==c.aspectRatio?c.aspectRatio:2),d.originalCanvasStyleWidth=b.canvas.style.width,d.originalCanvasStyleHeight=b.canvas.style.height,e.retinaScale(d),d.controller=new
a.Controller(d),e.addResizeListener(b.canvas.parentNode,function(){d.controller&&d.controller.config.options.responsive&&d.controller.resize()}),d.controller?d.controller:d};return
a.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"single",animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica
Neue', 'Helvetica', 'Arial',
sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},legendCallback:function(a){var
b=[];b.push('<ul
class="'+a.id+'-legend">');for(var
c=0;c<a.data.datasets.length;c++)b.push('<li><span
style="background-color:'+a.data.datasets[c].backgroundColor+'"></span>'),a.data.datasets[c].label&&b.push(a.data.datasets[c].label),b.push("</li>");return
b.push("</ul>"),b.join("")}}},a.Chart=a,a}},{}],28:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.layoutService={defaults:{},addBox:function(a,b){a.boxes||(a.boxes=[]),a.boxes.push(b)},removeBox:function(a,b){a.boxes&&a.boxes.splice(a.boxes.indexOf(b),1)},update:function(a,c,d){function
u(a){var
b,c=a.isHorizontal();c?(b=a.update(a.options.fullWidth?l:r,q),s-=b.height):(b=a.update(p,o),r-=b.width),t.push({horizontal:c,minSize:b,box:a})}function
z(a){var c=b.findNextWhere(t,function(b){return
b.box===a});if(c)if(a.isHorizontal()){var
d={left:v,right:w,top:0,bottom:0};a.update(a.options.fullWidth?l:r,m/2,d)}else
a.update(c.minSize.width,s)}function A(a){var
c=b.findNextWhere(t,function(b){return
b.box===a}),d={left:0,right:0,top:x,bottom:y};c&&a.update(c.minSize.width,s,d)}function
F(a){a.isHorizontal()?(a.left=a.options.fullWidth?e:v,a.right=a.options.fullWidth?c-e:v+r,a.top=E,a.bottom=E+a.height,E=a.bottom):(a.left=D,a.right=D+a.width,a.top=x,a.bottom=x+s,D=a.right)}if(a){var
e=0,f=0,g=b.where(a.boxes,function(a){return"left"===a.options.position}),h=b.where(a.boxes,function(a){return"right"===a.options.position}),i=b.where(a.boxes,function(a){return"top"===a.options.position}),j=b.where(a.boxes,function(a){return"bottom"===a.options.position}),k=b.where(a.boxes,function(a){return"chartArea"===a.options.position});i.sort(function(a,b){return(b.options.fullWidth?1:0)-(a.options.fullWidth?1:0)}),j.sort(function(a,b){return(a.options.fullWidth?1:0)-(b.options.fullWidth?1:0)});var
l=c-2*e,m=d-2*f,n=l/2,o=m/2,p=(c-n)/(g.length+h.length),q=(d-o)/(i.length+j.length),r=l,s=m,t=[];b.each(g.concat(h,i,j),u);var
v=e,w=e,x=f,y=f;b.each(g.concat(h),z),b.each(g,function(a){v+=a.width}),b.each(h,function(a){w+=a.width}),b.each(i.concat(j),z),b.each(i,function(a){x+=a.height}),b.each(j,function(a){y+=a.height}),b.each(g.concat(h),A),v=e,w=e,x=f,y=f,b.each(g,function(a){v+=a.width}),b.each(h,function(a){w+=a.width}),b.each(i,function(a){x+=a.height}),b.each(j,function(a){y+=a.height});var
B=d-x-y,C=c-v-w;C===r&&B===s||(b.each(g,function(a){a.height=B}),b.each(h,function(a){a.height=B}),b.each(i,function(a){a.options.fullWidth||(a.width=C)}),b.each(j,function(a){a.options.fullWidth||(a.width=C)}),s=B,r=C);var
D=e,E=f;b.each(g.concat(i),F),D+=r,E+=s,b.each(h,F),b.each(j,F),a.chartArea={left:v,top:x,right:v+r,bottom:x+s},b.each(k,function(b){b.left=a.chartArea.left,b.top=a.chartArea.top,b.right=a.chartArea.right,b.bottom=a.chartArea.bottom,b.update(r,s)})}}}}},{}],29:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=b.noop;a.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(a,b){var
c=b.datasetIndex,d=this.chart,e=d.getDatasetMeta(c);e.hidden=null===e.hidden?!d.data.datasets[c].hidden:null,d.update()},labels:{boxWidth:40,padding:10,generateLabels:function(a){var
c=a.data;return
b.isArray(c.datasets)?c.datasets.map(function(c,d){return{text:c.label,fillStyle:b.isArray(c.backgroundColor)?c.backgroundColor[0]:c.backgroundColor,hidden:!a.isDatasetVisible(d),lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,pointStyle:c.pointStyle,datasetIndex:d}},this):[]}}},a.Legend=a.Element.extend({initialize:function(a){b.extend(this,a),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:c,update:function(a,b,c){var
d=this;return
d.beforeUpdate(),d.maxWidth=a,d.maxHeight=b,d.margins=c,d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeBuildLabels(),d.buildLabels(),d.afterBuildLabels(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:c,beforeSetDimensions:c,setDimensions:function(){var
a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0,a.minSize={width:0,height:0}},afterSetDimensions:c,beforeBuildLabels:c,buildLabels:function(){var
a=this;a.legendItems=a.options.labels.generateLabels.call(a,a.chart),a.options.reverse&&a.legendItems.reverse()},afterBuildLabels:c,beforeFit:c,fit:function(){var
c=this,d=c.options,e=d.labels,f=d.display,g=c.ctx,h=a.defaults.global,i=b.getValueOrDefault,j=i(e.fontSize,h.defaultFontSize),k=i(e.fontStyle,h.defaultFontStyle),l=i(e.fontFamily,h.defaultFontFamily),m=b.fontString(j,k,l),n=c.legendHitBoxes=[],o=c.minSize,p=c.isHorizontal();if(p?(o.width=c.maxWidth,o.height=f?10:0):(o.width=f?10:0,o.height=c.maxHeight),f)if(g.font=m,p){var
q=c.lineWidths=[0],r=c.legendItems.length?j+e.padding:0;g.textAlign="left",g.textBaseline="top",b.each(c.legendItems,function(a,b){var
d=e.usePointStyle?j*Math.sqrt(2):e.boxWidth,f=d+j/2+g.measureText(a.text).width;q[q.length-1]+f+e.padding>=c.width&&(r+=j+e.padding,q[q.length]=c.left),n[b]={left:0,top:0,width:f,height:j},q[q.length-1]+=f+e.padding}),o.height+=r}else{var
s=e.padding,t=c.columnWidths=[],u=e.padding,v=0,w=0,x=j+s;b.each(c.legendItems,function(a,b){var
c=e.usePointStyle?2*e.boxWidth:e.boxWidth,d=c+j/2+g.measureText(a.text).width;w+x>o.height&&(u+=v+e.padding,t.push(v),v=0,w=0),v=Math.max(v,d),w+=x,n[b]={left:0,top:0,width:d,height:j}}),u+=v,t.push(v),o.width+=u}c.width=o.width,c.height=o.height},afterFit:c,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var
c=this,d=c.options,e=d.labels,f=a.defaults.global,g=f.elements.line,h=c.width,i=c.lineWidths;if(d.display){var
k,j=c.ctx,l=b.getValueOrDefault,m=l(e.fontColor,f.defaultFontColor),n=l(e.fontSize,f.defaultFontSize),o=l(e.fontStyle,f.defaultFontStyle),p=l(e.fontFamily,f.defaultFontFamily),q=b.fontString(n,o,p);j.textAlign="left",j.textBaseline="top",j.lineWidth=.5,j.strokeStyle=m,j.fillStyle=m,j.font=q;var
r=e.boxWidth,s=c.legendHitBoxes,t=function(b,c,e){if(!(isNaN(r)||r<=0)){if(j.save(),j.fillStyle=l(e.fillStyle,f.defaultColor),j.lineCap=l(e.lineCap,g.borderCapStyle),j.lineDashOffset=l(e.lineDashOffset,g.borderDashOffset),j.lineJoin=l(e.lineJoin,g.borderJoinStyle),j.lineWidth=l(e.lineWidth,g.borderWidth),j.strokeStyle=l(e.strokeStyle,f.defaultColor),j.setLineDash&&j.setLineDash(l(e.lineDash,g.borderDash)),d.labels&&d.labels.usePointStyle){var
h=n*Math.SQRT2/2,i=h/Math.SQRT2,k=b+i,m=c+i;a.canvasHelpers.drawPoint(j,e.pointStyle,h,k,m)}else
j.strokeRect(b,c,r,n),j.fillRect(b,c,r,n);j.restore()}},u=function(a,b,c,d){j.fillText(c.text,r+n/2+a,b),c.hidden&&(j.beginPath(),j.lineWidth=2,j.moveTo(r+n/2+a,b+n/2),j.lineTo(r+n/2+a+d,b+n/2),j.stroke())},v=c.isHorizontal();k=v?{x:c.left+(h-i[0])/2,y:c.top+e.padding,line:0}:{x:c.left+e.padding,y:c.top+e.padding,line:0};var
w=n+e.padding;b.each(c.legendItems,function(a,b){var
d=j.measureText(a.text).width,f=e.usePointStyle?n+n/2+d:r+n/2+d,g=k.x,l=k.y;v?g+f>=h&&(l=k.y+=w,k.line++,g=k.x=c.left+(h-i[k.line])/2):l+w>c.bottom&&(g=k.x=g+c.columnWidths[k.line]+e.padding,l=k.y=c.top,k.line++),t(g,l,a),s[b].left=g,s[b].top=l,u(g,l,a,d),v?k.x+=f+e.padding:k.y+=w})}},handleEvent:function(a){var
c=this,d=b.getRelativePosition(a,c.chart.chart),e=d.x,f=d.y,g=c.options;if(e>=c.left&&e<=c.right&&f>=c.top&&f<=c.bottom)for(var
h=c.legendHitBoxes,i=0;i<h.length;++i){var
j=h[i];if(e>=j.left&&e<=j.left+j.width&&f>=j.top&&f<=j.top+j.height){g.onClick&&g.onClick.call(c,a,c.legendItems[i]);break}}}}),a.plugins.register({beforeInit:function(b){var
c=b.options,d=c.legend;d&&(b.legend=new
a.Legend({ctx:b.chart.ctx,options:d,chart:b}),a.layoutService.addBox(b,b.legend))}})}},{}],30:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers.noop;a.plugins={_plugins:[],register:function(a){var
b=this._plugins;[].concat(a).forEach(function(a){b.indexOf(a)===-1&&b.push(a)})},unregister:function(a){var
b=this._plugins;[].concat(a).forEach(function(a){var
c=b.indexOf(a);c!==-1&&b.splice(c,1)})},clear:function(){this._plugins=[]},count:function(){return
this._plugins.length},getAll:function(){return
this._plugins},notify:function(a,b){var
e,f,c=this._plugins,d=c.length;for(e=0;e<d;++e)if(f=c[e],"function"==typeof
f[a]&&f[a].apply(f,b||[])===!1)return!1;return!0}},a.PluginBase=a.Element.extend({beforeInit:b,afterInit:b,beforeUpdate:b,afterUpdate:b,beforeDraw:b,afterDraw:b,destroy:b}),a.pluginService=a.plugins}},{}],31:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.scale={display:!0,position:"left",gridLines:{display:!0,color:"rgba(0,
0, 0,
0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",offsetGridLines:!1},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:10,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:function(a){return
b.isArray(a)?a:""+a}}},a.Scale=a.Element.extend({beforeUpdate:function(){b.callCallback(this.options.beforeUpdate,[this])},update:function(a,c,d){var
e=this;return
e.beforeUpdate(),e.maxWidth=a,e.maxHeight=c,e.margins=b.extend({left:0,right:0,top:0,bottom:0},d),e.beforeSetDimensions(),e.setDimensions(),e.afterSetDimensions(),e.beforeDataLimits(),e.determineDataLimits(),e.afterDataLimits(),e.beforeBuildTicks(),e.buildTicks(),e.afterBuildTicks(),e.beforeTickToLabelConversion(),e.convertTicksToLabels(),e.afterTickToLabelConversion(),e.beforeCalculateTickRotation(),e.calculateTickRotation(),e.afterCalculateTickRotation(),e.beforeFit(),e.fit(),e.afterFit(),e.afterUpdate(),e.minSize},afterUpdate:function(){b.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){b.callCallback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var
a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0},afterSetDimensions:function(){b.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){b.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:b.noop,afterDataLimits:function(){b.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){b.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:b.noop,afterBuildTicks:function(){b.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){b.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var
a=this;a.ticks=a.ticks.map(function(b,c,d){return
a.options.ticks.userCallback?a.options.ticks.userCallback(b,c,d):a.options.ticks.callback(b,c,d)},a)},afterTickToLabelConversion:function(){b.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){b.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var
c=this,d=c.ctx,e=a.defaults.global,f=c.options.ticks,g=b.getValueOrDefault(f.fontSize,e.defaultFontSize),h=b.getValueOrDefault(f.fontStyle,e.defaultFontStyle),i=b.getValueOrDefault(f.fontFamily,e.defaultFontFamily),j=b.fontString(g,h,i);d.font=j;var
m,k=d.measureText(c.ticks[0]).width,l=d.measureText(c.ticks[c.ticks.length-1]).width;if(c.labelRotation=f.minRotation||0,c.paddingRight=0,c.paddingLeft=0,c.options.display&&c.isHorizontal()){c.paddingRight=l/2+3,c.paddingLeft=k/2+3,c.longestTextCache||(c.longestTextCache={});for(var
p,q,n=b.longestText(d,j,c.ticks,c.longestTextCache),o=n,r=c.getPixelForTick(1)-c.getPixelForTick(0)-6;o>r&&c.labelRotation<f.maxRotation;){if(p=Math.cos(b.toRadians(c.labelRotation)),q=Math.sin(b.toRadians(c.labelRotation)),m=p*k,m+g/2>c.yLabelWidth&&(c.paddingLeft=m+g/2),c.paddingRight=g/2,q*n>c.maxHeight){c.labelRotation--;break}c.labelRotation++,o=p*n}}c.margins&&(c.paddingLeft=Math.max(c.paddingLeft-c.margins.left,0),c.paddingRight=Math.max(c.paddingRight-c.margins.right,0))},afterCalculateTickRotation:function(){b.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){b.callCallback(this.options.beforeFit,[this])},fit:function(){var
c=this,d=c.minSize={width:0,height:0},e=c.options,f=a.defaults.global,g=e.ticks,h=e.scaleLabel,i=e.display,j=c.isHorizontal(),k=b.getValueOrDefault(g.fontSize,f.defaultFontSize),l=b.getValueOrDefault(g.fontStyle,f.defaultFontStyle),m=b.getValueOrDefault(g.fontFamily,f.defaultFontFamily),n=b.fontString(k,l,m),o=b.getValueOrDefault(h.fontSize,f.defaultFontSize),p=e.gridLines.tickMarkLength;if(j?d.width=c.isFullWidth()?c.maxWidth-c.margins.left-c.margins.right:c.maxWidth:d.width=i?p:0,j?d.height=i?p:0:d.height=c.maxHeight,h.display&&i&&(j?d.height+=1.5*o:d.width+=1.5*o),g.display&&i){c.longestTextCache||(c.longestTextCache={});var
q=b.longestText(c.ctx,n,c.ticks,c.longestTextCache),r=b.numberOfLabelLines(c.ticks),s=.5*k;if(j){c.longestLabelWidth=q;var
t=Math.sin(b.toRadians(c.labelRotation))*c.longestLabelWidth+k*r+s*r;d.height=Math.min(c.maxHeight,d.height+t),c.ctx.font=n;var
u=c.ctx.measureText(c.ticks[0]).width,v=c.ctx.measureText(c.ticks[c.ticks.length-1]).width,w=Math.cos(b.toRadians(c.labelRotation)),x=Math.sin(b.toRadians(c.labelRotation));c.paddingLeft=0!==c.labelRotation?w*u+3:u/2+3,c.paddingRight=0!==c.labelRotation?x*(k/2)+3:v/2+3}else{var
y=c.maxWidth-d.width,z=g.mirror;z?q=0:q+=c.options.ticks.padding,q<y?d.width+=q:d.width=c.maxWidth,c.paddingTop=k/2,c.paddingBottom=k/2}}c.margins&&(c.paddingLeft=Math.max(c.paddingLeft-c.margins.left,0),c.paddingTop=Math.max(c.paddingTop-c.margins.top,0),c.paddingRight=Math.max(c.paddingRight-c.margins.right,0),c.paddingBottom=Math.max(c.paddingBottom-c.margins.bottom,0)),c.width=d.width,c.height=d.height},afterFit:function(){b.callCallback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return
this.options.fullWidth},getRightValue:function(a){return
null===a||"undefined"==typeof a?NaN:"number"==typeof
a&&isNaN(a)?NaN:"object"==typeof a?a instanceof
Date||a.isValid?a:this.getRightValue(this.isHorizontal()?a.x:a.y):a},getLabelForIndex:b.noop,getPixelForValue:b.noop,getValueForPixel:b.noop,getPixelForTick:function(a,b){var
c=this;if(c.isHorizontal()){var
d=c.width-(c.paddingLeft+c.paddingRight),e=d/Math.max(c.ticks.length-(c.options.gridLines.offsetGridLines?0:1),1),f=e*a+c.paddingLeft;b&&(f+=e/2);var
g=c.left+Math.round(f);return g+=c.isFullWidth()?c.margins.left:0}var
h=c.height-(c.paddingTop+c.paddingBottom);return
c.top+a*(h/(c.ticks.length-1))},getPixelForDecimal:function(a){var
b=this;if(b.isHorizontal()){var
c=b.width-(b.paddingLeft+b.paddingRight),d=c*a+b.paddingLeft,e=b.left+Math.round(d);return
e+=b.isFullWidth()?b.margins.left:0}return
b.top+a*b.height},getBasePixel:function(){var a=this,b=a.min,c=a.max;return
a.getPixelForValue(a.beginAtZero?0:b<0&&c<0?c:b>0&&c>0?b:0)},draw:function(c){var
d=this,e=d.options;if(e.display){var
l,o,f=d.ctx,g=a.defaults.global,h=e.ticks,i=e.gridLines,j=e.scaleLabel,k=0!==d.labelRotation,m=h.autoSkip,n=d.isHorizontal();h.maxTicksLimit&&(o=h.maxTicksLimit);var
p=b.getValueOrDefault(h.fontColor,g.defaultFontColor),q=b.getValueOrDefault(h.fontSize,g.defaultFontSize),r=b.getValueOrDefault(h.fontStyle,g.defaultFontStyle),s=b.getValueOrDefault(h.fontFamily,g.defaultFontFamily),t=b.fontString(q,r,s),u=i.tickMarkLength,v=b.getValueOrDefault(j.fontColor,g.defaultFontColor),w=b.getValueOrDefault(j.fontSize,g.defaultFontSize),x=b.getValueOrDefault(j.fontStyle,g.defaultFontStyle),y=b.getValueOrDefault(j.fontFamily,g.defaultFontFamily),z=b.fontString(w,x,y),A=b.toRadians(d.labelRotation),B=Math.cos(A),C=d.longestLabelWidth*B;f.fillStyle=p;var
D=[];if(n){if(l=!1,k&&(C/=2),(C+h.autoSkipPadding)*d.ticks.length>d.width-(d.paddingLeft+d.paddingRight)&&(l=1+Math.floor((C+h.autoSkipPadding)*d.ticks.length/(d.width-(d.paddingLeft+d.paddingRight)))),o&&d.ticks.length>o)for(;!l||d.ticks.length/(l||1)>o;)l||(l=1),l+=1;m||(l=!1)}var
E="right"===e.position?d.left:d.right-u,F="right"===e.position?d.left+u:d.right,G="bottom"===e.position?d.top:d.bottom-u,H="bottom"===e.position?d.top+u:d.bottom;if(b.each(d.ticks,function(a,f){if(void
0!==a&&null!==a){var
g=d.ticks.length===f+1,j=l>1&&f%l>0||f%l===0&&f+l>=d.ticks.length;if((!j||g)&&void
0!==a&&null!==a){var m,o;f===("undefined"!=typeof
d.zeroLineIndex?d.zeroLineIndex:0)?(m=i.zeroLineWidth,o=i.zeroLineColor):(m=b.getValueAtIndexOrDefault(i.lineWidth,f),o=b.getValueAtIndexOrDefault(i.color,f));var
p,q,r,s,t,v,w,x,y,z,B,C="middle";if(n){k||(C="top"===e.position?"bottom":"top"),B=k?"right":"center";var
I=d.getPixelForTick(f)+b.aliasPixel(m);y=d.getPixelForTick(f,i.offsetGridLines)+h.labelOffset,z=k?d.top+12:"top"===e.position?d.bottom-u:d.top+u,p=r=t=w=I,q=G,s=H,v=c.top,x=c.bottom}else{"left"===e.position?h.mirror?(y=d.right+h.padding,B="left"):(y=d.right-h.padding,B="right"):h.mirror?(y=d.left-h.padding,B="right"):(y=d.left+h.padding,B="left");var
J=d.getPixelForTick(f);J+=b.aliasPixel(m),z=d.getPixelForTick(f,i.offsetGridLines),p=E,r=F,t=c.left,w=c.right,q=s=v=x=J}D.push({tx1:p,ty1:q,tx2:r,ty2:s,x1:t,y1:v,x2:w,y2:x,labelX:y,labelY:z,glWidth:m,glColor:o,rotation:-1*A,label:a,textBaseline:C,textAlign:B})}}}),b.each(D,function(a){if(i.display&&(f.lineWidth=a.glWidth,f.strokeStyle=a.glColor,f.beginPath(),i.drawTicks&&(f.moveTo(a.tx1,a.ty1),f.lineTo(a.tx2,a.ty2)),i.drawOnChartArea&&(f.moveTo(a.x1,a.y1),f.lineTo(a.x2,a.y2)),f.stroke()),h.display){f.save(),f.translate(a.labelX,a.labelY),f.rotate(a.rotation),f.font=t,f.textBaseline=a.textBaseline,f.textAlign=a.textAlign;var
c=a.label;if(b.isArray(c))for(var
d=0,e=0;d<c.length;++d)f.fillText(""+c[d],0,e),e+=1.5*q;else
f.fillText(c,0,0);f.restore()}}),j.display){var
I,J,K=0;if(n)I=d.left+(d.right-d.left)/2,J="bottom"===e.position?d.bottom-w/2:d.top+w/2;else{var
L="left"===e.position;I=L?d.left+w/2:d.right-w/2,J=d.top+(d.bottom-d.top)/2,K=L?-.5*Math.PI:.5*Math.PI}f.save(),f.translate(I,J),f.rotate(K),f.textAlign="center",f.textBaseline="middle",f.fillStyle=v,f.font=z,f.fillText(j.labelString,0,0),f.restore()}if(i.drawBorder){f.lineWidth=b.getValueAtIndexOrDefault(i.lineWidth,0),f.strokeStyle=b.getValueAtIndexOrDefault(i.color,0);var
M=d.left,N=d.right,O=d.top,P=d.bottom,Q=b.aliasPixel(f.lineWidth);n?(O=P="top"===e.position?d.bottom:d.top,O+=Q,P+=Q):(M=N="left"===e.position?d.right:d.left,M+=Q,N+=Q),f.beginPath(),f.moveTo(M,O),f.lineTo(N,P),f.stroke()}}}})}},{}],32:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.scaleService={constructors:{},defaults:{},registerScaleType:function(a,c,d){this.constructors[a]=c,this.defaults[a]=b.clone(d)},getScaleConstructor:function(a){return
this.constructors.hasOwnProperty(a)?this.constructors[a]:void
0},getScaleDefaults:function(c){return
this.defaults.hasOwnProperty(c)?b.scaleMerge(a.defaults.scale,this.defaults[c]):{}},updateScaleDefaults:function(a,c){var
d=this.defaults;d.hasOwnProperty(a)&&(d[a]=b.extend(d[a],c))},addScalesToLayout:function(c){b.each(c.scales,function(b){a.layoutService.addBox(c,b)})}}}},{}],33:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers;a.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""};var
c=b.noop;a.Title=a.Element.extend({initialize:function(c){var
d=this;b.extend(d,c),d.options=b.configMerge(a.defaults.global.title,c.options),d.legendHitBoxes=[]},beforeUpdate:function(){var
c=this.chart.options;c&&c.title&&(this.options=b.configMerge(a.defaults.global.title,c.title))},update:function(a,b,c){var
d=this;return
d.beforeUpdate(),d.maxWidth=a,d.maxHeight=b,d.margins=c,d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeBuildLabels(),d.buildLabels(),d.afterBuildLabels(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:c,beforeSetDimensions:c,setDimensions:function(){var
a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0,a.minSize={width:0,height:0}},afterSetDimensions:c,beforeBuildLabels:c,buildLabels:c,afterBuildLabels:c,beforeFit:c,fit:function(){var
c=this,d=b.getValueOrDefault,e=c.options,f=a.defaults.global,g=e.display,h=d(e.fontSize,f.defaultFontSize),i=c.minSize;c.isHorizontal()?(i.width=c.maxWidth,i.height=g?h+2*e.padding:0):(i.width=g?h+2*e.padding:0,i.height=c.maxHeight),c.width=i.width,c.height=i.height},afterFit:c,isHorizontal:function(){var
a=this.options.position;return"top"===a||"bottom"===a},draw:function(){var
c=this,d=c.ctx,e=b.getValueOrDefault,f=c.options,g=a.defaults.global;if(f.display){var
m,n,h=e(f.fontSize,g.defaultFontSize),i=e(f.fontStyle,g.defaultFontStyle),j=e(f.fontFamily,g.defaultFontFamily),k=b.fontString(h,i,j),l=0,o=c.top,p=c.left,q=c.bottom,r=c.right;d.fillStyle=e(f.fontColor,g.defaultFontColor),d.font=k,c.isHorizontal()?(m=p+(r-p)/2,n=o+(q-o)/2):(m="left"===f.position?p+h/2:r-h/2,n=o+(q-o)/2,l=Math.PI*("left"===f.position?-.5:.5)),d.save(),d.translate(m,n),d.rotate(l),d.textAlign="center",d.textBaseline="middle",d.fillText(f.text,0,0),d.restore()}}}),a.plugins.register({beforeInit:function(b){var
c=b.options,d=c.title;d&&(b.titleBlock=new
a.Title({ctx:b.chart.ctx,options:d,chart:b}),a.layoutService.addBox(b,b.titleBlock))}})}},{}],34:[function(a,b,c){"use
strict";b.exports=function(a){function c(a,c){return
c&&(b.isArray(c)?Array.prototype.push.apply(a,c):a.push(c)),a}function
d(a){if(!a.length)return!1;var
b,c,d=[],e=[];for(b=0,c=a.length;b<c;++b){var
f=a[b];if(f&&f.hasValue()){var
g=f.tooltipPosition();d.push(g.x),e.push(g.y)}}var
h=0,i=0;for(b=0;b<d.length;++b)d[b]&&(h+=d[b],i+=e[b]);return{x:Math.round(h/d.length),y:Math.round(i/d.length)}}function
e(a){var
b=a._xScale,c=a._yScale||a._scale,d=a._index,e=a._datasetIndex;return{xLabel:b?b.getLabelForIndex(d,e):"",yLabel:c?c.getLabelForIndex(d,e):"",index:d,datasetIndex:e}}var
b=a.helpers;a.defaults.global.tooltips={enabled:!0,custom:null,mode:"single",backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,yAlign:"center",xAlign:"center",caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",callbacks:{beforeTitle:b.noop,title:function(a,b){var
c="",d=b.labels,e=d?d.length:0;if(a.length>0){var
f=a[0];f.xLabel?c=f.xLabel:e>0&&f.index<e&&(c=d[f.index])}return
c},afterTitle:b.noop,beforeBody:b.noop,beforeLabel:b.noop,label:function(a,b){var
c=b.datasets[a.datasetIndex].label||"";return c+":
"+a.yLabel},labelColor:function(a,b){var
c=b.getDatasetMeta(a.datasetIndex),d=c.data[a.index],e=d._view;return{borderColor:e.borderColor,backgroundColor:e.backgroundColor}},afterLabel:b.noop,afterBody:b.noop,beforeFooter:b.noop,footer:b.noop,afterFooter:b.noop}},a.Tooltip=a.Element.extend({initialize:function(){var
c=this,d=a.defaults.global,e=c._options,f=b.getValueOrDefault;b.extend(c,{_model:{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:f(e.bodyFontFamily,d.defaultFontFamily),_bodyFontStyle:f(e.bodyFontStyle,d.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:f(e.bodyFontSize,d.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:f(e.titleFontFamily,d.defaultFontFamily),_titleFontStyle:f(e.titleFontStyle,d.defaultFontStyle),titleFontSize:f(e.titleFontSize,d.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:f(e.footerFontFamily,d.defaultFontFamily),_footerFontStyle:f(e.footerFontStyle,d.defaultFontStyle),footerFontSize:f(e.footerFontSize,d.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground}})},getTitle:function(){var
a=this,b=a._options,d=b.callbacks,e=d.beforeTitle.apply(a,arguments),f=d.title.apply(a,arguments),g=d.afterTitle.apply(a,arguments),h=[];return
h=c(h,e),h=c(h,f),h=c(h,g)},getBeforeBody:function(){var
a=this._options.callbacks.beforeBody.apply(this,arguments);return
b.isArray(a)?a:void 0!==a?[a]:[]},getBody:function(a,d){var
e=this,f=e._options.callbacks,g=[];return b.each(a,function(a){var
b={before:[],lines:[],after:[]};c(b.before,f.beforeLabel.call(e,a,d)),c(b.lines,f.label.call(e,a,d)),c(b.after,f.afterLabel.call(e,a,d)),g.push(b)}),g},getAfterBody:function(){var
a=this._options.callbacks.afterBody.apply(this,arguments);return
b.isArray(a)?a:void 0!==a?[a]:[]},getFooter:function(){var
a=this,b=a._options.callbacks,d=b.beforeFooter.apply(a,arguments),e=b.footer.apply(a,arguments),f=b.afterFooter.apply(a,arguments),g=[];return
g=c(g,d),g=c(g,e),g=c(g,f)},update:function(a){var
k,l,c=this,f=c._options,g=c._model,h=c._active,i=c._data,j=c._chartInstance;if(h.length){g.opacity=1;var
m=[],n=d(h),o=[];for(k=0,l=h.length;k<l;++k)o.push(e(h[k]));f.itemSort&&(o=o.sort(f.itemSort)),h.length>1&&b.each(o,function(a){m.push(f.callbacks.labelColor.call(c,a,j))}),b.extend(g,{title:c.getTitle(o,i),beforeBody:c.getBeforeBody(o,i),body:c.getBody(o,i),afterBody:c.getAfterBody(o,i),footer:c.getFooter(o,i),x:Math.round(n.x),y:Math.round(n.y),caretPadding:b.getValueOrDefault(n.padding,2),labelColors:m});var
p=c.getTooltipSize(g);c.determineAlignment(p),b.extend(g,c.getBackgroundPoint(g,p))}else
c._model.opacity=0;return
a&&f.custom&&f.custom.call(c,g),c},getTooltipSize:function(a){var
c=this._chart.ctx,d={height:2*a.yPadding,width:0},e=a.body,f=e.reduce(function(a,b){return
a+b.before.length+b.lines.length+b.after.length},0);f+=a.beforeBody.length+a.afterBody.length;var
g=a.title.length,h=a.footer.length,i=a.titleFontSize,j=a.bodyFontSize,k=a.footerFontSize;d.height+=g*i,d.height+=(g-1)*a.titleSpacing,d.height+=g?a.titleMarginBottom:0,d.height+=f*j,d.height+=f?(f-1)*a.bodySpacing:0,d.height+=h?a.footerMarginTop:0,d.height+=h*k,d.height+=h?(h-1)*a.footerSpacing:0;var
l=0,m=function(a){d.width=Math.max(d.width,c.measureText(a).width+l)};return
c.font=b.fontString(i,a._titleFontStyle,a._titleFontFamily),b.each(a.title,m),c.font=b.fontString(j,a._bodyFontStyle,a._bodyFontFamily),b.each(a.beforeBody.concat(a.afterBody),m),l=e.length>1?j+2:0,b.each(e,function(a){b.each(a.before,m),b.each(a.lines,m),b.each(a.after,m)}),l=0,c.font=b.fontString(k,a._footerFontStyle,a._footerFontFamily),b.each(a.footer,m),d.width+=2*a.xPadding,d},determineAlignment:function(a){var
b=this,c=b._model,d=b._chart,e=b._chartInstance.chartArea;c.y<a.height?c.yAlign="top":c.y>d.height-a.height&&(c.yAlign="bottom");var
f,g,h,i,j,k=(e.left+e.right)/2,l=(e.top+e.bottom)/2;"center"===c.yAlign?(f=function(a){return
a<=k},g=function(a){return a>k}):(f=function(b){return
b<=a.width/2},g=function(b){return
b>=d.width-a.width/2}),h=function(b){return
b+a.width>d.width},i=function(b){return
b-a.width<0},j=function(a){return
a<=l?"top":"bottom"},f(c.x)?(c.xAlign="left",h(c.x)&&(c.xAlign="center",c.yAlign=j(c.y))):g(c.x)&&(c.xAlign="right",i(c.x)&&(c.xAlign="center",c.yAlign=j(c.y)))},getBackgroundPoint:function(a,b){var
c={x:a.x,y:a.y},d=a.caretSize,e=a.caretPadding,f=a.cornerRadius,g=a.xAlign,h=a.yAlign,i=d+e,j=f+e;return"right"===g?c.x-=b.width:"center"===g&&(c.x-=b.width/2),"top"===h?c.y+=i:"bottom"===h?c.y-=b.height+i:c.y-=b.height/2,"center"===h?"left"===g?c.x+=i:"right"===g&&(c.x-=i):"left"===g?c.x-=j:"right"===g&&(c.x+=j),c},drawCaret:function(a,c,d){var
g,h,i,j,k,l,e=this._view,f=this._chart.ctx,m=e.caretSize,n=e.cornerRadius,o=e.xAlign,p=e.yAlign,q=a.x,r=a.y,s=c.width,t=c.height;"center"===p?("left"===o?(g=q,h=g-m,i=g):(g=q+s,h=g+m,i=g),k=r+t/2,j=k-m,l=k+m):("left"===o?(g=q+n,h=g+m,i=h+m):"right"===o?(g=q+s-n,h=g-m,i=h-m):(h=q+s/2,g=h-m,i=h+m),"top"===p?(j=r,k=j-m,l=j):(j=r+t,k=j+m,l=j));var
u=b.color(e.backgroundColor);f.fillStyle=u.alpha(d*u.alpha()).rgbString(),
f.beginPath(),f.moveTo(g,j),f.lineTo(h,k),f.lineTo(i,l),f.closePath(),f.fill()},drawTitle:function(a,c,d,e){var
f=c.title;if(f.length){d.textAlign=c._titleAlign,d.textBaseline="top";var
g=c.titleFontSize,h=c.titleSpacing,i=b.color(c.titleFontColor);d.fillStyle=i.alpha(e*i.alpha()).rgbString(),d.font=b.fontString(g,c._titleFontStyle,c._titleFontFamily);var
j,k;for(j=0,k=f.length;j<k;++j)d.fillText(f[j],a.x,a.y),a.y+=g+h,j+1===f.length&&(a.y+=c.titleMarginBottom-h)}},drawBody:function(a,c,d,e){var
f=c.bodyFontSize,g=c.bodySpacing,h=c.body;d.textAlign=c._bodyAlign,d.textBaseline="top";var
i=b.color(c.bodyFontColor),j=i.alpha(e*i.alpha()).rgbString();d.fillStyle=j,d.font=b.fontString(f,c._bodyFontStyle,c._bodyFontFamily);var
k=0,l=function(b){d.fillText(b,a.x+k,a.y),a.y+=f+g};b.each(c.beforeBody,l);var
m=h.length>1;k=m?f+2:0,b.each(h,function(g,h){b.each(g.before,l),b.each(g.lines,function(g){m&&(d.fillStyle=b.color(c.legendColorBackground).alpha(e).rgbaString(),d.fillRect(a.x,a.y,f,f),d.strokeStyle=b.color(c.labelColors[h].borderColor).alpha(e).rgbaString(),d.strokeRect(a.x,a.y,f,f),d.fillStyle=b.color(c.labelColors[h].backgroundColor).alpha(e).rgbaString(),d.fillRect(a.x+1,a.y+1,f-2,f-2),d.fillStyle=j),l(g)}),b.each(g.after,l)}),k=0,b.each(c.afterBody,l),a.y-=g},drawFooter:function(a,c,d,e){var
f=c.footer;if(f.length){a.y+=c.footerMarginTop,d.textAlign=c._footerAlign,d.textBaseline="top";var
g=b.color(c.footerFontColor);d.fillStyle=g.alpha(e*g.alpha()).rgbString(),d.font=b.fontString(c.footerFontSize,c._footerFontStyle,c._footerFontFamily),b.each(f,function(b){d.fillText(b,a.x,a.y),a.y+=c.footerFontSize+c.footerSpacing})}},draw:function(){var
a=this._chart.ctx,c=this._view;if(0!==c.opacity){var
d=this.getTooltipSize(c),e={x:c.x,y:c.y},f=Math.abs(c.opacity<.001)?0:c.opacity;if(this._options.enabled){var
g=b.color(c.backgroundColor);a.fillStyle=g.alpha(f*g.alpha()).rgbString(),b.drawRoundedRectangle(a,e.x,e.y,d.width,d.height,c.cornerRadius),a.fill(),this.drawCaret(e,d,f),e.x+=c.xPadding,e.y+=c.yPadding,this.drawTitle(e,c,a,f),this.drawBody(e,c,a,f),this.drawFooter(e,c,a,f)}}}})}},{}],35:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=a.defaults.global;c.elements.arc={backgroundColor:c.defaultColor,borderColor:"#fff",borderWidth:2},a.elements.Arc=a.Element.extend({inLabelRange:function(a){var
b=this._view;return!!b&&Math.pow(a-b.x,2)<Math.pow(b.radius+b.hoverRadius,2)},inRange:function(a,c){var
d=this._view;if(d){for(var
e=b.getAngleFromPoint(d,{x:a,y:c}),f=e.angle,g=e.distance,h=d.startAngle,i=d.endAngle;i<h;)i+=2*Math.PI;for(;f>i;)f-=2*Math.PI;for(;f<h;)f+=2*Math.PI;var
j=f>=h&&f<=i,k=g>=d.innerRadius&&g<=d.outerRadius;return
j&&k}return!1},tooltipPosition:function(){var
a=this._view,b=a.startAngle+(a.endAngle-a.startAngle)/2,c=(a.outerRadius-a.innerRadius)/2+a.innerRadius;return{x:a.x+Math.cos(b)*c,y:a.y+Math.sin(b)*c}},draw:function(){var
a=this._chart.ctx,b=this._view,c=b.startAngle,d=b.endAngle;a.beginPath(),a.arc(b.x,b.y,b.outerRadius,c,d),a.arc(b.x,b.y,b.innerRadius,d,c,!0),a.closePath(),a.strokeStyle=b.borderColor,a.lineWidth=b.borderWidth,a.fillStyle=b.backgroundColor,a.fill(),a.lineJoin="bevel",b.borderWidth&&a.stroke()}})}},{}],36:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=a.defaults.global;a.defaults.global.elements.line={tension:.4,backgroundColor:c.defaultColor,borderWidth:3,borderColor:c.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},a.elements.Line=a.Element.extend({draw:function(){function
i(a,b){var
c=b._view;b._view.steppedLine===!0?(h.lineTo(b._view.x,a._view.y),h.lineTo(b._view.x,b._view.y)):0===b._view.tension?h.lineTo(c.x,c.y):h.bezierCurveTo(a._view.controlPointNextX,a._view.controlPointNextY,c.controlPointPreviousX,c.controlPointPreviousY,c.x,c.y)}var
a=this,d=a._view,e=d.spanGaps,f=d.scaleZero,g=a._loop,h=a._chart.ctx;h.save();var
j=a._children.slice(),k=-1;g&&j.length&&j.push(j[0]);var
l,m,n,o;if(j.length&&d.fill){for(h.beginPath(),l=0;l<j.length;++l)m=j[l],n=b.previousItem(j,l),o=m._view,0===l?(g?h.moveTo(f.x,f.y):h.moveTo(o.x,f),o.skip||(k=l,h.lineTo(o.x,o.y))):(n=k===-1?n:j[k],o.skip?e||k!==l-1||(g?h.lineTo(f.x,f.y):h.lineTo(n._view.x,f)):(k!==l-1?e&&k!==-1?i(n,m):g?h.lineTo(o.x,o.y):(h.lineTo(o.x,f),h.lineTo(o.x,o.y)):i(n,m),k=l));g||h.lineTo(j[k]._view.x,f),h.fillStyle=d.backgroundColor||c.defaultColor,h.closePath(),h.fill()}var
p=c.elements.line;for(h.lineCap=d.borderCapStyle||p.borderCapStyle,h.setLineDash&&h.setLineDash(d.borderDash||p.borderDash),h.lineDashOffset=d.borderDashOffset||p.borderDashOffset,h.lineJoin=d.borderJoinStyle||p.borderJoinStyle,h.lineWidth=d.borderWidth||p.borderWidth,h.strokeStyle=d.borderColor||c.defaultColor,h.beginPath(),k=-1,l=0;l<j.length;++l)m=j[l],n=b.previousItem(j,l),o=m._view,0===l?o.skip||(h.moveTo(o.x,o.y),k=l):(n=k===-1?n:j[k],o.skip||(k!==l-1&&!e||k===-1?h.moveTo(o.x,o.y):i(n,m),k=l));h.stroke(),h.restore()}})}},{}],37:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=a.defaults.global,d=c.defaultColor;c.elements.point={radius:3,pointStyle:"circle",backgroundColor:d,borderWidth:1,borderColor:d,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},a.elements.Point=a.Element.extend({inRange:function(a,b){var
c=this._view;return!!c&&Math.pow(a-c.x,2)+Math.pow(b-c.y,2)<Math.pow(c.hitRadius+c.radius,2)},inLabelRange:function(a){var
b=this._view;return!!b&&Math.pow(a-b.x,2)<Math.pow(b.radius+b.hitRadius,2)},tooltipPosition:function(){var
a=this._view;return{x:a.x,y:a.y,padding:a.radius+a.borderWidth}},draw:function(){var
e=this._view,f=this._chart.ctx,g=e.pointStyle,h=e.radius,i=e.x,j=e.y;e.skip||(f.strokeStyle=e.borderColor||d,f.lineWidth=b.getValueOrDefault(e.borderWidth,c.elements.point.borderWidth),f.fillStyle=e.backgroundColor||d,a.canvasHelpers.drawPoint(f,g,h,i,j))}})}},{}],38:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.defaults.global;b.elements.rectangle={backgroundColor:b.defaultColor,borderWidth:0,borderColor:b.defaultColor,borderSkipped:"bottom"},a.elements.Rectangle=a.Element.extend({draw:function(){function
k(a){return h[(j+a)%4]}var
a=this._chart.ctx,b=this._view,c=b.width/2,d=b.x-c,e=b.x+c,f=b.base-(b.base-b.y),g=b.borderWidth/2;b.borderWidth&&(d+=g,e-=g,f+=g),a.beginPath(),a.fillStyle=b.backgroundColor,a.strokeStyle=b.borderColor,a.lineWidth=b.borderWidth;var
h=[[d,b.base],[d,f],[e,f],[e,b.base]],i=["bottom","left","top","right"],j=i.indexOf(b.borderSkipped,0);j===-1&&(j=0),a.moveTo.apply(a,k(0));for(var
l=1;l<4;l++)a.lineTo.apply(a,k(l));a.fill(),b.borderWidth&&a.stroke()},height:function(){var
a=this._view;return a.base-a.y},inRange:function(a,b){var
c=this._view;return!!c&&(c.y<c.base?a>=c.x-c.width/2&&a<=c.x+c.width/2&&b>=c.y&&b<=c.base:a>=c.x-c.width/2&&a<=c.x+c.width/2&&b>=c.base&&b<=c.y)},inLabelRange:function(a){var
b=this._view;return!!b&&(a>=b.x-b.width/2&&a<=b.x+b.width/2)},tooltipPosition:function(){var
a=this._view;return{x:a.x,y:a.y}}})}},{}],39:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c={position:"bottom"},d=a.Scale.extend({getLabels:function(){var
a=this.chart.data;return(this.isHorizontal()?a.xLabels:a.yLabels)||a.labels},determineDataLimits:function(){var
a=this,c=a.getLabels();a.minIndex=0,a.maxIndex=c.length-1;var d;void
0!==a.options.ticks.min&&(d=b.indexOf(c,a.options.ticks.min),a.minIndex=d!==-1?d:a.minIndex),void
0!==a.options.ticks.max&&(d=b.indexOf(c,a.options.ticks.max),a.maxIndex=d!==-1?d:a.maxIndex),a.min=c[a.minIndex],a.max=c[a.maxIndex]},buildTicks:function(){var
a=this,b=a.getLabels();a.ticks=0===a.minIndex&&a.maxIndex===b.length-1?b:b.slice(a.minIndex,a.maxIndex+1)},getLabelForIndex:function(a){return
this.ticks[a]},getPixelForValue:function(a,b,c,d){var
e=this,f=Math.max(e.maxIndex+1-e.minIndex-(e.options.gridLines.offsetGridLines?0:1),1);if(void
0!==a){var
g=e.getLabels(),h=g.indexOf(a);b=h!==-1?h:b}if(e.isHorizontal()){var
i=e.width-(e.paddingLeft+e.paddingRight),j=i/f,k=j*(b-e.minIndex)+e.paddingLeft;return
e.options.gridLines.offsetGridLines&&d&&(k+=j/2),e.left+Math.round(k)}var
l=e.height-(e.paddingTop+e.paddingBottom),m=l/f,n=m*(b-e.minIndex)+e.paddingTop;return
e.options.gridLines.offsetGridLines&&d&&(n+=m/2),e.top+Math.round(n)},getPixelForTick:function(a,b){return
this.getPixelForValue(this.ticks[a],a+this.minIndex,null,b)},getValueForPixel:function(a){var
c,b=this,d=Math.max(b.ticks.length-(b.options.gridLines.offsetGridLines?0:1),1),e=b.isHorizontal(),f=e?b.width-(b.paddingLeft+b.paddingRight):b.height-(b.paddingTop+b.paddingBottom),g=f/d;return
a-=e?b.left:b.top,b.options.gridLines.offsetGridLines&&(a-=g/2),a-=e?b.paddingLeft:b.paddingTop,c=a<=0?0:Math.round(a/g)},getBasePixel:function(){return
this.bottom}});a.scaleService.registerScaleType("category",d,c)}},{}],40:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c={position:"left",ticks:{callback:function(a,c,d){var
e=d.length>3?d[2]-d[1]:d[1]-d[0];Math.abs(e)>1&&a!==Math.floor(a)&&(e=a-Math.floor(a));var
f=b.log10(Math.abs(e)),g="";if(0!==a){var
h=-1*Math.floor(f);h=Math.max(Math.min(h,20),0),g=a.toFixed(h)}else
g="0";return
g}}},d=a.LinearScaleBase.extend({determineDataLimits:function(){function
h(b){return g?b.xAxisID===a.id:b.yAxisID===a.id}var
a=this,c=a.options,d=a.chart,e=d.data,f=e.datasets,g=a.isHorizontal();if(a.min=null,a.max=null,c.stacked){var
i={},j=!1,k=!1;b.each(f,function(e,f){var g=d.getDatasetMeta(f);void
0===i[g.type]&&(i[g.type]={positiveValues:[],negativeValues:[]});var
l=i[g.type].positiveValues,m=i[g.type].negativeValues;d.isDatasetVisible(f)&&h(g)&&b.each(e.data,function(b,d){var
e=+a.getRightValue(b);isNaN(e)||g.data[d].hidden||(l[d]=l[d]||0,m[d]=m[d]||0,c.relativePoints?l[d]=100:e<0?(k=!0,m[d]+=e):(j=!0,l[d]+=e))})}),b.each(i,function(c){var
d=c.positiveValues.concat(c.negativeValues),e=b.min(d),f=b.max(d);a.min=null===a.min?e:Math.min(a.min,e),a.max=null===a.max?f:Math.max(a.max,f)})}else
b.each(f,function(c,e){var
f=d.getDatasetMeta(e);d.isDatasetVisible(e)&&h(f)&&b.each(c.data,function(b,c){var
d=+a.getRightValue(b);isNaN(d)||f.data[c].hidden||(null===a.min?a.min=d:d<a.min&&(a.min=d),null===a.max?a.max=d:d>a.max&&(a.max=d))})});this.handleTickRangeOptions()},getTickLimit:function(){var
c,d=this,e=d.options.ticks;if(d.isHorizontal())c=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(d.width/50));else{var
f=b.getValueOrDefault(e.fontSize,a.defaults.global.defaultFontSize);c=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(d.height/(2*f)))}return
c},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},getPixelForValue:function(a){var
g,h,b=this,c=b.paddingLeft,d=b.paddingBottom,e=b.start,f=+b.getRightValue(a),i=b.end-e;return
b.isHorizontal()?(h=b.width-(c+b.paddingRight),g=b.left+h/i*(f-e),Math.round(g+c)):(h=b.height-(b.paddingTop+d),g=b.bottom-d-h/i*(f-e),Math.round(g))},getValueForPixel:function(a){var
b=this,c=b.isHorizontal(),d=b.paddingLeft,e=b.paddingBottom,f=c?b.width-(d+b.paddingRight):b.height-(b.paddingTop+e),g=(c?a-b.left-d:b.bottom-e-a)/f;return
b.start+(b.end-b.start)*g},getPixelForTick:function(a){return
this.getPixelForValue(this.ticksAsNumbers[a])}});a.scaleService.registerScaleType("linear",d,c)}},{}],41:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=b.noop;a.LinearScaleBase=a.Scale.extend({handleTickRangeOptions:function(){var
a=this,c=a.options,d=c.ticks;if(d.beginAtZero){var
e=b.sign(a.min),f=b.sign(a.max);e<0&&f<0?a.max=0:e>0&&f>0&&(a.min=0)}void
0!==d.min?a.min=d.min:void
0!==d.suggestedMin&&(a.min=Math.min(a.min,d.suggestedMin)),void
0!==d.max?a.max=d.max:void
0!==d.suggestedMax&&(a.max=Math.max(a.max,d.suggestedMax)),a.min===a.max&&(a.max++,d.beginAtZero||a.min--)},getTickLimit:c,handleDirectionalChanges:c,buildTicks:function(){var
a=this,c=a.options,d=a.ticks=[],e=c.ticks,f=b.getValueOrDefault,g=a.getTickLimit();g=Math.max(2,g);var
h,i=e.fixedStepSize&&e.fixedStepSize>0||e.stepSize&&e.stepSize>0;if(i)h=f(e.fixedStepSize,e.stepSize);else{var
j=b.niceNum(a.max-a.min,!1);h=b.niceNum(j/(g-1),!0)}var
k=Math.floor(a.min/h)*h,l=Math.ceil(a.max/h)*h,m=(l-k)/h;m=b.almostEquals(m,Math.round(m),h/1e3)?Math.round(m):Math.ceil(m),d.push(void
0!==e.min?e.min:k);for(var n=1;n<m;++n)d.push(k+n*h);d.push(void
0!==e.max?e.max:l),a.handleDirectionalChanges(),a.max=b.max(d),a.min=b.min(d),e.reverse?(d.reverse(),a.start=a.max,a.end=a.min):(a.start=a.min,a.end=a.max)},convertTicksToLabels:function(){var
b=this;b.ticksAsNumbers=b.ticks.slice(),b.zeroLineIndex=b.ticks.indexOf(0),a.Scale.prototype.convertTicksToLabels.call(b)}})}},{}],42:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c={position:"left",ticks:{callback:function(a,c,d){var
e=a/Math.pow(10,Math.floor(b.log10(a)));return
1===e||2===e||5===e||0===c||c===d.length-1?a.toExponential():""}}},d=a.Scale.extend({determineDataLimits:function(){function
j(b){return i?b.xAxisID===a.id:b.yAxisID===a.id}var
a=this,c=a.options,d=c.ticks,e=a.chart,f=e.data,g=f.datasets,h=b.getValueOrDefault,i=a.isHorizontal();if(a.min=null,a.max=null,c.stacked){var
k={};b.each(g,function(d,f){var
g=e.getDatasetMeta(f);e.isDatasetVisible(f)&&j(g)&&(void
0===k[g.type]&&(k[g.type]=[]),b.each(d.data,function(b,d){var
e=k[g.type],f=+a.getRightValue(b);isNaN(f)||g.data[d].hidden||(e[d]=e[d]||0,c.relativePoints?e[d]=100:e[d]+=f)}))}),b.each(k,function(c){var
d=b.min(c),e=b.max(c);a.min=null===a.min?d:Math.min(a.min,d),a.max=null===a.max?e:Math.max(a.max,e)})}else
b.each(g,function(c,d){var
f=e.getDatasetMeta(d);e.isDatasetVisible(d)&&j(f)&&b.each(c.data,function(b,c){var
d=+a.getRightValue(b);isNaN(d)||f.data[c].hidden||(null===a.min?a.min=d:d<a.min&&(a.min=d),null===a.max?a.max=d:d>a.max&&(a.max=d))})});a.min=h(d.min,a.min),a.max=h(d.max,a.max),a.min===a.max&&(0!==a.min&&null!==a.min?(a.min=Math.pow(10,Math.floor(b.log10(a.min))-1),a.max=Math.pow(10,Math.floor(b.log10(a.max))+1)):(a.min=1,a.max=10))},buildTicks:function(){for(var
a=this,c=a.options,d=c.ticks,e=b.getValueOrDefault,f=a.ticks=[],g=e(d.min,Math.pow(10,Math.floor(b.log10(a.min))));g<a.max;){f.push(g);var
h=Math.floor(b.log10(g)),i=Math.floor(g/Math.pow(10,h))+1;10===i&&(i=1,++h),g=i*Math.pow(10,h)}var
j=e(d.max,g);f.push(j),a.isHorizontal()||f.reverse(),a.max=b.max(f),a.min=b.min(f),d.reverse?(f.reverse(),a.start=a.max,a.end=a.min):(a.start=a.min,a.end=a.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),a.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},getPixelForTick:function(a){return
this.getPixelForValue(this.tickValues[a])},getPixelForValue:function(a){var
d,e,c=this,f=c.start,g=+c.getRightValue(a),h=b.log10(c.end)-b.log10(f),i=c.paddingTop,j=c.paddingBottom,k=c.paddingLeft;return
c.isHorizontal()?0===g?e=c.left+k:(d=c.width-(k+c.paddingRight),e=c.left+d/h*(b.log10(g)-b.log10(f)),e+=k):0===g?e=c.top+i:(d=c.height-(i+j),e=c.bottom-j-d/h*(b.log10(g)-b.log10(f))),e},getValueForPixel:function(a){var
e,f,c=this,d=b.log10(c.end)-b.log10(c.start);return
c.isHorizontal()?(f=c.width-(c.paddingLeft+c.paddingRight),e=c.start*Math.pow(10,(a-c.left-c.paddingLeft)*d/f)):(f=c.height-(c.paddingTop+c.paddingBottom),e=Math.pow(10,(c.bottom-c.paddingBottom-a)*d/f)/c.start),e}});a.scaleService.registerScaleType("logarithmic",d,c)}},{}],43:[function(a,b,c){"use
strict";b.exports=function(a){var
b=a.helpers,c=a.defaults.global,d={display:!0,animate:!0,lineArc:!1,position:"chartArea",angleLines:{display:!0,color:"rgba(0,
0, 0,
0.1)",lineWidth:1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2},pointLabels:{fontSize:10,callback:function(a){return
a}}},e=a.LinearScaleBase.extend({getValueCount:function(){return
this.chart.data.labels.length},setDimensions:function(){var
a=this,d=a.options,e=d.ticks;a.width=a.maxWidth,a.height=a.maxHeight,a.xCenter=Math.round(a.width/2),a.yCenter=Math.round(a.height/2);var
f=b.min([a.height,a.width]),g=b.getValueOrDefault(e.fontSize,c.defaultFontSize);a.drawingArea=d.display?f/2-(g/2+e.backdropPaddingY):f/2},determineDataLimits:function(){var
a=this,c=a.chart;a.min=null,a.max=null,b.each(c.data.datasets,function(d,e){if(c.isDatasetVisible(e)){var
f=c.getDatasetMeta(e);b.each(d.data,function(b,c){var
d=+a.getRightValue(b);isNaN(d)||f.data[c].hidden||(null===a.min?a.min=d:d<a.min&&(a.min=d),null===a.max?a.max=d:d>a.max&&(a.max=d))})}}),a.handleTickRangeOptions()},getTickLimit:function(){var
a=this.options.ticks,d=b.getValueOrDefault(a.fontSize,c.defaultFontSize);return
Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*d)))},convertTicksToLabels:function(){var
b=this;a.LinearScaleBase.prototype.convertTicksToLabels.call(b),b.pointLabels=b.chart.data.labels.map(b.options.pointLabels.callback,b)},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},fit:function(){var
i,j,k,l,n,o,q,r,s,t,u,v,a=this.options.pointLabels,d=b.getValueOrDefault(a.fontSize,c.defaultFontSize),e=b.getValueOrDefault(a.fontStyle,c.defaultFontStyle),f=b.getValueOrDefault(a.fontFamily,c.defaultFontFamily),g=b.fontString(d,e,f),h=b.min([this.height/2-d-5,this.width/2]),m=this.width,p=0;for(this.ctx.font=g,j=0;j<this.getValueCount();j++){i=this.getPointPosition(j,h),k=this.ctx.measureText(this.pointLabels[j]?this.pointLabels[j]:"").width+5;var
w=this.getIndexAngle(j)+Math.PI/2,x=360*w/(2*Math.PI)%360;0===x||180===x?(l=k/2,i.x+l>m&&(m=i.x+l,n=j),i.x-l<p&&(p=i.x-l,q=j)):x<180?i.x+k>m&&(m=i.x+k,n=j):i.x-k<p&&(p=i.x-k,q=j)}s=p,t=Math.ceil(m-this.width),o=this.getIndexAngle(n),r=this.getIndexAngle(q),u=t/Math.sin(o+Math.PI/2),v=s/Math.sin(r+Math.PI/2),u=b.isNumber(u)?u:0,v=b.isNumber(v)?v:0,this.drawingArea=Math.round(h-(v+u)/2),this.setCenterPoint(v,u)},setCenterPoint:function(a,b){var
c=this,d=c.width-b-c.drawingArea,e=a+c.drawingArea;c.xCenter=Math.round((e+d)/2+c.left),c.yCenter=Math.round(c.height/2+c.top)},getIndexAngle:function(a){var
b=2*Math.PI/this.getValueCount(),c=this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0,d=c*Math.PI*2/360;return
a*b-Math.PI/2+d},getDistanceFromCenterForValue:function(a){var
b=this;if(null===a)return 0;var c=b.drawingArea/(b.max-b.min);return
b.options.reverse?(b.max-a)*c:(a-b.min)*c},getPointPosition:function(a,b){var
c=this,d=c.getIndexAngle(a);return{x:Math.round(Math.cos(d)*b)+c.xCenter,y:Math.round(Math.sin(d)*b)+c.yCenter}},getPointPositionForValue:function(a,b){return
this.getPointPosition(a,this.getDistanceFromCenterForValue(b))},getBasePosition:function(){var
a=this,b=a.min,c=a.max;return
a.getPointPositionForValue(0,a.beginAtZero?0:b<0&&c<0?c:b>0&&c>0?b:0)},draw:function(){var
a=this,d=a.options,e=d.gridLines,f=d.ticks,g=d.angleLines,h=d.pointLabels,i=b.getValueOrDefault;if(d.display){var
j=a.ctx,k=i(f.fontSize,c.defaultFontSize),l=i(f.fontStyle,c.defaultFontStyle),m=i(f.fontFamily,c.defaultFontFamily),n=b.fontString(k,l,m);if(b.each(a.ticks,function(g,h){if(h>0||d.reverse){var
l=a.getDistanceFromCenterForValue(a.ticksAsNumbers[h]),m=a.yCenter-l;if(e.display&&0!==h)if(j.strokeStyle=b.getValueAtIndexOrDefault(e.color,h-1),j.lineWidth=b.getValueAtIndexOrDefault(e.lineWidth,h-1),d.lineArc)j.beginPath(),j.arc(a.xCenter,a.yCenter,l,0,2*Math.PI),j.closePath(),j.stroke();else{j.beginPath();for(var
o=0;o<a.getValueCount();o++){var
p=a.getPointPosition(o,l);0===o?j.moveTo(p.x,p.y):j.lineTo(p.x,p.y)}j.closePath(),j.stroke()}if(f.display){var
q=i(f.fontColor,c.defaultFontColor);if(j.font=n,f.showLabelBackdrop){var
r=j.measureText(g).width;j.fillStyle=f.backdropColor,j.fillRect(a.xCenter-r/2-f.backdropPaddingX,m-k/2-f.backdropPaddingY,r+2*f.backdropPaddingX,k+2*f.backdropPaddingY)}j.textAlign="center",j.textBaseline="middle",j.fillStyle=q,j.fillText(g,a.xCenter,m)}}}),!d.lineArc){j.lineWidth=g.lineWidth,j.strokeStyle=g.color;for(var
o=a.getDistanceFromCenterForValue(d.reverse?a.min:a.max),p=i(h.fontSize,c.defaultFontSize),q=i(h.fontStyle,c.defaultFontStyle),r=i(h.fontFamily,c.defaultFontFamily),s=b.fontString(p,q,r),t=a.getValueCount()-1;t>=0;t--){if(g.display){var
u=a.getPointPosition(t,o);j.beginPath(),j.moveTo(a.xCenter,a.yCenter),j.lineTo(u.x,u.y),j.stroke(),j.closePath()}var
v=a.getPointPosition(t,o+5),w=i(h.fontColor,c.defaultFontColor);j.font=s,j.fillStyle=w;var
x=a.pointLabels,y=this.getIndexAngle(t)+Math.PI/2,z=360*y/(2*Math.PI)%360;0===z||180===z?j.textAlign="center":z<180?j.textAlign="left":j.textAlign="right",90===z||270===z?j.textBaseline="middle":z>270||z<90?j.textBaseline="bottom":j.textBaseline="top",j.fillText(x[t]?x[t]:"",v.x,v.y)}}}}});a.scaleService.registerScaleType("radialLinear",e,d)}},{}],44:[function(a,b,c){"use
strict";var d=a(6);d="function"==typeof
d?d:window.moment,b.exports=function(a){var
b=a.helpers,c={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},e={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,displayFormats:{millisecond:"h:mm:ss.SSS
a",second:"h:mm:ss a",minute:"h:mm:ss
a",hour:"MMM D,
hA",day:"ll",week:"ll",month:"MMM
YYYY",quarter:"[Q]Q -
YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},f=a.Scale.extend({initialize:function(){if(!d)throw
new Error("Chart.js - Moment.js could not be found! You must include
it before Chart.js to use the time scale. Download at
https://momentjs.com");a.Scale.prototype.initialize.call(this)},getLabelMoment:function(a,b){return"undefined"!=typeof
this.labelMoments[a]?this.labelMoments[a][b]:null},getMomentStartOf:function(a){var
b=this;return"week"===b.options.time.unit&&b.options.time.isoWeekday!==!1?a.clone().startOf("isoWeek").isoWeekday(b.options.time.isoWeekday):a.clone().startOf(b.tickUnit)},determineDataLimits:function(){var
a=this;a.labelMoments=[];var
c=[];a.chart.data.labels&&a.chart.data.labels.length>0?(b.each(a.chart.data.labels,function(b){var
d=a.parseTime(b);d.isValid()&&(a.options.time.round&&d.startOf(a.options.time.round),c.push(d))},a),a.firstTick=d.min.call(a,c),a.lastTick=d.max.call(a,c)):(a.firstTick=null,a.lastTick=null),b.each(a.chart.data.datasets,function(e,f){var
g=[],h=a.chart.isDatasetVisible(f);"object"==typeof
e.data[0]&&null!==e.data[0]?b.each(e.data,function(b){var
c=a.parseTime(a.getRightValue(b));c.isValid()&&(a.options.time.round&&c.startOf(a.options.time.round),g.push(c),h&&(a.firstTick=null!==a.firstTick?d.min(a.firstTick,c):c,a.lastTick=null!==a.lastTick?d.max(a.lastTick,c):c))},a):g=c,a.labelMoments.push(g)},a),a.options.time.min&&(a.firstTick=a.parseTime(a.options.time.min)),a.options.time.max&&(a.lastTick=a.parseTime(a.options.time.max)),a.firstTick=(a.firstTick||d()).clone(),a.lastTick=(a.lastTick||d()).clone()},buildTicks:function(){var
d=this;d.ctx.save();var
e=b.getValueOrDefault(d.options.ticks.fontSize,a.defaults.global.defaultFontSize),f=b.getValueOrDefault(d.options.ticks.fontStyle,a.defaults.global.defaultFontStyle),g=b.getValueOrDefault(d.options.ticks.fontFamily,a.defaults.global.defaultFontFamily),h=b.fontString(e,f,g);if(d.ctx.font=h,d.ticks=[],d.unitScale=1,d.scaleSizeInUnits=0,d.options.time.unit)d.tickUnit=d.options.time.unit||"day",d.displayFormat=d.options.time.displayFormats[d.tickUnit],d.scaleSizeInUnits=d.lastTick.diff(d.firstTick,d.tickUnit,!0),d.unitScale=b.getValueOrDefault(d.options.time.unitStepSize,1);else{var
i=d.isHorizontal()?d.width-(d.paddingLeft+d.paddingRight):d.height-(d.paddingTop+d.paddingBottom),j=d.tickFormatFunction(d.firstTick,0,[]),k=d.ctx.measureText(j).width,l=Math.cos(b.toRadians(d.options.ticks.maxRotation)),m=Math.sin(b.toRadians(d.options.ticks.maxRotation));k=k*l+e*m;var
n=i/k;d.tickUnit="millisecond",d.scaleSizeInUnits=d.lastTick.diff(d.firstTick,d.tickUnit,!0),d.displayFormat=d.options.time.displayFormats[d.tickUnit];for(var
o=0,p=c.units[o];o<c.units.length;){if(d.unitScale=1,b.isArray(p.steps)&&Math.ceil(d.scaleSizeInUnits/n)<b.max(p.steps)){for(var
q=0;q<p.steps.length;++q)if(p.steps[q]>=Math.ceil(d.scaleSizeInUnits/n)){d.unitScale=b.getValueOrDefault(d.options.time.unitStepSize,p.steps[q]);break}break}if(p.maxStep===!1||Math.ceil(d.scaleSizeInUnits/n)<p.maxStep){d.unitScale=b.getValueOrDefault(d.options.time.unitStepSize,Math.ceil(d.scaleSizeInUnits/n));break}++o,p=c.units[o],d.tickUnit=p.name;var
r=d.firstTick.diff(d.getMomentStartOf(d.firstTick),d.tickUnit,!0),s=d.getMomentStartOf(d.lastTick.clone().add(1,d.tickUnit)).diff(d.lastTick,d.tickUnit,!0);d.scaleSizeInUnits=d.lastTick.diff(d.firstTick,d.tickUnit,!0)+r+s,d.displayFormat=d.options.time.displayFormats[p.name]}}var
t;if(d.options.time.min?t=d.getMomentStartOf(d.firstTick):(d.firstTick=d.getMomentStartOf(d.firstTick),t=d.firstTick),!d.options.time.max){var
u=d.getMomentStartOf(d.lastTick),v=u.diff(d.lastTick,d.tickUnit,!0);v<0?d.lastTick=d.getMomentStartOf(d.lastTick.add(1,d.tickUnit)):v>=0&&(d.lastTick=u),d.scaleSizeInUnits=d.lastTick.diff(d.firstTick,d.tickUnit,!0)}d.smallestLabelSeparation=d.width,b.each(d.chart.data.datasets,function(a,b){for(var
c=1;c<d.labelMoments[b].length;c++)d.smallestLabelSeparation=Math.min(d.smallestLabelSeparation,d.labelMoments[b][c].diff(d.labelMoments[b][c-1],d.tickUnit,!0))},d),d.options.time.displayFormat&&(d.displayFormat=d.options.time.displayFormat),d.ticks.push(d.firstTick.clone());for(var
w=1;w<=d.scaleSizeInUnits;++w){var
x=t.clone().add(w,d.tickUnit);if(d.options.time.max&&x.diff(d.lastTick,d.tickUnit,!0)>=0)break;w%d.unitScale===0&&d.ticks.push(x)}var
y=d.ticks[d.ticks.length-1].diff(d.lastTick,d.tickUnit);0===y&&0!==d.scaleSizeInUnits||(d.options.time.max?(d.ticks.push(d.lastTick.clone()),d.scaleSizeInUnits=d.lastTick.diff(d.ticks[0],d.tickUnit,!0)):(d.ticks.push(d.lastTick.clone()),d.scaleSizeInUnits=d.lastTick.diff(d.firstTick,d.tickUnit,!0))),d.ctx.restore()},getLabelForIndex:function(a,b){var
c=this,d=c.chart.data.labels&&a<c.chart.data.labels.length?c.chart.data.labels[a]:"";return"object"==typeof
c.chart.data.datasets[b].data[0]&&(d=c.getRightValue(c.chart.data.datasets[b].data[a])),c.options.time.tooltipFormat&&(d=c.parseTime(d).format(c.options.time.tooltipFormat)),d},tickFormatFunction:function(a,c,d){var
e=a.format(this.displayFormat),f=this.options.ticks,g=b.getValueOrDefault(f.callback,f.userCallback);return
g?g(e,c,d):e},convertTicksToLabels:function(){var
a=this;a.tickMoments=a.ticks,a.ticks=a.ticks.map(a.tickFormatFunction,a)},getPixelForValue:function(a,b,c){var
e=this;a&&a.isValid||(a=d(e.getRightValue(a)));var
f=a&&a.isValid&&a.isValid()?a:e.getLabelMoment(c,b);if(f){var
g=f.diff(e.firstTick,e.tickUnit,!0),h=0!==g?g/e.scaleSizeInUnits:g;if(e.isHorizontal()){var
i=e.width-(e.paddingLeft+e.paddingRight),j=i*h+e.paddingLeft;return
e.left+Math.round(j)}var
k=e.height-(e.paddingTop+e.paddingBottom),l=k*h+e.paddingTop;return
e.top+Math.round(l)}},getPixelForTick:function(a){return
this.getPixelForValue(this.tickMoments[a],null,null)},getValueForPixel:function(a){var
b=this,c=b.isHorizontal()?b.width-(b.paddingLeft+b.paddingRight):b.height-(b.paddingTop+b.paddingBottom),e=(a-(b.isHorizontal()?b.left+b.paddingLeft:b.top+b.paddingTop))/c;return
e*=b.scaleSizeInUnits,b.firstTick.clone().add(d.duration(e,b.tickUnit).asSeconds(),"seconds")},parseTime:function(a){var
b=this;return"string"==typeof
b.options.time.parser?d(a,b.options.time.parser):"function"==typeof
b.options.time.parser?b.options.time.parser(a):"function"==typeof
a.getMonth||"number"==typeof
a?d(a):a.isValid&&a.isValid()?a:"string"!=typeof
b.options.time.format&&b.options.time.format.call?(console.warn("options.time.format
is deprecated and replaced by options.time.parser. See
http://nnnick.github.io/Chart.js/docs-v2/#scales-time-scale"),b.options.time.format(a)):d(a,b.options.time.format)}});a.scaleService.registerScaleType("time",f,e)}},{6:6}]},{},[7])(7)});PKݴ�[�#o,,chartjs/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[�e��$$chartjs/LICENSE.mdnu�[���Copyright
(c) 2013-2015 Nick Downie
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
PKݴ�[+s�bchosen/chosen-bootstrap.cssnu�[���select.form-control
+ .chosen-container.chosen-container-single .chosen-single {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
vertical-align: middle;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border-color ease-in-out .15s,box-shadow
ease-in-out .15s;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
background-image:none;
}
select.form-control + .chosen-container.chosen-container-single
.chosen-single div {
top:4px;
color:#000;
}
select.form-control + .chosen-container .chosen-drop {
background-color: #FFF;
border: 1px solid #CCC;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
background-clip: padding-box;
margin: 2px 0 0;
}
select.form-control + .chosen-container .chosen-search input[type=text] {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
vertical-align: middle;
background-color: #FFF;
border: 1px solid #CCC;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow
ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out
0.15s;
background-image:none;
}
select.form-control + .chosen-container .chosen-results {
margin: 2px 0 0;
padding: 5px 0;
font-size: 14px;
list-style: none;
background-color: #fff;
margin-bottom: 5px;
}
select.form-control + .chosen-container .chosen-results li ,
select.form-control + .chosen-container .chosen-results li.active-result {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.428571429;
color: #333;
white-space: nowrap;
background-image:none;
}
select.form-control + .chosen-container .chosen-results li:hover,
select.form-control + .chosen-container .chosen-results
li.active-result:hover,
select.form-control + .chosen-container .chosen-results li.highlighted
{
color: #FFF;
text-decoration: none;
background-color: #428BCA;
background-image:none;
}
select.form-control + .chosen-container-multi .chosen-choices {
display: block;
width: 100%;
min-height: 34px;
padding: 6px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
vertical-align: middle;
background-color: #FFF;
border: 1px solid #CCC;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow
ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out
0.15s;
background-image:none;
}
select.form-control + .chosen-container-multi .chosen-choices
li.search-field input[type="text"] {
height:auto;
padding:5px 0;
}
select.form-control + .chosen-container-multi .chosen-choices
li.search-choice {
background-image: none;
padding: 3px 24px 3px 5px;
margin: 0 6px 0 0;
font-size: 14px;
font-weight: normal;
line-height: 1.428571429;
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border: 1px solid #ccc;
border-radius: 4px;
color: #333;
background-color: #FFF;
border-color: #CCC;
}
select.form-control + .chosen-container-multi .chosen-choices
li.search-choice .search-choice-close {
top:8px;
right:6px;
}
select.form-control + .chosen-container-multi.chosen-container-active
.chosen-choices,
select.form-control +
.chosen-container.chosen-container-single.chosen-container-active
.chosen-single,
select.form-control + .chosen-container .chosen-search
input[type=text]:focus{
border-color: #66AFE9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px
rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(102, 175,
233, 0.6);
}
select.form-control + .chosen-container-multi .chosen-results
li.result-selected{
display: list-item;
color: #ccc;
cursor: default;
background-color: white;
}
PKݴ�[�k�`��chosen/chosen-sprite-white.pngnu�[����PNG
IHDR4%
���sBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks CS6輲�SIDATX�ݘ?�U�WSYY�Rv��'�ŽJ
!dq��X�E� )>!j �2(�b�(�ȍ� �
.>��Fc����c1��7y;���7�˝{g����?g&H��pw�lX^t���}3�8�m*6���3���<p8�u��I�7`��ԓ�G�}
X�!w_�$��zXt�~���%�Y@@�����`S,��`fu��(��8��-��F�
m��
��̿�L�:p,�s�E3��*=��DE�w�H�������m����2#2��~�̾�
9�^Vh�~,�&�L��wo6|�
K��d2�<Z>��
����=
|P
p���tT3;
�͇��)w?א���:�.7~�<p�r���s�}w??��f6G�N���Ic5����U��?�j{�f)�ޣ
c�RZ��F�h}��S�h2��/�
s���0�RZ�1n������*�hJf��N�d�R:�F��.����:�t�B��u!��=�c��>1�>��r]@^3�2"�3)�t�P&��'���!ƬO��
��I�����'�x
�GC�ӹ]�]S��Ph����>�@ax-i7�'7��nV�S5�Z��$��˥/ii��(9�3*pE��Nk�c;�}�DJ塜�%I{JI�+隤_%�#Ԧ)7��B�y�B���a8P�M��0�_V�"�w�i�+���{�S���6J�Π�#�I�H:,)H�-鄤?%�
�ܧMb|�[�_K��[q��Pk���`�tp��ޣ0/�G�!��g���2e�����JJ��4�)�R�I�=�:\�M�\-B�P|������bK�-IEND�B`�PKݴ�[.?Lchosen/chosen-sprite.pngnu�[����PNG
IHDR4%��^�IDATH�헱kSQƯ
.-����=�$�b�o�$((T�Hw��*����"nupA�@
P�Apq�J$p!P��M1��.�����;���=��\D�.Y�n0��@}�DMF���>Fb��1���
�c� !6�1r��b�%G���I��J(v��fFy�O����H4B
c�1�}��^��4��5Fo��G�X�ٝv�U�n�(�R�s�p����v��*��8sP���*�c�O�TQWŬ���j1Q�H}����T��+���}��֕d�/���L�Lc�F�6�˔�7��,9ʼ1IkJ�(�dJj��Lc�^��z*"Hu�j)����,?<��._1�a�������°x� /b�}�T!�����i?O�u� oc\������eN��c:�99�\@�s�
uZ���q��|yp�k�a�����6��B|���1��G����gq�u����p�+���[�*y���IEND�B`�PKݴ�[�5����chosen/chosen-sprite@2x.pngnu�[����PNG
IHDRhJ�q��IDATh�횿o�@�#�P �
�����?!d�ԅ�sft⇿'R�J0�#[���Ɉ��+��������P����{R�W%����ދ��1�e,�J4�h��'�Y�2�Ny�H%?��/�4��
L�j�[�� -�85H�q���H�����qȱ�s���6�C+�%0��`QW�X����O�5��
�]:ڿ��h���Ig���7�oi����
1n�
���f���Hn�'
�!-��
hjh؝l�n��zH���A��oj��Q�FEæ�����hH
'��wԲt�c �8�H۪�/�4��
L�j��`$�8�� q�iD�S %N��9
�J�1Sp̶�;X�k}\kN[�[�t���������k�%��s�F<Uk��}dvǢ�W���b��?�O/n&�
�0p)/��Pyf'��~�|��|+a�C�˒�bKq��SB>��p��3�K�X��R~����C�gY�Ƭ��,�9���A%w;8Q�h�H�,�]n�p��Y��>�$�c
��)�ƒ�K�hw~��S�ʼn�q��P�*�w�Ҷ�����X�y{$���u�%�&�Z����'������(�8���֜�b��ҍ၊�5R6�emP�0�<�F�-F��
i��#� ��z�H�|��Y��JZ�\N��IEND�B`�PKݴ�[����/�/chosen/chosen.cssnu�[���/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.8.7
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2018 Harvest http://getharvest.com
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/
/* @group Base */
.chosen-container {
position: relative;
display: inline-block;
vertical-align: middle;
font-size: 13px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.chosen-container * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.chosen-container .chosen-drop {
position: absolute;
top: 100%;
z-index: 1010;
width: 100%;
border: 1px solid #aaa;
border-top: 0;
background: #fff;
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
clip: rect(0, 0, 0, 0);
-webkit-clip-path: inset(100% 100%);
clip-path: inset(100% 100%);
}
.chosen-container.chosen-with-drop .chosen-drop {
clip: auto;
-webkit-clip-path: none;
clip-path: none;
}
.chosen-container a {
cursor: pointer;
}
.chosen-container .search-choice .group-name, .chosen-container
.chosen-single .group-name {
margin-right: 4px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: normal;
color: #999999;
}
.chosen-container .search-choice .group-name:after, .chosen-container
.chosen-single .group-name:after {
content: ":";
padding-left: 2px;
vertical-align: top;
}
/* @end */
/* @group Single Chosen */
.chosen-container-single .chosen-single {
position: relative;
display: block;
overflow: hidden;
padding: 0 0 0 8px;
height: 25px;
border: 1px solid #aaa;
border-radius: 5px;
background-color: #fff;
background: -webkit-gradient(linear, left top, left bottom,
color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee),
to(#f4f4f4));
background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4
100%);
background-clip: padding-box;
-webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
color: #444;
text-decoration: none;
white-space: nowrap;
line-height: 24px;
}
.chosen-container-single .chosen-default {
color: #999;
}
.chosen-container-single .chosen-single span {
display: block;
overflow: hidden;
margin-right: 26px;
text-overflow: ellipsis;
white-space: nowrap;
}
.chosen-container-single .chosen-single-with-deselect span {
margin-right: 38px;
}
.chosen-container-single .chosen-single abbr {
position: absolute;
top: 6px;
right: 26px;
display: block;
width: 12px;
height: 12px;
background: url("chosen-sprite.png") -42px 1px no-repeat;
font-size: 1px;
}
.chosen-container-single .chosen-single abbr:hover {
background-position: -42px -10px;
}
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
background-position: -42px -10px;
}
.chosen-container-single .chosen-single div {
position: absolute;
top: 0;
right: 0;
display: block;
width: 18px;
height: 100%;
}
.chosen-container-single .chosen-single div b {
display: block;
width: 100%;
height: 100%;
background: url("chosen-sprite.png") no-repeat 0px 2px;
}
.chosen-container-single .chosen-search {
position: relative;
z-index: 1010;
margin: 0;
padding: 3px 4px;
white-space: nowrap;
}
.chosen-container-single .chosen-search input[type="text"] {
margin: 1px 0;
padding: 4px 20px 4px 5px;
width: 100%;
height: auto;
outline: 0;
border: 1px solid #aaa;
background: url("chosen-sprite.png") no-repeat 100% -20px;
font-size: 1em;
font-family: sans-serif;
line-height: normal;
border-radius: 0;
}
.chosen-container-single .chosen-drop {
margin-top: -1px;
border-radius: 0 0 4px 4px;
background-clip: padding-box;
}
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
position: absolute;
clip: rect(0, 0, 0, 0);
-webkit-clip-path: inset(100% 100%);
clip-path: inset(100% 100%);
}
/* @end */
/* @group Results */
.chosen-container .chosen-results {
color: #444;
position: relative;
overflow-x: hidden;
overflow-y: auto;
margin: 0 4px 4px 0;
padding: 0 0 0 4px;
max-height: 240px;
-webkit-overflow-scrolling: touch;
}
.chosen-container .chosen-results li {
display: none;
margin: 0;
padding: 5px 6px;
list-style: none;
line-height: 15px;
word-wrap: break-word;
-webkit-touch-callout: none;
}
.chosen-container .chosen-results li.active-result {
display: list-item;
cursor: pointer;
}
.chosen-container .chosen-results li.disabled-result {
display: list-item;
color: #ccc;
cursor: default;
}
.chosen-container .chosen-results li.highlighted {
background-color: #3875d7;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
color: #fff;
}
.chosen-container .chosen-results li.no-results {
color: #777;
display: list-item;
background: #f4f4f4;
}
.chosen-container .chosen-results li.group-result {
display: list-item;
font-weight: bold;
cursor: default;
}
.chosen-container .chosen-results li.group-option {
padding-left: 15px;
}
.chosen-container .chosen-results li em {
font-style: normal;
text-decoration: underline;
}
/* @end */
/* @group Multi Chosen */
.chosen-container-multi .chosen-choices {
position: relative;
overflow: hidden;
margin: 0;
padding: 0 5px;
width: 100%;
height: auto;
border: 1px solid #aaa;
background-color: #fff;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(1%, #eee), color-stop(15%, #fff));
background-image: linear-gradient(#eee 1%, #fff 15%);
cursor: text;
}
.chosen-container-multi .chosen-choices li {
float: left;
list-style: none;
}
.chosen-container-multi .chosen-choices li.search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}
.chosen-container-multi .chosen-choices li.search-field
input[type="text"] {
margin: 1px 0;
padding: 0;
height: 25px;
outline: 0;
border: 0 !important;
background: transparent !important;
-webkit-box-shadow: none;
box-shadow: none;
color: #999;
font-size: 100%;
font-family: sans-serif;
line-height: normal;
border-radius: 0;
width: 25px;
}
.chosen-container-multi .chosen-choices li.search-choice {
position: relative;
margin: 3px 5px 3px 0;
padding: 3px 20px 3px 5px;
border: 1px solid #aaa;
max-width: 100%;
border-radius: 3px;
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%,
#e8e8e8), to(#eee));
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%,
#eee 100%);
background-size: 100% 19px;
background-repeat: repeat-x;
background-clip: padding-box;
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
color: #333;
line-height: 13px;
cursor: default;
}
.chosen-container-multi .chosen-choices li.search-choice span {
word-wrap: break-word;
}
.chosen-container-multi .chosen-choices li.search-choice
.search-choice-close {
position: absolute;
top: 4px;
right: 3px;
display: block;
width: 12px;
height: 12px;
background: url("chosen-sprite.png") -42px 1px no-repeat;
font-size: 1px;
}
.chosen-container-multi .chosen-choices li.search-choice
.search-choice-close:hover {
background-position: -42px -10px;
}
.chosen-container-multi .chosen-choices li.search-choice-disabled {
padding-right: 5px;
border: 1px solid #ccc;
background-color: #e4e4e4;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%,
#e8e8e8), to(#eee));
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%,
#eee 100%);
color: #666;
}
.chosen-container-multi .chosen-choices li.search-choice-focus {
background: #d4d4d4;
}
.chosen-container-multi .chosen-choices li.search-choice-focus
.search-choice-close {
background-position: -42px -10px;
}
.chosen-container-multi .chosen-results {
margin: 0;
padding: 0;
}
.chosen-container-multi .chosen-drop .result-selected {
display: list-item;
color: #ccc;
cursor: default;
}
/* @end */
/* @group Active */
.chosen-container-active .chosen-single {
border: 1px solid #5897fb;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chosen-container-active.chosen-with-drop .chosen-single {
border: 1px solid #aaa;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(20%, #eee), color-stop(80%, #fff));
background-image: linear-gradient(#eee 20%, #fff 80%);
-webkit-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
}
.chosen-container-active.chosen-with-drop .chosen-single div {
border-left: none;
background: transparent;
}
.chosen-container-active.chosen-with-drop .chosen-single div b {
background-position: -18px 2px;
}
.chosen-container-active .chosen-choices {
border: 1px solid #5897fb;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chosen-container-active .chosen-choices li.search-field
input[type="text"] {
color: #222 !important;
}
/* @end */
/* @group Disabled Support */
.chosen-disabled {
opacity: 0.5 !important;
cursor: default;
}
.chosen-disabled .chosen-single {
cursor: default;
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
cursor: default;
}
/* @end */
/* @group Right to Left */
.chosen-rtl {
text-align: right;
}
.chosen-rtl .chosen-single {
overflow: visible;
padding: 0 8px 0 0;
}
.chosen-rtl .chosen-single span {
margin-right: 0;
margin-left: 26px;
direction: rtl;
}
.chosen-rtl .chosen-single-with-deselect span {
margin-left: 38px;
}
.chosen-rtl .chosen-single div {
right: auto;
left: 3px;
}
.chosen-rtl .chosen-single abbr {
right: auto;
left: 26px;
}
.chosen-rtl .chosen-choices li {
float: right;
}
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
direction: rtl;
}
.chosen-rtl .chosen-choices li.search-choice {
margin: 3px 5px 3px 0;
padding: 3px 5px 3px 19px;
}
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
right: auto;
left: 4px;
}
.chosen-rtl.chosen-container-single .chosen-results {
margin: 0 0 4px 4px;
padding: 0 4px 0 0;
}
.chosen-rtl .chosen-results li.group-option {
padding-right: 15px;
padding-left: 0;
}
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
border-right: none;
}
.chosen-rtl .chosen-search input[type="text"] {
padding: 4px 5px 4px 20px;
background: url("chosen-sprite.png") no-repeat -30px -20px;
direction: rtl;
}
.chosen-rtl.chosen-container-single .chosen-single div b {
background-position: 6px 2px;
}
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
background-position: -12px 2px;
}
/* @end */
/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen
and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
.chosen-rtl .chosen-search input[type="text"],
.chosen-container-single .chosen-single abbr,
.chosen-container-single .chosen-single div b,
.chosen-container-single .chosen-search input[type="text"],
.chosen-container-multi .chosen-choices .search-choice
.search-choice-close,
.chosen-container .chosen-results-scroll-down span,
.chosen-container .chosen-results-scroll-up span {
background-image: url("chosen-sprite@2x.png") !important;
background-size: 52px 37px !important;
background-repeat: no-repeat !important;
}
}
/* @end */
PKݴ�[s�^�q�qchosen/chosen.jquery.min.jsnu�[���/*
Chosen v1.8.7 | (c) 2011-2018 by Harvest | MIT License,
https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
(function(){var t,e,s,i,n=function(t,e){return function(){return
t.apply(e,arguments)}},r=function(t,e){function
s(){this.constructor=t}for(var i in
e)o.call(e,i)&&(t[i]=e[i]);return
s.prototype=e.prototype,t.prototype=new
s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function
t(){this.options_index=0,this.parsed=[]}return
t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var
e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void
0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s<i;s++)n=r[s],o.push(this.add_option(n,e,t.disabled));return
o},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void
0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var
e,s,n,r,o;for(r=new
i,s=0,n=(o=t.childNodes).length;s<n;s++)e=o[s],r.add_node(e);return
r.parsed},e=function(){function
t(e,s){this.form_field=e,this.options=null!=s?s:{},this.label_click_handler=n(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return
t.prototype.set_default_values=function(){return
this.click_test_action=function(t){return function(e){return
t.test_active_click(e)}}(this),this.activate_action=function(t){return
function(e){return
t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||Infinity,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return
this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return
this.include_group_label_in_selected&&null!=t.group_label?"<b
class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return
this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return
this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return
setTimeout(function(t){return function(){return
t.container_mousedown()}}(this),50)}else if(!this.active_field)return
this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return
this.active_field=!1,setTimeout(function(t){return function(){return
t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return
this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var
e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n<r&&(s=o[n],i="",""!==(i=s.group?this.result_add_group(s):this.result_add_option(s))&&(h++,e+=i),(null!=t?t.first:void
0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(h>=this.max_shown_results));n++);return
e},t.prototype.result_add_option=function(t){var e,s;return
t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join("
"),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var
e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join("
"),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return
this.winnow_results()},t.prototype.reset_single_select_options=function(){var
t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t<e;t++)(i=s[t]).selected?n.push(i.selected=!1):n.push(void
0);return n},t.prototype.results_toggle=function(){return
this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return
this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var
e,s,i,n,r,o,h,l,c,_,a,u,d,p,f;for(this.no_results_clear(),_=0,e=(h=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(e),i=0,n=(l=this.results_data).length;i<n;i++)(r=l[i]).search_match=!1,a=null,u=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(a=this.results_data[r.group_array_index]).active_options&&a.search_match&&(_+=1),a.active_options+=1),f=r.group?r.label:r.text,r.group&&!this.group_search||(u=this.search_string_match(f,c),r.search_match=null!=u,r.search_match&&!r.group&&(_+=1),r.search_match?(h.length&&(d=u.index,o=f.slice(0,d),s=f.slice(d,d+h.length),p=f.slice(d+h.length),r.highlighted_html=this.escape_html(o)+"<em>"+this.escape_html(s)+"</em>"+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return
this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void
0)?void
0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var
e,s;return
s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new
RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return
s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void
0)&&(s.index+=1),s},t.prototype.choices_count=function(){var
t,e,s;if(null!=this.selected_option_count)return
this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return
this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return
this.results_show()},t.prototype.keydown_checker=function(t){var
e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==s&&this.pending_backstroke&&this.clear_backstroke(),s){case
8:this.backstroke_length=this.get_search_field_value().length;break;case
9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case
13:case 27:this.results_showing&&t.preventDefault();break;case
32:this.disable_search&&t.preventDefault();break;case
38:t.preventDefault(),this.keyup_arrow();break;case
40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var
e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),s){case
8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case
13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case
27:this.results_showing&&this.results_hide();break;case 9:case
16:case 17:case 18:case 38:case 40:case
91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return
setTimeout(function(t){return function(){return
t.results_search()}}(this),50)},t.prototype.container_width=function(){return
null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return
this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return
this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return
this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var
e;return
t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a
class="chosen-single chosen-default">\n
<span>'+this.default_text+'</span>\n
<div><b></b></div>\n</a>\n<div
class="chosen-drop">\n <div
class="chosen-search">\n <input
class="chosen-search-input" type="text"
autocomplete="off" />\n </div>\n <ul
class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul
class="chosen-choices">\n <li
class="search-field">\n <input
class="chosen-search-input" type="text"
autocomplete="off"
value="'+this.default_text+'" />\n
</li>\n</ul>\n<div class="chosen-drop">\n
<ul
class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li
class="no-results">\n '+this.results_none_found+"
<span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft
Internet
Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows
Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select
Some Options",t.default_single_text="Select an
Option",t.default_no_result_text="No results
match",t}(),(t=jQuery).fn.extend({chosen:function(i){return
e.browser_is_supported()?this.each(function(e){var
n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r
instanceof s||n.data("chosen",new s(this,i)):r instanceof
s&&r.destroy()}):this}}),s=function(s){function n(){return
n.__super__.constructor.apply(this,arguments)}return
r(n,e),n.prototype.setup=function(){return
this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var
e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join("
"),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div
/>",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return
this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return
this.container.on("touchstart.chosen",function(t){return
function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return
function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return
function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return
function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return
function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return
function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return
function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return
function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return
function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen
DOMMouseScroll.chosen",function(t){return
function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return
function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return
function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return
function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return
function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return
function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return
function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return
function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return
function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return
function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return
function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return
function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return
function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return
function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return
function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return
t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return
this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void
0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var
s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void
0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return
this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var
e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return
t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return
this.close_field()},n.prototype.close_field=function(){return
t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return
this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var
s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return
this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var
e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return
this.search_results.scrollTop(e-i>0?e-i:0);if(s<r)return
this.search_results.scrollTop(s)}},n.prototype.result_clear_highlight=function(){return
this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return
this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},n.prototype.update_results_content=function(t){return
this.search_results.html(t)},n.prototype.results_hide=function(){return
this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(t){var
e;if(this.form_field.tabIndex)return
e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},n.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return
this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return
this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var
s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return
this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var
s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return
this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return
this.result_clear_highlight()},n.prototype.choice_build=function(e){var
s,i;return s=t("<li
/>",{"class":"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?s.addClass("search-choice-disabled"):((i=t("<a
/>",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return
function(e){return
t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return
this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return
this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return
this.results_hide()},n.prototype.results_reset_cleanup=function(){return
this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var
e,s;if(this.result_highlight)return
e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return
null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var
e;return
e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return
this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr
class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return
this.search_field.val()},n.prototype.get_search_text=function(){return
t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return
t("<div/>").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var
t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return
this.result_do_highlight(t)},n.prototype.no_results=function(t){var
e;return
e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return
this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var
t;return
this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void
0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return
this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void
0:this.results_show()},n.prototype.keydown_backstroke=function(){var
t;return
this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void
0},n.prototype.clear_backstroke=function(){return
this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var
e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s<i;s++)r[n=o[s]]=this.search_field.css(n);return(e=t("<div
/>").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return
this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}).call(this);PKݴ�[q�L
chosen/chosen.required.jsnu�[���jQuery.fn.oldChosen =
jQuery.fn.chosen
jQuery.fn.chosen = function(options) {
var select = jQuery(this)
, is_creating_chosen = !!options
var style = 'display:visible; position:absolute;
clip:rect(0,0,0,0);';
if (is_creating_chosen && select.css('position') ===
'absolute' && select.attr('style') != style) {
// if we are creating a chosen and the select already has the appropriate
styles added
// we remove those (so that the select hasn't got a crazy width),
then create the chosen
// then we re-add them later
select.removeAttr('style');
}
var ret = select.oldChosen(options)
// only act if the select has display: none, otherwise chosen is
unsupported (iPhone, etc)
if (is_creating_chosen && select.css('display') ===
'none') {
// https://github.com/harvesthq/chosen/issues/515#issuecomment-33214050
// only do this if we are initializing chosen (no params, or object
params) not calling a method
select.attr('style', style);
select.attr('tabindex', -1);
}
return ret
}PKݴ�[�#o,,chosen/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[�w��chosen/LICENSE.mdnu�[���####
Chosen
- by Patrick Filler for [Harvest](http://getharvest.com)
- Copyright (c) 2011-2016 by Harvest
Available for use under the [MIT
License](http://en.wikipedia.org/wiki/MIT_License)
Permission is hereby granted, free of charge, to any person obtaining a
copy
of this software and associated documentation files (the
"Software"), to deal
in the Software without restriction, including without limitation the
rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
PKݴ�[�#o,,filter/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKݴ�[�jr1��filter/jquery.ba-bbq.min.jsnu�[���/*!
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
!function(e,n){"$:nomunge";var
t,r,o,a,i,c,u,f,s=Array.prototype.slice,l=decodeURIComponent,p=e.param,h=e.bbq=e.bbq||{},d=e.event.special,m="hashchange",g="querystring",v="fragment",y="elemUrlAttr",$="location",b="href",x="src",j=/^.*\?|#.*$/g,A=/^.*\#/,N={};function
w(e){return"string"==typeof e}function S(e){var
n=s.call(arguments,1);return function(){return
e.apply(this,n.concat(s.call(arguments)))}}function q(r,a,i,c,u){var
s,h,d,m,y;return
c!==t?(y=(d=i.match(r?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===u&&w(c)?h=c.replace(r?A:j,""):(m=o(d[2]),c=w(c)?o[r?v:g](c):c,h=2===u?c:1===u?e.extend({},c,m):e.extend({},m,c),h=p(h),r&&(h=h.replace(f,l))),s=d[1]+(r?"#":h||!d[1]?"?":"")+h+y):s=a(i!==t?i:n[$][b]),s}function
C(e,n,r){return n===t||"boolean"==typeof
n?(r=n,n=p[e?v:g]()):n=w(n)?n.replace(e?A:j,""):n,o(n,r)}function
E(n,r,o,a){return w(o)||"object"==typeof
o||(a=o,o=r,r=t),this.each(function(){var
t=e(this),i=r||u()[(this.nodeName||"").toLowerCase()]||"",c=i&&t.attr(i)||"";t.attr(i,p[n](c,o,a))})}p[g]=S(q,0,function(e){return
e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),p[v]=r=S(q,1,function(e){return
e.replace(/^[^#]*#?(.*)$/,"$1")}),r.noEscape=function(n){n=n||"";var
t=e.map(n.split(""),encodeURIComponent);f=new
RegExp(t.join("|"),"g")},r.noEscape(",/"),e.deparam=o=function(n,r){var
o={},a={true:!0,false:!1,null:null};return e.each(n.replace(/\+/g,"
").split("&"),function(n,i){var
c,u=i.split("="),f=l(u[0]),s=o,p=0,h=f.split("]["),d=h.length-1;if(/\[/.test(h[0])&&/\]$/.test(h[d])?(h[d]=h[d].replace(/\]$/,""),d=(h=h.shift().split("[").concat(h)).length-1):d=0,2===u.length)if(c=l(u[1]),r&&(c=c&&!isNaN(c)?+c:"undefined"===c?t:a[c]!==t?a[c]:c),d)for(;p<=d;p++)s=s[f=""===h[p]?s.length:h[p]]=p<d?s[f]||(h[p+1]&&isNaN(h[p+1])?{}:[]):c;else
e.isArray(o[f])?o[f].push(c):o[f]!==t?o[f]=[o[f],c]:o[f]=c;else
f&&(o[f]=r?t:"")}),o},o[g]=S(C,0),o[v]=a=S(C,1),e[y]||(e[y]=function(n){return
e.extend(N,n)})({a:b,base:b,iframe:x,img:x,input:x,form:"action",link:b,script:x}),u=e[y],e.fn[g]=S(E,g),e.fn[v]=S(E,v),h.pushState=i=function(e,o){w(e)&&/^#/.test(e)&&o===t&&(o=2);var
a=e!==t,i=r(n[$][b],a?e:{},a?o:2);n[$][b]=i+(/#/.test(i)?"":"#")},h.getState=c=function(e,n){return
e===t||"boolean"==typeof
e?a(e):a(n)[e]},h.removeState=function(n){var
r={};n!==t&&(r=c(),e.each(e.isArray(n)?n:arguments,function(e,n){delete
r[n]})),i(r,2)},d[m]=e.extend(d[m],{add:function(n){var a;function i(e){var
n=e[v]=r();e.getState=function(e,r){return
e===t||"boolean"==typeof
e?o(n,e):o(n,r)[e]},a.apply(this,arguments)}if(e.isFunction(n))return
a=n,i;a=n.handler,n.handler=i}})}(jQuery,this),function(e,n,t){"$:nomunge";var
r,o=e.event.special,a="location",i="hashchange",c="href",u=(document.documentMode,!1),f="on"+i
in n&&!u;function
s(e){return(e=e||n[a][c]).replace(/^[^#]*#?(.*)$/,"$1")}e[i+"Delay"]=100,o[i]=e.extend(o[i],{setup:function(){if(f)return!1;e(r.start)},teardown:function(){if(f)return!1;e(r.stop)}}),r=function(){var
t,r,o,f,l={};return l.start=function(){if(!t){var
l=s();o||(o=f=function(e){return e},u&&(r=e('<iframe
src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow,f=function(){return
s(r.document[a][c])},(o=function(e,n){if(e!==n){var
t=r.document;t.open().close(),t[a].hash="#"+e}})(s()))),function
r(){var
u=s(),p=f(l);u!==l?(o(l=u,p),e(n).trigger(i)):p!==l&&(n[a][c]=n[a][c].replace(/#.*/,"")+"#"+p),t=setTimeout(r,e[i+"Delay"])}()}},l.stop=function(){r||(t&&clearTimeout(t),t=0)},l}()}(jQuery,this);PKݴ�['��I��!filter/jquery.ba-bbq.min.short.jsnu�[���!function(s,u){var
h,p,n=Array.prototype.slice,g=decodeURIComponent,f=s.param,d=(s.bbq=s.bbq||{},s.event.special,"querystring"),y="fragment",$=/^.*\?|#.*$/g,v=/^.*\#/;function
b(e){return"string"==typeof e}function e(e){var
t=n.call(arguments,1);return function(){return
e.apply(this,t.concat(n.call(arguments)))}}function t(e,t,n,r,a){var
l,c,i,o;return
r!==h?(o=(c=n.match(e?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===a&&b(r)?l=r.replace(e?v:$,""):(i=p(c[2]),r=b(r)?p[e?y:d](r):r,l=2===a?r:1===a?s.extend({},r,i):s.extend({},i,r),l=f(l),e&&(l=l.replace(void
0,g))),c[1]+(e?"#":l||!c[1]?"?":"")+l+o):t(n!==h?n:u.location.href)}function
r(e,t,n){return t=t===h||"boolean"==typeof
t?(n=t,f[e?y:d]()):b(t)?t.replace(e?v:$,""):t,p(t,n)}f[d]=e(t,0,function(e){return
e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),f[y]=e(t,1,function(e){return
e.replace(/^[^#]*#?(.*)$/,"$1")}),s.deparam=p=function(e,u){var
p={},f={true:!0,false:!1,null:null};return s.each(e.replace(/\+/g,"
").split("&"),function(e,t){var
n,r=t.split("="),a=g(r[0]),l=p,c=0,i=a.split("]["),o=i.length-1;if(o=/\[/.test(i[0])&&/\]$/.test(i[o])?(i[o]=i[o].replace(/\]$/,""),(i=i.shift().split("[").concat(i)).length-1):0,2===r.length)if(n=g(r[1]),u&&(n=n&&!isNaN(n)?+n:"undefined"===n?h:f[n]!==h?f[n]:n),o)for(;c<=o;c++)l=l[a=""===i[c]?l.length:i[c]]=c<o?l[a]||(i[c+1]&&isNaN(i[c+1])?{}:[]):n;else
s.isArray(p[a])?p[a].push(n):p[a]!==h?p[a]=[p[a],n]:p[a]=n;else
a&&(p[a]=u?h:"")}),p},p[d]=e(r,0),p[y]=e(r,1)}(jQuery,this);PKݴ�[�#o,,
index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[a)璌�jcp/defaultcolor.jpgnu�[������JFIFdd��DuckyU��Adobed����
�����#!3CD%5e��(Hh
A!1��4�aq��"2�#���?^ҍ(�W�Ie�Re&\����4��_<�:��uV�q���V��o�ʰ���C��ō�0�0C��$���N+,����`,u]�X��l�m��d]�`eedF
P(Ij�d �ɗ���٦̥��qZU6�bsO�&���A���8)��65<s�3��]/��ç���w�ZԶb�����7�*�}rj��ޘ=�����b�SJ�Gu�N�dBxn��H�
l\��"�Q��Փ=����}�uKe��^�~f����>��@fZ����k�dž�Y����-��1O��PKഎ[�#o,,jcp/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[q3 �MEMEjcp/license.txtnu�[���The
GNU General Public License (GPL)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public License is
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users. This General Public
License applies to most of the Free Software Foundation's software and
to any other program whose authors commit to using it. (Some other Free
Software Foundation software is covered by the GNU Library General Public
License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our
General Public Licenses are designed to make sure that you have the freedom
to distribute copies of free software (and charge for this service if you
wish), that you receive source code or can get it if you want it, that you
can change the software or use pieces of it in new free programs; and that
you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to
deny you these rights or to ask you to surrender the rights. These
restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or
for a fee, you must give the recipients all the rights that you have. You
must make sure that they, too, receive or can get the source code. And you
must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2)
offer you this license which gives you legal permission to copy, distribute
and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free software.
If the software is modified by someone else and passed on, we want its
recipients to know that what they have is not the original, so that any
problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software patents. We
wish to avoid the danger that redistributors of a free program will
individually obtain patent licenses, in effect making the program
proprietary. To prevent this, we have made it clear that any patent must be
licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification
follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a
notice placed by the copyright holder saying it may be distributed under
the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the
Program" means either the Program or any derivative work under
copyright law: that is to say, a work containing the Program or a portion
of it, either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in the
term "modification".) Each licensee is addressed as
"you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of running the
Program is not restricted, and the output from the Program is covered only
if its contents constitute a work based on the Program (independent of
having been made by running the Program). Whether that is true depends on
what the Program does.
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this
License and to the absence of any warranty; and give any other recipients
of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you
may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it,
thus forming a work based on the Program, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that you
also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating
that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or
in part contains or is derived from the Program or any part thereof, to be
licensed as a whole at no charge to all third parties under the terms of
this License.
c) If the modified program normally reads commands interactively when run,
you must cause it, when started running for such interactive use in the
most ordinary way, to print or display an announcement including an
appropriate copyright notice and a notice that there is no warranty (or
else, saying that you provide a warranty) and that users may redistribute
the program under these conditions, and telling the user how to view a copy
of this License. (Exception: if the Program itself is interactive but does
not normally print such an announcement, your work based on the Program is
not required to print an announcement.)
These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Program, and can be
reasonably considered independent and separate works in themselves, then
this License, and its terms, do not apply to those sections when you
distribute them as separate works. But when you distribute the same
sections as part of a whole which is a work based on the Program, the
distribution of the whole must be on the terms of this License, whose
permissions for other licensees extend to the entire whole, and thus to
each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your
rights to work written entirely by you; rather, the intent is to exercise
the right to control the distribution of derivative or collective works
based on the Program.
In addition, mere aggregation of another work not based on the Program with
the Program (or with a work based on the Program) on a volume of a storage
or distribution medium does not bring the other work under the scope of
this License.
3. You may copy and distribute the Program (or a work based on it, under
Section 2) in object code or executable form under the terms of Sections 1
and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source
code, which must be distributed under the terms of Sections 1 and 2 above
on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to
give any third party, for a charge no more than your cost of physically
performing source distribution, a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of Sections 1
and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to
distribute corresponding source code. (This alternative is allowed only for
noncommercial distribution and only if you received the program in object
code or executable form with such an offer, in accord with Subsection b
above.)
The source code for a work means the preferred form of the work for making
modifications to it. For an executable work, complete source code means all
the source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and
installation of the executable. However, as a special exception, the source
code distributed need not include anything that is normally distributed (in
either source or binary form) with the major components (compiler, kernel,
and so on) of the operating system on which the executable runs, unless
that component itself accompanies the executable.
If distribution of executable or object code is made by offering access to
copy from a designated place, then offering equivalent access to copy the
source code from the same place counts as distribution of the source code,
even though third parties are not compelled to copy the source along with
the object code.
4. You may not copy, modify, sublicense, or distribute the Program except
as expressly provided under this License. Any attempt otherwise to copy,
modify, sublicense or distribute the Program is void, and will
automatically terminate your rights under this License. However, parties
who have received copies, or rights, from you under this License will not
have their licenses terminated so long as such parties remain in full
compliance.
5. You are not required to accept this License, since you have not signed
it. However, nothing else grants you permission to modify or distribute the
Program or its derivative works. These actions are prohibited by law if you
do not accept this License. Therefore, by modifying or distributing the
Program (or any work based on the Program), you indicate your acceptance of
this License to do so, and all its terms and conditions for copying,
distributing or modifying the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these terms
and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein. You are not
responsible for enforcing compliance by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot distribute so
as to satisfy simultaneously your obligations under this License and any
other pertinent obligations, then as a consequence you may not distribute
the Program at all. For example, if a patent license would not permit
royalty-free redistribution of the Program by all those who receive copies
directly or indirectly through you, then the only way you could satisfy
both it and this License would be to refrain entirely from distribution of
the Program.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents
or other property right claims or to contest validity of any such claims;
this section has the sole purpose of protecting the integrity of the free
software distribution system, which is implemented by public license
practices. Many people have made generous contributions to the wide range
of software distributed through that system in reliance on consistent
application of that system; it is up to the author/donor to decide if he or
she is willing to distribute software through any other system and a
licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a
consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Program under this License may add an
explicit geographical distribution limitation excluding those countries, so
that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions of
the General Public License from time to time. Such new versions will be
similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms
and conditions either of that version or of any later version published by
the Free Software Foundation. If the Program does not specify a version
number of this License, you may choose any version ever published by the
Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals of
preserving the free status of all derivatives of our free software and of
promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it free
software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey the
exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is
found.
One line to give the program's name and a brief idea of what it does.
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when
it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free
software, and you are welcome to redistribute it under certain conditions;
type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the commands
you use may be called something other than `show w' and `show c';
they could even be mouse-clicks or menu items--whatever suits your
program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program,
if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James
Hacker.
signature of Ty Coon, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General Public
License instead of this License.
PKഎ[x(�$ggjcp/picker.cssnu�[���.picker_layer {
text-decoration: none;
background-color: #fff;
border: 1px solid #fff;
box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
border-radius: 3px;
padding: 10px;
overflow: visible;
height: auto !important;
width: auto !important;
}
.picker_buttons {
background-color:#d4d0c8;
border-style:solid;
border-color:#666666;
border-width:1px;
padding:1px;
cursor:pointer;
color:#000000;
}
.cell_color {
cursor:pointer;
width:15px;
height:15px;
border: 1px solid #fff;
border-collapse: unset !important;
border-spacing: inherit !important;
}
.color_table {
text-decoration: none;
}
.choosed_color_cell{
border-style:solid; border-color:#fff; border-width:1px;
}
.Default_color_btn{
width:17px; height:17px; background-image:url(Defaultcolor.jpg);
background-repeat:no-repeat; background-position:center;
}PKഎ[��]]
jcp/picker.jsnu�[���/*
* Gchats color picker by Majid Khosravi
* Copyright (c) 2006 - 2008 Gchat Design Studio
* URL: http://www.gchats.com
* Date: April 24 2008
* Gchats color picker is freely distributable under the terms of GPL
license.
* Please visit: http://www.gchats.com for updates
* @Version 1.1
*--------------------------------------------------------------------------*/
// JavaScript Document
var layerWidth = 218;
var layerHeight = 144;
var currentId = "";
var orgColor ="";
function openPicker(id){
currentId = id;
removeLayer("picker");
Obj = document.getElementById(id);
orgColor = Obj.value;
createLayer("picker",findPosX(Obj)+Obj.offsetWidth+20,findPosY(Obj));
}
function createLayer(id,left,top){
var width = layerWidth;
var height = layerHeight;
var zindex = 1000;
var bgcolor = "#d4d0c8";
var txtcolor = "#000000";
var msg = getPickerContent();
if (document.layers) {
if (document.layers[id]) {
return;
}
var layer=document.layers[id]=new Layer(width);
layer.className = "picker_layer";
layer.name = id;
layer.left=left;
layer.top=top;
layer.clip.height=height;
layer.visibility = 'show';
layer.zIndex=zindex;
layer.bgColor=bgcolor;
layer.innerHTML = msg;
}else if (document.all) {
if (document.all[id]) {
return
}
var layer= '\n<DIV class="picker_layer"
id='+id+' style="position:absolute'
+'; left:'+left+"px"
+'; top:'+top+"px"
+'; width:'+width
+'; height:'+height
+'; visibility:visible'
+'; z-index:'+zindex
+';text-align:left">'
+ msg
+'</DIV>';
document.body.insertAdjacentHTML("BeforeEnd",layer);
}else if(document.getElementById){
var layer = document.createElement ('div');
layer.setAttribute ('id', id);
document.body.appendChild (layer);
var ly = document.getElementById(id);
ly.className = "picker_layer";
ly.style.position= "absolute";
ly.style.left= left+"px";
ly.style.top= top+ "px";
ly.style.width= width+ "px";
ly.style.height= height+ "px";
ly.style.textAlign= "left";
ly.innerHTML = msg;
}
}
function showClr(color){
Obj = document.getElementById(currentId);
Obj.value = color;
Obj.style.backgroundColor=color;
Obj = document.getElementById("gcpicker_colorSample");
Obj.style.backgroundColor=color;
Obj = document.getElementById("gcpicker_colorCode");
Obj.innerHTML = color;
}
function setClr(color){
Obj = document.getElementById(currentId);
Obj.value = color;
Obj.style.backgroundColor=color;
currentId = "";
removeLayer("picker");
}
function cancel(){
Obj = document.getElementById(currentId);
Obj.value = '';
Obj.style.backgroundColor='';
removeLayer("picker");
}
function removeLayer(id){
if(document.getElementById(id) ==null){
return;
}
if (document.layers && document.layers[id]) {
document.layers[id].visibility='COM_PHOCAGALLERY_HIDE'
delete document.layers[id]
}
if (document.all && document.all[id]) {
document.all[id].innerHTML=''
document.all[id].outerHTML=''
}else if(document.getElementById){
var b = document.body;
var layer = document.getElementById(id);
b.removeChild(layer);
}
}
function getPickerContent(){
var content = '<table width="222" border="0"
cellpadding="0"
cellspacing="1"><tr><td>';
content += '<table width="100%" border="0"
cellpadding="0" cellspacing="1"
class="color_table"><tr><td
bgcolor="#CCCCCC" id="gcpicker_colorSample"
width="40px"
class="choosed_color_cell"> </td><td
align="center"><div
id="gcpicker_colorCode">#CCCCCC</div></td><td
width="60px" align="center"><input
type="submit" value="" onclick="cancel()"
class="Default_color_btn"
/></td></tr></table>';
content += '</td></tr><tr><td>';
content += colorTable()+'</td></tr></table>';
return content;
}
function colorTable(){
var clrfix =
Array("#000000","#333333","#666666","#999999","#cccccc","#ffffff","#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff");
var table ='<table border="0" cellpadding="0"
cellspacing="0" bgcolor="#000000"><tr>';
table += '';
for(var j=0;j<3;j++){
table += '<td width="11"><table
bgcolor="#000000" border="0"
cellpadding="0" cellspacing="1"
class="color_table">';
for(var i=0;i<12;i++){
var clr ='#000000';
if(j==1){
clr = clrfix[i];
}
table += '<tr><td bgcolor="'+clr+'"
class="cell_color"
onmouseover="showClr('+"'"+clr+"'"+')"
onclick="setClr('+"'"+clr+"'"+')"></td></tr>';
}
table += '</table></td>';
}
table +='<td><table border="0"
cellpadding="0" cellspacing="0">';
for (var c = 0; c<6; c++) {
if(c==0 || c==3){
table +="<tr>";
}
table += "<td>"
table = table+'<table border="0"
cellpadding="0" cellspacing="1"
class="color_table"> ';
for (var j = 0; j<6; j++) {
table +="<tr>";
for (var i = 0; i<6; i++) {
var clrhex = rgb2hex(j*255/5,i*255/5,c*255/5);
table += '<td bgcolor="'+clrhex+'"
class="cell_color"
onmouseover="showClr('+"'"+clrhex+"'"+')"
onclick="setClr('+"'"+clrhex+"'"+')"></td>';
}
table +="</tr>";
}
table +="</table>";
table += "</td>"
if(c==2 || c==5){
table +="</tr>";
}
}
table +='</table></td></tr></table>';
return table;
}
function findPosX(obj){
var curleft = 0;
if(obj.offsetParent)
while(1){
curleft += obj.offsetLeft;
if(!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if(obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj){
var curtop = 0;
if(obj.offsetParent){
while(1){
curtop += obj.offsetTop;
if(!obj.offsetParent){
break;
}
obj = obj.offsetParent;
}
}else if(obj.y){
curtop += obj.y;
}
return curtop;
}
function rgb2hex(red, green, blue)
{
var decColor = red + 256 * green + 65536 * blue;
var clr = decColor.toString(16);
for(var i =clr.length;i<6;i++){
clr = "0"+clr;
}
return "#"+clr;
}
PKഎ[�#o,,jeditable/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[E���$jeditable/jquery.autogrowtextarea.jsnu�[���/*!
*
----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <jevin9@gmail.com> wrote this file. As long as you retain this
notice you
* can do whatever you want with this stuff. If we meet some day, and you
think
* this stuff is worth it, you can buy me a beer in return. Jevin O.
Sewaruth
*
----------------------------------------------------------------------------
*
* Autogrow Textarea Plugin Version v3.0
* http://www.technoreply.com/autogrow-textarea-plugin-3-0
*
* THIS PLUGIN IS DELIVERD ON A PAY WHAT YOU WHANT BASIS. IF THE PLUGIN WAS
USEFUL TO YOU, PLEASE CONSIDER BUYING THE PLUGIN HERE :
* https://sites.fastspring.com/technoreply/instant/autogrowtextareaplugin
*
* Date: October 15, 2012
*/
jQuery.fn.autoGrow = function(options) {
return this.each(function() {
var settings = jQuery.extend({
extraLine: true,
}, options);
var mirror;
var createMirror = function(textarea) {
jQuery(textarea).after('<div
class="autogrow-textarea-mirror"></div>');
return jQuery(textarea).next('.autogrow-textarea-mirror')[0];
};
var sendContentToMirror = function (textarea) {
mirror.innerHTML = String(textarea.value)
.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/'/g, ''')
.replace(/</g, '<')
.replace(/>/g, '>')
.replace(/\n/g, '<br />') +
(settings.extraLine? '.<br/>.' : '')
;
if (jQuery(textarea).height() !== jQuery(mirror).height())
jQuery(textarea).height(jQuery(mirror).height());
};
var growTextarea = function() {
sendContentToMirror(this);
};
// Create a mirror
mirror = createMirror(this);
// Style the mirror
mirror.style.display = 'none';
mirror.style.wordWrap = 'break-word';
mirror.style.whiteSpace = 'pre-wrap';
mirror.style.padding = jQuery(this).css('paddingTop') + '
' +
jQuery(this).css('paddingRight') + ' ' +
jQuery(this).css('paddingBottom') + ' ' +
jQuery(this).css('paddingLeft');
mirror.style.borderStyle = jQuery(this).css('borderTopStyle') +
' ' +
jQuery(this).css('borderRightStyle') + ' ' +
jQuery(this).css('borderBottomStyle') + ' ' +
jQuery(this).css('borderLeftStyle');
mirror.style.borderWidth = jQuery(this).css('borderTopWidth') +
' ' +
jQuery(this).css('borderRightWidth') + ' ' +
jQuery(this).css('borderBottomWidth') + ' ' +
jQuery(this).css('borderLeftWidth');
mirror.style.width = jQuery(this).css('width');
mirror.style.fontFamily = jQuery(this).css('font-family');
mirror.style.fontSize = jQuery(this).css('font-size');
mirror.style.lineHeight = jQuery(this).css('line-height');
mirror.style.letterSpacing =
jQuery(this).css('letter-spacing');
// Style the textarea
this.style.overflow = 'hidden';
this.style.minHeight = this.rows+'em';
// Bind the textarea's event
this.onkeyup = growTextarea;
this.onfocus = growTextarea;
// Fire the event for text already present
sendContentToMirror(this);
});
};
PKഎ[������*jeditable/jquery.jeditable.autogrow.min.jsnu�[���/*!
jquery-jeditable https://github.com/NicolasCARPi/jquery_jeditable#readme */
"use
strict";!function($){$.editable.addInputType("autogrow",{element:function(settings,original){var
textarea=$("<textarea />");return
settings.rows?textarea.attr("rows",settings.rows):textarea.height(settings.height),settings.cols?textarea.attr("cols",settings.cols):textarea.width(settings.width),$(this).append(textarea),textarea},plugin:function(settings,original){$("textarea",this).autoGrow()}})}(jQuery);PKഎ[dδ��(jeditable/jquery.jeditable.masked.min.jsnu�[���/*!
jquery-jeditable https://github.com/NicolasCARPi/jquery_jeditable#readme */
"use
strict";!function($){$.editable.addInputType("masked",{element:function(settings,original){var
input=$("<input
/>").attr({autocomplete:"off",list:settings.list,maxlength:settings.maxlength,pattern:settings.pattern,placeholder:settings.placeholder,tooltip:settings.tooltip,type:"text"}).mask(settings.mask);return"none"!==settings.width&&input.css("width",settings.width),"none"!==settings.height&&input.css("height",settings.height),settings.size&&input.attr("size",settings.size),settings.maxlength&&input.attr("maxlength",settings.maxlength),$(this).append(input),input}})}(jQuery);PKഎ[���..!jeditable/jquery.jeditable.min.jsnu�[���/*!
jquery-jeditable https://github.com/NicolasCARPi/jquery_jeditable#readme */
!function($){"use strict";$.fn.editableAriaShim=function(){return
this.attr({role:"button",tabindex:0}),this},$.fn.editable=function(target,options){if("disable"!==target)if("enable"!==target){if("destroy"!==target){var
settings=$.extend({},$.fn.editable.defaults,{target:target},options),plugin=$.editable.types[settings.type].plugin||function(){},submit=$.editable.types[settings.type].submit||function(){},buttons=$.editable.types[settings.type].buttons||$.editable.types.defaults.buttons,content=$.editable.types[settings.type].content||$.editable.types.defaults.content,element=$.editable.types[settings.type].element||$.editable.types.defaults.element,reset=$.editable.types[settings.type].reset||$.editable.types.defaults.reset,destroy=$.editable.types[settings.type].destroy||$.editable.types.defaults.destroy,callback=settings.callback||function(){},intercept=settings.intercept||function(s){return
s},onedit=settings.onedit||function(){},onsubmit=settings.onsubmit||function(){},onreset=settings.onreset||function(){},onerror=settings.onerror||reset;settings.before;return
settings.tooltip&&$(this).attr("title",settings.tooltip),this.each(function(){var
self=this;$(this).data("event.editable",settings.event),$.trim($(this).html())||$(this).html(settings.placeholder),"destroy"!==target?($(this).on(settings.event,function(e){if(!0!==$(this).data("disabled.editable")&&9!==e.which&&!self.editing&&!1!==onedit.apply(this,[settings,self,e])){if(settings.before&&jQuery.isFunction(settings.before))settings.before(e);else
if(settings.before&&!jQuery.isFunction(settings.before))throw"The
'before' option needs to be provided as a
function!";e.preventDefault(),e.stopPropagation(),settings.tooltip&&$(self).removeAttr("title"),$(this).html().toLowerCase().replace(/(;|"|\/)/g,"")===settings.placeholder.toLowerCase().replace(/(;|"|\/)/g,"")&&$(this).html(""),self.editing=!0,self.revert=$(self).text(),$(self).html("");var
form=$("<form
/>");settings.cssclass&&("inherit"===settings.cssclass?form.attr("class",$(self).attr("class")):form.attr("class",settings.cssclass)),settings.style&&("inherit"===settings.style?(form.attr("style",$(self).attr("style")),form.css("display",$(self).css("display"))):form.attr("style",settings.style)),settings.label&&form.append("<label>"+settings.label+"</label>"),settings.formid&&form.attr("id",settings.formid);var
input_content,t,input=element.apply(form,[settings,self]);settings.inputcssclass&&("inherit"===settings.inputcssclass?input.attr("class",$(self).attr("class")):input.attr("class",settings.inputcssclass));var
isSubmitting=!1;if(settings.loadurl){t=self.setTimeout(function(){input.disabled=!0},100),$(self).html(settings.loadtext);var
loaddata={};loaddata[settings.id]=self.id,$.isFunction(settings.loaddata)?$.extend(loaddata,settings.loaddata.apply(self,[self.revert,settings])):$.extend(loaddata,settings.loaddata),$.ajax({type:settings.loadtype,url:settings.loadurl,data:loaddata,async:!1,cache:!1,success:function(result){self.clearTimeout(t),input_content=result,input.disabled=!1}})}else
settings.data?(input_content=settings.data,$.isFunction(settings.data)&&(input_content=settings.data.apply(self,[self.revert,settings]))):input_content=self.revert;if(content.apply(form,[input_content,settings,self]),input.attr("name",settings.name),"none"!==settings.width){var
adj_width=settings.width-(input.outerWidth(!0)-settings.width);input.width(adj_width)}buttons.apply(form,[settings,self]),settings.showfn&&$.isFunction(settings.showfn)&&form.hide(),$(self).html(""),$(self).append(form),settings.showfn&&$.isFunction(settings.showfn)&&settings.showfn(form),plugin.apply(form,[settings,self]),form.find(":input:visible:enabled:first").trigger("focus"),settings.select&&input.select(),$(this).on("keydown",function(e){27===e.which?(e.preventDefault(),reset.apply(form,[settings,self])):13==e.which&&e.shiftKey&&(e.preventDefault(),form.trigger("submit"))}),"cancel"===settings.onblur?input.on("blur",function(e){t=self.setTimeout(function(){reset.apply(form,[settings,self])},500)}):"submit"===settings.onblur?input.on("blur",function(e){t=self.setTimeout(function(){form.trigger("submit")},200)}):$.isFunction(settings.onblur)&&input.on("blur",function(e){!1===settings.onblur.apply(self,[input.val(),settings,form])&&reset.apply(form,[settings,self])}),form.on("submit",function(e){if(e.preventDefault(),e.stopPropagation(),isSubmitting)return!1;if(isSubmitting=!0,t&&self.clearTimeout(t),(isSubmitting=!1!==onsubmit.apply(form,[settings,self]))&&(isSubmitting=!1!==submit.apply(form,[settings,self])))if($.isFunction(settings.target)){var
responseHandler=function(value,complete){isSubmitting=!1,!1!==complete&&($(self).html(value),self.editing=!1,callback.apply(self,[self.innerText,settings]),$.trim($(self).html())||$(self).html(settings.placeholder))},userTarget=settings.target.apply(self,[input.val(),settings,responseHandler]);!1!==userTarget&&void
0!==userTarget&&responseHandler(userTarget,userTarget)}else{var
submitdata={};submitdata[settings.name]=input.val(),submitdata[settings.id]=self.id,$.isFunction(settings.submitdata)?$.extend(submitdata,settings.submitdata.apply(self,[self.revert,settings,submitdata])):$.extend(submitdata,settings.submitdata),"PUT"===settings.method&&(submitdata._method="put"),$(self).html(settings.indicator);var
ajaxoptions={type:"POST",complete:function(xhr,status){isSubmitting=!1},data:submitdata,dataType:"html",url:settings.target,success:function(result,status){result=intercept.apply(self,[result,status]),"html"===ajaxoptions.dataType&&$(self).html(result),self.editing=!1,callback.apply(self,[result,settings,submitdata]),$.trim($(self).html())||$(self).html(settings.placeholder)},error:function(xhr,status,error){onerror.apply(form,[settings,self,xhr])}};$.extend(ajaxoptions,settings.ajaxoptions),$.ajax(ajaxoptions)}return
$(self).attr("title",settings.tooltip),!1})}}),self.reset=function(form){self.editing&&!1!==onreset.apply(form,[settings,self])&&($(self).text(self.revert),self.editing=!1,$.trim($(self).html())||$(self).html(settings.placeholder),settings.tooltip&&$(self).attr("title",settings.tooltip))},self.destroy=function(form){$(self).off($(self).data("event.editable")).removeData("disabled.editable").removeData("event.editable"),self.clearTimeouts(),self.editing&&reset.apply(form,[settings,self])},self.clearTimeout=function(t){var
timeouts=$(self).data("timeouts");if(clearTimeout(t),timeouts){var
i=timeouts.indexOf(t);i>-1?(timeouts.splice(i,1),timeouts.length<=0&&$(self).removeData("timeouts")):console.warn("jeditable
clearTimeout could not find timeout
"+t)}},self.clearTimeouts=function(){var
timeouts=$(self).data("timeouts");if(timeouts){for(var
i=0,n=timeouts.length;i<n;++i)clearTimeout(timeouts[i]);timeouts.length=0,$(self).removeData("timeouts")}},self.setTimeout=function(callback,time){var
timeouts=$(self).data("timeouts"),t=setTimeout(function(){callback(),self.clearTimeout(t)},time);return
timeouts||(timeouts=[],$(self).data("timeouts",timeouts)),timeouts.push(t),t}):destroy.apply($(this).find("form"),[settings,self])})}$(this).off($(this).data("event.editable")).removeData("disabled.editable").removeData("event.editable")}else
$(this).data("disabled.editable",!1);else
$(this).data("disabled.editable",!0)};var
_supportInType=function(type){var
i=document.createElement("input");return
i.setAttribute("type",type),"text"!==i.type?type:"text"};$.editable={types:{defaults:{element:function(settings,original){var
input=$('<input
type="hidden"></input>');return
$(this).append(input),input},content:function(string,settings,original){$(this).find(":input:first").val(string)},reset:function(settings,original){original.reset(this)},destroy:function(settings,original){original.destroy(this)},buttons:function(settings,original){var
submit,cancel,form=this;(settings.submit&&(settings.submit.match(/>$/)?submit=$(settings.submit).on("click",function(){"submit"!==submit.attr("type")&&form.trigger("submit")}):((submit=$('<button
type="submit"
/>')).html(settings.submit),settings.submitcssclass&&submit.addClass(settings.submitcssclass)),$(this).append(submit)),settings.cancel)&&(settings.cancel.match(/>$/)?cancel=$(settings.cancel):((cancel=$('<button
type="cancel"
/>')).html(settings.cancel),settings.cancelcssclass&&cancel.addClass(settings.cancelcssclass)),$(this).append(cancel),$(cancel).on("click",function(event){return($.isFunction($.editable.types[settings.type].reset)?$.editable.types[settings.type].reset:$.editable.types.defaults.reset).apply(form,[settings,original]),!1}))}},text:{element:function(settings,original){var
input=$("<input
/>").attr({autocomplete:"off",list:settings.list,maxlength:settings.maxlength,pattern:settings.pattern,placeholder:settings.placeholder,tooltip:settings.tooltip,type:"text"});return"none"!==settings.width&&input.css("width",settings.width),"none"!==settings.height&&input.css("height",settings.height),settings.size&&input.attr("size",settings.size),settings.maxlength&&input.attr("maxlength",settings.maxlength),$(this).append(input),input}},textarea:{element:function(settings,original){var
textarea=$("<textarea></textarea>");return
settings.rows?textarea.attr("rows",settings.rows):"none"!==settings.height&&textarea.height(settings.height),settings.cols?textarea.attr("cols",settings.cols):"none"!==settings.width&&textarea.width(settings.width),settings.maxlength&&textarea.attr("maxlength",settings.maxlength),$(this).append(textarea),textarea}},select:{element:function(settings,original){var
select=$("<select />");return
settings.multiple&&select.attr("multiple","multiple"),$(this).append(select),select},content:function(data,settings,original){var
json;json=String===data.constructor?JSON.parse(data):data;var
key,option,tuples=[];if(Array.isArray(json)&&json.every(Array.isArray))tuples=json,json={},tuples.forEach(function(e){json[e[0]]=e[1]});else
for(key in
json)tuples.push([key,json[key]]);settings.sortselectoptions&&tuples.sort(function(a,b){return(a=a[1])<(b=b[1])?-1:a>b?1:0});for(var
i=0;i<tuples.length;i++){key=tuples[i][0];var
value=tuples[i][1];json.hasOwnProperty(key)&&("selected"!==key&&(option=$("<option
/>").val(key).append(value),json.selected!==key&&key!==$.trim(original.revert)||$(option).prop("selected","selected"),$(this).find("select").append(option)))}if(!settings.submit){var
form=this;$(this).find("select").change(function(){form.trigger("submit")})}}},number:{element:function(settings,original){var
input=$("<input
/>").attr({maxlength:settings.maxlength,placeholder:settings.placeholder,min:settings.min,max:settings.max,step:settings.step,tooltip:settings.tooltip,type:_supportInType("number")});return"none"!==settings.width&&input.css("width",settings.width),$(this).append(input),input}},email:{element:function(settings,original){var
input=$("<input
/>").attr({maxlength:settings.maxlength,placeholder:settings.placeholder,tooltip:settings.tooltip,type:_supportInType("email")});return"none"!==settings.width&&input.css("width",settings.width),$(this).append(input),input}},url:{element:function(settings,original){var
input=$("<input
/>").attr({maxlength:settings.maxlength,pattern:settings.pattern,placeholder:settings.placeholder,tooltip:settings.tooltip,type:_supportInType("url")});return"none"!==settings.width&&input.css("width",settings.width),$(this).append(input),input}}},addInputType:function(name,input){$.editable.types[name]=input}},$.fn.editable.defaults={name:"value",id:"id",type:"text",width:"auto",height:"auto",event:"click.editable
keydown.editable",onblur:"cancel",tooltip:"Click to
edit",loadtype:"GET",loadtext:"Loading...",placeholder:"Click
to
edit",sortselectoptions:!1,loaddata:{},submitdata:{},ajaxoptions:{}}}(jQuery);PKഎ[�
����#jeditable/jquery.maskedinput.min.jsnu�[���/*
jQuery Masked Input Plugin
Copyright (c) 2007 - 2015 Josh Bush (digitalbush.com)
Licensed under the MIT license
(http://digitalbush.com/projects/masked-input-plugin/#license)
Version: 1.4.1
*/
!function(a){"function"==typeof
define&&define.amd?define(["jquery"],a):a("object"==typeof
exports?require("jquery"):jQuery)}(function(a){var
b,c=navigator.userAgent,d=/iphone/i.test(c),e=/chrome/i.test(c),f=/android/i.test(c);a.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},a.fn.extend({caret:function(a,b){var
c;if(0!==this.length&&!this.is(":hidden"))return"number"==typeof
a?(b="number"==typeof
b?b:a,this.each(function(){this.setSelectionRange?this.setSelectionRange(a,b):this.createTextRange&&(c=this.createTextRange(),c.collapse(!0),c.moveEnd("character",b),c.moveStart("character",a),c.select())})):(this[0].setSelectionRange?(a=this[0].selectionStart,b=this[0].selectionEnd):document.selection&&document.selection.createRange&&(c=document.selection.createRange(),a=0-c.duplicate().moveStart("character",-1e5),b=a+c.text.length),{begin:a,end:b})},unmask:function(){return
this.trigger("unmask")},mask:function(c,g){var
h,i,j,k,l,m,n,o;if(!c&&this.length>0){h=a(this[0]);var
p=h.data(a.mask.dataName);return p?p():void 0}return
g=a.extend({autoclear:a.mask.autoclear,placeholder:a.mask.placeholder,completed:null},g),i=a.mask.definitions,j=[],k=n=c.length,l=null,a.each(c.split(""),function(a,b){"?"==b?(n--,k=a):i[b]?(j.push(new
RegExp(i[b])),null===l&&(l=j.length-1),k>a&&(m=j.length-1)):j.push(null)}),this.trigger("unmask").each(function(){function
h(){if(g.completed){for(var
a=l;m>=a;a++)if(j[a]&&C[a]===p(a))return;g.completed.call(B)}}function
p(a){return g.placeholder.charAt(a<g.placeholder.length?a:0)}function
q(a){for(;++a<n&&!j[a];);return a}function
r(a){for(;--a>=0&&!j[a];);return a}function s(a,b){var
c,d;if(!(0>a)){for(c=a,d=q(b);n>c;c++)if(j[c]){if(!(n>d&&j[c].test(C[d])))break;C[c]=C[d],C[d]=p(d),d=q(d)}z(),B.caret(Math.max(l,a))}}function
t(a){var
b,c,d,e;for(b=a,c=p(a);n>b;b++)if(j[b]){if(d=q(b),e=C[b],C[b]=c,!(n>d&&j[d].test(e)))break;c=e}}function
u(){var
a=B.val(),b=B.caret();if(o&&o.length&&o.length>a.length){for(A(!0);b.begin>0&&!j[b.begin-1];)b.begin--;if(0===b.begin)for(;b.begin<l&&!j[b.begin];)b.begin++;B.caret(b.begin,b.begin)}else{for(A(!0);b.begin<n&&!j[b.begin];)b.begin++;B.caret(b.begin,b.begin)}h()}function
v(){A(),B.val()!=E&&B.change()}function
w(a){if(!B.prop("readonly")){var
b,c,e,f=a.which||a.keyCode;o=B.val(),8===f||46===f||d&&127===f?(b=B.caret(),c=b.begin,e=b.end,e-c===0&&(c=46!==f?r(c):e=q(c-1),e=46===f?q(e):e),y(c,e),s(c,e-1),a.preventDefault()):13===f?v.call(this,a):27===f&&(B.val(E),B.caret(0,A()),a.preventDefault())}}function
x(b){if(!B.prop("readonly")){var
c,d,e,g=b.which||b.keyCode,i=B.caret();if(!(b.ctrlKey||b.altKey||b.metaKey||32>g)&&g&&13!==g){if(i.end-i.begin!==0&&(y(i.begin,i.end),s(i.begin,i.end-1)),c=q(i.begin-1),n>c&&(d=String.fromCharCode(g),j[c].test(d))){if(t(c),C[c]=d,z(),e=q(c),f){var
k=function(){a.proxy(a.fn.caret,B,e)()};setTimeout(k,0)}else
B.caret(e);i.begin<=m&&h()}b.preventDefault()}}}function
y(a,b){var
c;for(c=a;b>c&&n>c;c++)j[c]&&(C[c]=p(c))}function
z(){B.val(C.join(""))}function A(a){var
b,c,d,e=B.val(),f=-1;for(b=0,d=0;n>b;b++)if(j[b]){for(C[b]=p(b);d++<e.length;)if(c=e.charAt(d-1),j[b].test(c)){C[b]=c,f=b;break}if(d>e.length){y(b+1,n);break}}else
C[b]===e.charAt(d)&&d++,k>b&&(f=b);return
a?z():k>f+1?g.autoclear||C.join("")===D?(B.val()&&B.val(""),y(0,n)):z():(z(),B.val(B.val().substring(0,f+1))),k?b:l}var
B=a(this),C=a.map(c.split(""),function(a,b){return"?"!=a?i[a]?p(b):a:void
0}),D=C.join(""),E=B.val();B.data(a.mask.dataName,function(){return
a.map(C,function(a,b){return
j[b]&&a!=p(b)?a:null}).join("")}),B.one("unmask",function(){B.off(".mask").removeData(a.mask.dataName)}).on("focus.mask",function(){if(!B.prop("readonly")){clearTimeout(b);var
a;E=B.val(),a=A(),b=setTimeout(function(){B.get(0)===document.activeElement&&(z(),a==c.replace("?","").length?B.caret(0,a):B.caret(a))},10)}}).on("blur.mask",v).on("keydown.mask",w).on("keypress.mask",x).on("input.mask
paste.mask",function(){B.prop("readonly")||setTimeout(function(){var
a=A(!0);B.caret(a),h()},0)}),e&&f&&B.off("input.mask").on("input.mask",u),A()})}})});PKഎ[9
�M��"jeditable/jquery.phocajeditable.jsnu�[���/*
* @package Phoca Component
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
/*
function phGetMsg(msg, defaultMsg) {
if (defaultMsg == 1) {
return '<div id="ph-ajaxtop-message">'
+ '<div id="ph-ajaxtop-close">x</div>'
+ '<div class="ph-result-txt ph-info-txt">' +
msg + '</div>'
+ '<div
class="ph-progressbar-bottom"></div>'
+ '</div>';
} else {
return '<div
id="ph-ajaxtop-close">x</div>' + msg +
'<div
class="ph-progressbar-bottom"></div>';
}
}
function phCloseMsgBoxSuccess() {
setTimeout(function(){
jQuery("#ph-ajaxtop").hide();
jQuery(".ph-result-txt").remove();
}, 2500);
jQuery(".ph-progressbar-bottom").animate({
width: "0%"
}, 2500 );
}
function phCloseMsgBoxError() {
setTimeout(function(){
jQuery("#ph-ajaxtop").hide();
jQuery(".ph-result-txt").remove();
}, 3500);
jQuery(".ph-progressbar-bottom").animate({
width: "0%"
}, 3500 );
}
*/
/* -------------------- */
function phChangeBackground(element, seconds, color) {
var originalColor = jQuery(element).css("background");
jQuery(element).css("background", color);
setTimeout(function(){
jQuery(element).css("background", originalColor);
}, seconds);
}
function phEscapeColon(element) {
return element.replace(/:/g, '\\:');
}
function phEditInPlaceMsg(msg, type) {
jQuery("#ph-ajaxtop").html(phGetMsg( ' ',
1));
jQuery("#ph-ajaxtop").show();
jQuery("#ph-ajaxtop-message").html(phGetMsg(msg, 0));
if (type == 0) {
phCloseMsgBoxError();
} else {
phCloseMsgBoxSuccess();
}
}
function phEditInPlacePasteAndMark(element, json) {
/* combined input means title and alias (both editable) or date and
dateformat (only date editable) */
if (json.idcombined && json.resultcombined) {
var combinedElement = "#" +
phEscapeColon(json.idcombined);
jQuery(combinedElement).html(json.resultcombined);
phChangeBackground(combinedElement, 700, "#D4E9E6");
}
var currentElement = "#" + phEscapeColon(element);
phChangeBackground(currentElement, 700, "#D4E9E6" );
}
jQuery(document).ready(function() {
var phVars = Joomla.getOptions('phVars');
var phLang = Joomla.getOptions('phLang');
jQuery(".ph-editinplace-text.ph-eip-text").editable(phVars['urleditinplace'],
{
tooltip : phLang['PHOCA_CLICK_TO_EDIT'],
select : true,
type : "text",
cancel : phLang['PHOCA_CANCEL'],
submit : phLang['PHOCA_SUBMIT'],
cssclass : 'ph-edit-in-place-class',
cancelcssclass : 'btn btn-danger',
submitcssclass : 'btn btn-success',
submitdata : {type: "text"},
before : function(e) {
/* set height to not jump - e.g. description, if 5 row
description changes in popup form to 3 row */
var height = jQuery(e.currentTarget).height();// e.target //
outerHeight()
jQuery(e.currentTarget).height(height);
//var height = e.currentTarget.offsetHeight;
//e.currentTarget.setAttribute("style","height:" +
height + "px");
},
//DEBUG
//onblur : function() { ... },
intercept : function(jsondata) {
json = JSON.parse(jsondata);
/* return back from fixed height */
jQuery(this).css("height", "");
if (json.status == 0){
phEditInPlaceMsg(json.error, 0)
this.reset();
} else {
var id = jQuery(this).attr("id");
phEditInPlacePasteAndMark(id, json);
return json.result;
}
},
placeholder: "",
// Possible information for parts on the site which will be not
changed by chaning the value (for example currency view - currency rate)
callback: function() {
var chEIP = ".phChangeEditInPlace" +
jQuery(this).attr("data-id");
jQuery(chEIP).html(phLang['PHOCA_PLEASE_RELOAD_PAGE_TO_SEE_UPDATED_INFORMATION'])
},
})
jQuery(".ph-editinplace-text.ph-eip-autogrow").editable(phVars['urleditinplace'],
{
tooltip : phLang['PHOCA_CLICK_TO_EDIT'],
//select : true,
type : "autogrow",
cancel : phLang['PHOCA_CANCEL'],
submit : phLang['PHOCA_SUBMIT'],
cssclass : 'ph-edit-in-place-class',
cancelcssclass : 'btn btn-danger',
submitcssclass : 'btn btn-success',
submitdata : {type: "autogrow"},
before : function(e) {
/* set height to not jump */
var height = jQuery(e.target).height();//outerHeight()
jQuery(e.target).height(height);
},
// DEBUG
//onblur : function() { ... },
intercept : function(jsondata) {
json = JSON.parse(jsondata);
/* return back from fixed height */
jQuery(this).css("height", "");
if (json.status == 0){
phEditInPlaceMsg(json.error, 0)
this.reset();
} else {
var id = jQuery(this).attr("id");
phEditInPlacePasteAndMark(id, json);
return json.result;
}
},
placeholder: "",
// Possible information for parts on the site which will be not
changed by chaning the value (for example currency view - currency rate)
callback: function() {
var chEIP = ".phChangeEditInPlace" +
jQuery(this).attr("data-id");
jQuery(chEIP).html(phLang['PHOCA_PLEASE_RELOAD_PAGE_TO_SEE_UPDATED_INFORMATION'])
},
})
jQuery(".ph-editinplace-text.ph-eip-date").editable(phVars['urleditinplace'],
{
tooltip : phLang['PHOCA_CLICK_TO_EDIT'],
select : true,
type : "masked",
mask : "9999-99-99",
cancel : phLang['PHOCA_CANCEL'],
submit : phLang['PHOCA_SUBMIT'],
cssclass : 'ph-edit-in-place-class',
cancelcssclass : 'btn btn-danger',
submitcssclass : 'btn btn-success',
submitdata : {type: "date", dateformat :
phVars['dateformat']},
before : function(e) {
/* set height to not jump */
var height = jQuery(e.currentTarget).height();// e.target //
outerHeight()
jQuery(e.currentTarget).height(height);
},
//DEBUG
//onblur : function() { ... },
intercept : function(jsondata) {
json = JSON.parse(jsondata);
/* return back from fixed height */
jQuery(this).css("height", "");
if (json.status == 0){
phEditInPlaceMsg(json.error, 0)
this.reset();
} else {
var id = jQuery(this).attr("id");
phEditInPlacePasteAndMark(id, json);
return json.result;
}
},
placeholder: "",
// Possible information for parts on the site which will be not
changed by chaning the value (for example currency view - currency rate)
callback: function() {
var chEIP = ".phChangeEditInPlace" +
jQuery(this).attr("data-id");
jQuery(chEIP).html(phLang['PHOCA_PLEASE_RELOAD_PAGE_TO_SEE_UPDATED_INFORMATION'])
},
})
})
PKഎ[����jeditable/phocajeditable.cssnu�[���/*
Edit in place */
.ph-editinplace-text {
display: block;
min-height: 36px; /* em will jump because of different converting to px */
/*font-size: 96% !important;*/
}
.ph-editinplace-text.ph-eip-alias {
margin-top: 2px;
}
.ph-editinplace-text {
min-width: 3em;
}
.ph-editinplace-text.ph-eip-title,
.ph-editinplace-text.ph-eip-alias {
min-width: 6em;
margin-top: 2px;
}
.ph-editinplace-text.ph-eip-description {
min-width: 7em;
}
.ph-editinplace-text {
background: #f5f5f5;
position: relative;
padding: 0.5em;
}
.ph-editinplace-text form {
background-color: #fff;
border: 1px solid #f0f0f0;
box-shadow: 2px 2px 0px 0px #d0d0d0;
width: max-content;
height: auto;
padding: 0.7em;
z-index: 1000;
position: absolute;
left: -5em;
right: 0;
margin:0;
}
.ph-editinplace-text form button {
margin: 0 0 0 0.5em;
}
.ph-editinplace-text form input {
width: 8em !important;
margin: -1px 0 0 0.5em !important;
}
.ph-editinplace-text.ph-eip-title form input {
width: 25em !important;
}
.ph-editinplace-text.ph-eip-price_original form input
.ph-editinplace-text.ph-eip-price form input {}
.ph-editinplace-text.ph-eip-sku form input {}
/* Ajax Top Message */
@-webkit-keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
#ph-ajaxtop-message {
position: fixed;
top: 0.3em;
left: 0;
right: 0;
width: 50%;
background: #fdd043;
background-image: linear-gradient(to right, #fdd043 0%, #fcc311 100%);
border-radius: 2px;
padding: 0;
margin: 0 auto;
text-align: center;
z-index: 9999;
color: #fff;
font-weight: bold;
}
#ph-ajaxtop-close {
float: right;
font-weight: bold;
color: #fff;
padding: 0.2em 0.5em;
cursor: pointer;
border-radius: 2px;
background: rgba(255, 255, 255, 0.5);
}
.ph-progressbar-bottom {
background: #fff;
background: linear-gradient(to right, rgb(255, 255, 255, 0.3), rgb(255,
255, 255, 0.5));
height: 5px;
width: 100%;
padding: 0;
border-radius: 0 0 2px 2px;
margin: 0.7em 0 0 0;
}
#ph-ajaxtop {
display: none;
}
#ph-ajaxtop-message .ph-result-txt {
margin-top: 1em;
color: #fff;
font-weight: bold;
font-size: 1.2em;
display: block;
}
#ph-ajaxtop-message .ph-info-txt {}
#ph-ajaxtop-message .ph-info-txt:before {
font-family: "Glyphicons Halflings";
content: "\e086";
color: #3bafda;
margin-right: 0.5em;
font-weight: bold;
position: absolute;
font-size: 2em;
left: 0.4em;
/*margin-top: -0.3em;*/
}
#ph-ajaxtop-message .ph-success-txt {}
#ph-ajaxtop-message .ph-success-txt:before {
font-family: "Glyphicons Halflings";
content: "\e086";
color: #00b19d;
margin-right: 0.5em;
font-weight: bold;
position: absolute;
font-size: 2em;
left: 0.4em;
/*margin-top: -0.3em;*/
}
#ph-ajaxtop-message .ph-error-txt {}
#ph-ajaxtop-message .ph-error-txt:before {
font-family: "Glyphicons Halflings";
content: "\e086";
color: #f76397;
margin-right: 0.5em;
font-weight: bold;
position: absolute;
font-size: 2em;
left: 0.4em;
/*margin-top: -0.3em;*/
}PKഎ[�#o,,jstree/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[�0�`��jstree/jstree.min.jsnu�[���/*!
jsTree - v3.3.9 - 2015-05-04 - (MIT) */
!function(e){"use strict";"function"==typeof
define&&define.amd?define(["jquery"],e):"undefined"!=typeof
module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e,t){"use
strict";if(!e.jstree){var
i=0,r=!1,s=!1,n=!1,a=[],d=e("script:last").attr("src"),o=window.document,l=window.setImmediate,c=window.Promise;!l&&c&&(l=function(e,t){c.resolve(t).then(e)}),e.jstree={version:"{{VERSION}}",defaults:{plugins:[]},plugins:{},path:d&&-1!==d.indexOf("/")?d.replace(/\/[^\/]+$/,""):"",idregex:/[\\:&!^|()\[\]<>@*'+~#";.,=\-
\/${}%?`]/g,root:"#"},e.jstree.create=function(t,r){var s=new
e.jstree.core(++i),n=r;return
r=e.extend(!0,{},e.jstree.defaults,r),n&&n.plugins&&(r.plugins=n.plugins),e.each(r.plugins,function(e,t){"core"!==e&&(s=s.plugin(t,r[t]))}),e(t).data("jstree",s),s.init(t,r),s},e.jstree.destroy=function(){e(".jstree:jstree").jstree("destroy"),e(o).off(".jstree")},e.jstree.core=function(e){this._id=e,this._cnt=0,this._wrk=null,this._data={core:{themes:{name:!1,dots:!1,icons:!1,ellipsis:!1},selected:[],last_error:{},working:!1,worker_queue:[],focused:null}}},e.jstree.reference=function(t){var
i=null,r=null;if(!t||!t.id||t.tagName&&t.nodeType||(t=t.id),!r||!r.length)try{r=e(t)}catch(e){}if(!r||!r.length)try{r=e("#"+t.replace(e.jstree.idregex,"\\$&"))}catch(e){}return
r&&r.length&&(r=r.closest(".jstree")).length&&(r=r.data("jstree"))?i=r:e(".jstree").each(function(){var
r=e(this).data("jstree");if(r&&r._model.data[t])return
i=r,!1}),i},e.fn.jstree=function(i){var r="string"==typeof
i,s=Array.prototype.slice.call(arguments,1),n=null;return!(!0===i&&!this.length)&&(this.each(function(){var
a=e.jstree.reference(this),d=r&&a?a[i]:null;if(n=r&&d?d.apply(a,s):null,a||r||i!==t&&!e.isPlainObject(i)||e.jstree.create(this,i),(a&&!r||!0===i)&&(n=a||!1),null!==n&&n!==t)return!1}),null!==n&&n!==t?n:this)},e.expr.pseudos.jstree=e.expr.createPseudo(function(i){return
function(i){return
e(i).hasClass("jstree")&&e(i).data("jstree")!==t}}),e.jstree.defaults.core={data:!1,strings:!1,check_callback:!1,error:e.noop,animation:200,multiple:!0,themes:{name:!1,url:!1,dir:!1,dots:!0,icons:!0,ellipsis:!1,stripes:!1,variant:!1,responsive:!1},expand_selected_onload:!0,worker:!0,force_text:!1,dblclick_toggle:!0,loaded_state:!1,restore_focus:!0,keyboard:{"ctrl-space":function(t){t.type="click",e(t.currentTarget).trigger(t)},enter:function(t){t.type="click",e(t.currentTarget).trigger(t)},left:function(t){if(t.preventDefault(),this.is_open(t.currentTarget))this.close_node(t.currentTarget);else{var
i=this.get_parent(t.currentTarget);i&&i.id!==e.jstree.root&&this.get_node(i,!0).children(".jstree-anchor").focus()}},up:function(e){e.preventDefault();var
t=this.get_prev_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").focus()},right:function(t){if(t.preventDefault(),this.is_closed(t.currentTarget))this.open_node(t.currentTarget,function(e){this.get_node(e,!0).children(".jstree-anchor").focus()});else
if(this.is_open(t.currentTarget)){var
i=this.get_node(t.currentTarget,!0).children(".jstree-children")[0];i&&e(this._firstChild(i)).children(".jstree-anchor").focus()}},down:function(e){e.preventDefault();var
t=this.get_next_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").focus()},"*":function(e){this.open_all()},home:function(t){t.preventDefault();var
i=this._firstChild(this.get_container_ul()[0]);i&&e(i).children(".jstree-anchor").filter(":visible").focus()},end:function(e){e.preventDefault(),this.element.find(".jstree-anchor").filter(":visible").last().focus()},f2:function(e){e.preventDefault(),this.edit(e.currentTarget)}}},e.jstree.core.prototype={plugin:function(t,i){var
r=e.jstree.plugins[t];return r?(this._data[t]={},r.prototype=this,new
r(i,this)):this},init:function(t,i){this._model={data:{},changed:[],force_full_redraw:!1,redraw_timeout:!1,default_state:{loaded:!0,opened:!1,selected:!1,disabled:!1}},this._model.data[e.jstree.root]={id:e.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this.element=e(t).addClass("jstree
jstree-"+this._id),this.settings=i,this._data.core.ready=!1,this._data.core.loaded=!1,this._data.core.rtl="rtl"===this.element.css("direction"),this.element[this._data.core.rtl?"addClass":"removeClass"]("jstree-rtl"),this.element.attr("role","tree"),this.settings.core.multiple&&this.element.attr("aria-multiselectable",!0),this.element.attr("tabindex")||this.element.attr("tabindex","0"),this.bind(),this.trigger("init"),this._data.core.original_container_html=this.element.find("
> ul >
li").clone(!0),this._data.core.original_container_html.find("li").addBack().contents().filter(function(){return
3===this.nodeType&&(!this.nodeValue||/^\s+$/.test(this.nodeValue))}).remove(),this.element.html("<ul
class='jstree-container-ul jstree-children'
role='group'><li
id='j"+this._id+"_loading'
class='jstree-initial-node jstree-loading jstree-leaf
jstree-last' role='treeitem'><i
class='jstree-icon jstree-ocl'></i><a
class='jstree-anchor' href='#'><i
class='jstree-icon
jstree-themeicon-hidden'></i>"+this.get_string("Loading
...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading"),this._data.core.li_height=this.get_container_ul().children("li").first().outerHeight()||24,this._data.core.node=this._create_prototype_node(),this.trigger("loading"),this.load_node(e.jstree.root)},destroy:function(e){if(this.trigger("destroy"),this._wrk)try{window.URL.revokeObjectURL(this._wrk),this._wrk=null}catch(e){}e||this.element.empty(),this.teardown()},_create_prototype_node:function(){var
e,t,i=o.createElement("LI");return
i.setAttribute("role","treeitem"),(e=o.createElement("I")).className="jstree-icon
jstree-ocl",e.setAttribute("role","presentation"),i.appendChild(e),(e=o.createElement("A")).className="jstree-anchor",e.setAttribute("href","#"),e.setAttribute("tabindex","-1"),(t=o.createElement("I")).className="jstree-icon
jstree-themeicon",t.setAttribute("role","presentation"),e.appendChild(t),i.appendChild(e),e=t=null,i},_kbevent_to_func:function(e){var
t=[];if(e.ctrlKey&&t.push("ctrl"),e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),t.push({8:"Backspace",9:"Tab",13:"Enter",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock",16:"Shift",17:"Ctrl",18:"Alt",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*",173:"-"}[e.which]||e.which),"shift-shift"===(t=t.sort().join("-").toLowerCase())||"ctrl-ctrl"===t||"alt-alt"===t)return
null;var i,r,s=this.settings.core.keyboard;for(i in
s)if(s.hasOwnProperty(i)&&("-"!==(r=i)&&"+"!==r&&(r=(r=r.replace("--","-MINUS").replace("+-","-MINUS").replace("++","-PLUS").replace("-+","-PLUS")).split(/-|\+/).sort().join("-").replace("MINUS","-").replace("PLUS","+").toLowerCase()),r===t))return
s[i];return
null},teardown:function(){this.unbind(),this.element.removeClass("jstree").removeData("jstree").find("[class^='jstree']").addBack().attr("class",function(){return
this.className.replace(/jstree[^
]*|$/gi,"")}),this.element=null},bind:function(){var
t="",i=null,r=0;this.element.on("dblclick.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;if(o.selection&&o.selection.empty)o.selection.empty();else
if(window.getSelection){var
t=window.getSelection();try{t.removeAllRanges(),t.collapse()}catch(e){}}}).on("mousedown.jstree",e.proxy(function(e){e.target===this.element[0]&&(e.preventDefault(),r=+new
Date)},this)).on("mousedown.jstree",".jstree-ocl",function(e){e.preventDefault()}).on("click.jstree",".jstree-ocl",e.proxy(function(e){this.toggle_node(e.target)},this)).on("dblclick.jstree",".jstree-anchor",e.proxy(function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this.settings.core.dblclick_toggle&&this.toggle_node(e.target)},this)).on("click.jstree",".jstree-anchor",e.proxy(function(t){t.preventDefault(),t.currentTarget!==o.activeElement&&e(t.currentTarget).focus(),this.activate_node(t.currentTarget,t)},this)).on("keydown.jstree",".jstree-anchor",e.proxy(function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this._data.core.rtl&&(37===e.which?e.which=39:39===e.which&&(e.which=37));var
t=this._kbevent_to_func(e);if(t){var
i=t.call(this,e);if(!1===i||!0===i)return
i}},this)).on("load_node.jstree",e.proxy(function(t,i){i.status&&(i.node.id!==e.jstree.root||this._data.core.loaded||(this._data.core.loaded=!0,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.trigger("loaded")),this._data.core.ready||setTimeout(e.proxy(function(){if(this.element&&!this.get_container_ul().find(".jstree-loading").length){if(this._data.core.ready=!0,this._data.core.selected.length){if(this.settings.core.expand_selected_onload){var
t,i,r=[];for(t=0,i=this._data.core.selected.length;t<i;t++)r=r.concat(this._model.data[this._data.core.selected[t]].parents);for(t=0,i=(r=e.vakata.array_unique(r)).length;t<i;t++)this.open_node(r[t],!1,0)}this.trigger("changed",{action:"ready",selected:this._data.core.selected})}this.trigger("ready")}},this),0))},this)).on("keypress.jstree",e.proxy(function(r){if(r.target.tagName&&"input"===r.target.tagName.toLowerCase())return!0;i&&clearTimeout(i),i=setTimeout(function(){t=""},500);var
s=String.fromCharCode(r.which).toLowerCase(),n=this.element.find(".jstree-anchor").filter(":visible"),a=n.index(o.activeElement)||0,d=!1;if((t+=s).length>1){if(n.slice(a).each(e.proxy(function(i,r){if(0===e(r).text().toLowerCase().indexOf(t))return
e(r).focus(),d=!0,!1},this)),d)return;if(n.slice(0,a).each(e.proxy(function(i,r){if(0===e(r).text().toLowerCase().indexOf(t))return
e(r).focus(),d=!0,!1},this)),d)return}if(new
RegExp("^"+s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+"+$").test(t)){if(n.slice(a+1).each(e.proxy(function(t,i){if(e(i).text().toLowerCase().charAt(0)===s)return
e(i).focus(),d=!0,!1},this)),d)return;if(n.slice(0,a+1).each(e.proxy(function(t,i){if(e(i).text().toLowerCase().charAt(0)===s)return
e(i).focus(),d=!0,!1},this)),d)return}},this)).on("init.jstree",e.proxy(function(){var
e=this.settings.core.themes;this._data.core.themes.dots=e.dots,this._data.core.themes.stripes=e.stripes,this._data.core.themes.icons=e.icons,this._data.core.themes.ellipsis=e.ellipsis,this.set_theme(e.name||"default",e.url),this.set_theme_variant(e.variant)},this)).on("loading.jstree",e.proxy(function(){this[this._data.core.themes.dots?"show_dots":"hide_dots"](),this[this._data.core.themes.icons?"show_icons":"hide_icons"](),this[this._data.core.themes.stripes?"show_stripes":"hide_stripes"](),this[this._data.core.themes.ellipsis?"show_ellipsis":"hide_ellipsis"]()},this)).on("blur.jstree",".jstree-anchor",e.proxy(function(t){this._data.core.focused=null,e(t.currentTarget).filter(".jstree-hovered").trigger("mouseleave"),this.element.attr("tabindex","0")},this)).on("focus.jstree",".jstree-anchor",e.proxy(function(t){var
i=this.get_node(t.currentTarget);i&&i.id&&(this._data.core.focused=i.id),this.element.find(".jstree-hovered").not(t.currentTarget).trigger("mouseleave"),e(t.currentTarget).trigger("mouseenter"),this.element.attr("tabindex","-1")},this)).on("focus.jstree",e.proxy(function(){if(+new
Date-r>500&&!this._data.core.focused&&this.settings.core.restore_focus){r=0;var
e=this.get_node(this.element.attr("aria-activedescendant"),!0);e&&e.find(">
.jstree-anchor").focus()}},this)).on("mouseenter.jstree",".jstree-anchor",e.proxy(function(e){this.hover_node(e.currentTarget)},this)).on("mouseleave.jstree",".jstree-anchor",e.proxy(function(e){this.dehover_node(e.currentTarget)},this))},unbind:function(){this.element.off(".jstree"),e(o).off(".jstree-"+this._id)},trigger:function(e,t){t||(t={}),t.instance=this,this.element.triggerHandler(e.replace(".jstree","")+".jstree",t)},get_container:function(){return
this.element},get_container_ul:function(){return
this.element.children(".jstree-children").first()},get_string:function(t){var
i=this.settings.core.strings;return
e.isFunction(i)?i.call(this,t):i&&i[t]?i[t]:t},_firstChild:function(e){for(e=e?e.firstChild:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return
e},_nextSibling:function(e){for(e=e?e.nextSibling:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return
e},_previousSibling:function(e){for(e=e?e.previousSibling:null;null!==e&&1!==e.nodeType;)e=e.previousSibling;return
e},get_node:function(t,i){var r;t&&t.id&&(t=t.id),t
instanceof
e&&t.length&&t[0].id&&(t=t[0].id);try{if(this._model.data[t])t=this._model.data[t];else
if("string"==typeof
t&&this._model.data[t.replace(/^#/,"")])t=this._model.data[t.replace(/^#/,"")];else
if("string"==typeof
t&&(r=e("#"+t.replace(e.jstree.idregex,"\\$&"),this.element)).length&&this._model.data[r.closest(".jstree-node").attr("id")])t=this._model.data[r.closest(".jstree-node").attr("id")];else
if((r=this.element.find(t)).length&&this._model.data[r.closest(".jstree-node").attr("id")])t=this._model.data[r.closest(".jstree-node").attr("id")];else{if(!(r=this.element.find(t)).length||!r.hasClass("jstree"))return!1;t=this._model.data[e.jstree.root]}return
i&&(t=t.id===e.jstree.root?this.element:e("#"+t.id.replace(e.jstree.idregex,"\\$&"),this.element)),t}catch(e){return!1}},get_path:function(t,i,r){if(!(t=t.parents?t:this.get_node(t))||t.id===e.jstree.root||!t.parents)return!1;var
s,n,a=[];for(a.push(r?t.id:t.text),s=0,n=t.parents.length;s<n;s++)a.push(r?t.parents[s]:this.get_text(t.parents[s]));return
a=a.reverse().slice(1),i?a.join(i):a},get_next_dom:function(t,i){var
r;if((t=this.get_node(t,!0))[0]===this.element[0]){for(r=this._firstChild(this.get_container_ul()[0]);r&&0===r.offsetHeight;)r=this._nextSibling(r);return!!r&&e(r)}if(!t||!t.length)return!1;if(i){r=t[0];do{r=this._nextSibling(r)}while(r&&0===r.offsetHeight);return!!r&&e(r)}if(t.hasClass("jstree-open")){for(r=this._firstChild(t.children(".jstree-children")[0]);r&&0===r.offsetHeight;)r=this._nextSibling(r);if(null!==r)return
e(r)}r=t[0];do{r=this._nextSibling(r)}while(r&&0===r.offsetHeight);return
null!==r?e(r):t.parentsUntil(".jstree",".jstree-node").nextAll(".jstree-node:visible").first()},get_prev_dom:function(t,i){var
r;if((t=this.get_node(t,!0))[0]===this.element[0]){for(r=this.get_container_ul()[0].lastChild;r&&0===r.offsetHeight;)r=this._previousSibling(r);return!!r&&e(r)}if(!t||!t.length)return!1;if(i){r=t[0];do{r=this._previousSibling(r)}while(r&&0===r.offsetHeight);return!!r&&e(r)}r=t[0];do{r=this._previousSibling(r)}while(r&&0===r.offsetHeight);if(null!==r){for(t=e(r);t.hasClass("jstree-open");)t=t.children(".jstree-children").first().children(".jstree-node:visible:last");return
t}return!(!(r=t[0].parentNode.parentNode)||!r.className||-1===r.className.indexOf("jstree-node"))&&e(r)},get_parent:function(t){return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&t.parent},get_children_dom:function(e){return(e=this.get_node(e,!0))[0]===this.element[0]?this.get_container_ul().children(".jstree-node"):!(!e||!e.length)&&e.children(".jstree-children").children(".jstree-node")},is_parent:function(e){return(e=this.get_node(e))&&(!1===e.state.loaded||e.children.length>0)},is_loaded:function(e){return(e=this.get_node(e))&&e.state.loaded},is_loading:function(e){return(e=this.get_node(e))&&e.state&&e.state.loading},is_open:function(e){return(e=this.get_node(e))&&e.state.opened},is_closed:function(e){return(e=this.get_node(e))&&this.is_parent(e)&&!e.state.opened},is_leaf:function(e){return!this.is_parent(e)},load_node:function(t,i){var
r,s,n,a,d;if(e.isArray(t))return
this._load_nodes(t.slice(),i),!0;if(!(t=this.get_node(t)))return
i&&i.call(this,t,!1),!1;if(t.state.loaded){for(t.state.loaded=!1,n=0,a=t.parents.length;n<a;n++)this._model.data[t.parents[n]].children_d=e.vakata.array_filter(this._model.data[t.parents[n]].children_d,function(i){return-1===e.inArray(i,t.children_d)});for(r=0,s=t.children_d.length;r<s;r++)this._model.data[t.children_d[r]].state.selected&&(d=!0),delete
this._model.data[t.children_d[r]];d&&(this._data.core.selected=e.vakata.array_filter(this._data.core.selected,function(i){return-1===e.inArray(i,t.children_d)})),t.children=[],t.children_d=[],d&&this.trigger("changed",{action:"load_node",node:t,selected:this._data.core.selected})}return
t.state.failed=!1,t.state.loading=!0,this.get_node(t,!0).addClass("jstree-loading").attr("aria-busy",!0),this._load_node(t,e.proxy(function(e){(t=this._model.data[t.id]).state.loading=!1,t.state.loaded=e,t.state.failed=!t.state.loaded;var
r,s=this.get_node(t,!0),n=0,a=this._model.data,d=!1;for(n=0,r=t.children.length;n<r;n++)if(a[t.children[n]]&&!a[t.children[n]].state.hidden){d=!0;break}t.state.loaded&&s&&s.length&&(s.removeClass("jstree-closed
jstree-open
jstree-leaf"),d?"#"!==t.id&&s.addClass(t.state.opened?"jstree-open":"jstree-closed"):s.addClass("jstree-leaf")),s.removeClass("jstree-loading").attr("aria-busy",!1),this.trigger("load_node",{node:t,status:e}),i&&i.call(this,t,e)},this)),!0},_load_nodes:function(e,t,i,r){var
s,n,a=!0,d=function(){this._load_nodes(e,t,!0)},o=this._model.data,l=[];for(s=0,n=e.length;s<n;s++)o[e[s]]&&(!o[e[s]].state.loaded&&!o[e[s]].state.failed||!i&&r)&&(this.is_loading(e[s])||this.load_node(e[s],d),a=!1);if(a){for(s=0,n=e.length;s<n;s++)o[e[s]]&&o[e[s]].state.loaded&&l.push(e[s]);t&&!t.done&&(t.call(this,l),t.done=!0)}},load_all:function(t,i){if(t||(t=e.jstree.root),!(t=this.get_node(t)))return!1;var
r,s,n=[],a=this._model.data,d=a[t.id].children_d;for(t.state&&!t.state.loaded&&n.push(t.id),r=0,s=d.length;r<s;r++)a[d[r]]&&a[d[r]].state&&!a[d[r]].state.loaded&&n.push(d[r]);n.length?this._load_nodes(n,function(){this.load_all(t,i)}):(i&&i.call(this,t),this.trigger("load_all",{node:t}))},_load_node:function(t,i){var
r,s=this.settings.core.data,n=function(){return
3!==this.nodeType&&8!==this.nodeType};return
s?e.isFunction(s)?s.call(this,t,e.proxy(function(r){!1===r?i.call(this,!1):this["string"==typeof
r?"_append_html_data":"_append_json_data"](t,"string"==typeof
r?e(e.parseHTML(r)).filter(n):r,function(e){i.call(this,e)})},this)):"object"==typeof
s?s.url?(s=e.extend(!0,{},s),e.isFunction(s.url)&&(s.url=s.url.call(this,t)),e.isFunction(s.data)&&(s.data=s.data.call(this,t)),e.ajax(s).done(e.proxy(function(r,s,a){var
d=a.getResponseHeader("Content-Type");return
d&&-1!==d.indexOf("json")||"object"==typeof
r?this._append_json_data(t,r,function(e){i.call(this,e)}):d&&-1!==d.indexOf("html")||"string"==typeof
r?this._append_html_data(t,e(e.parseHTML(r)).filter(n),function(e){i.call(this,e)}):(this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could
not load
node",data:JSON.stringify({id:t.id,xhr:a})},this.settings.core.error.call(this,this._data.core.last_error),i.call(this,!1))},this)).fail(e.proxy(function(e){this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could
not load
node",data:JSON.stringify({id:t.id,xhr:e})},i.call(this,!1),this.settings.core.error.call(this,this._data.core.last_error)},this))):(r=e.isArray(s)?e.extend(!0,[],s):e.isPlainObject(s)?e.extend(!0,{},s):s,t.id===e.jstree.root?this._append_json_data(t,r,function(e){i.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_05",reason:"Could
not load
node",data:JSON.stringify({id:t.id})},this.settings.core.error.call(this,this._data.core.last_error),i.call(this,!1))):"string"==typeof
s?t.id===e.jstree.root?this._append_html_data(t,e(e.parseHTML(s)).filter(n),function(e){i.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_06",reason:"Could
not load
node",data:JSON.stringify({id:t.id})},this.settings.core.error.call(this,this._data.core.last_error),i.call(this,!1)):i.call(this,!1):t.id===e.jstree.root?this._append_html_data(t,this._data.core.original_container_html.clone(!0),function(e){i.call(this,e)}):i.call(this,!1)},_node_changed:function(t){(t=this.get_node(t))&&-1===e.inArray(t.id,this._model.changed)&&this._model.changed.push(t.id)},_append_html_data:function(t,i,r){(t=this.get_node(t)).children=[],t.children_d=[];var
s,n,a,d=i.is("ul")?i.children():i,o=t.id,l=[],c=[],h=this._model.data,_=h[o],f=this._data.core.selected.length;for(d.each(e.proxy(function(t,i){(s=this._parse_model_from_html(e(i),o,_.parents.concat()))&&(l.push(s),c.push(s),h[s].children_d.length&&(c=c.concat(h[s].children_d)))},this)),_.children=l,_.children_d=c,n=0,a=_.parents.length;n<a;n++)h[_.parents[n]].children_d=h[_.parents[n]].children_d.concat(c);this.trigger("model",{nodes:c,parent:o}),o!==e.jstree.root?(this._node_changed(o),this.redraw()):(this.get_container_ul().children(".jstree-initial-node").remove(),this.redraw(!0)),this._data.core.selected.length!==f&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),r.call(this,!0)},_append_json_data:function(t,i,r,s){if(null!==this.element){(t=this.get_node(t)).children=[],t.children_d=[],i.d&&"string"==typeof(i=i.d)&&(i=JSON.parse(i)),e.isArray(i)||(i=[i]);var
n=null,a={df:this._model.default_state,dat:i,par:t.id,m:this._model.data,t_id:this._id,t_cnt:this._cnt,sel:this._data.core.selected},d=this,o=function(e,t){e.data&&(e=e.data);var
i,r,s,n,a=e.dat,o=e.par,l=[],c=[],h=[],_=e.df,f=e.t_id,u=e.t_cnt,g=e.m,p=g[o],m=e.sel,j=function(e,i,r){r=r?r.concat():[],i&&r.unshift(i);var
s,n,a,d,o=e.id.toString(),l={id:o,text:e.text||"",icon:e.icon===t||e.icon,parent:i,parents:r,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(s
in
_)_.hasOwnProperty(s)&&(l.state[s]=_[s]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(l.icon=e.data.jstree.icon),l.icon!==t&&null!==l.icon&&""!==l.icon||(l.icon=!0),e&&e.data&&(l.data=e.data,e.data.jstree))for(s
in
e.data.jstree)e.data.jstree.hasOwnProperty(s)&&(l.state[s]=e.data.jstree[s]);if(e&&"object"==typeof
e.state)for(s in
e.state)e.state.hasOwnProperty(s)&&(l.state[s]=e.state[s]);if(e&&"object"==typeof
e.li_attr)for(s in
e.li_attr)e.li_attr.hasOwnProperty(s)&&(l.li_attr[s]=e.li_attr[s]);if(l.li_attr.id||(l.li_attr.id=o),e&&"object"==typeof
e.a_attr)for(s in
e.a_attr)e.a_attr.hasOwnProperty(s)&&(l.a_attr[s]=e.a_attr[s]);for(e&&e.children&&!0===e.children&&(l.state.loaded=!1,l.children=[],l.children_d=[]),g[l.id]=l,s=0,n=l.children.length;s<n;s++)a=j(g[l.children[s]],l.id,r),d=g[a],l.children_d.push(a),d.children_d.length&&(l.children_d=l.children_d.concat(d.children_d));return
delete e.data,delete
e.children,g[l.id].original=e,l.state.selected&&h.push(l.id),l.id},y=function(e,i,r){r=r?r.concat():[],i&&r.unshift(i);var
s,n,a,d,o,l=!1;do{l="j"+f+"_"+ ++u}while(g[l]);for(s in
o={id:!1,text:"string"==typeof
e?e:"",icon:"object"!=typeof
e||e.icon===t||e.icon,parent:i,parents:r,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},_)_.hasOwnProperty(s)&&(o.state[s]=_[s]);if(e&&e.id&&(o.id=e.id.toString()),e&&e.text&&(o.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(o.icon=e.data.jstree.icon),o.icon!==t&&null!==o.icon&&""!==o.icon||(o.icon=!0),e&&e.data&&(o.data=e.data,e.data.jstree))for(s
in
e.data.jstree)e.data.jstree.hasOwnProperty(s)&&(o.state[s]=e.data.jstree[s]);if(e&&"object"==typeof
e.state)for(s in
e.state)e.state.hasOwnProperty(s)&&(o.state[s]=e.state[s]);if(e&&"object"==typeof
e.li_attr)for(s in
e.li_attr)e.li_attr.hasOwnProperty(s)&&(o.li_attr[s]=e.li_attr[s]);if(o.li_attr.id&&!o.id&&(o.id=o.li_attr.id.toString()),o.id||(o.id=l),o.li_attr.id||(o.li_attr.id=o.id),e&&"object"==typeof
e.a_attr)for(s in
e.a_attr)e.a_attr.hasOwnProperty(s)&&(o.a_attr[s]=e.a_attr[s]);if(e&&e.children&&e.children.length){for(s=0,n=e.children.length;s<n;s++)a=y(e.children[s],o.id,r),d=g[a],o.children.push(a),d.children_d.length&&(o.children_d=o.children_d.concat(d.children_d));o.children_d=o.children_d.concat(o.children)}return
e&&e.children&&!0===e.children&&(o.state.loaded=!1,o.children=[],o.children_d=[]),delete
e.data,delete
e.children,o.original=e,g[o.id]=o,o.state.selected&&h.push(o.id),o.id};if(a.length&&a[0].id!==t&&a[0].parent!==t){for(r=0,s=a.length;r<s;r++)a[r].children||(a[r].children=[]),a[r].state||(a[r].state={}),g[a[r].id.toString()]=a[r];for(r=0,s=a.length;r<s;r++)g[a[r].parent.toString()]?(g[a[r].parent.toString()].children.push(a[r].id.toString()),p.children_d.push(a[r].id.toString())):void
0!==d&&(d._data.core.last_error={error:"parse",plugin:"core",id:"core_07",reason:"Node
with invalid
parent",data:JSON.stringify({id:a[r].id.toString(),parent:a[r].parent.toString()})},d.settings.core.error.call(d,d._data.core.last_error));for(r=0,s=p.children.length;r<s;r++)i=j(g[p.children[r]],o,p.parents.concat()),c.push(i),g[i].children_d.length&&(c=c.concat(g[i].children_d));for(r=0,s=p.parents.length;r<s;r++)g[p.parents[r]].children_d=g[p.parents[r]].children_d.concat(c);n={cnt:u,mod:g,sel:m,par:o,dpc:c,add:h}}else{for(r=0,s=a.length;r<s;r++)(i=y(a[r],o,p.parents.concat()))&&(l.push(i),c.push(i),g[i].children_d.length&&(c=c.concat(g[i].children_d)));for(p.children=l,p.children_d=c,r=0,s=p.parents.length;r<s;r++)g[p.parents[r]].children_d=g[p.parents[r]].children_d.concat(c);n={cnt:u,mod:g,sel:m,par:o,dpc:c,add:h}}if("undefined"!=typeof
window&&void 0!==window.document)return
n;postMessage(n)},c=function(t,i){if(null!==this.element){this._cnt=t.cnt;var
s,n=this._model.data;for(s in
n)n.hasOwnProperty(s)&&n[s].state&&n[s].state.loading&&t.mod[s]&&(t.mod[s].state.loading=!0);if(this._model.data=t.mod,i){var
a,o=t.add,c=t.sel,h=this._data.core.selected.slice();if(n=this._model.data,c.length!==h.length||e.vakata.array_unique(c.concat(h)).length!==c.length){for(s=0,a=c.length;s<a;s++)-1===e.inArray(c[s],o)&&-1===e.inArray(c[s],h)&&(n[c[s]].state.selected=!1);for(s=0,a=h.length;s<a;s++)-1===e.inArray(h[s],c)&&(n[h[s]].state.selected=!0)}}t.add.length&&(this._data.core.selected=this._data.core.selected.concat(t.add)),this.trigger("model",{nodes:t.dpc,parent:t.par}),t.par!==e.jstree.root?(this._node_changed(t.par),this.redraw()):this.redraw(!0),t.add.length&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),!i&&l?l(function(){r.call(d,!0)}):r.call(d,!0)}};if(this.settings.core.worker&&window.Blob&&window.URL&&window.Worker)try{null===this._wrk&&(this._wrk=window.URL.createObjectURL(new
window.Blob(["self.onmessage =
"+o.toString()],{type:"text/javascript"}))),!this._data.core.working||s?(this._data.core.working=!0,(n=new
window.Worker(this._wrk)).onmessage=e.proxy(function(e){c.call(this,e.data,!0);try{n.terminate(),n=null}catch(e){}this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1},this),a.par?n.postMessage(a):this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1):this._data.core.worker_queue.push([t,i,r,!0])}catch(e){c.call(this,o(a),!1),this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}else
c.call(this,o(a),!1)}},_parse_model_from_html:function(i,r,s){s=s?[].concat(s):[],r&&s.unshift(r);var
n,a,d,o,l,c=this._model.data,h={id:!1,text:!1,icon:!0,parent:r,parents:s,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(d
in
this._model.default_state)this._model.default_state.hasOwnProperty(d)&&(h.state[d]=this._model.default_state[d]);if(o=e.vakata.attributes(i,!0),e.each(o,function(t,i){if(!(i=e.trim(i)).length)return!0;h.li_attr[t]=i,"id"===t&&(h.id=i.toString())}),(o=i.children("a").first()).length&&(o=e.vakata.attributes(o,!0),e.each(o,function(t,i){(i=e.trim(i)).length&&(h.a_attr[t]=i)})),(o=i.children("a").first().length?i.children("a").first().clone():i.clone()).children("ins,
i, ul").remove(),o=o.html(),o=e("<div
/>").html(o),h.text=this.settings.core.force_text?o.text():o.html(),o=i.data(),h.data=o?e.extend(!0,{},o):null,h.state.opened=i.hasClass("jstree-open"),h.state.selected=i.children("a").hasClass("jstree-clicked"),h.state.disabled=i.children("a").hasClass("jstree-disabled"),h.data&&h.data.jstree)for(d
in
h.data.jstree)h.data.jstree.hasOwnProperty(d)&&(h.state[d]=h.data.jstree[d]);(o=i.children("a").children(".jstree-themeicon")).length&&(h.icon=!o.hasClass("jstree-themeicon-hidden")&&o.attr("rel")),h.state.icon!==t&&(h.icon=h.state.icon),h.icon!==t&&null!==h.icon&&""!==h.icon||(h.icon=!0),o=i.children("ul").children("li");do{l="j"+this._id+"_"+
++this._cnt}while(c[l]);return
h.id=h.li_attr.id?h.li_attr.id.toString():l,o.length?(o.each(e.proxy(function(t,i){n=this._parse_model_from_html(e(i),h.id,s),a=this._model.data[n],h.children.push(n),a.children_d.length&&(h.children_d=h.children_d.concat(a.children_d))},this)),h.children_d=h.children_d.concat(h.children)):i.hasClass("jstree-closed")&&(h.state.loaded=!1),h.li_attr.class&&(h.li_attr.class=h.li_attr.class.replace("jstree-closed","").replace("jstree-open","")),h.a_attr.class&&(h.a_attr.class=h.a_attr.class.replace("jstree-clicked","").replace("jstree-disabled","")),c[h.id]=h,h.state.selected&&this._data.core.selected.push(h.id),h.id},_parse_model_from_flat_json:function(e,i,r){r=r?r.concat():[],i&&r.unshift(i);var
s,n,a,d,o=e.id.toString(),l=this._model.data,c=this._model.default_state,h={id:o,text:e.text||"",icon:e.icon===t||e.icon,parent:i,parents:r,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(s
in
c)c.hasOwnProperty(s)&&(h.state[s]=c[s]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(h.icon=e.data.jstree.icon),h.icon!==t&&null!==h.icon&&""!==h.icon||(h.icon=!0),e&&e.data&&(h.data=e.data,e.data.jstree))for(s
in
e.data.jstree)e.data.jstree.hasOwnProperty(s)&&(h.state[s]=e.data.jstree[s]);if(e&&"object"==typeof
e.state)for(s in
e.state)e.state.hasOwnProperty(s)&&(h.state[s]=e.state[s]);if(e&&"object"==typeof
e.li_attr)for(s in
e.li_attr)e.li_attr.hasOwnProperty(s)&&(h.li_attr[s]=e.li_attr[s]);if(h.li_attr.id||(h.li_attr.id=o),e&&"object"==typeof
e.a_attr)for(s in
e.a_attr)e.a_attr.hasOwnProperty(s)&&(h.a_attr[s]=e.a_attr[s]);for(e&&e.children&&!0===e.children&&(h.state.loaded=!1,h.children=[],h.children_d=[]),l[h.id]=h,s=0,n=h.children.length;s<n;s++)d=l[a=this._parse_model_from_flat_json(l[h.children[s]],h.id,r)],h.children_d.push(a),d.children_d.length&&(h.children_d=h.children_d.concat(d.children_d));return
delete e.data,delete
e.children,l[h.id].original=e,h.state.selected&&this._data.core.selected.push(h.id),h.id},_parse_model_from_json:function(e,i,r){r=r?r.concat():[],i&&r.unshift(i);var
s,n,a,d,o,l=!1,c=this._model.data,h=this._model.default_state;do{l="j"+this._id+"_"+
++this._cnt}while(c[l]);for(s in o={id:!1,text:"string"==typeof
e?e:"",icon:"object"!=typeof
e||e.icon===t||e.icon,parent:i,parents:r,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},h)h.hasOwnProperty(s)&&(o.state[s]=h[s]);if(e&&e.id&&(o.id=e.id.toString()),e&&e.text&&(o.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(o.icon=e.data.jstree.icon),o.icon!==t&&null!==o.icon&&""!==o.icon||(o.icon=!0),e&&e.data&&(o.data=e.data,e.data.jstree))for(s
in
e.data.jstree)e.data.jstree.hasOwnProperty(s)&&(o.state[s]=e.data.jstree[s]);if(e&&"object"==typeof
e.state)for(s in
e.state)e.state.hasOwnProperty(s)&&(o.state[s]=e.state[s]);if(e&&"object"==typeof
e.li_attr)for(s in
e.li_attr)e.li_attr.hasOwnProperty(s)&&(o.li_attr[s]=e.li_attr[s]);if(o.li_attr.id&&!o.id&&(o.id=o.li_attr.id.toString()),o.id||(o.id=l),o.li_attr.id||(o.li_attr.id=o.id),e&&"object"==typeof
e.a_attr)for(s in
e.a_attr)e.a_attr.hasOwnProperty(s)&&(o.a_attr[s]=e.a_attr[s]);if(e&&e.children&&e.children.length){for(s=0,n=e.children.length;s<n;s++)d=c[a=this._parse_model_from_json(e.children[s],o.id,r)],o.children.push(a),d.children_d.length&&(o.children_d=o.children_d.concat(d.children_d));o.children_d=o.children.concat(o.children_d)}return
e&&e.children&&!0===e.children&&(o.state.loaded=!1,o.children=[],o.children_d=[]),delete
e.data,delete
e.children,o.original=e,c[o.id]=o,o.state.selected&&this._data.core.selected.push(o.id),o.id},_redraw:function(){var
t,i,r,s=this._model.force_full_redraw?this._model.data[e.jstree.root].children.concat([]):this._model.changed.concat([]),n=o.createElement("UL"),a=this._data.core.focused;for(i=0,r=s.length;i<r;i++)(t=this.redraw_node(s[i],!0,this._model.force_full_redraw))&&this._model.force_full_redraw&&n.appendChild(t);this._model.force_full_redraw&&(n.className=this.get_container_ul()[0].className,n.setAttribute("role","group"),this.element.empty().append(n)),null!==a&&this.settings.core.restore_focus&&((t=this.get_node(a,!0))&&t.length&&t.children(".jstree-anchor")[0]!==o.activeElement?t.children(".jstree-anchor").focus():this._data.core.focused=null),this._model.force_full_redraw=!1,this._model.changed=[],this.trigger("redraw",{nodes:s})},redraw:function(e){e&&(this._model.force_full_redraw=!0),this._redraw()},draw_children:function(t){var
i=this.get_node(t),r=!1,s=!1,n=!1,a=o;if(!i)return!1;if(i.id===e.jstree.root)return
this.redraw(!0);if(!(t=this.get_node(t,!0))||!t.length)return!1;if(t.children(".jstree-children").remove(),t=t[0],i.children.length&&i.state.loaded){for((n=a.createElement("UL")).setAttribute("role","group"),n.className="jstree-children",r=0,s=i.children.length;r<s;r++)n.appendChild(this.redraw_node(i.children[r],!0,!0));t.appendChild(n)}},redraw_node:function(t,i,r,s){var
n=this.get_node(t),a=!1,d=!1,l=!1,c=!1,h=!1,_=!1,f="",u=o,g=this._model.data,p=!1,m=null,j=0,y=0,v=!1,w=!1;if(!n)return!1;if(n.id===e.jstree.root)return
this.redraw(!0);if(i=i||0===n.children.length,t=o.querySelector?this.element[0].querySelector("#"+(-1!=="0123456789".indexOf(n.id[0])?"\\3"+n.id[0]+"
"+n.id.substr(1).replace(e.jstree.idregex,"\\$&"):n.id.replace(e.jstree.idregex,"\\$&"))):o.getElementById(n.id))t=e(t),r||((a=t.parent().parent()[0])===this.element[0]&&(a=null),d=t.index()),i||!n.children.length||t.children(".jstree-children").length||(i=!0),i||(l=t.children(".jstree-children")[0]),p=t.children(".jstree-anchor")[0]===o.activeElement,t.remove();else
if(i=!0,!r){if(!(null===(a=n.parent!==e.jstree.root?e("#"+n.parent.replace(e.jstree.idregex,"\\$&"),this.element)[0]:null)||a&&g[n.parent].state.opened))return!1;d=e.inArray(n.id,null===a?g[e.jstree.root].children:g[n.parent].children)}for(c
in t=this._data.core.node.cloneNode(!0),f="jstree-node
",n.li_attr)if(n.li_attr.hasOwnProperty(c)){if("id"===c)continue;"class"!==c?t.setAttribute(c,n.li_attr[c]):f+=n.li_attr[c]}for(n.a_attr.id||(n.a_attr.id=n.id+"_anchor"),t.setAttribute("aria-selected",!!n.state.selected),t.setAttribute("aria-level",n.parents.length),t.setAttribute("aria-labelledby",n.a_attr.id),n.state.disabled&&t.setAttribute("aria-disabled",!0),c=0,h=n.children.length;c<h;c++)if(!g[n.children[c]].state.hidden){v=!0;break}if(null!==n.parent&&g[n.parent]&&!n.state.hidden&&(c=e.inArray(n.id,g[n.parent].children),w=n.id,-1!==c))for(c++,h=g[n.parent].children.length;c<h&&(g[g[n.parent].children[c]].state.hidden||(w=g[n.parent].children[c]),w===n.id);c++);for(h
in n.state.hidden&&(f+="
jstree-hidden"),n.state.loading&&(f+="
jstree-loading"),n.state.loaded&&!v?f+="
jstree-leaf":(f+=n.state.opened&&n.state.loaded?"
jstree-open":"
jstree-closed",t.setAttribute("aria-expanded",n.state.opened&&n.state.loaded)),w===n.id&&(f+="
jstree-last"),t.id=n.id,t.className=f,f=(n.state.selected?"
jstree-clicked":"")+(n.state.disabled?"
jstree-disabled":""),n.a_attr)if(n.a_attr.hasOwnProperty(h)){if("href"===h&&"#"===n.a_attr[h])continue;"class"!==h?t.childNodes[1].setAttribute(h,n.a_attr[h]):f+="
"+n.a_attr[h]}if(f.length&&(t.childNodes[1].className="jstree-anchor
"+f),(n.icon&&!0!==n.icon||!1===n.icon)&&(!1===n.icon?t.childNodes[1].childNodes[0].className+="
jstree-themeicon-hidden":-1===n.icon.indexOf("/")&&-1===n.icon.indexOf(".")?t.childNodes[1].childNodes[0].className+="
"+n.icon+"
jstree-themeicon-custom":(t.childNodes[1].childNodes[0].style.backgroundImage='url("'+n.icon+'")',t.childNodes[1].childNodes[0].style.backgroundPosition="center
center",t.childNodes[1].childNodes[0].style.backgroundSize="auto",t.childNodes[1].childNodes[0].className+="
jstree-themeicon-custom")),this.settings.core.force_text?t.childNodes[1].appendChild(u.createTextNode(n.text)):t.childNodes[1].innerHTML+=n.text,i&&n.children.length&&(n.state.opened||s)&&n.state.loaded){for((_=u.createElement("UL")).setAttribute("role","group"),_.className="jstree-children",c=0,h=n.children.length;c<h;c++)_.appendChild(this.redraw_node(n.children[c],i,!0));t.appendChild(_)}if(l&&t.appendChild(l),!r){for(a||(a=this.element[0]),c=0,h=a.childNodes.length;c<h;c++)if(a.childNodes[c]&&a.childNodes[c].className&&-1!==a.childNodes[c].className.indexOf("jstree-children")){m=a.childNodes[c];break}m||((m=u.createElement("UL")).setAttribute("role","group"),m.className="jstree-children",a.appendChild(m)),d<(a=m).childNodes.length?a.insertBefore(t,a.childNodes[d]):a.appendChild(t),p&&(j=this.element[0].scrollTop,y=this.element[0].scrollLeft,t.childNodes[1].focus(),this.element[0].scrollTop=j,this.element[0].scrollLeft=y)}return
n.state.opened&&!n.state.loaded&&(n.state.opened=!1,setTimeout(e.proxy(function(){this.open_node(n.id,!1,0)},this),0)),t},open_node:function(i,r,s){var
n,a,d,o;if(e.isArray(i)){for(n=0,a=(i=i.slice()).length;n<a;n++)this.open_node(i[n],r,s);return!0}return!(!(i=this.get_node(i))||i.id===e.jstree.root)&&(s=s===t?this.settings.core.animation:s,this.is_closed(i)?this.is_loaded(i)?(d=this.get_node(i,!0),o=this,d.length&&(s&&d.children(".jstree-children").length&&d.children(".jstree-children").stop(!0,!0),i.children.length&&!this._firstChild(d.children(".jstree-children")[0])&&this.draw_children(i),s?(this.trigger("before_open",{node:i}),d.children(".jstree-children").css("display","none").end().removeClass("jstree-closed").addClass("jstree-open").attr("aria-expanded",!0).children(".jstree-children").stop(!0,!0).slideDown(s,function(){this.style.display="",o.element&&o.trigger("after_open",{node:i})})):(this.trigger("before_open",{node:i}),d[0].className=d[0].className.replace("jstree-closed","jstree-open"),d[0].setAttribute("aria-expanded",!0))),i.state.opened=!0,r&&r.call(this,i,!0),d.length||this.trigger("before_open",{node:i}),this.trigger("open_node",{node:i}),s&&d.length||this.trigger("after_open",{node:i}),!0):this.is_loading(i)?setTimeout(e.proxy(function(){this.open_node(i,r,s)},this),500):void
this.load_node(i,function(e,t){return
t?this.open_node(e,r,s):!!r&&r.call(this,e,!1)}):(r&&r.call(this,i,!1),!1))},_open_to:function(t){if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;var
i,r,s=t.parents;for(i=0,r=s.length;i<r;i+=1)i!==e.jstree.root&&this.open_node(s[i],!1,0);return
e("#"+t.id.replace(e.jstree.idregex,"\\$&"),this.element)},close_node:function(i,r){var
s,n,a,d;if(e.isArray(i)){for(s=0,n=(i=i.slice()).length;s<n;s++)this.close_node(i[s],r);return!0}return!(!(i=this.get_node(i))||i.id===e.jstree.root)&&(!this.is_closed(i)&&(r=r===t?this.settings.core.animation:r,a=this,d=this.get_node(i,!0),i.state.opened=!1,this.trigger("close_node",{node:i}),void(d.length?r?d.children(".jstree-children").attr("style","display:block
!important").end().removeClass("jstree-open").addClass("jstree-closed").attr("aria-expanded",!1).children(".jstree-children").stop(!0,!0).slideUp(r,function(){this.style.display="",d.children(".jstree-children").remove(),a.element&&a.trigger("after_close",{node:i})}):(d[0].className=d[0].className.replace("jstree-open","jstree-closed"),d.attr("aria-expanded",!1).children(".jstree-children").remove(),this.trigger("after_close",{node:i})):this.trigger("after_close",{node:i}))))},toggle_node:function(t){var
i,r;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.toggle_node(t[i]);return!0}return
this.is_closed(t)?this.open_node(t):this.is_open(t)?this.close_node(t):void
0},open_all:function(t,i,r){if(t||(t=e.jstree.root),!(t=this.get_node(t)))return!1;var
s,n,a,d=t.id===e.jstree.root?this.get_container_ul():this.get_node(t,!0);if(!d.length){for(s=0,n=t.children_d.length;s<n;s++)this.is_closed(this._model.data[t.children_d[s]])&&(this._model.data[t.children_d[s]].state.opened=!0);return
this.trigger("open_all",{node:t})}r=r||d,a=this,(d=this.is_closed(t)?d.find(".jstree-closed").addBack():d.find(".jstree-closed")).each(function(){a.open_node(this,function(e,t){t&&this.is_parent(e)&&this.open_all(e,i,r)},i||0)}),0===r.find(".jstree-closed").length&&this.trigger("open_all",{node:this.get_node(r)})},close_all:function(t,i){if(t||(t=e.jstree.root),!(t=this.get_node(t)))return!1;var
r,s,n=t.id===e.jstree.root?this.get_container_ul():this.get_node(t,!0),a=this;for(n.length&&(n=this.is_open(t)?n.find(".jstree-open").addBack():n.find(".jstree-open"),e(n.get().reverse()).each(function(){a.close_node(this,i||0)})),r=0,s=t.children_d.length;r<s;r++)this._model.data[t.children_d[r]].state.opened=!1;this.trigger("close_all",{node:t})},is_disabled:function(e){return(e=this.get_node(e))&&e.state&&e.state.disabled},enable_node:function(t){var
i,r;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.enable_node(t[i]);return!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;t.state.disabled=!1,this.get_node(t,!0).children(".jstree-anchor").removeClass("jstree-disabled").attr("aria-disabled",!1),this.trigger("enable_node",{node:t})},disable_node:function(t){var
i,r;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.disable_node(t[i]);return!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;t.state.disabled=!0,this.get_node(t,!0).children(".jstree-anchor").addClass("jstree-disabled").attr("aria-disabled",!0),this.trigger("disable_node",{node:t})},is_hidden:function(e){return!0===(e=this.get_node(e)).state.hidden},hide_node:function(t,i){var
r,s;if(e.isArray(t)){for(r=0,s=(t=t.slice()).length;r<s;r++)this.hide_node(t[r],!0);return
i||this.redraw(),!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;t.state.hidden||(t.state.hidden=!0,this._node_changed(t.parent),i||this.redraw(),this.trigger("hide_node",{node:t}))},show_node:function(t,i){var
r,s;if(e.isArray(t)){for(r=0,s=(t=t.slice()).length;r<s;r++)this.show_node(t[r],!0);return
i||this.redraw(),!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;t.state.hidden&&(t.state.hidden=!1,this._node_changed(t.parent),i||this.redraw(),this.trigger("show_node",{node:t}))},hide_all:function(t){var
i,r=this._model.data,s=[];for(i in
r)r.hasOwnProperty(i)&&i!==e.jstree.root&&!r[i].state.hidden&&(r[i].state.hidden=!0,s.push(i));return
this._model.force_full_redraw=!0,t||this.redraw(),this.trigger("hide_all",{nodes:s}),s},show_all:function(t){var
i,r=this._model.data,s=[];for(i in
r)r.hasOwnProperty(i)&&i!==e.jstree.root&&r[i].state.hidden&&(r[i].state.hidden=!1,s.push(i));return
this._model.force_full_redraw=!0,t||this.redraw(),this.trigger("show_all",{nodes:s}),s},activate_node:function(e,i){if(this.is_disabled(e))return!1;if(i&&"object"==typeof
i||(i={}),this._data.core.last_clicked=this._data.core.last_clicked&&this._data.core.last_clicked.id!==t?this.get_node(this._data.core.last_clicked.id):null,this._data.core.last_clicked&&!this._data.core.last_clicked.state.selected&&(this._data.core.last_clicked=null),!this._data.core.last_clicked&&this._data.core.selected.length&&(this._data.core.last_clicked=this.get_node(this._data.core.selected[this._data.core.selected.length-1])),this.settings.core.multiple&&(i.metaKey||i.ctrlKey||i.shiftKey)&&(!i.shiftKey||this._data.core.last_clicked&&this.get_parent(e)&&this.get_parent(e)===this._data.core.last_clicked.parent))if(i.shiftKey){var
r,s,n=this.get_node(e).id,a=this._data.core.last_clicked.id,d=this.get_node(this._data.core.last_clicked.parent).children,o=!1;for(r=0,s=d.length;r<s;r+=1)d[r]===n&&(o=!o),d[r]===a&&(o=!o),this.is_disabled(d[r])||!o&&d[r]!==n&&d[r]!==a?this.deselect_node(d[r],!0,i):this.is_hidden(d[r])||this.select_node(d[r],!0,!1,i);this.trigger("changed",{action:"select_node",node:this.get_node(e),selected:this._data.core.selected,event:i})}else
this.is_selected(e)?this.deselect_node(e,!1,i):this.select_node(e,!1,!1,i);else!this.settings.core.multiple&&(i.metaKey||i.ctrlKey||i.shiftKey)&&this.is_selected(e)?this.deselect_node(e,!1,i):(this.deselect_all(!0),this.select_node(e,!1,!1,i),this._data.core.last_clicked=this.get_node(e));this.trigger("activate_node",{node:this.get_node(e),event:i})},hover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||e.children(".jstree-hovered").length)return!1;var
t=this.element.find(".jstree-hovered"),i=this.element;t&&t.length&&this.dehover_node(t),e.children(".jstree-anchor").addClass("jstree-hovered"),this.trigger("hover_node",{node:this.get_node(e)}),setTimeout(function(){i.attr("aria-activedescendant",e[0].id)},0)},dehover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||!e.children(".jstree-hovered").length)return!1;e.children(".jstree-anchor").removeClass("jstree-hovered"),this.trigger("dehover_node",{node:this.get_node(e)})},select_node:function(t,i,r,s){var
n,a,d;if(e.isArray(t)){for(a=0,d=(t=t.slice()).length;a<d;a++)this.select_node(t[a],i,r,s);return!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;n=this.get_node(t,!0),t.state.selected||(t.state.selected=!0,this._data.core.selected.push(t.id),r||(n=this._open_to(t)),n&&n.length&&n.attr("aria-selected",!0).children(".jstree-anchor").addClass("jstree-clicked"),this.trigger("select_node",{node:t,selected:this._data.core.selected,event:s}),i||this.trigger("changed",{action:"select_node",node:t,selected:this._data.core.selected,event:s}))},deselect_node:function(t,i,r){var
s,n,a;if(e.isArray(t)){for(s=0,n=(t=t.slice()).length;s<n;s++)this.deselect_node(t[s],i,r);return!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;a=this.get_node(t,!0),t.state.selected&&(t.state.selected=!1,this._data.core.selected=e.vakata.array_remove_item(this._data.core.selected,t.id),a.length&&a.attr("aria-selected",!1).children(".jstree-anchor").removeClass("jstree-clicked"),this.trigger("deselect_node",{node:t,selected:this._data.core.selected,event:r}),i||this.trigger("changed",{action:"deselect_node",node:t,selected:this._data.core.selected,event:r}))},select_all:function(t){var
i,r,s=this._data.core.selected.concat([]);for(this._data.core.selected=this._model.data[e.jstree.root].children_d.concat(),i=0,r=this._data.core.selected.length;i<r;i++)this._model.data[this._data.core.selected[i]]&&(this._model.data[this._data.core.selected[i]].state.selected=!0);this.redraw(!0),this.trigger("select_all",{selected:this._data.core.selected}),t||this.trigger("changed",{action:"select_all",selected:this._data.core.selected,old_selection:s})},deselect_all:function(e){var
t,i,r=this._data.core.selected.concat([]);for(t=0,i=this._data.core.selected.length;t<i;t++)this._model.data[this._data.core.selected[t]]&&(this._model.data[this._data.core.selected[t]].state.selected=!1);this._data.core.selected=[],this.element.find(".jstree-clicked").removeClass("jstree-clicked").parent().attr("aria-selected",!1),this.trigger("deselect_all",{selected:this._data.core.selected,node:r}),e||this.trigger("changed",{action:"deselect_all",selected:this._data.core.selected,old_selection:r})},is_selected:function(t){return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&t.state.selected},get_selected:function(t){return
t?e.map(this._data.core.selected,e.proxy(function(e){return
this.get_node(e)},this)):this._data.core.selected.slice()},get_top_selected:function(t){var
i,r,s,n,a=this.get_selected(!0),d={};for(i=0,r=a.length;i<r;i++)d[a[i].id]=a[i];for(i=0,r=a.length;i<r;i++)for(s=0,n=a[i].children_d.length;s<n;s++)d[a[i].children_d[s]]&&delete
d[a[i].children_d[s]];for(i in
a=[],d)d.hasOwnProperty(i)&&a.push(i);return
t?e.map(a,e.proxy(function(e){return
this.get_node(e)},this)):a},get_bottom_selected:function(t){var
i,r,s=this.get_selected(!0),n=[];for(i=0,r=s.length;i<r;i++)s[i].children.length||n.push(s[i].id);return
t?e.map(n,e.proxy(function(e){return
this.get_node(e)},this)):n},get_state:function(){var
t,i={core:{open:[],loaded:[],scroll:{left:this.element.scrollLeft(),top:this.element.scrollTop()},selected:[]}};for(t
in
this._model.data)this._model.data.hasOwnProperty(t)&&t!==e.jstree.root&&(this._model.data[t].state.loaded&&this.settings.core.loaded_state&&i.core.loaded.push(t),this._model.data[t].state.opened&&i.core.open.push(t),this._model.data[t].state.selected&&i.core.selected.push(t));return
i},set_state:function(i,r){if(i){if(i.core&&i.core.selected&&i.core.initial_selection===t&&(i.core.initial_selection=this._data.core.selected.concat([]).sort().join(",")),i.core){var
s,n;if(i.core.loaded)return
this.settings.core.loaded_state&&e.isArray(i.core.loaded)&&i.core.loaded.length?this._load_nodes(i.core.loaded,function(e){delete
i.core.loaded,this.set_state(i,r)}):(delete
i.core.loaded,this.set_state(i,r)),!1;if(i.core.open)return
e.isArray(i.core.open)&&i.core.open.length?this._load_nodes(i.core.open,function(e){this.open_node(e,!1,0),delete
i.core.open,this.set_state(i,r)}):(delete
i.core.open,this.set_state(i,r)),!1;if(i.core.scroll)return
i.core.scroll&&i.core.scroll.left!==t&&this.element.scrollLeft(i.core.scroll.left),i.core.scroll&&i.core.scroll.top!==t&&this.element.scrollTop(i.core.scroll.top),delete
i.core.scroll,this.set_state(i,r),!1;if(i.core.selected)return
s=this,i.core.initial_selection!==t&&i.core.initial_selection!==this._data.core.selected.concat([]).sort().join(",")||(this.deselect_all(),e.each(i.core.selected,function(e,t){s.select_node(t,!1,!0)})),delete
i.core.initial_selection,delete
i.core.selected,this.set_state(i,r),!1;for(n in
i)i.hasOwnProperty(n)&&"core"!==n&&-1===e.inArray(n,this.settings.plugins)&&delete
i[n];if(e.isEmptyObject(i.core))return delete
i.core,this.set_state(i,r),!1}return!e.isEmptyObject(i)||(i=null,r&&r.call(this),this.trigger("set_state"),!1)}return!1},refresh:function(t,i){this._data.core.state=!0===i?{}:this.get_state(),i&&e.isFunction(i)&&(this._data.core.state=i.call(this,this._data.core.state)),this._cnt=0,this._model.data={},this._model.data[e.jstree.root]={id:e.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this._data.core.selected=[],this._data.core.last_clicked=null,this._data.core.focused=null;var
r=this.get_container_ul()[0].className;t||(this.element.html("<ul
class='"+r+"' role='group'><li
class='jstree-initial-node jstree-loading jstree-leaf
jstree-last' role='treeitem'
id='j"+this._id+"_loading'><i
class='jstree-icon jstree-ocl'></i><a
class='jstree-anchor' href='#'><i
class='jstree-icon
jstree-themeicon-hidden'></i>"+this.get_string("Loading
...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading")),this.load_node(e.jstree.root,function(t,i){i&&(this.get_container_ul()[0].className=r,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.set_state(e.extend(!0,{},this._data.core.state),function(){this.trigger("refresh")})),this._data.core.state=null})},refresh_node:function(t){if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;var
i=[],r=[],s=this._data.core.selected.concat([]);r.push(t.id),!0===t.state.opened&&i.push(t.id),this.get_node(t,!0).find(".jstree-open").each(function(){r.push(this.id),i.push(this.id)}),this._load_nodes(r,e.proxy(function(e){this.open_node(i,!1,0),this.select_node(s),this.trigger("refresh_node",{node:t,nodes:e})},this),!1,!0)},set_id:function(t,i){if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;var
r,s,n=this._model.data,a=t.id;for(i=i.toString(),n[t.parent].children[e.inArray(t.id,n[t.parent].children)]=i,r=0,s=t.parents.length;r<s;r++)n[t.parents[r]].children_d[e.inArray(t.id,n[t.parents[r]].children_d)]=i;for(r=0,s=t.children.length;r<s;r++)n[t.children[r]].parent=i;for(r=0,s=t.children_d.length;r<s;r++)n[t.children_d[r]].parents[e.inArray(t.id,n[t.children_d[r]].parents)]=i;return-1!==(r=e.inArray(t.id,this._data.core.selected))&&(this._data.core.selected[r]=i),(r=this.get_node(t.id,!0))&&(r.attr("id",i),this.element.attr("aria-activedescendant")===t.id&&this.element.attr("aria-activedescendant",i)),delete
n[t.id],t.id=i,t.li_attr.id=i,n[i]=t,this.trigger("set_id",{node:t,new:t.id,old:a}),!0},get_text:function(t){return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&t.text},set_text:function(t,i){var
r,s;if(e.isArray(t)){for(r=0,s=(t=t.slice()).length;r<s;r++)this.set_text(t[r],i);return!0}return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&(t.text=i,this.get_node(t,!0).length&&this.redraw_node(t.id),this.trigger("set_text",{obj:t,text:i}),!0)},get_json:function(t,i,r){if(!(t=this.get_node(t||e.jstree.root)))return!1;i&&i.flat&&!r&&(r=[]);var
s,n,a={id:t.id,text:t.text,icon:this.get_icon(t),li_attr:e.extend(!0,{},t.li_attr),a_attr:e.extend(!0,{},t.a_attr),state:{},data:(!i||!i.no_data)&&e.extend(!0,e.isArray(t.data)?[]:{},t.data)};if(i&&i.flat?a.parent=t.parent:a.children=[],i&&i.no_state)delete
a.state;else for(s in
t.state)t.state.hasOwnProperty(s)&&(a.state[s]=t.state[s]);if(i&&i.no_li_attr&&delete
a.li_attr,i&&i.no_a_attr&&delete
a.a_attr,i&&i.no_id&&(delete
a.id,a.li_attr&&a.li_attr.id&&delete
a.li_attr.id,a.a_attr&&a.a_attr.id&&delete
a.a_attr.id),i&&i.flat&&t.id!==e.jstree.root&&r.push(a),!i||!i.no_children)for(s=0,n=t.children.length;s<n;s++)i&&i.flat?this.get_json(t.children[s],i,r):a.children.push(this.get_json(t.children[s],i));return
i&&i.flat?r:t.id===e.jstree.root?a.children:a},create_node:function(i,r,s,n,a){if(null===i&&(i=e.jstree.root),!(i=this.get_node(i)))return!1;if(!(s=s===t?"last":s).toString().match(/^(before|after)$/)&&!a&&!this.is_loaded(i))return
this.load_node(i,function(){this.create_node(i,r,s,n,!0)});var
d,o,l,c;switch(r||(r={text:this.get_string("New
node")}),(r="string"==typeof
r?{text:r}:e.extend(!0,{},r)).text===t&&(r.text=this.get_string("New
node")),i.id===e.jstree.root&&("before"===s&&(s="first"),"after"===s&&(s="last")),s){case"before":d=this.get_node(i.parent),s=e.inArray(i.id,d.children),i=d;break;case"after":d=this.get_node(i.parent),s=e.inArray(i.id,d.children)+1,i=d;break;case"inside":case"first":s=0;break;case"last":s=i.children.length;break;default:s||(s=0)}if(s>i.children.length&&(s=i.children.length),r.id||(r.id=!0),!this.check("create_node",r,i,s))return
this.settings.core.error.call(this,this._data.core.last_error),!1;if(!0===r.id&&delete
r.id,!(r=this._parse_model_from_json(r,i.id,i.parents.concat())))return!1;for(d=this.get_node(r),(o=[]).push(r),o=o.concat(d.children_d),this.trigger("model",{nodes:o,parent:i.id}),i.children_d=i.children_d.concat(o),l=0,c=i.parents.length;l<c;l++)this._model.data[i.parents[l]].children_d=this._model.data[i.parents[l]].children_d.concat(o);for(r=d,d=[],l=0,c=i.children.length;l<c;l++)d[l>=s?l+1:l]=i.children[l];return
d[s]=r.id,i.children=d,this.redraw_node(i,!0),this.trigger("create_node",{node:this.get_node(r),parent:i.id,position:s}),n&&n.call(this,this.get_node(r)),r.id},rename_node:function(t,i){var
r,s,n;if(e.isArray(t)){for(r=0,s=(t=t.slice()).length;r<s;r++)this.rename_node(t[r],i);return!0}return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&(n=t.text,this.check("rename_node",t,this.get_parent(t),i)?(this.set_text(t,i),this.trigger("rename_node",{node:t,text:i,old:n}),!0):(this.settings.core.error.call(this,this._data.core.last_error),!1))},delete_node:function(t){var
i,r,s,n,a,d,o,l,c,h,_,f;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.delete_node(t[i]);return!0}if(!(t=this.get_node(t))||t.id===e.jstree.root)return!1;if(s=this.get_node(t.parent),n=e.inArray(t.id,s.children),h=!1,!this.check("delete_node",t,s,n))return
this.settings.core.error.call(this,this._data.core.last_error),!1;for(-1!==n&&(s.children=e.vakata.array_remove(s.children,n)),(a=t.children_d.concat([])).push(t.id),d=0,o=t.parents.length;d<o;d++)this._model.data[t.parents[d]].children_d=e.vakata.array_filter(this._model.data[t.parents[d]].children_d,function(t){return-1===e.inArray(t,a)});for(l=0,c=a.length;l<c;l++)if(this._model.data[a[l]].state.selected){h=!0;break}for(h&&(this._data.core.selected=e.vakata.array_filter(this._data.core.selected,function(t){return-1===e.inArray(t,a)})),this.trigger("delete_node",{node:t,parent:s.id}),h&&this.trigger("changed",{action:"delete_node",node:t,selected:this._data.core.selected,parent:s.id}),l=0,c=a.length;l<c;l++)delete
this._model.data[a[l]];return-1!==e.inArray(this._data.core.focused,a)&&(this._data.core.focused=null,_=this.element[0].scrollTop,f=this.element[0].scrollLeft,s.id===e.jstree.root?this._model.data[e.jstree.root].children[0]&&this.get_node(this._model.data[e.jstree.root].children[0],!0).children(".jstree-anchor").focus():this.get_node(s,!0).children(".jstree-anchor").focus(),this.element[0].scrollTop=_,this.element[0].scrollLeft=f),this.redraw_node(s,!0),!0},check:function(t,i,r,s,n){i=i&&i.id?i:this.get_node(i),r=r&&r.id?r:this.get_node(r);var
a=t.match(/^move_node|copy_node|create_node$/i)?r:i,d=this.settings.core.check_callback;if("move_node"===t||"copy_node"===t){if(!(n&&n.is_multi||"move_node"!==t||e.inArray(i.id,r.children)!==s))return
this._data.core.last_error={error:"check",plugin:"core",id:"core_08",reason:"Moving
node to its current
position",data:JSON.stringify({chk:t,pos:s,obj:!(!i||!i.id)&&i.id,par:!(!r||!r.id)&&r.id})},!1;if(!(n&&n.is_multi||i.id!==r.id&&("move_node"!==t||e.inArray(i.id,r.children)!==s)&&-1===e.inArray(r.id,i.children_d)))return
this._data.core.last_error={error:"check",plugin:"core",id:"core_01",reason:"Moving
parent inside
child",data:JSON.stringify({chk:t,pos:s,obj:!(!i||!i.id)&&i.id,par:!(!r||!r.id)&&r.id})},!1}return
a&&a.data&&(a=a.data),a&&a.functions&&(!1===a.functions[t]||!0===a.functions[t])?(!1===a.functions[t]&&(this._data.core.last_error={error:"check",plugin:"core",id:"core_02",reason:"Node
data prevents function:
"+t,data:JSON.stringify({chk:t,pos:s,obj:!(!i||!i.id)&&i.id,par:!(!r||!r.id)&&r.id})}),a.functions[t]):!(!1===d||e.isFunction(d)&&!1===d.call(this,t,i,r,s,n)||d&&!1===d[t])||(this._data.core.last_error={error:"check",plugin:"core",id:"core_03",reason:"User
config for core.check_callback prevents function:
"+t,data:JSON.stringify({chk:t,pos:s,obj:!(!i||!i.id)&&i.id,par:!(!r||!r.id)&&r.id})},!1)},last_error:function(){return
this._data.core.last_error},move_node:function(i,r,s,n,a,d,o){var
l,c,h,_,f,u,g,p,m,j,y,v,w,b;if(r=this.get_node(r),s=s===t?0:s,!r)return!1;if(!s.toString().match(/^(before|after)$/)&&!a&&!this.is_loaded(r))return
this.load_node(r,function(){this.move_node(i,r,s,n,!0,!1,o)});if(e.isArray(i)){if(1!==i.length){for(l=0,c=i.length;l<c;l++)(m=this.move_node(i[l],r,s,n,a,!1,o))&&(r=m,s="after");return
this.redraw(),!0}i=i[0]}if(!(i=i&&i.id?i:this.get_node(i))||i.id===e.jstree.root)return!1;if(h=(i.parent||e.jstree.root).toString(),f=s.toString().match(/^(before|after)$/)&&r.id!==e.jstree.root?this.get_node(r.parent):r,g=!(u=o||(this._model.data[i.id]?this:e.jstree.reference(i.id)))||!u._id||this._id!==u._id,_=u&&u._id&&h&&u._model.data[h]&&u._model.data[h].children?e.inArray(i.id,u._model.data[h].children):-1,u&&u._id&&(i=u._model.data[i.id]),g)return!!(m=this.copy_node(i,r,s,n,a,!1,o))&&(u&&u.delete_node(i),m);switch(r.id===e.jstree.root&&("before"===s&&(s="first"),"after"===s&&(s="last")),s){case"before":s=e.inArray(r.id,f.children);break;case"after":s=e.inArray(r.id,f.children)+1;break;case"inside":case"first":s=0;break;case"last":s=f.children.length;break;default:s||(s=0)}if(s>f.children.length&&(s=f.children.length),!this.check("move_node",i,f,s,{core:!0,origin:o,is_multi:u&&u._id&&u._id!==this._id,is_foreign:!u||!u._id}))return
this.settings.core.error.call(this,this._data.core.last_error),!1;if(i.parent===f.id){for(p=f.children.concat(),-1!==(m=e.inArray(i.id,p))&&(p=e.vakata.array_remove(p,m),s>m&&s--),m=[],j=0,y=p.length;j<y;j++)m[j>=s?j+1:j]=p[j];m[s]=i.id,f.children=m,this._node_changed(f.id),this.redraw(f.id===e.jstree.root)}else{for((m=i.children_d.concat()).push(i.id),j=0,y=i.parents.length;j<y;j++){for(p=[],v=0,w=(b=u._model.data[i.parents[j]].children_d).length;v<w;v++)-1===e.inArray(b[v],m)&&p.push(b[v]);u._model.data[i.parents[j]].children_d=p}for(u._model.data[h].children=e.vakata.array_remove_item(u._model.data[h].children,i.id),j=0,y=f.parents.length;j<y;j++)this._model.data[f.parents[j]].children_d=this._model.data[f.parents[j]].children_d.concat(m);for(p=[],j=0,y=f.children.length;j<y;j++)p[j>=s?j+1:j]=f.children[j];for(p[s]=i.id,f.children=p,f.children_d.push(i.id),f.children_d=f.children_d.concat(i.children_d),i.parent=f.id,(m=f.parents.concat()).unshift(f.id),b=i.parents.length,i.parents=m,m=m.concat(),j=0,y=i.children_d.length;j<y;j++)this._model.data[i.children_d[j]].parents=this._model.data[i.children_d[j]].parents.slice(0,-1*b),Array.prototype.push.apply(this._model.data[i.children_d[j]].parents,m);h!==e.jstree.root&&f.id!==e.jstree.root||(this._model.force_full_redraw=!0),this._model.force_full_redraw||(this._node_changed(h),this._node_changed(f.id)),d||this.redraw()}return
n&&n.call(this,i,f,s),this.trigger("move_node",{node:i,parent:f.id,position:s,old_parent:h,old_position:_,is_multi:u&&u._id&&u._id!==this._id,is_foreign:!u||!u._id,old_instance:u,new_instance:this}),i.id},copy_node:function(i,r,s,n,a,d,o){var
l,c,h,_,f,u,g,p,m,j;if(r=this.get_node(r),s=s===t?0:s,!r)return!1;if(!s.toString().match(/^(before|after)$/)&&!a&&!this.is_loaded(r))return
this.load_node(r,function(){this.copy_node(i,r,s,n,!0,!1,o)});if(e.isArray(i)){if(1!==i.length){for(l=0,c=i.length;l<c;l++)(_=this.copy_node(i[l],r,s,n,a,!0,o))&&(r=_,s="after");return
this.redraw(),!0}i=i[0]}if(!(i=i&&i.id?i:this.get_node(i))||i.id===e.jstree.root)return!1;switch(p=(i.parent||e.jstree.root).toString(),m=s.toString().match(/^(before|after)$/)&&r.id!==e.jstree.root?this.get_node(r.parent):r,!(j=o||(this._model.data[i.id]?this:e.jstree.reference(i.id)))||!j._id||this._id!==j._id,j&&j._id&&(i=j._model.data[i.id]),r.id===e.jstree.root&&("before"===s&&(s="first"),"after"===s&&(s="last")),s){case"before":s=e.inArray(r.id,m.children);break;case"after":s=e.inArray(r.id,m.children)+1;break;case"inside":case"first":s=0;break;case"last":s=m.children.length;break;default:s||(s=0)}if(s>m.children.length&&(s=m.children.length),!this.check("copy_node",i,m,s,{core:!0,origin:o,is_multi:j&&j._id&&j._id!==this._id,is_foreign:!j||!j._id}))return
this.settings.core.error.call(this,this._data.core.last_error),!1;if(!(g=j?j.get_json(i,{no_id:!0,no_data:!0,no_state:!0}):i))return!1;if(!0===g.id&&delete
g.id,!(g=this._parse_model_from_json(g,m.id,m.parents.concat())))return!1;for(_=this.get_node(g),i&&i.state&&!1===i.state.loaded&&(_.state.loaded=!1),(h=[]).push(g),h=h.concat(_.children_d),this.trigger("model",{nodes:h,parent:m.id}),f=0,u=m.parents.length;f<u;f++)this._model.data[m.parents[f]].children_d=this._model.data[m.parents[f]].children_d.concat(h);for(h=[],f=0,u=m.children.length;f<u;f++)h[f>=s?f+1:f]=m.children[f];return
h[s]=_.id,m.children=h,m.children_d.push(_.id),m.children_d=m.children_d.concat(_.children_d),m.id===e.jstree.root&&(this._model.force_full_redraw=!0),this._model.force_full_redraw||this._node_changed(m.id),d||this.redraw(m.id===e.jstree.root),n&&n.call(this,_,m,s),this.trigger("copy_node",{node:_,original:i,parent:m.id,position:s,old_parent:p,old_position:j&&j._id&&p&&j._model.data[p]&&j._model.data[p].children?e.inArray(i.id,j._model.data[p].children):-1,is_multi:j&&j._id&&j._id!==this._id,is_foreign:!j||!j._id,old_instance:j,new_instance:this}),_.id},cut:function(t){if(t||(t=this._data.core.selected.concat()),e.isArray(t)||(t=[t]),!t.length)return!1;var
i,a,d,o=[];for(a=0,d=t.length;a<d;a++)(i=this.get_node(t[a]))&&i.id&&i.id!==e.jstree.root&&o.push(i);if(!o.length)return!1;r=o,n=this,s="move_node",this.trigger("cut",{node:t})},copy:function(t){if(t||(t=this._data.core.selected.concat()),e.isArray(t)||(t=[t]),!t.length)return!1;var
i,a,d,o=[];for(a=0,d=t.length;a<d;a++)(i=this.get_node(t[a]))&&i.id&&i.id!==e.jstree.root&&o.push(i);if(!o.length)return!1;r=o,n=this,s="copy_node",this.trigger("copy",{node:t})},get_buffer:function(){return{mode:s,node:r,inst:n}},can_paste:function(){return!1!==s&&!1!==r},paste:function(e,t){if(!((e=this.get_node(e))&&s&&s.match(/^(copy_node|move_node)$/)&&r))return!1;this[s](r,e,t,!1,!1,!1,n)&&this.trigger("paste",{parent:e.id,node:r,mode:s}),r=!1,s=!1,n=!1},clear_buffer:function(){r=!1,s=!1,n=!1,this.trigger("clear_buffer")},edit:function(t,i,r){var
s,n,a,d,l,c,h,_,f,u=!1;return!!(t=this.get_node(t))&&(this.check("edit",t,this.get_parent(t))?(f=t,i="string"==typeof
i?i:t.text,this.set_text(t,""),t=this._open_to(t),f.text=i,s=this._data.core.rtl,n=this.element.width(),this._data.core.focused=f.id,a=t.children(".jstree-anchor").focus(),d=e("<span>"),l=i,c=e("<div
/>",{css:{position:"absolute",top:"-200px",left:s?"0px":"-1000px",visibility:"hidden"}}).appendTo(o.body),h=e("<input
/>",{value:l,class:"jstree-rename-input",css:{padding:"0",border:"1px
solid
silver","box-sizing":"border-box",display:"inline-block",height:this._data.core.li_height+"px",lineHeight:this._data.core.li_height+"px",width:"150px"},blur:e.proxy(function(i){i.stopImmediatePropagation(),i.preventDefault();var
s,n=d.children(".jstree-rename-input").val(),o=this.settings.core.force_text;""===n&&(n=l),c.remove(),d.replaceWith(a),d.remove(),l=o?l:e("<div></div>").append(e.parseHTML(l)).html(),t=this.get_node(t),this.set_text(t,l),(s=!!this.rename_node(t,o?e("<div></div>").text(n).text():e("<div></div>").append(e.parseHTML(n)).html()))||this.set_text(t,l),this._data.core.focused=f.id,setTimeout(e.proxy(function(){var
e=this.get_node(f.id,!0);e.length&&(this._data.core.focused=f.id,e.children(".jstree-anchor").focus())},this),0),r&&r.call(this,f,s,u),h=null},this),keydown:function(e){var
t=e.which;27===t&&(u=!0,this.value=l),27!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&32!==t||e.stopImmediatePropagation(),27!==t&&13!==t||(e.preventDefault(),this.blur())},click:function(e){e.stopImmediatePropagation()},mousedown:function(e){e.stopImmediatePropagation()},keyup:function(e){h.width(Math.min(c.text("pW"+this.value).width(),n))},keypress:function(e){if(13===e.which)return!1}}),_={fontFamily:a.css("fontFamily")||"",fontSize:a.css("fontSize")||"",fontWeight:a.css("fontWeight")||"",fontStyle:a.css("fontStyle")||"",fontStretch:a.css("fontStretch")||"",fontVariant:a.css("fontVariant")||"",letterSpacing:a.css("letterSpacing")||"",wordSpacing:a.css("wordSpacing")||""},d.attr("class",a.attr("class")).append(a.contents().clone()).append(h),a.replaceWith(d),c.css(_),h.css(_).width(Math.min(c.text("pW"+h[0].value).width(),n))[0].select(),void
e(o).one("mousedown.jstree touchstart.jstree
dnd_start.vakata",function(t){h&&t.target!==h&&e(h).blur()})):(this.settings.core.error.call(this,this._data.core.last_error),!1))},set_theme:function(t,i){if(!t)return!1;if(!0===i){var
r=this.settings.core.themes.dir;r||(r=e.jstree.path+"/themes"),i=r+"/"+t+"/style.css"}i&&-1===e.inArray(i,a)&&(e("head").append('<link
rel="stylesheet" href="'+i+'"
type="text/css"
/>'),a.push(i)),this._data.core.themes.name&&this.element.removeClass("jstree-"+this._data.core.themes.name),this._data.core.themes.name=t,this.element.addClass("jstree-"+t),this.element[this.settings.core.themes.responsive?"addClass":"removeClass"]("jstree-"+t+"-responsive"),this.trigger("set_theme",{theme:t})},get_theme:function(){return
this._data.core.themes.name},set_theme_variant:function(e){this._data.core.themes.variant&&this.element.removeClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant),this._data.core.themes.variant=e,e&&this.element.addClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant)},get_theme_variant:function(){return
this._data.core.themes.variant},show_stripes:function(){this._data.core.themes.stripes=!0,this.get_container_ul().addClass("jstree-striped"),this.trigger("show_stripes")},hide_stripes:function(){this._data.core.themes.stripes=!1,this.get_container_ul().removeClass("jstree-striped"),this.trigger("hide_stripes")},toggle_stripes:function(){this._data.core.themes.stripes?this.hide_stripes():this.show_stripes()},show_dots:function(){this._data.core.themes.dots=!0,this.get_container_ul().removeClass("jstree-no-dots"),this.trigger("show_dots")},hide_dots:function(){this._data.core.themes.dots=!1,this.get_container_ul().addClass("jstree-no-dots"),this.trigger("hide_dots")},toggle_dots:function(){this._data.core.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this._data.core.themes.icons=!0,this.get_container_ul().removeClass("jstree-no-icons"),this.trigger("show_icons")},hide_icons:function(){this._data.core.themes.icons=!1,this.get_container_ul().addClass("jstree-no-icons"),this.trigger("hide_icons")},toggle_icons:function(){this._data.core.themes.icons?this.hide_icons():this.show_icons()},show_ellipsis:function(){this._data.core.themes.ellipsis=!0,this.get_container_ul().addClass("jstree-ellipsis"),this.trigger("show_ellipsis")},hide_ellipsis:function(){this._data.core.themes.ellipsis=!1,this.get_container_ul().removeClass("jstree-ellipsis"),this.trigger("hide_ellipsis")},toggle_ellipsis:function(){this._data.core.themes.ellipsis?this.hide_ellipsis():this.show_ellipsis()},set_icon:function(i,r){var
s,n,a,d;if(e.isArray(i)){for(s=0,n=(i=i.slice()).length;s<n;s++)this.set_icon(i[s],r);return!0}return!(!(i=this.get_node(i))||i.id===e.jstree.root)&&(d=i.icon,i.icon=!0===r||null===r||r===t||""===r||r,a=this.get_node(i,!0).children(".jstree-anchor").children(".jstree-themeicon"),!1===r?(a.removeClass("jstree-themeicon-custom
"+d).css("background","").removeAttr("rel"),this.hide_icon(i)):!0===r||null===r||r===t||""===r?(a.removeClass("jstree-themeicon-custom
"+d).css("background","").removeAttr("rel"),!1===d&&this.show_icon(i)):-1===r.indexOf("/")&&-1===r.indexOf(".")?(a.removeClass(d).css("background",""),a.addClass(r+"
jstree-themeicon-custom").attr("rel",r),!1===d&&this.show_icon(i)):(a.removeClass(d).css("background",""),a.addClass("jstree-themeicon-custom").css("background","url('"+r+"')
center center
no-repeat").attr("rel",r),!1===d&&this.show_icon(i)),!0)},get_icon:function(t){return!(!(t=this.get_node(t))||t.id===e.jstree.root)&&t.icon},hide_icon:function(t){var
i,r;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.hide_icon(t[i]);return!0}return!(!(t=this.get_node(t))||t===e.jstree.root)&&(t.icon=!1,this.get_node(t,!0).children(".jstree-anchor").children(".jstree-themeicon").addClass("jstree-themeicon-hidden"),!0)},show_icon:function(t){var
i,r,s;if(e.isArray(t)){for(i=0,r=(t=t.slice()).length;i<r;i++)this.show_icon(t[i]);return!0}return!(!(t=this.get_node(t))||t===e.jstree.root)&&(s=this.get_node(t,!0),t.icon=!s.length||s.children(".jstree-anchor").children(".jstree-themeicon").attr("rel"),t.icon||(t.icon=!0),s.children(".jstree-anchor").children(".jstree-themeicon").removeClass("jstree-themeicon-hidden"),!0)}},e.vakata={},e.vakata.attributes=function(t,i){t=e(t)[0];var
r=i?{}:[];return
t&&t.attributes&&e.each(t.attributes,function(t,s){-1===e.inArray(s.name.toLowerCase(),["style","contenteditable","hasfocus","tabindex"])&&null!==s.value&&""!==e.trim(s.value)&&(i?r[s.name]=s.value:r.push(s.name))}),r},e.vakata.array_unique=function(e){var
i,r,s=[],n={};for(i=0,r=e.length;i<r;i++)n[e[i]]===t&&(s.push(e[i]),n[e[i]]=!0);return
s},e.vakata.array_remove=function(e,t){return
e.splice(t,1),e},e.vakata.array_remove_item=function(t,i){var
r=e.inArray(i,t);return-1!==r?e.vakata.array_remove(t,r):t},e.vakata.array_filter=function(e,t,i,r,s){if(e.filter)return
e.filter(t,i);for(s in
r=[],e)~~s+""==s+""&&s>=0&&t.call(i,e[s],+s,e)&&r.push(e[s]);return
r}}});PKഎ[�#o,,jstree/themes/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[��Njstree/themes/proton/30px.pngnu�[����PNG
IHDRh��JbPLTE���������ffffff�����������������֙��������fff�����������������������������������fff������ffffff�����������������������fff������������fff���������������fffffffff������ffffff����ffffff������������������������������������������������������mmm��������������������������������www���������������������������������������������������������������봴��������������������������˼�������������������������������������������������������������������������������������������������������������������������������۬�������������̷��������fff�����賳���٠�������������������Ž����㣣���ϝ�������⸸�������������������ppp��ޟ�����������������������yyy�����������������������֧����������ʲ����ܬ����������˰����ڴ�������ǵ�������������ꄟL_�tRNS�`Ͽ@�0��@�����
�ľ��0`����P�⣪��p�
�����ϯ��P��p���������������ޱ������ڧ���㞪����ȼ���������ߵ�埨�����v�������պ���������-�ۡ���������������>�OmP���䞒��� IDATx��y\W���n醞�ϬC"Fɂ�EH͘Y�d��1��}��>&�ιs�={����
���"`p�U�V���$��MBS�]�UU7����"]����z���
�pP�����咪rE���:�e6�{pT���٣H�0V��&q����2E�2�vd��ƮH�1�ܶ�߃�Y�A�A�y��d�i�M�hŘ��uvK���*�R���5�rZ�����f�Z�.w-�k��Ī�Ͷ���u�l%�Ena�����d�ѱ�+ȩh)��E��}��0�\��*ZF��۰�09����2��
r����N.���A�{�2����~�B6-Z��FG��GtfE7@�٢��
�
�O�-B�ᢛ�hD#шF4��hD#шF4��E�kNɀ�F_�@䧧F���E4,��2Y�q
�0lq�~-�U��ݬ���
��hD��7����C���o�^��ev?�y����1����!#CD#шF4��hD#шF4��hDg\td;c�=,f���}��3D�=��w��C�Wل-d
��
�3,���%���lbER�B��j_t[���@#!��e��������%g1���l�f͜�Z��{��ש{X�=4���ȴ@����f2C��Le�%�f��+�!9�J��D�֙t�3�i�B�$_Ư:3[��۸Z�>W�\ҩ$��C�@*7��М��r�ٙg)�e�i���.�]��X0����Ҏ9I�KDn!x�<�q8��+i�2����*7��q�$-�bR�̢�n[�s��H}ޒ�l�9�#�s��D�6�Vj�r����Z��
R;K�Y�`,����blZ����1F�1�'y��"?pq��`sey�h>էMo�H���Q����Z�����BU����j_�%�y�ZA��}�N�w�J��w���o��%a>�i��zo�QK}e���QIf�v+ʉ�s?ڼ���#̿��n�K���j�l�=HWt�F�3�߹c����f��VT[��ݡ*�k��I�%�LQx���q�ٰ~�J�h��v������q�Y���c�6\���q�Y����]�}��2(��ң7���Ӷ���/�[4;��D��k�>���K��S�Ds"Z@�_����:����w0�F_kh�X�h}5ڻ���u��̙s-j�����ξ�V��D�om���ޯʶm����3�{�7
>�D��xS��]�z���n��O��iH�!Z�ho�������'��������Oh���D����~C��Ft*��
뽫�l�����g������D���kX�1�hݢ����DtzD+�F4���L���
��w�c�F���}�fd�hD#шF4��hD#шF4�=�9�����m�h��ȼ��RY��Q�/�M�y�l���m��F)ѻ�߲���K}�U&+���߿�!�A��4S[[4sE�O~�eY��>a�~]�
�B:t�m+���,��ʊi3��ð�zۘew��&��+�]QN�v�0�ar���45-��Xw�=��C�b�],���Qz
�JOn7�Ӧ:�
=��5MSߧ�Mox�[g���Y/BIlA�p�v�ƒ*�I�O�w5���h�����w�w���o�W���ӣ/K������o�=5|q�k����w.�6U[�s^�M�g���2��Z2��w���TK~���~���-�B��^U(�˺�i\����!-FA�\|&]�x�O�!O�\��������YS�2/��x�$�F�[8�Ҡ��[v�O�IK+��9��'�lC4/� S��ªg]+^^.;��'õS��y�D��E������]v�O����ċj[��_3T)G��H��|�,���J��h\���~3���[*��>l���.+�?�Op`�֣A��{��oy���f�J?̕�f��e���$]�h��z��E
�%v�����Y��a3?R������'��S,Z�{D�mX�p��*\�w�>9��G�Y�(a[{�<�ttf�g���o-�_�\�#\���۵AO�:9>!u�^�%cG��o�}�G3E8`}TJ�IK����a�>�.Wx^�=R�ñ#?'D�y�q!Z�s�,D-Z�gD��3��a|X�gDk��ψN�gD�ؿ��lψ����]�zF��H2���Y�m��3�j�U=��9���L�L���ƛ6�s����8ִ��s\�8��M�9�E�sy2~�ݰu,�-Ze��T�ܕ�h�jt̴��[W!ڠ3��y�DK�:v��V��E��~�5�j��xm��0�"G/�
��H�9$zq~%���ޥ�=��[�h��6��5w�X>��Ԧ����}��':������#:��g�ѺE'6}�3�����(ψ6D���ўm�h5�c<#�
��wxm��W�/km��8��
�(�cL�_�h�D�2��p �Ɖ��V[
�hEGL�.yD����;�w�>ܫ��T����R�{e3Wd�)#w�+^�=c��}�[�D���p����
�Z��X2�B(�D�ٰ\
�k�o��t�oKM$��IqϑMa�ˌ�Pҕ��.R�>ج4�r��h����z�;/:�"=��6/ϪU�w�Gߣ�[����F��>�^�|�N�������c���eutv2<J%��/�\���Ey�D"cf�>�m�*�T}�-�u��_w�̳d�Ԥ#�I��5�{U�T4~,��gq�-]6I#��gx�)��Y:�2�`f�OҞбtҲ�(�A4�`(��R��"�%�Y��wʦ��i3����DΟA����'c���f�9�ўn���8�@�DO5h=�Ǫ�Gd�ea_��D��J�p��y(Av��"���.Gؖ�YJޝ�<,C��ک㼻eH���h��ݢ�V!ш6C�#'w$�dK�
�+�j�;�
�:D�ߙz���ѺE��2�Գ�:E�6i@�Nч5N�"Z��Z硷#Z���ZE�
шF4��hD#шF4��hD#шF4��hD#шF4��hD#шF�颏
Z��]ZEw!Z�hmˣ}�V���G
D#Z\tol�@��l�fJ���]'5x��-�Z�7�q��O��'n{�l$j"��`ǘGZ�=n+�o5��'�G"�Eb!
�QYv�gEB��D�)(�Ҿ
?��oi��nTh�'q�;�ڃ�|>�R����紎EYH��,*�LC��'i&6�L���S8Ou V�Y��P�Č���*7n���Jʩ�F�Q��Ϸ�8<|1B�O���*�;��������}���?!����~�?X� �lϟ��K����'�P__<���o=j�c�����W�6�=7���g�j
���1�`���QSwBS�S݁��c�����4m�碚�{�m��K�l��"N��͇ڃ?r�R]�7ѿ�su�q���
�VcsaNJ��E/_��%�d���+k�:�r����]�@k�R3n4BtQq�=���{o�:�ڛ��G�y��zg6���y�k�q�5_:���v�!�;my��/��c�m}���3F�Ə�+V����N���6LtBn�����Bw�l��o��x��"���
���=}���+��4M�����FSS�ֹ?�1�-z��g�h�w<8w<���C�������'ze���{���~��<��#��?��':o�qq���?����������w�87m�����5kx.~�q`ZDt��}�=4 �mM����:���1�'$z��g�
V��co�M�kQ�9���Q@t�/z�8��/]�dɒ�4�dɦM��K,�&�#!�W,x���D�³_[�0yetAMr�Wz�k>��B��\�W��]���旧
�~͏hm��Vzk�n~nPQ�.|��!��-�4��E��v8�lUZ��e1���?��c��z�O%���ӽ��|�X�_w���-KJ��A�mk|5���-�6=�_�`�~�+u3�*t�CO�f��6�g߹�'
/�8�������ł3�v,4����Z�����J�[7_Y/�y���;2`g��m�����`�n�}r�XCXT��M���Fѽ����ӷ��T+��=ZsJZ�胝��Հr�D�Wꊄ��[�9��-͢[[��OQ:��S�B����=NC(
z��3�U,n��~hj��PHt�/��(�#O�թ0�}��/�7�HlY���2j���}5����φ�����D���57~����P��P�h��Uk�7$\3���f��?}�=�"���
����9��\�q��+Sr�ڍ�~�;ݧ;hE( �:
]TE3|05*�K����QZ
f��pz�4���C��ra�e���p�ECW��a*
���9�$����ty�t�<c:]�1�.��vW�8{�YP��]�F�v�Γ�U'�.[�����\�v�ݶT��E���8�Ү~���0ωM��\0mOt|�mԇ�jg��`��Uϊ��V94��ȥ��=�p�~�8�q��ܴݬ�:�p��q���t��]��ܪ
�(*r�s��Ov(�M�z��Co�y�y�}��՝Գ�f!=�%8�5҉�H�Ϣ��E��W���N�Cq����
H�M۳�\�H��ܝIϪU��x�X�s���='1�e���N�gQ����tZ<'i���ٜ��B�}��?PՖ6��M[ݳ�8w�<k5m}�*��~M�W`K��roWʴ�K������-���9�i�-��
0Y�M+��<��r뽕u�����0�)2���A!C��<lJ��=S�ߌy�gO�.U������i:鐯
S�]�5�!8��>ϩ��<�b:Þs�t�=�i3='�@[�;m���0=A<g�i3=�B��ÝŦM�l�H�rfMgij�n�5�f�Ė8'��6n��d�Q-K��%4]�����}P��-���>�&D��ۛ�,3e�D4]���{D�C��6{X�1�;�Uw*{28�>�{�Iuw�=���[��Ϟ�j�Ax
��y{4ִ=Uo�Ҟ�M��-�h�T�*�{V3������ذ;�֖lS��M���$�\����e�L�ݷ;�'Y���cSY� �CV����szL��l����`��C���~k���8�IEND�B`�PKഎ[֧�
jstree/themes/proton/32px.pngnu�[����PNG
IHDR����"T5PLTEfff������fff������������������������fff��������ܙ�����������fff���ffffff���fffffffffffffffffffff���fff��������������fff��������姧������������������������������������ŵ����������ß��������������������������fff��������ж�������������܌��������������������ppp�����������������������Ͻ��������yyy��ʩ������h�sEtRNS@ϟ���@0`�
���pP��0�
`��P�������p���W���������������s��
:IDATx���i{ڸ`'Ԁ��-I�5]g���̜}?ǯLI K��Yڞ���X�m,g, d;y�/亚7��]�62�T�͛l���d��@@@@D@@@@DL��,犜J��f��i6�f�j����>Q���Q��5hQt*�7��u��O?e�| �5@��_�#���Qa�U�^�Wn��}y�X�@��?|�i�W�w�j��g���OT[y}�h�/���n4o��Y�r��w
��3`?�= *���HQ�{wG��,�/A
��w
��G��v�����}w7b��8(�3Xb��-��5�+�@��_�����H��}�芙@v��,=��;�h���[�~{}%�"�����콠zB�=@�/����eL��Kx�8�I�c�ۭ��� z��Y���Kȹ��p<�3e��ޥ|`&��`;�c��o~:2� ������ID���������1 �h�|#�_�d�y��H@{�;���
U���!T8l�t����Ի���*��/\l~��t���^o��Y����w���/
g��5ԧd�O�yD�@I��)�o��P��[,��u$~'�nF�&��\���lL�
${�O
����?�[@�}'������;�Z��e`�z���%<�;��k��/������/ `7�+u?`���ژ�u�-����+&����D5n}7�wc�oFn�ż�/y��G�ڭ�(�����I��
��C�S���[Q��)����_j8y�����z�$�|v<�oq2��'�P��C�|��{��D�j��g���H?�;������j>��
r�ϔ
�M��nAY@�Z.,�a�W='�|������',�e!��i*��0|�X" ���Vo��py'I4�
��""� � �
����������������������������
"����{�oq����~��'�G�f\��D�ю����Oؿ=���kp͉�
�O��}z��~����8w��Z�a���%o���C��Xy����qW���{c�Zʿ��\q!���z�]�6�͞�N_se=��
_D�3�u��+��p���˿�Ӵ���~���Nr��Uw���J��Q�ݨ��z����[�Q�G�D��~�E�:%]���P�o���>�m��௬�����/v�3X":jq���k�W݅�o�\7����u��/���˥"@�߶�)�f�X��N���Ȃ�J���`
8WP�{`��%�.��J���=����Ov�j9�mw�}oGD���oix�����R��x�d�+���3��=�-��I@���'�>S�_�"8��h�M�ہ3����d�O����Q��\�\�'��FW�L�� �o��;�6�����7v�z?�8l�t��8�I��+��\�8�� ��x���ux%��z7Ì���^��г�1���v�Ư_ �N`���S8
>p8�;k�#�
�� <��?p2��ba��u$pR�f��h��!���������g�@����-���H���0����
j�8����\�ԟ�P+�����l�Ro�a���ưl< �;����/����8��<<�����Rvֽ��|�ľ�X�^1�ɴ�b��o�T��p��Q��ݸ�g�>��,f����t�[X%�[�4ի�6����#�j�Ȱ|�|*���ע�?^8�W�{�D��M7t�+�����zv�t���j�?�ʗO�s'�9$2E���e}��)�U����މ�f���wDU<��
���Q-�0u�+�l,n�\�U��(
�Wz�7���<�^��5�.���b�d��'k���py'I4�
��""� � � ��""� � �
��""� � � ��""� �
�r]ZxC������" d���:��D�؋}T4f�.�HH�(W�1@���5��b��|��Q@���sN��N�l�I.�e�f�mվ�����\r�:;�c��YqE
�t-�&�{b$;K&�`�<�U��+f�]��&P�R�N/��'�ҵL1�4�f�?��g�@ן�ڷj���`��܅r&���08�"��'P�_p�nѵ^}oS��Y��������g��������u�+�$�����a�����?w
�^
����@{ok��D����;m����<��<�&X���]xY
��@�;K(}
d+�T:��
��Y�]�_�_^VX��`�a��'%pI�0��y�zR���`��*���4�|��x��.�T\��8���sb�qJ}7��E'�t�g����@9��7#L>%�zι�F�5�^�>�2S��yw&pS���X�����C�g�F
��J}t0�4�������
�c��"�%b(Lx�%�g%?�2����W����3�����c'`ܞ�����Z��gU��G��[��/y����$
�Y���^������O�
��p��@{��1
��?���0�!up=�o��@��CI�;RP��\�ǯ� @DA@@DDA@@D���?�]粯&IEND�B`�PKഎ[�#o,,jstree/themes/proton/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[�c�F g g"jstree/themes/proton/style.min.cssnu�[���.jstree-node,.jstree-children,.jstree-container-ul{display:block;margin:0;padding:0;list-style-type:none;list-style-image:none}.jstree-node{white-space:nowrap}.jstree-anchor{display:inline-block;color:#333;white-space:nowrap;padding:0
4px 0
1px;margin:0;vertical-align:top}.jstree-anchor:focus{outline:0}.jstree-anchor,.jstree-anchor:link,.jstree-anchor:visited,.jstree-anchor:hover,.jstree-anchor:active{text-decoration:none;color:inherit}.jstree-icon{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-icon:empty{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-ocl{cursor:pointer}.jstree-leaf>.jstree-ocl{cursor:default}.jstree
.jstree-open>.jstree-children{display:block}.jstree
.jstree-closed>.jstree-children,.jstree
.jstree-leaf>.jstree-children{display:none}.jstree-anchor>.jstree-themeicon{margin-right:2px}.jstree-no-icons
.jstree-themeicon,.jstree-anchor>.jstree-themeicon-hidden{display:none}.jstree-rtl
.jstree-anchor{padding:0 1px 0 4px}.jstree-rtl
.jstree-anchor>.jstree-themeicon{margin-left:2px;margin-right:0}.jstree-rtl
.jstree-node{margin-left:0}.jstree-rtl
.jstree-container-ul>.jstree-node{margin-right:0}.jstree-wholerow-ul{position:relative;display:inline-block;min-width:100%}.jstree-wholerow-ul
.jstree-leaf>.jstree-ocl{cursor:pointer}.jstree-wholerow-ul
.jstree-anchor,.jstree-wholerow-ul
.jstree-icon{position:relative}.jstree-wholerow-ul
.jstree-wholerow{width:100%;cursor:pointer;position:absolute;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vakata-context{display:none}.vakata-context,.vakata-context
ul{margin:0;padding:2px;position:absolute;background:#f5f5f5;border:1px
solid #979797;-moz-box-shadow:5px 5px 4px -4px #666;-webkit-box-shadow:2px
2px 2px #999;box-shadow:2px 2px 2px #999}.vakata-context
ul{list-style:none;left:100%;margin-top:-2.7em;margin-left:-4px}.vakata-context
.vakata-context-right
ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context
li{list-style:none;display:inline}.vakata-context
li>a{display:block;padding:0
2em;text-decoration:none;width:auto;color:#000;white-space:nowrap;line-height:2.4em;-moz-text-shadow:1px
1px 0 #fff;-webkit-text-shadow:1px 1px 0 #fff;text-shadow:1px 1px 0
#fff;-moz-border-radius:1px;-webkit-border-radius:1px;border-radius:1px}.vakata-context
li>a:hover{position:relative;background-color:#e8eff7;-moz-box-shadow:0
0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px
#0a6aa1}.vakata-context
li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw==);background-position:right
center;background-repeat:no-repeat}.vakata-context
li>a:focus{outline:0}.vakata-context
.vakata-context-hover>a{position:relative;background-color:#e8eff7;-moz-box-shadow:0
0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px
#0a6aa1}.vakata-context .vakata-context-separator>a,.vakata-context
.vakata-context-separator>a:hover{background:#fff;border:0;border-top:1px
solid #e2e3e3;height:1px;min-height:1px;max-height:1px;padding:0;margin:0 0
0 2.4em;border-left:1px solid #e0e0e0;-moz-text-shadow:0 0 0
transparent;-webkit-text-shadow:0 0 0 transparent;text-shadow:0 0 0
transparent;-moz-box-shadow:0 0 0 transparent;-webkit-box-shadow:0 0 0
transparent;box-shadow:0 0 0
transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.vakata-context
.vakata-contextmenu-disabled a,.vakata-context .vakata-contextmenu-disabled
a:hover{color:silver;background-color:transparent;border:0;box-shadow:0 0
0}.vakata-context
li>a>i{text-decoration:none;display:inline-block;width:2.4em;height:2.4em;background:0
0;margin:0 0 0
-2em;vertical-align:top;text-align:center;line-height:2.4em}.vakata-context
li>a>i:empty{width:2.4em;line-height:2.4em}.vakata-context li>a
.vakata-contextmenu-sep{display:inline-block;width:1px;height:2.4em;background:#fff;margin:0
.5em 0 0;border-left:1px solid #e2e3e3}.vakata-context
.vakata-contextmenu-shortcut{font-size:.8em;color:silver;opacity:.5;display:none}.vakata-context-rtl
ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context-rtl
li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7);background-position:left
center;background-repeat:no-repeat}.vakata-context-rtl
.vakata-context-separator>a{margin:0 2.4em 0
0;border-left:0;border-right:1px solid #e2e3e3}.vakata-context-rtl
.vakata-context-left
ul{right:auto;left:100%;margin-left:-4px;margin-right:auto}.vakata-context-rtl
li>a>i{margin:0 -2em 0 0}.vakata-context-rtl li>a
.vakata-contextmenu-sep{margin:0 0 0
.5em;border-left-color:#fff;background:#e2e3e3}#jstree-marker{position:absolute;top:0;left:0;margin:-5px
0 0 0;padding:0;border-right:0;border-top:5px solid
transparent;border-bottom:5px solid transparent;border-left:5px
solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{line-height:16px;margin:0;padding:4px}#jstree-dnd
.jstree-icon,#jstree-dnd
.jstree-copy{display:inline-block;text-decoration:none;margin:0 2px 0
0;padding:0;width:16px;height:16px}#jstree-dnd
.jstree-ok{background:green}#jstree-dnd
.jstree-er{background:red}#jstree-dnd .jstree-copy{margin:0
2px}.jstree-proton .jstree-node,.jstree-proton
.jstree-icon{background-repeat:no-repeat;background-color:transparent}.jstree-proton
.jstree-anchor,.jstree-proton .jstree-wholerow{transition:background-color
.15s,box-shadow .15s,color .15s}.jstree-proton
.jstree-hovered{background:#76b6ec;color:#fff;border-radius:3px;box-shadow:inset
0 0 1px #76b6ec}.jstree-proton
.jstree-clicked{background:#3392e3;color:#fff;border-radius:3px;box-shadow:inset
0 0 1px #3392e3}.jstree-proton .jstree-no-icons
.jstree-anchor>.jstree-themeicon{display:none}.jstree-proton
.jstree-disabled{background:0 0;color:#666}.jstree-proton
.jstree-disabled.jstree-hovered{background:0
0;box-shadow:none}.jstree-proton
.jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton
.jstree-disabled>.jstree-icon{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg
xmlns=\'http://www.w3.org/2000/svg\'><filter
id=\'jstree-grayscale\'><feColorMatrix
type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333
0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1
0\'/></filter></svg>#jstree-grayscale");-webkit-filter:grayscale(100%)}.jstree-proton
.jstree-search{font-style:italic;color:#8b0000;font-weight:700}.jstree-proton
.jstree-no-checkboxes
.jstree-checkbox{display:none!important}.jstree-proton.jstree-checkbox-no-clicked
.jstree-clicked{background:0
0;color:inherit;box-shadow:none}.jstree-proton.jstree-checkbox-no-clicked
.jstree-clicked.jstree-hovered{background:#76b6ec;color:#fff}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul
.jstree-wholerow-clicked{background:0
0;color:inherit}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul
.jstree-wholerow-clicked.jstree-wholerow-hovered{background:#76b6ec;color:#fff}.jstree-proton>.jstree-striped{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==)
left top repeat}.jstree-proton>.jstree-wholerow-ul
.jstree-hovered,.jstree-proton>.jstree-wholerow-ul
.jstree-clicked{background:0
0;box-shadow:none;border-radius:0}.jstree-proton
.jstree-wholerow{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.jstree-proton
.jstree-wholerow-hovered{background:#76b6ec}.jstree-proton
.jstree-wholerow-clicked{background:#3392e3;background:-moz-linear-gradient(top,#3392e3
0,#3392e3 100%);background:-webkit-gradient(linear,left top,left
bottom,color-stop(0,#3392e3),color-stop(100%,#3392e3));background:-webkit-linear-gradient(top,#3392e3
0,#3392e3 100%);background:-o-linear-gradient(top,#3392e3 0,#3392e3
100%);background:-ms-linear-gradient(top,#3392e3 0,#3392e3
100%);background:linear-gradient(to bottom,#3392e3 0,#3392e3
100%)}.jstree-proton
.jstree-node{min-height:22px;line-height:22px;margin-left:22px;min-width:22px}.jstree-proton
.jstree-anchor{line-height:22px;margin:1px 0 2px;height:22px}.jstree-proton
.jstree-icon{width:22px;height:22px;line-height:22px}.jstree-proton
.jstree-icon:empty{width:22px;height:22px;line-height:22px}.jstree-proton.jstree-rtl
.jstree-node{margin-right:22px}.jstree-proton
.jstree-wholerow{height:22px}.jstree-proton .jstree-node,.jstree-proton
.jstree-icon{background-size:320px
96px;background-image:url(32px.png)}.jstree-proton
.jstree-node{background-position:-293px
-5px;background-repeat:repeat-y}.jstree-proton .jstree-last{background:0
0}.jstree-proton .jstree-open>.jstree-ocl{background-position:-133px
-5px}.jstree-proton
.jstree-closed>.jstree-ocl{background-position:-101px
-5px}.jstree-proton .jstree-leaf>.jstree-ocl{background-position:-69px
-5px}.jstree-proton .jstree-themeicon{background-position:-261px
-7px}.jstree-proton>.jstree-no-dots
.jstree-node,.jstree-proton>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-37px
-5px}.jstree-proton>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:-5px -5px}.jstree-proton
.jstree-disabled{background:0 0}.jstree-proton
.jstree-disabled.jstree-hovered{background:0 0}.jstree-proton
.jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton
.jstree-checkbox{background-position:-165px -5px}.jstree-proton
.jstree-checkbox:hover{background-position:-165px
-37px}.jstree-proton.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox,.jstree-proton
.jstree-checked>.jstree-checkbox{background-position:-229px
-5px}.jstree-proton.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox:hover,.jstree-proton
.jstree-checked>.jstree-checkbox:hover{background-position:-229px
-37px}.jstree-proton
.jstree-anchor>.jstree-undetermined{background-position:-197px
-5px}.jstree-proton
.jstree-anchor>.jstree-undetermined:hover{background-position:-197px
-37px}.jstree-proton>.jstree-striped{background-size:auto
44px}.jstree-proton.jstree-rtl .jstree-node{background-size:320px
96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100%
1px;background-repeat:repeat-y}.jstree-proton.jstree-rtl
.jstree-last{background:0 0}.jstree-proton.jstree-rtl
.jstree-open>.jstree-ocl{background-position:-133px
-37px}.jstree-proton.jstree-rtl
.jstree-closed>.jstree-ocl{background-position:-101px
-37px}.jstree-proton.jstree-rtl
.jstree-leaf>.jstree-ocl{background-position:-69px
-37px}.jstree-proton.jstree-rtl>.jstree-no-dots
.jstree-node,.jstree-proton.jstree-rtl>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton.jstree-rtl>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-37px
-37px}.jstree-proton.jstree-rtl>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:-5px -37px}.jstree-proton
.jstree-themeicon-custom{background-color:transparent;background-size:320px
96px;background-image:none;background-position:0
0}.jstree-proton>.jstree-container-ul
.jstree-loading>.jstree-ocl{background:url(throbber.gif) center center
no-repeat}.jstree-proton .jstree-file{background:url(32px.png) -101px -69px
no-repeat}.jstree-proton .jstree-folder{background:url(32px.png) -261px
-5px
no-repeat}.jstree-proton>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton{line-height:22px;padding:0
4px}#jstree-dnd.jstree-proton .jstree-ok,#jstree-dnd.jstree-proton
.jstree-er{background-size:320px
96px;background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton
i{background:0
0;width:22px;height:22px;line-height:22px}#jstree-dnd.jstree-proton
.jstree-ok{background-position:-5px -69px}#jstree-dnd.jstree-proton
.jstree-er{background-position:-37px -69px}.jstree-proton.jstree-rtl
.jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-proton.jstree-rtl
.jstree-last{background:0 0}.jstree-proton-small
.jstree-node{min-height:18px;line-height:18px;margin-left:18px;min-width:18px}.jstree-proton-small
.jstree-anchor{line-height:18px;margin:1px 0
2px;height:18px}.jstree-proton-small
.jstree-icon{width:18px;height:18px;line-height:18px}.jstree-proton-small
.jstree-icon:empty{width:18px;height:18px;line-height:18px}.jstree-proton-small.jstree-rtl
.jstree-node{margin-right:18px}.jstree-proton-small
.jstree-wholerow{height:18px}.jstree-proton-small
.jstree-node,.jstree-proton-small .jstree-icon{background-size:320px
96px;background-image:url(32px.png)}.jstree-proton-small
.jstree-node{background-position:-295px
-7px;background-repeat:repeat-y}.jstree-proton-small
.jstree-last{background:0 0}.jstree-proton-small
.jstree-open>.jstree-ocl{background-position:-135px
-7px}.jstree-proton-small
.jstree-closed>.jstree-ocl{background-position:-103px
-7px}.jstree-proton-small
.jstree-leaf>.jstree-ocl{background-position:-71px
-7px}.jstree-proton-small .jstree-themeicon{background-position:-263px
-9px}.jstree-proton-small>.jstree-no-dots
.jstree-node,.jstree-proton-small>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton-small>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-39px
-7px}.jstree-proton-small>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:-7px
-7px}.jstree-proton-small .jstree-disabled{background:0
0}.jstree-proton-small .jstree-disabled.jstree-hovered{background:0
0}.jstree-proton-small
.jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-small
.jstree-checkbox{background-position:-167px -7px}.jstree-proton-small
.jstree-checkbox:hover{background-position:-167px
-39px}.jstree-proton-small.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox,.jstree-proton-small
.jstree-checked>.jstree-checkbox{background-position:-231px
-7px}.jstree-proton-small.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox:hover,.jstree-proton-small
.jstree-checked>.jstree-checkbox:hover{background-position:-231px
-39px}.jstree-proton-small
.jstree-anchor>.jstree-undetermined{background-position:-199px
-7px}.jstree-proton-small
.jstree-anchor>.jstree-undetermined:hover{background-position:-199px
-39px}.jstree-proton-small>.jstree-striped{background-size:auto
36px}.jstree-proton-small.jstree-rtl .jstree-node{background-size:320px
96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100%
1px;background-repeat:repeat-y}.jstree-proton-small.jstree-rtl
.jstree-last{background:0 0}.jstree-proton-small.jstree-rtl
.jstree-open>.jstree-ocl{background-position:-135px
-39px}.jstree-proton-small.jstree-rtl
.jstree-closed>.jstree-ocl{background-position:-103px
-39px}.jstree-proton-small.jstree-rtl
.jstree-leaf>.jstree-ocl{background-position:-71px
-39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots
.jstree-node,.jstree-proton-small.jstree-rtl>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton-small.jstree-rtl>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-39px
-39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:-7px
-39px}.jstree-proton-small
.jstree-themeicon-custom{background-color:transparent;background-size:320px
96px;background-image:none;background-position:0
0}.jstree-proton-small>.jstree-container-ul
.jstree-loading>.jstree-ocl{background:url(throbber.gif) center center
no-repeat}.jstree-proton-small .jstree-file{background:url(32px.png) -103px
-71px no-repeat}.jstree-proton-small
.jstree-folder{background:url(32px.png) -263px -7px
no-repeat}.jstree-proton-small>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-small{line-height:18px;padding:0
4px}#jstree-dnd.jstree-proton-small
.jstree-ok,#jstree-dnd.jstree-proton-small .jstree-er{background-size:320px
96px;background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-small
i{background:0
0;width:18px;height:18px;line-height:18px}#jstree-dnd.jstree-proton-small
.jstree-ok{background-position:-7px -71px}#jstree-dnd.jstree-proton-small
.jstree-er{background-position:-39px -71px}.jstree-proton-small.jstree-rtl
.jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-proton-small.jstree-rtl
.jstree-last{background:0 0}.jstree-proton-large
.jstree-node{min-height:32px;line-height:32px;margin-left:32px;min-width:32px}.jstree-proton-large
.jstree-anchor{line-height:32px;margin:1px 0
2px;height:32px}.jstree-proton-large
.jstree-icon{width:32px;height:32px;line-height:32px}.jstree-proton-large
.jstree-icon:empty{width:32px;height:32px;line-height:32px}.jstree-proton-large.jstree-rtl
.jstree-node{margin-right:32px}.jstree-proton-large
.jstree-wholerow{height:32px}.jstree-proton-large
.jstree-node,.jstree-proton-large .jstree-icon{background-size:320px
96px;background-image:url(32px.png)}.jstree-proton-large
.jstree-node{background-position:-288px
0;background-repeat:repeat-y}.jstree-proton-large .jstree-last{background:0
0}.jstree-proton-large
.jstree-open>.jstree-ocl{background-position:-128px
0}.jstree-proton-large
.jstree-closed>.jstree-ocl{background-position:-96px
0}.jstree-proton-large
.jstree-leaf>.jstree-ocl{background-position:-64px
0}.jstree-proton-large .jstree-themeicon{background-position:-256px
-2px}.jstree-proton-large>.jstree-no-dots
.jstree-node,.jstree-proton-large>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton-large>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-32px
0}.jstree-proton-large>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:0 0}.jstree-proton-large
.jstree-disabled{background:0 0}.jstree-proton-large
.jstree-disabled.jstree-hovered{background:0 0}.jstree-proton-large
.jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-large
.jstree-checkbox{background-position:-160px 0}.jstree-proton-large
.jstree-checkbox:hover{background-position:-160px
-32px}.jstree-proton-large.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox,.jstree-proton-large
.jstree-checked>.jstree-checkbox{background-position:-224px
0}.jstree-proton-large.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox:hover,.jstree-proton-large
.jstree-checked>.jstree-checkbox:hover{background-position:-224px
-32px}.jstree-proton-large
.jstree-anchor>.jstree-undetermined{background-position:-192px
0}.jstree-proton-large
.jstree-anchor>.jstree-undetermined:hover{background-position:-192px
-32px}.jstree-proton-large>.jstree-striped{background-size:auto
64px}.jstree-proton-large.jstree-rtl .jstree-node{background-size:320px
96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100%
1px;background-repeat:repeat-y}.jstree-proton-large.jstree-rtl
.jstree-last{background:0 0}.jstree-proton-large.jstree-rtl
.jstree-open>.jstree-ocl{background-position:-128px
-32px}.jstree-proton-large.jstree-rtl
.jstree-closed>.jstree-ocl{background-position:-96px
-32px}.jstree-proton-large.jstree-rtl
.jstree-leaf>.jstree-ocl{background-position:-64px
-32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots
.jstree-node,.jstree-proton-large.jstree-rtl>.jstree-no-dots
.jstree-leaf>.jstree-ocl{background:0
0}.jstree-proton-large.jstree-rtl>.jstree-no-dots
.jstree-open>.jstree-ocl{background-position:-32px
-32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots
.jstree-closed>.jstree-ocl{background-position:0
-32px}.jstree-proton-large
.jstree-themeicon-custom{background-color:transparent;background-size:320px
96px;background-image:none;background-position:0
0}.jstree-proton-large>.jstree-container-ul
.jstree-loading>.jstree-ocl{background:url(throbber.gif) center center
no-repeat}.jstree-proton-large .jstree-file{background:url(32px.png) -96px
-64px no-repeat}.jstree-proton-large
.jstree-folder{background:url(32px.png) -256px 0
no-repeat}.jstree-proton-large>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-large{line-height:32px;padding:0
4px}#jstree-dnd.jstree-proton-large
.jstree-ok,#jstree-dnd.jstree-proton-large .jstree-er{background-size:320px
96px;background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-large
i{background:0
0;width:32px;height:32px;line-height:32px}#jstree-dnd.jstree-proton-large
.jstree-ok{background-position:0 -64px}#jstree-dnd.jstree-proton-large
.jstree-er{background-position:-32px -64px}.jstree-proton-large.jstree-rtl
.jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-proton-large.jstree-rtl
.jstree-last{background:0 0}@media
(max-width:768px){#jstree-dnd.jstree-dnd-responsive{line-height:30px;font-weight:700;font-size:1.1em;text-shadow:1px
1px #fff}#jstree-dnd.jstree-dnd-responsive>i{background:0
0;width:30px;height:30px}#jstree-dnd.jstree-dnd-responsive>.jstree-ok{background-image:url(30px.png);background-position:0
-150px;background-size:90px
180px}#jstree-dnd.jstree-dnd-responsive>.jstree-er{background-image:url(30px.png);background-position:-30px
-150px;background-size:90px
180px}#jstree-marker.jstree-dnd-responsive{border-left-width:10px;border-top-width:10px;border-bottom-width:10px;margin-top:-10px}}@media
(max-width:768px){.jstree-proton-responsive
.jstree-container-ul{overflow:hidden}.jstree-proton-responsive
.jstree-icon{background-image:url(30px.png);background-size:90px
180px}.jstree-proton-responsive .jstree-node,.jstree-proton-responsive
.jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive
.jstree-node{min-height:30px;line-height:30px;margin-left:30px;min-width:30px;white-space:nowrap}.jstree-proton-responsive
.jstree-anchor{line-height:38px;height:38px;margin:0}.jstree-proton-responsive
.jstree-icon,.jstree-proton-responsive
.jstree-icon:empty{margin-top:4px;width:30px;height:30px;line-height:30px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0}.jstree-proton-responsive.jstree-rtl
.jstree-node{margin-left:0;margin-right:30px}.jstree-proton-responsive.jstree-rtl
.jstree-container-ul>.jstree-node{margin-right:0}.jstree-proton-responsive
.jstree-ocl,.jstree-proton-responsive
.jstree-themeicon,.jstree-proton-responsive
.jstree-checkbox{background-size:90px 180px}.jstree-proton-responsive
.jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive
.jstree-open>.jstree-ocl{background-position:0
0!important}.jstree-proton-responsive
.jstree-closed>.jstree-ocl{background-position:0
-30px!important}.jstree-proton-responsive.jstree-rtl
.jstree-closed>.jstree-ocl{background-position:-30px
0!important}.jstree-proton-responsive
.jstree-themeicon{background-position:-30px -30px}.jstree-proton-responsive
.jstree-checkbox,.jstree-proton-responsive
.jstree-checkbox:hover{background-position:-30px
-60px}.jstree-proton-responsive.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox,.jstree-proton-responsive.jstree-checkbox-selection
.jstree-clicked>.jstree-checkbox:hover,.jstree-proton-responsive
.jstree-checked>.jstree-checkbox,.jstree-proton-responsive
.jstree-checked>.jstree-checkbox:hover{background-position:0
-60px}.jstree-proton-responsive
.jstree-anchor>.jstree-undetermined,.jstree-proton-responsive
.jstree-anchor>.jstree-undetermined:hover{background-position:0
-90px}.jstree-proton-responsive>.jstree-striped{background:0
0}.jstree-proton-responsive .jstree-wholerow-ul
li{position:relative}.jstree-proton-responsive .jstree-wholerow-ul
.jstree-wholerow{position:absolute;top:0;left:-1000px;right:-1000px;width:auto;height:100%}.jstree-proton-responsive
.jstree-wholerow{border-top:1px solid
rgba(0,0,0,.05);background:rgba(0,0,0,.02);height:30px}.jstree-proton-responsive
.jstree-wholerow-hovered{background:#76b6ec}.jstree-proton-responsive
.jstree-wholerow-clicked{background:#3392e3}.jstree-proton-responsive
.jstree-children
.jstree-open+.jstree-open{box-shadow:none}.jstree-proton-responsive
.jstree-node,.jstree-proton-responsive
.jstree-icon,.jstree-proton-responsive
.jstree-node>.jstree-ocl,.jstree-proton-responsive
.jstree-themeicon,.jstree-proton-responsive
.jstree-checkbox{background-image:url(30px.png);background-size:90px
180px}.jstree-proton-responsive .jstree-node{background-position:-60px
0;background-repeat:repeat-y}.jstree-proton-responsive
.jstree-last{background:0 0}.jstree-proton-responsive
.jstree-leaf>.jstree-ocl{background-position:-30px
-90px}.jstree-proton-responsive
.jstree-last>.jstree-ocl{background-position:-30px
-120px}.jstree-proton-responsive
.jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0
0}.jstree-proton-responsive .jstree-file{background:url(30px.png) 0 -120px
no-repeat;background-size:90px 180px}.jstree-proton-responsive
.jstree-folder{background:url(30px.png) -30px -30px
no-repeat;background-size:90px
180px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}}
/* Helix */
#sp-left .sp-module .ph-category-module-box ul > li,
#sp-right .sp-module .ph-category-module-box ul > li {
border-bottom: 0;
}
#sp-left .sp-module .ph-category-module-box ul > li > a,
#sp-right .sp-module .ph-category-module-box ul > li > a {
display: inline-block;
padding: 0px 4px 0px 1px;
line-height: 22px;
}
/* Long names */
.jstree-proton a {
white-space:normal !important; height: auto;
}
.jstree-anchor {
height: auto !important;
}
.jstree-proton li > ins {
vertical-align:top;
}
.jstree-leaf {
height: auto;
}
.jstree-leaf a{
height: auto !important;
}PKഎ[JKR��!jstree/themes/proton/throbber.gifnu�[���GIF89a����������FFFzzzXXX$$$���������666hhh!�NETSCAPE2.0!�Created
with ajaxload.info!�
,qH�;uj0��1P�4HЈ��
�`+�I1��q|��@�P�p@\
�8�4��Q��Q�Z�^���-� g�8)
fl���9��C�`�OTp%#�
c%
U!�
,pHhy��9��1K�I���*��,�Al����`�h���|&�@�s�H�Bv�D���~��U�M^�)��H6?�
xMl<L&�klj�(�'K'!�
,rH(��9�N�ICs��a(�0F&pP�$�@�0��8(ZF (��
�(��iDN��1�:Hd%�M
��2 �����x2GOyo0Oyrn;bq'1b'!�
,pH(c��9J��&
��QN�,J�5P�3�
`0�J'�;)���l�_@�H$v��b�
]�M+�
g@��ͧ)��v1[�o�z
;�|zM1n&&�&!�
,fHh)��9N���&
��}@A���Pu,
�\+��I
4E��|�
�qɱ�]
�MkI�7J�ي�H�!�8���e��s���yVn�y�&��!�
,xH�R��RB��&�'
Rr���T(�2��c�
d�&08��� �g0�`��l��Aa~6�ܦK�!��~M}<U\o
]Ym]UK!�
,sH���T�1�&�X"2D�U���X6+�t����9
����l�s��$��lj$G��,Ni�s���2-<����`coO:�x.OL
7]'|!�
,qH���pPJ$�&}�=%W
!8<
�u�u%Ew7��SpZ��&
%�&��@M<5���y�4e��
���`��p��
�ml- !�5Q%\!�
,sHh�t�{ǸJ�Q_�(a�� �eq���Bj���<��3 i�`
hޒ�Aa��(�
��$�Հ�T
�c`@0��0����H��Bl|
� �&YJgSg!�
,sHh�t����u�JX0^�`Y��
� sh������(>B�Ab�p�$��S��I��J������Ǚ��C��p �A�H�4zY
*�f!�
,oHh�t��{����6aWb�a�(���5��U����@
�NA;4�Br���$P�(��E�HTC!@80�Y�Q���c��LzYSY>Z
gt!�
,sHh�tj���(�6�a$_��!�_^5�FB��X
��8���ZX�U�(�I@ѫ
���(�.A�QX%(���Q�,!DM �S��a[ 0;PKഎ[�#o,,lazyload/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[-2���lazyload/lazyload.min.jsnu�[���function
_toConsumableArray(t){return
_arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function
_nonIterableSpread(){throw new TypeError("Invalid attempt to spread
non-iterable instance")}function
_iterableToArray(t){if(Symbol.iterator in Object(t)||"[object
Arguments]"===Object.prototype.toString.call(t))return
Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var
e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function
_extends(){return(_extends=Object.assign||function(t){for(var
e=1;e<arguments.length;e++){var n=arguments[e];for(var r in
n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return
t}).apply(this,arguments)}function
_typeof(t){return(_typeof="function"==typeof
Symbol&&"symbol"==typeof
Symbol.iterator?function(t){return typeof t}:function(t){return
t&&"function"==typeof
Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof
t})(t)}!function(t,e){"object"===("undefined"==typeof
exports?"undefined":_typeof(exports))&&"undefined"!=typeof
module?module.exports=e():"function"==typeof
define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use
strict";var t="undefined"!=typeof
window,e=t&&!("onscroll"in
window)||"undefined"!=typeof
navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=t&&"IntersectionObserver"in
window,r=t&&"classList"in
document.createElement("p"),o={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_poster:"poster",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},a=function(t,e){var
n,r=new t(e);try{n=new
CustomEvent("LazyLoad::Initialized",{detail:{instance:r}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:r})}window.dispatchEvent(n)};var
i=function(t,e){return
t.getAttribute("data-"+e)},s=function(t,e,n){var
r="data-"+e;null!==n?t.setAttribute(r,n):t.removeAttribute(r)},c=function(t){return"true"===i(t,"was-processed")},l=function(t,e){return
s(t,"ll-timeout",e)},u=function(t){return
i(t,"ll-timeout")},d=function(t,e,n,r){t&&(void
0===r?void
0===n?t(e):t(e,n):t(e,n,r))},f=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&d(t._settings.callback_finish,t)},_=function(t){for(var
e,n=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&n.push(e);return
n},v=function(t,e,n){n&&t.setAttribute(e,n)},b=function(t,e){v(t,"sizes",i(t,e.data_sizes)),v(t,"srcset",i(t,e.data_srcset)),v(t,"src",i(t,e.data_src))},m={IMG:function(t,e){var
n=t.parentNode;n&&"PICTURE"===n.tagName&&_(n).forEach(function(t){b(t,e)});b(t,e)},IFRAME:function(t,e){v(t,"src",i(t,e.data_src))},VIDEO:function(t,e){_(t).forEach(function(t){v(t,"src",i(t,e.data_src))}),v(t,"poster",i(t,e.data_poster)),v(t,"src",i(t,e.data_src)),t.load()}},p=function(t,e){var
n,r,o=e._settings,a=t.tagName,s=m[a];if(s)return
s(t,o),f(e,1),void(e._elements=(n=e._elements,r=t,n.filter(function(t){return
t!==r})));!function(t,e){var
n=i(t,e.data_src),r=i(t,e.data_bg);n&&(t.style.backgroundImage='url("'.concat(n,'")')),r&&(t.style.backgroundImage=r)}(t,o)},g=function(t,e){r?t.classList.add(e):t.className+=(t.className?"
":"")+e},y=function(t,e){r?t.classList.remove(e):t.className=t.className.replace(new
RegExp("(^|\\s+)"+e+"(\\s+|$)"),"
").replace(/^\s+/,"").replace(/\s+$/,"")},h=function(t,e,n){t.addEventListener(e,n)},E=function(t,e,n){t.removeEventListener(e,n)},w=function(t,e,n){E(t,"load",e),E(t,"loadeddata",e),E(t,"error",n)},A=function(t,e,n){var
r=n._settings,o=e?r.class_loaded:r.class_error,a=e?r.callback_loaded:r.callback_error,i=t.target;y(i,r.class_loading),g(i,o),d(a,i,n),f(n,-1)},I=function(t,e){var
n=function n(o){A(o,!0,e),w(t,n,r)},r=function
r(o){A(o,!1,e),w(t,n,r)};!function(t,e,n){h(t,"load",e),h(t,"loadeddata",e),h(t,"error",n)}(t,n,r)},k=["IMG","IFRAME","VIDEO"],L=function(t,e){var
n=e._observer;S(t,e),n&&e._settings.auto_unobserve&&n.unobserve(t)},O=function(t){var
e=u(t);e&&(clearTimeout(e),l(t,null))},x=function(t,e){var
n=e._settings.load_delay,r=u(t);r||(r=setTimeout(function(){L(t,e),O(t)},n),l(t,r))},S=function(t,e,n){var
r=e._settings;!n&&c(t)||(k.indexOf(t.tagName)>-1&&(I(t,e),g(t,r.class_loading)),p(t,e),function(t){s(t,"was-processed","true")}(t),d(r.callback_reveal,t,e),d(r.callback_set,t,e))},z=function(t){return!!n&&(t._observer=new
IntersectionObserver(function(e){e.forEach(function(e){return
function(t){return
t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e,n){var
r=n._settings;d(r.callback_enter,t,e,n),r.load_delay?x(t,n):L(t,n)}(e.target,e,t):function(t,e,n){var
r=n._settings;d(r.callback_exit,t,e,n),r.load_delay&&O(t)}(e.target,e,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var
e},C=["IMG","IFRAME"],N=function(t,e){return
function(t){return
t.filter(function(t){return!c(t)})}((n=t||function(t){return
t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var
n},M=function(t){var
e=t._settings;_toConsumableArray(e.container.querySelectorAll("."+e.class_error)).forEach(function(t){y(t,e.class_error),function(t){s(t,"was-processed",null)}(t)}),t.update()},R=function(e,n){var
r;this._settings=function(t){return
_extends({},o,t)}(e),this._loadingCount=0,z(this),this.update(n),r=this,t&&window.addEventListener("online",function(t){M(r)})};return
R.prototype={update:function(t){var
n,r=this,o=this._settings;(this._elements=N(t,o),!e&&this._observer)?(function(t){return
t.use_native&&"loading"in
HTMLImageElement.prototype}(o)&&((n=this)._elements.forEach(function(t){-1!==C.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),S(t,n))}),this._elements=N(t,o)),this._elements.forEach(function(t){r._observer.observe(t)})):this.loadAll()},destroy:function(){var
t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){S(t,this,e)},loadAll:function(){var
t=this;this._elements.forEach(function(e){L(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var
n,r=0;n=e[r];r+=1)a(t,n);else a(t,e)}(R,window.lazyLoadOptions),R});
PKഎ[�#o,,magnific/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[h*^�N�N%magnific/jquery.magnific-popup.min.jsnu�[���/*!
Magnific Popup - v1.1.0 - 2016-02-20
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2016 Dmitry Semenov; */
!function(a){"function"==typeof
define&&define.amd?define(["jquery"],a):a("object"==typeof
exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var
b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var
f=document.createElement("div");return
f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return
c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new
t,b.init(),a.magnificPopup.instance=b)},B=function(){var
a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void
0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in
a)return!0;return!1};t.prototype={constructor:t,init:function(){var
c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera
Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows
Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var
e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var
g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else
b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return
void
b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var
i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var
j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+="
mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+="
mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+="
mfp-auto-cursor"),f&&b.wrap.addClass(f);var
k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var
o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body,
html").css("overflow","hidden"):n.overflow="hidden");var
r=b.st.mainClass;return b.isIE7&&(r+="
mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var
c=r+" "+q+"
";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+"
"),b._removeClassFromMFP(c),b.fixedContentPos){var
e={marginRight:""};b.isIE7?a("body,
html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+"
focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var
c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else
b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var
c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var
d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var
f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var
g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var
d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var
f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return
e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var
d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var
e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var
f=void
0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var
g=void
0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else
if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var
e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var
d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else
if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return
c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void
0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var
e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void
0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var
f=b.find(p+"-"+e[0]);if(f.length>0){var
g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else
b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void
0===b.scrollbarSize){var
a=document.createElement("div");a.style.cssText="width:
99px; height: 99px; overflow: scroll; position: absolute; top:
-9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return
b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return
A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return
a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button
title="%title%" type="button"
class="mfp-close">×</button>',tClose:"Close
(Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var
d=a(this);if("string"==typeof c)if("open"===c){var
e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else
b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else
c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return
d};var
C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content
not
found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var
e=b.st.inline,f=a(c.src);if(f.length){var
g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else
b.updateStatus("error",e.tNotFound),f=a("<div>");return
c.inlineElement=f,f}return
b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var
H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a
href="%url%">The content</a> could not be
loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var
d=a.extend({url:c.src,success:function(d,e,f){var
g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return
b.req=a.ajax(d),""}}});var
L,M=function(c){if(c.data&&void 0!==c.data.title)return
c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return
d.call(b,c);if(c.el)return
c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div
class="mfp-figure"><div
class="mfp-close"></div><figure><div
class="mfp-img"></div><figcaption><div
class="mfp-bottom-bar"><div
class="mfp-title"></div><div
class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a
href="%url%">The image</a> could not be
loaded.'},proto:{initImage:function(){var
c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var
a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var
c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var
c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return
d.naturalWidth>0?void
b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var
e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var
j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return
b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var
N,O=function(){return void 0===N&&(N=void
0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return
a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var
a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var
e,f,g=c.duration,j=function(a){var
b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all
"+c.duration/1e3+"s
"+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return
e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return
void
k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return
b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var
d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var
e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var
h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return
O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var
P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var
c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div
class="mfp-iframe-scaler"><div
class="mfp-close"></div><iframe
class="mfp-iframe" src="//about:blank"
frameborder="0"
allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var
e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return
e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof
this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void
0});var g={};return
f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var
S=function(a){var c=b.items.length;return
a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return
a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button
title="%title%" type="button" class="mfp-arrow
mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous
(Left arrow key)",tNext:"Next (Right arrow
key)",tCounter:"%curr% of
%total%"},proto:{initGallery:function(){var
c=b.st.gallery,e=".mfp-gallery";return
b.direction=!0,c&&c.enabled?(f+="
mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return
b.items.length>1?(b.next(),!1):void
0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var
g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var
d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void
w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var
a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var
d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img
class="mfp-img"
/>').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var
U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return
a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var
a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});PKഎ[�Q��''magnific/magnific-popup.cssnu�[���/*
Magnific Popup CSS */
.mfp-bg {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1042;
overflow: hidden;
position: fixed;
background: #0b0b0b;
opacity: 0.8; }
.mfp-wrap {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1043;
position: fixed;
outline: none !important;
-webkit-backface-visibility: hidden; }
.mfp-container {
text-align: center;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
padding: 0 8px;
box-sizing: border-box; }
.mfp-container:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle; }
.mfp-align-top .mfp-container:before {
display: none; }
.mfp-content {
position: relative;
display: inline-block;
vertical-align: middle;
margin: 0 auto;
text-align: left;
z-index: 1045; }
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
width: 100%;
cursor: auto; }
.mfp-ajax-cur {
cursor: progress; }
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
cursor: -moz-zoom-out;
cursor: -webkit-zoom-out;
cursor: zoom-out; }
.mfp-zoom {
cursor: pointer;
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in; }
.mfp-auto-cursor .mfp-content {
cursor: auto; }
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none; }
.mfp-loading.mfp-figure {
display: none; }
.mfp-hide {
display: none !important; }
.mfp-preloader {
color: #CCC;
position: absolute;
top: 50%;
width: auto;
text-align: center;
margin-top: -0.8em;
left: 8px;
right: 8px;
z-index: 1044; }
.mfp-preloader a {
color: #CCC; }
.mfp-preloader a:hover {
color: #FFF; }
.mfp-s-ready .mfp-preloader {
display: none; }
.mfp-s-error .mfp-content {
display: none; }
button.mfp-close,
button.mfp-arrow {
overflow: visible;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
display: block;
outline: none;
padding: 0;
z-index: 1046;
box-shadow: none;
touch-action: manipulation; }
button::-moz-focus-inner {
padding: 0;
border: 0; }
.mfp-close {
width: 44px;
height: 44px;
line-height: 44px;
position: absolute;
right: 0;
top: 0;
text-decoration: none;
text-align: center;
opacity: 0.65;
padding: 0 0 18px 10px;
color: #FFF;
font-style: normal;
font-size: 28px;
font-family: Arial, Baskerville, monospace; }
.mfp-close:hover,
.mfp-close:focus {
opacity: 1; }
.mfp-close:active {
top: 1px; }
.mfp-close-btn-in .mfp-close {
color: #333; }
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
color: #FFF;
right: -6px;
text-align: right;
padding-right: 6px;
width: 100%; }
.mfp-counter {
position: absolute;
top: 0;
right: 0;
color: #CCC;
font-size: 12px;
line-height: 18px;
white-space: nowrap; }
.mfp-arrow {
position: absolute;
opacity: 0.65;
margin: 0;
top: 50%;
margin-top: -55px;
padding: 0;
width: 90px;
height: 110px;
-webkit-tap-highlight-color: transparent; }
.mfp-arrow:active {
margin-top: -54px; }
.mfp-arrow:hover,
.mfp-arrow:focus {
opacity: 1; }
.mfp-arrow:before,
.mfp-arrow:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
left: 0;
top: 0;
margin-top: 35px;
margin-left: 35px;
border: medium inset transparent; }
.mfp-arrow:after {
border-top-width: 13px;
border-bottom-width: 13px;
top: 8px; }
.mfp-arrow:before {
border-top-width: 21px;
border-bottom-width: 21px;
opacity: 0.7; }
.mfp-arrow-left {
left: 0; }
.mfp-arrow-left:after {
border-right: 17px solid #FFF;
margin-left: 31px; }
.mfp-arrow-left:before {
margin-left: 25px;
border-right: 27px solid #3F3F3F; }
.mfp-arrow-right {
right: 0; }
.mfp-arrow-right:after {
border-left: 17px solid #FFF;
margin-left: 39px; }
.mfp-arrow-right:before {
border-left: 27px solid #3F3F3F; }
.mfp-iframe-holder {
padding-top: 40px;
padding-bottom: 40px; }
.mfp-iframe-holder .mfp-content {
line-height: 0;
width: 100%;
max-width: 900px; }
.mfp-iframe-holder .mfp-close {
top: -40px; }
.mfp-iframe-scaler {
width: 100%;
height: 0;
overflow: hidden;
padding-top: 56.25%; }
.mfp-iframe-scaler iframe {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: #000; }
/* Main image in popup */
img.mfp-img {
width: auto;
max-width: 100%;
height: auto;
display: block;
line-height: 0;
box-sizing: border-box;
padding: 40px 0 40px;
margin: 0 auto; }
/* The shadow behind the image */
.mfp-figure {
line-height: 0; }
.mfp-figure:after {
content: '';
position: absolute;
left: 0;
top: 40px;
bottom: 40px;
display: block;
right: 0;
width: auto;
height: auto;
z-index: -1;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: #444; }
.mfp-figure small {
color: #BDBDBD;
display: block;
font-size: 12px;
line-height: 14px; }
.mfp-figure figure {
margin: 0; }
.mfp-bottom-bar {
margin-top: -36px;
position: absolute;
top: 100%;
left: 0;
width: 100%;
cursor: auto; }
.mfp-title {
text-align: left;
line-height: 18px;
color: #F3F3F3;
word-wrap: break-word;
padding-right: 36px; }
.mfp-image-holder .mfp-content {
max-width: 100%; }
.mfp-gallery .mfp-image-holder .mfp-figure {
cursor: pointer; }
@media screen and (max-width: 800px) and (orientation: landscape), screen
and (max-height: 300px) {
/**
* Remove all paddings around the image on small screen
*/
.mfp-img-mobile .mfp-image-holder {
padding-left: 0;
padding-right: 0; }
.mfp-img-mobile img.mfp-img {
padding: 0; }
.mfp-img-mobile .mfp-figure:after {
top: 0;
bottom: 0; }
.mfp-img-mobile .mfp-figure small {
display: inline;
margin-left: 5px; }
.mfp-img-mobile .mfp-bottom-bar {
background: rgba(0, 0, 0, 0.6);
bottom: 0;
margin: 0;
top: auto;
padding: 3px 5px;
position: fixed;
box-sizing: border-box; }
.mfp-img-mobile .mfp-bottom-bar:empty {
padding: 0; }
.mfp-img-mobile .mfp-counter {
right: 5px;
top: 3px; }
.mfp-img-mobile .mfp-close {
top: 0;
right: 0;
width: 35px;
height: 35px;
line-height: 35px;
background: rgba(0, 0, 0, 0.6);
position: fixed;
text-align: center;
padding: 0; } }
@media all and (max-width: 900px) {
.mfp-arrow {
-webkit-transform: scale(0.75);
transform: scale(0.75); }
.mfp-arrow-left {
-webkit-transform-origin: 0;
transform-origin: 0; }
.mfp-arrow-right {
-webkit-transform-origin: 100%;
transform-origin: 100%; }
.mfp-container {
padding-left: 6px;
padding-right: 6px; } }
PKഎ[�#o,,phoca/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[;")==phoca/jquery.phocaattribute.jsnu�[���/*
* jQuery Phoca Attribute
* https://www.phoca.cz
*
* Copyright (C) 2016 Jan Pavelka www.phoca.cz
*
* Licensed under the MIT license
*/
/* SELECT BOXES */
/* Changes Selects to color or image attributes*/
function phChangeAttributeType(typeView) {
typeView = typeof typeView !== 'undefined' ? '.phj' +
typeView : '';
var phProductAttribute = typeView + '.phjProductAttribute';//
Find all select boxes which should be transformed to color or image
var phCleanAttribute = typeView + '.phjCleanAttribute';// Clean
previously transformed select boxes in case of ajax reload
jQuery(phCleanAttribute).remove();
jQuery(phProductAttribute).each(function() {
var phClass = '';
var phClassId = '';
var phSelectNameId = '#phItemAttribute' +
jQuery(this).data('attribute-id-name');
var phSelectNameIdT = '#phItemHiddenAttribute' +
jQuery(this).data('attribute-id-name');
var phSelectNameIdB = '#phItemBoxAttribute' +
jQuery(this).data('attribute-id-name');
var phType = jQuery(this).data('attribute-type');// Type of
attribute
var phTypeView = jQuery(this).data('type-view');// Type of
view, e.g. ItemQuickView is reloaded by ajax
var phTypeIcon = jQuery(this).data('type-icon');// Type of
used icon library
var phRequired = jQuery(this).data('required');// Type of
used icon library
if (phType == 3) {
phClass = 'phSelectBoxImage';// Image
} else if (phType == 2) {
phClass = 'phSelectBoxButton';// Color
}
// Transform only attributes which are select box image - 3 or select box
color - 2
if (phClass != '') {
phClassId = phSelectNameIdT + ' .' + phClass;
var phSelectName = jQuery(phSelectNameId).attr('name');
var phHiddenEl = jQuery('<input type="hidden"
name="'+ phSelectName +'">');
phHiddenEl.val(jQuery(phSelectNameId).val());
phHiddenEl.insertAfter(jQuery(phSelectNameId));
// ON START DISPLAY OR HIDE
// jQuery(phSelectNameId).hide();
// jQuery(phSelectNameIdB).hide();
// Cannot be hidden because of html5 required field and its message
// Hide select box even its chosen alternative
jQuery(phSelectNameIdT).css( "display", "block");
jQuery(phSelectNameIdB).css( {"display": "visible",
'position': 'absolute', 'clip':
'rect(0,0,0,0)' });
jQuery(phSelectNameIdB).addClass('phj' + phTypeView + '
phjCleanAttribute');
// ON START TRANSFORM
jQuery(phSelectNameId + ' option').each(function() {
/* Do not display default value (empty value), can be set by clicking
back from other value */
if (jQuery(this).val() != '') {
if (phType == 3) {
// Image
var phSBtn = jQuery('<div class="'+ phClass +'
'+ phTypeIcon +'" data-value="'+
jQuery(this).val() +'" data-value-alias="'+
jQuery(this).data('value-alias') +'"
title="'+ jQuery(this).text() +'"><img
src="'+ jQuery(this).data('image') +'"
alt="'+ jQuery(this).text() +'"
/></div>');
} else if (phType == 2) {
// Color
var phSBtn = jQuery('<div class="'+ phClass +'
'+ phTypeIcon +'" style="background-color:' +
jQuery(this).data('color') +'" data-value="'+
jQuery(this).val() +'" data-value-alias="'+
jQuery(this).data('value-alias') +'"
title="'+ jQuery(this).text() +'">'+
' ' +'</div>');
}
if(jQuery(this).is(':selected')) {
phSBtn.addClass('on');
}
jQuery(phSelectNameIdT).append(phSBtn);
}
});
// Change on Click event
jQuery(phClassId).on('click', function(e) {
e.preventDefault();// Bootstrap modal (close and open again duplicates
events)
var isActive = jQuery(this).hasClass('on');
if (isActive) {
if (phRequired == 1) {
e.preventDefault();// Active item cannot be unselected when the
select box is required
return false;
}
jQuery(this).removeClass('on');
jQuery('input[name="'+ phSelectName
+'"]').val('');
jQuery(phSelectNameId).val('').change();// Because of
required field
} else {
jQuery(phClassId).removeClass('on');//Remove when multiple
jQuery(this).addClass('on');
jQuery('input[name="'+ phSelectName
+'"]').val(jQuery(this).data('value'));
jQuery(phSelectNameId).val(jQuery(this).data('value')).change();//
Because of required field
}
})
}
})
}
function phAjaxChangeAttributeData(phProductId, phTypeView, phDataA1,
phDataA2){
var phParams = Joomla.getOptions('phParamsPC');
var phVars = Joomla.getOptions('phVarsPC');
var phUrl = phVars['urlCheckoutChangeData'];
var phOptions = [];
phOptions["id"] = phProductId;
phOptions["id_item_price"] = "#phItemPriceBox" +
phTypeView + phProductId;
phOptions["id_item_price_gift"] =
"#phItemPriceGiftBox" + phTypeView + phProductId;
phOptions["id_item_stock"] = "#phItemStockBox" +
phTypeView + phProductId;
phOptions["id_item_id"] = "#phItemIdBox" + phTypeView
+ phProductId;
phOptions["id_item_name"] = "V" + phTypeView +
'P' + phProductId;
phOptions["product_add_to_cart_item"] =
".phProductAddToCart" + phTypeView + phProductId;// display or
hide add to cart button
phOptions["product_add_to_cart_item_icon"] =
".phProductAddToCartIcon" + phTypeView + phProductId;// display
or hide add to cart icon
phOptions["view"] = phTypeView;
phOptions["method_price"] =
phParams['dynamicChangePrice'];
phOptions["method_stock"] =
phParams['dynamicChangeStock'];
phOptions["method_id"] = phParams['dynamicChangeId'];
phOptions["method_image"] =
phParams['dynamicChangeImage'];
phOptions["task"] = "change";
phOptions["type"] = "changedata";
if (phTypeView == 'ItemQuick' || phTypeView == 'Pos'
|| phTypeView == 'Item') {
phOptions["class"] ='ph-item-data-box';
} else {
phOptions["class"] ='ph-category-data-box';//
Category, Items
}
var phData = 'id='+ phOptions["id"]
+'&'+ phDataA1 +'&'+ phDataA2
+'&'+'class='+ phOptions["class"]
+'&'+'typeview='+ phOptions["view"];
phDoRequestMethods(phUrl, phData, phOptions);
}
function phSetAttributeUrl(phSetValueByUser) {
var phParams = Joomla.getOptions('phParamsPC');
var phVars = Joomla.getOptions('phVarsPC');
if (phParams['dynamicChangeUrlAttributes'] != 1) {
return false;
}
if(phVars['view'] != 'item') {
return false;
}
var phHash = jQuery(location).attr('hash');
phHash = phReplaceAll('#', '', phHash)
var phHashParams = jQuery.deparam(phHash);
var phProductAttribute = '.phjProductAttribute';
var phHashNew = '';
var phTypeView = '';
var phProductId = '';
// Change base64 return url - add attribute suffix to the URL so when
products will be added to cart without running ajax
// then it will be redirected back to the site with selected attribute
var attributeForm =
jQuery(phProductAttribute).closest("form");
var attributeFormReturn =
attributeForm.find("input[name=return]");
var attributeFormReturnValue = Base64.decode(attributeFormReturn.val());
// Find all attributes in Item View
jQuery(phProductAttribute).each(function() {
if (phHashNew != '') {
phHashNew = phHashNew + '&';
}
var attributeId = this.id;
var attributeAlias = jQuery(this).data('alias');
var valueAlias = '';// One value for selectbox
var valuesAlias = '';// One or more values for checkbox
var phSelectNameIdT = '#phItemHiddenAttribute' +
jQuery(this).data('attribute-id-name');
if (phSetValueByUser == 1) {
// 1) Set by user
// SELECTBOX
if
(jQuery(this).find(':selected').data('value-alias') !==
undefined) {
valueAlias =
jQuery(this).find(':selected').data('value-alias');
phHashNew = phHashNew + 'a[' +
jQuery(this).data('alias') + ']=' + valueAlias;
}
// CHECKBOX
if
(jQuery(this).find(':input:checked').data('value-alias')
!== undefined) {
jQuery.each(jQuery(this).find(':input:checked'), function(){
if (valuesAlias != '') {
valuesAlias = valuesAlias + ',';
}
valuesAlias = valuesAlias +
jQuery(this).data('value-alias');
});
if (valuesAlias != '') {
phHashNew = phHashNew + 'a[' +
jQuery(this).data('alias') + ']=' + valuesAlias;
}
}
} else {
// 2) Set on document load
if (phHashParams.a !== undefined && attributeAlias !== undefined
&& phHashParams.a[attributeAlias] !== undefined) {
// 2a) Set by the URL parameters - e.g. direct link - attributes will
be set on the site by the URL
phHashNew = phHashNew + 'a[' +
jQuery(this).data('alias') + ']=' +
phHashParams.a[attributeAlias];
var arrayValues = phHashParams.a[attributeAlias].split(",");
if (arrayValues !== undefined || arrayValues.length != 0) {
// clea all selected values first
jQuery("#" + attributeId + "
option").removeAttr("selected");// Select box
jQuery(phSelectNameIdT + "
div").removeClass('on'); // Select Color or Image
jQuery("#" + attributeId + "
input").removeAttr("checked");// Check box
jQuery(arrayValues).each(function() {
jQuery("#" + attributeId + "
option[data-value-alias='" + this +
"']").attr("selected","selected");//
Select box
jQuery(phSelectNameIdT + " div[data-value-alias='" +
this + "']").addClass('on'); // Select Color or
Image
jQuery("#" + attributeId + "
input[data-value-alias='" + this +
"']").attr("checked","checked");// Check
box
})
}
} else {
// 2b) Attribute not found in URL so change the URL be values set as
default (default value for attribute)
// SELECT BOX
if
(jQuery(this).find(':selected').data('value-alias') !==
undefined) {
valueAlias =
jQuery(this).find(':selected').data('value-alias');
phHashNew = phHashNew + 'a[' +
jQuery(this).data('alias') + ']=' + valueAlias;
}
// CHECKBOX
if
(jQuery(this).find(':input:checked').data('value-alias')
!== undefined) {
jQuery.each(jQuery(this).find(':input:checked'), function(){
if (valuesAlias != '') {
valuesAlias = valuesAlias + ',';
}
valuesAlias = valuesAlias +
jQuery(this).data('value-alias');
});
if (valuesAlias != '') {
phHashNew = phHashNew + 'a[' +
jQuery(this).data('alias') + ']=' + valuesAlias;
}
}
}
// Accessible in each parameter - will be used for ajax if set in
parameters
phTypeView = jQuery(this).data('type-view');
phProductId = jQuery(this).data('product-id');
}
})
// URL parameter (hash) can change the setting of attributes, if changed
then ajax which changes stock, price and ID (EAN, SKU), image needs to be
run
if (phParams['dynamicChangePrice'] == 0 &&
phParams['dynamicChangeStock'] == 0 &&
phParams['dynamicChangeId'] == 0 &&
(phParams['dynamicChangeImage'] == 0 ||
phParams['dynamicChangeImage'] == 1)) {
//Interactive change is disabled
} else {
var phProductGroup = '.phjAddToCartV' + phTypeView +
'P' + phProductId;
var phDataA1 =
jQuery(phProductGroup).find('select').serialize();// All Selects
var phDataA2 =
jQuery(phProductGroup).find(':checkbox').serialize();// All
Checkboxes
phAjaxChangeAttributeData(phProductId, phTypeView, phDataA1, phDataA2);
}
// Last character &
if (phHashNew.lastIndexOf('&') == (phHashNew.length - 1)) {
phHashNew = phHashNew.slice(0, -1);
}
// Update URL after #
if (phSetValueByUser == 0 && phHashNew != '') {
phHashNew = '#' + phHashNew;
// Update even form return value to be returned back with selected
attribute
if(attributeFormReturnValue != '') {
attributeFormReturn.val(Base64.encode(attributeFormReturnValue +
phHashNew));
}
window.history.pushState({},"", phHashNew);
} else if (phSetValueByUser == 1) {
phHashNew = '#' + phHashNew;
// Update even form return value to be returned back with selected
attribute
if(attributeFormReturnValue != '') {
attributeFormReturn.val(Base64.encode(attributeFormReturnValue +
phHashNew));
}
window.history.pushState({},"", phHashNew);
}
}
jQuery(document).ready(function() {
phChangeAttributeType();// Change select to color or image, change
checkbox to color or image
phSetAttributeUrl(0);// Change URL (# attributes) or change attributes by
URL at start
/* Interactive change - price, stock, ID (EAN, SKU, ...) */
var phSelectboxA = "select.phjProductAttribute";
var phSelectboxASelected = phSelectboxA + ":selected";
// Select box
jQuery(document).on('change', phSelectboxA, function(e){
var phParams = Joomla.getOptions('phParamsPC');
if (phParams['dynamicChangePrice'] == 0 &&
phParams['dynamicChangeStock'] == 0 &&
phParams['dynamicChangeId'] == 0 &&
(phParams['dynamicChangeImage'] == 0 ||
phParams['dynamicChangeImage'] == 1)) {
return false;// Interactive Change is disabled
}
//jQuery(this).off("change");';
var phTypeView = jQuery(this).data('type-view');
var phProductId = jQuery(this).data('product-id');
var phProductGroup = '.phjAddToCartV' + phTypeView +
'P' + phProductId;
var phDataA1 =
jQuery(phProductGroup).find('select').serialize();// All Selects
var phDataA2 =
jQuery(phProductGroup).find(':checkbox').serialize();// All
Checkboxes
phAjaxChangeAttributeData(phProductId, phTypeView, phDataA1, phDataA2);
phSetAttributeUrl(1);
})
var phCheckboxA =
".ph-checkbox-attribute.phjProductAttribute";
// var phCheckboxAInputChecked = phCheckboxA + "
input:checked";
// Checkbox
jQuery(document).on('click', phCheckboxA, function(e){
var phParams = Joomla.getOptions('phParamsPC');
if (phParams['dynamicChangePrice'] == 0 &&
phParams['dynamicChangeStock'] == 0 &&
phParams['dynamicChangeId'] == 0 &&
(phParams['dynamicChangeImage'] == 0 ||
phParams['dynamicChangeImage'] == 1)) {
return;// Interactive Change is disabled
}
if (e.target.tagName.toUpperCase() === "LABEL") { return;}//
Prevent from twice running
if (phParams['theme'] == 'bs4') {
if (e.target.tagName.toUpperCase() === "SPAN" ||
e.target.tagName.toUpperCase() === "IMG") { return;}// Prevent
from twice running
}
var phProductId = jQuery(this).data('product-id');
var phTypeView = jQuery(this).data('type-view');
var phProductGroup = '.phjAddToCartV' + phTypeView +
'P' + phProductId;
var phDataA1 =
jQuery(phProductGroup).find('select').serialize();// All Selects
var phDataA2 =
jQuery(phProductGroup).find(':checkbox').serialize();// All
Checkboxes
// If REQUIRED, don't allow to untick all checkboxes
var phRequired = jQuery(this).data("required");
var phCheckboxAInputChecked = "#" +
jQuery(this).attr("id") + " input:checked";
var phACheckedLength = jQuery(phCheckboxAInputChecked).length;
if (phACheckedLength == 0) {
var phThisLabel = jQuery(e.target).parent();// Bootstrap
checkboxes - colors, images
phThisLabel.addClass("active");// Bootstrap
checkboxes - colors, images
e.preventDefault();
return false;
}
phAjaxChangeAttributeData(phProductId, phTypeView, phDataA1, phDataA2);
phSetAttributeUrl(1);
})
// Gift coupon
jQuery('.phAOGift').on('input', function() {
var phAOType = '.' + jQuery(this).data('type');
if (phAOType == '.phAOGiftType') {
var title = jQuery(this).data('title');
jQuery('.phAOGiftTitle').text(title);
var image = jQuery(this).data('image');
jQuery('.phAOGiftImage').attr('src', image);
var date = jQuery(this).data('date');
jQuery('.phAOGiftDate').text(date);
var description = jQuery(this).data('description');
description = Base64.decode(description);
jQuery('.phAOGiftDescription').html(description);
var className = jQuery(this).data('class-name');
jQuery(phAOType).attr('class', 'phAOGiftType
ph-gift-voucher-box ' + className);
} else {
jQuery(phAOType).text(jQuery(this).val());
}
});
})
PKഎ[�wm��"phoca/jquery.phocaattribute.min.jsnu�[���function
phChangeAttributeType(e){var t=(e=void
0!==e?".phj"+e:"")+".phjProductAttribute";jQuery(e+".phjCleanAttribute").remove(),jQuery(t).each(function(){var
t,a,e,i="",r="#phItemAttribute"+jQuery(this).data("attribute-id-name"),u="#phItemHiddenAttribute"+jQuery(this).data("attribute-id-name"),d="#phItemBoxAttribute"+jQuery(this).data("attribute-id-name"),s=jQuery(this).data("attribute-type"),h=jQuery(this).data("type-view"),n=jQuery(this).data("type-icon"),c=jQuery(this).data("required");3==s?i="phSelectBoxImage":2==s&&(i="phSelectBoxButton"),""!=i&&(t=u+"
."+i,a=jQuery(r).attr("name"),(e=jQuery('<input
type="hidden"
name="'+a+'">')).val(jQuery(r).val()),e.insertAfter(jQuery(r)),jQuery(u).css("display","block"),jQuery(d).css({display:"visible",position:"absolute",clip:"rect(0,0,0,0)"}),jQuery(d).addClass("phj"+h+"
phjCleanAttribute"),jQuery(r+" option").each(function(){var
e;""!=jQuery(this).val()&&(3==s?e=jQuery('<div
class="'+i+" "+n+'"
data-value="'+jQuery(this).val()+'"
data-value-alias="'+jQuery(this).data("value-alias")+'"
title="'+jQuery(this).text()+'"><img
src="'+jQuery(this).data("image")+'"
alt="'+jQuery(this).text()+'"
/></div>'):2==s&&(e=jQuery('<div
class="'+i+" "+n+'"
style="background-color:'+jQuery(this).data("color")+'"
data-value="'+jQuery(this).val()+'"
data-value-alias="'+jQuery(this).data("value-alias")+'"
title="'+jQuery(this).text()+'"> </div>')),jQuery(this).is(":selected")&&e.addClass("on"),jQuery(u).append(e))}),jQuery(t).on("click",function(e){if(e.preventDefault(),jQuery(this).hasClass("on")){if(1==c)return
e.preventDefault(),!1;jQuery(this).removeClass("on"),jQuery('input[name="'+a+'"]').val(""),jQuery(r).val("").change()}else
jQuery(t).removeClass("on"),jQuery(this).addClass("on"),jQuery('input[name="'+a+'"]').val(jQuery(this).data("value")),jQuery(r).val(jQuery(this).data("value")).change()}))})}function
phAjaxChangeAttributeData(e,t,a,i){var
r=Joomla.getOptions("phParamsPC"),u=Joomla.getOptions("phVarsPC").urlCheckoutChangeData,d=[];d.id=e,d.id_item_price="#phItemPriceBox"+t+e,d.id_item_price_gift="#phItemPriceGiftBox"+t+e,d.id_item_stock="#phItemStockBox"+t+e,d.id_item_id="#phItemIdBox"+t+e,d.id_item_name="V"+t+"P"+e,d.product_add_to_cart_item=".phProductAddToCart"+t+e,d.product_add_to_cart_item_icon=".phProductAddToCartIcon"+t+e,d.view=t,d.method_price=r.dynamicChangePrice,d.method_stock=r.dynamicChangeStock,d.method_id=r.dynamicChangeId,d.method_image=r.dynamicChangeImage,d.task="change",d.type="changedata",d.class="ItemQuick"==t||"Pos"==t||"Item"==t?"ph-item-data-box":"ph-category-data-box";i="id="+d.id+"&"+a+"&"+i+"&class="+d.class+"&typeview="+d.view;phDoRequestMethods(u,i,d)}function
phSetAttributeUrl(u){var
e=Joomla.getOptions("phParamsPC"),t=Joomla.getOptions("phVarsPC");if(1!=e.dynamicChangeUrlAttributes)return!1;if("item"!=t.view)return!1;var
a=jQuery(location).attr("hash"),a=phReplaceAll("#","",a),d=jQuery.deparam(a),i=".phjProductAttribute",s="",h="",n="",t=jQuery(i).closest("form").find("input[name=return]"),a=Base64.decode(t.val());jQuery(i).each(function(){""!=s&&(s+="&");var
e=this.id,t=jQuery(this).data("alias"),a="",i="",r="#phItemHiddenAttribute"+jQuery(this).data("attribute-id-name");1==u?(void
0!==jQuery(this).find(":selected").data("value-alias")&&(a=jQuery(this).find(":selected").data("value-alias"),s=s+"a["+jQuery(this).data("alias")+"]="+a),void
0!==jQuery(this).find(":input:checked").data("value-alias")&&(jQuery.each(jQuery(this).find(":input:checked"),function(){""!=i&&(i+=","),i+=jQuery(this).data("value-alias")}),""!=i&&(s=s+"a["+jQuery(this).data("alias")+"]="+i))):(void
0!==d.a&&void 0!==t&&void
0!==d.a[t]?(s=s+"a["+jQuery(this).data("alias")+"]="+d.a[t],void
0===(t=d.a[t].split(","))&&0==t.length||(jQuery("#"+e+"
option").removeAttr("selected"),jQuery(r+"
div").removeClass("on"),jQuery("#"+e+"
input").removeAttr("checked"),jQuery(t).each(function(){jQuery("#"+e+"
option[data-value-alias='"+this+"']").attr("selected","selected"),jQuery(r+"
div[data-value-alias='"+this+"']").addClass("on"),jQuery("#"+e+"
input[data-value-alias='"+this+"']").attr("checked","checked")}))):(void
0!==jQuery(this).find(":selected").data("value-alias")&&(a=jQuery(this).find(":selected").data("value-alias"),s=s+"a["+jQuery(this).data("alias")+"]="+a),void
0!==jQuery(this).find(":input:checked").data("value-alias")&&(jQuery.each(jQuery(this).find(":input:checked"),function(){""!=i&&(i+=","),i+=jQuery(this).data("value-alias")}),""!=i&&(s=s+"a["+jQuery(this).data("alias")+"]="+i))),h=jQuery(this).data("type-view"),n=jQuery(this).data("product-id"))}),(0!=e.dynamicChangePrice||0!=e.dynamicChangeStock||0!=e.dynamicChangeId||0!=e.dynamicChangeImage&&1!=e.dynamicChangeImage)&&(i=".phjAddToCartV"+h+"P"+n,e=jQuery(i).find("select").serialize(),i=jQuery(i).find(":checkbox").serialize(),phAjaxChangeAttributeData(n,h,e,i)),s.lastIndexOf("&")==s.length-1&&(s=s.slice(0,-1)),(0==u&&""!=s||1==u)&&(s="#"+s,""!=a&&t.val(Base64.encode(a+s)),window.history.pushState({},"",s))}jQuery(document).ready(function(){phChangeAttributeType(),phSetAttributeUrl(0);var
e="select.phjProductAttribute";jQuery(document).on("change",e,function(e){var
t=Joomla.getOptions("phParamsPC");if(0==t.dynamicChangePrice&&0==t.dynamicChangeStock&&0==t.dynamicChangeId&&(0==t.dynamicChangeImage||1==t.dynamicChangeImage))return!1;var
a=jQuery(this).data("type-view"),i=jQuery(this).data("product-id"),t=".phjAddToCartV"+a+"P"+i;phAjaxChangeAttributeData(i,a,jQuery(t).find("select").serialize(),jQuery(t).find(":checkbox").serialize()),phSetAttributeUrl(1)});jQuery(document).on("click",".ph-checkbox-attribute.phjProductAttribute",function(e){var
t=Joomla.getOptions("phParamsPC");if((0!=t.dynamicChangePrice||0!=t.dynamicChangeStock||0!=t.dynamicChangeId||0!=t.dynamicChangeImage&&1!=t.dynamicChangeImage)&&"LABEL"!==e.target.tagName.toUpperCase()&&("bs4"!=t.theme||"SPAN"!==e.target.tagName.toUpperCase()&&"IMG"!==e.target.tagName.toUpperCase())){var
a=jQuery(this).data("product-id"),i=jQuery(this).data("type-view"),r=".phjAddToCartV"+i+"P"+a,u=jQuery(r).find("select").serialize(),t=jQuery(r).find(":checkbox").serialize(),r=(jQuery(this).data("required"),"#"+jQuery(this).attr("id")+"
input:checked"),r=jQuery(r).length;if(0==r)return
jQuery(e.target).parent().addClass("active"),e.preventDefault(),!1;phAjaxChangeAttributeData(a,i,u,t),phSetAttributeUrl(1)}}),jQuery(".phAOGift").on("input",function(){var
e,t="."+jQuery(this).data("type");".phAOGiftType"==t?(e=jQuery(this).data("title"),jQuery(".phAOGiftTitle").text(e),e=jQuery(this).data("image"),jQuery(".phAOGiftImage").attr("src",e),e=jQuery(this).data("date"),jQuery(".phAOGiftDate").text(e),e=jQuery(this).data("description"),e=Base64.decode(e),jQuery(".phAOGiftDescription").html(e),e=jQuery(this).data("class-name"),jQuery(t).attr("class","phAOGiftType
ph-gift-voucher-box
"+e)):jQuery(t).text(jQuery(this).val())})});PKഎ[�>�Ck
k
&phoca/jquery.phocaattributerequired.jsnu�[���/*
* jQuery Phoca Attribute Required
* https://www.phoca.cz
*
* Copyright (C) 2016 Jan Pavelka www.phoca.cz
*
* Licensed under the MIT license
*/
/* CHECKBOXES */
/* Check if attribute is required (non standard attribute: not select but
image checkboxes)
* Image checkboxes cannot be checked by HTML5
* The check must be done manually per javascript
* There are different functions for different views because views can be
in conflict - itemquick loaded in category
*/
jQuery(document).ready(function(){
jQuery(document).on('click', '.phjAddToCart.phjItem
button[type="submit"]', function() {
jQuery(this).closest("form").find('
.checkbox-group.required input:checkbox').each(function() {// 1
var phAttributeGroup =
jQuery(this).closest(".checkbox-group").attr('id');// 2
var phAttributeGroupItems = jQuery('.phjAddToCart.phjItem #' +
phAttributeGroup + ' input:checkbox');// 3
phAttributeGroupItems.prop('required', true);
if(phAttributeGroupItems.is(":checked")){
phAttributeGroupItems.prop('required', false);
}
})
});
})
jQuery(document).ready(function(){
jQuery(document).on('click', '.phjAddToCart.phjCategory
button[type="submit"]', function() {
jQuery(this).closest("form").find('
.checkbox-group.required input:checkbox').each(function() {// 1
var phAttributeGroup =
jQuery(this).closest(".checkbox-group").attr('id');// 2
var phAttributeGroupItems = jQuery('.phjAddToCart.phjCategory
#' + phAttributeGroup + ' input:checkbox');// 3
phAttributeGroupItems.prop('required', true);
if(phAttributeGroupItems.is(":checked")){
phAttributeGroupItems.prop('required', false);
}
})
});
})
jQuery(document).ready(function(){
jQuery(document).on('click', '.phjAddToCart.phjItems
button[type="submit"]', function() {
jQuery(this).closest("form").find('
.checkbox-group.required input:checkbox').each(function() {// 1
var phAttributeGroup =
jQuery(this).closest(".checkbox-group").attr('id');// 2
var phAttributeGroupItems = jQuery('.phjAddToCart.phjItems #'
+ phAttributeGroup + ' input:checkbox');// 3
phAttributeGroupItems.prop('required', true);
if(phAttributeGroupItems.is(":checked")){
phAttributeGroupItems.prop('required', false);
}
})
});
})
jQuery(document).ready(function(){
jQuery(document).on('click', '.phjAddToCart.phjItemQuick
button[type="submit"]', function() {
jQuery(this).closest("form").find('
.checkbox-group.required input:checkbox').each(function() {// 1
var phAttributeGroup =
jQuery(this).closest(".checkbox-group").attr('id');// 2
var phAttributeGroupItems = jQuery('.phjAddToCart.phjItemQuick
#' + phAttributeGroup + ' input:checkbox');// 3
phAttributeGroupItems.prop('required', true);
if(phAttributeGroupItems.is(":checked")){
phAttributeGroupItems.prop('required', false);
}
})
});
})
jQuery(document).ready(function(){
jQuery(document).on('click', '.phjAddToCart.phjPos
button[type="submit"]', function() {
jQuery(this).closest("form").find('
.checkbox-group.required input:checkbox').each(function() {// 1
var phAttributeGroup =
jQuery(this).closest(".checkbox-group").attr('id');// 2
var phAttributeGroupItems = jQuery('.phjAddToCart.phjPos #' +
phAttributeGroup + ' input:checkbox');// 3
phAttributeGroupItems.prop('required', true);
if(phAttributeGroupItems.is(":checked")){
phAttributeGroupItems.prop('required', false);
}
})
});
})
PKഎ[�!��*phoca/jquery.phocaattributerequired.min.jsnu�[���jQuery(document).ready(function(){jQuery(document).on("click",'.phjAddToCart.phjItem
button[type="submit"]',function(){jQuery(this).closest("form").find("
.checkbox-group.required input:checkbox").each(function(){var
e=jQuery(this).closest(".checkbox-group").attr("id"),e=jQuery(".phjAddToCart.phjItem
#"+e+"
input:checkbox");e.prop("required",!0),e.is(":checked")&&e.prop("required",!1)})})}),jQuery(document).ready(function(){jQuery(document).on("click",'.phjAddToCart.phjCategory
button[type="submit"]',function(){jQuery(this).closest("form").find("
.checkbox-group.required input:checkbox").each(function(){var
e=jQuery(this).closest(".checkbox-group").attr("id"),e=jQuery(".phjAddToCart.phjCategory
#"+e+"
input:checkbox");e.prop("required",!0),e.is(":checked")&&e.prop("required",!1)})})}),jQuery(document).ready(function(){jQuery(document).on("click",'.phjAddToCart.phjItems
button[type="submit"]',function(){jQuery(this).closest("form").find("
.checkbox-group.required input:checkbox").each(function(){var
e=jQuery(this).closest(".checkbox-group").attr("id"),e=jQuery(".phjAddToCart.phjItems
#"+e+"
input:checkbox");e.prop("required",!0),e.is(":checked")&&e.prop("required",!1)})})}),jQuery(document).ready(function(){jQuery(document).on("click",'.phjAddToCart.phjItemQuick
button[type="submit"]',function(){jQuery(this).closest("form").find("
.checkbox-group.required input:checkbox").each(function(){var
e=jQuery(this).closest(".checkbox-group").attr("id"),e=jQuery(".phjAddToCart.phjItemQuick
#"+e+"
input:checkbox");e.prop("required",!0),e.is(":checked")&&e.prop("required",!1)})})}),jQuery(document).ready(function(){jQuery(document).on("click",'.phjAddToCart.phjPos
button[type="submit"]',function(){jQuery(this).closest("form").find("
.checkbox-group.required input:checkbox").each(function(){var
e=jQuery(this).closest(".checkbox-group").attr("id"),e=jQuery(".phjAddToCart.phjPos
#"+e+"
input:checkbox");e.prop("required",!0),e.is(":checked")&&e.prop("required",!1)})})});PKഎ[G�rC��phoca/jquery.phocaswapimage.jsnu�[���/*
* jQuery Phoca SwapImage
* https://www.phoca.cz
*
* Copyright (C) 2016 Jan Pavelka www.phoca.cz
*
* Licensed under the MIT license
*/
jQuery(document).ready(function() {
jQuery(document).on('change', '.phjProductAttribute',
function(){
var phProductIdName = jQuery(this).data('product-id-name');
var phProductImg = '.phjProductImage' + phProductIdName;
var phProductSource = '.phjProductSource' + phProductIdName;//
Webp source
var phProductHref = '.phjProductHref' + phProductIdName;
var phDefaultSrc = jQuery(phProductImg).data('image');// image
includes data-image attribute
var phDefaultHref = jQuery(phProductHref).data('href');//
image includes data-image attribute
var phNewSrc =
jQuery(this).find(':selected,:checked').data('image-option');//
Set image from current selectbox (selectbox which was changed)
var phSelectedSrc = false; // Find selected image from all attributes of
all select boxes in the form
/* jQuery(this).each(function( index ) {
var phFoundSrc =
jQuery(this).find(':selected,:checked').data('image-option');
if(phFoundSrc) {
phSelectedSrc = phFoundSrc;
}
}); */
jQuery(this).closest("form").find('.phjProductAttribute').each(function()
{
var phFoundSrc =
jQuery(this).find(':selected,:checked').data('image-option');
if(phFoundSrc) {
phSelectedSrc = phFoundSrc;
}
})
var phNewHref = phNewSrc;
var phSelectedHref = phSelectedSrc;
if (phNewSrc) {
// New image found - change to new image
jQuery(phProductHref).attr('href', phNewHref);
jQuery(phProductImg).attr('src', phNewSrc);
jQuery(phProductSource).attr('srcset', phNewSrc);//webp
} else if (!phNewSrc && phSelectedSrc) {
// New image not found but there is some selected image yet (e.g.
selected previously in other select box)
jQuery(phProductHref).attr('href', phSelectedHref);
jQuery(phProductImg).attr('src', phSelectedSrc);
jQuery(phProductSource).attr('srcset', phSelectedSrc);//webp
} else {
// Return back to default image (no new image, no selected image by
other select box)
jQuery(phProductHref).attr('href', phDefaultHref);
jQuery(phProductImg).attr('src', phDefaultSrc);
jQuery(phProductSource).attr('srcset', phDefaultSrc);//webp
}
})
})
PKഎ[Q�/���"phoca/jquery.phocaswapimage.min.jsnu�[���jQuery(document).ready(function(){jQuery(document).on("change",".phjProductAttribute",function(){var
t=jQuery(this).data("product-id-name"),r=".phjProductImage"+t,e=".phjProductSource"+t,u=".phjProductHref"+t,a=jQuery(r).data("image"),c=jQuery(u).data("href"),d=jQuery(this).find(":selected,:checked").data("image-option"),j=!1;jQuery(this).closest("form").find(".phjProductAttribute").each(function(){var
t=jQuery(this).find(":selected,:checked").data("image-option");t&&(j=t)});var
o=d,t=j;d?(jQuery(u).attr("href",o),jQuery(r).attr("src",d),jQuery(e).attr("srcset",d)):!d&&j?(jQuery(u).attr("href",t),jQuery(r).attr("src",j),jQuery(e).attr("srcset",j)):(jQuery(u).attr("href",c),jQuery(r).attr("src",a),jQuery(e).attr("srcset",a))})});PKഎ[��G$��
phoca/jquery.phocawindowpopup.jsnu�[���/*
* jQuery Phoca WindowPopup
* https://www.phoca.cz
*
* Copyright (C) 2016 Jan Pavelka www.phoca.cz
*
* Licensed under the MIT license
*/
function phWindowPopup(url, name, rW, rH) {
var w = screen.width / rW;
var h = screen.height / rH;
var params = 'width='+w+', height='+h+',
resizable=yes, scrollbars=yes, menubar=no, status=no, location=no,
toolbar=no';
phWindow = window.open(url, name, params);
if(window.focus) {
phWindow.focus();
}
return false;
}
PKഎ[��R;��$phoca/jquery.phocawindowpopup.min.jsnu�[���function
phWindowPopup(o,n,e,i){i="width="+screen.width/e+",
height="+screen.height/i+", resizable=yes, scrollbars=yes,
menubar=no, status=no, location=no, toolbar=no";return
phWindow=window.open(o,n,i),window.focus&&phWindow.focus(),!1}PKഎ[y�+
**phoca/phocacart.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
function phRemoveUrlParameter(param, url) {
var rtn = url.split("?")[0],
param,
params_arr = [],
queryString = (url.indexOf("?") !== -1) ?
url.split("?")[1] : "";
if (queryString !== "") {
params_arr = queryString.split("&");
for (var i = params_arr.length - 1; i >= 0; i -= 1) {
paramV = params_arr[i].split("=")[0];
if (paramV === param) {
params_arr.splice(i, 1);
}
}
rtn = rtn + "?" + params_arr.join("&");
}
return rtn;
}
function startOverlay(outputDiv) {
var phOverlay = jQuery('<div
id="phOverlayDiv"><div id="phLoaderFull">
</div></div>');
phOverlay.appendTo(outputDiv);
jQuery("#phOverlayDiv").fadeIn().css("display","block");
}
function startFullOverlay(phA) {
if (phA == 2) {
} else {
var phOverlay = jQuery('<div id="phOverlay"><div
id="phLoaderFull"> </div></div>');
phOverlay.appendTo(document.body);
jQuery("#phOverlay").fadeIn().css("display","block");
}
}
function stopOverlay() {
jQuery("#phOverlay").fadeIn().css("display","none");
}
function phRemoveParamFromUrl(key, sourceURL) {
var rtn = sourceURL.split("?")[0],
param,
params_arr = [],
queryString = (sourceURL.indexOf("?") !== -1) ?
sourceURL.split("?")[1] : "";
if (queryString !== "") {
params_arr = queryString.split("&");
for (var i = params_arr.length - 1; i >= 0; i -= 1) {
param = params_arr[i].split("=")[0];
if (param === key) {
params_arr.splice(i, 1);
}
}
rtn = rtn + "?" + params_arr.join("&");
}
return rtn;
}
function phUpdatePageAndParts(url, source) {
var phVars = Joomla.getOptions('phVarsPC');
var phParamsS =
Joomla.getOptions('phParamsModPhocacartSearch');
var ds = '/';
if (phVars['basePath'] == 'undefined' ||
phVars['basePath'] == '') {
ds = '';
}
// Firefox problem
// FROM:
//window.history.pushState({},"", url);// update URL
// TO:
if (url == '') {
window.history.pushState({},"", location.pathname);// update
URL
} else {
window.history.pushState({},"", url);// update URL
}
if (url != '') {
// Remove format and set the raw
var urlMain = phRemoveParamFromUrl('format', url);
urlMain = url + '&format=raw';
} else {
var urlMain = '?format=raw';
}
// Remove possible conflict params in URL
var urlModule = phRemoveParamFromUrl('option', urlMain);
urlModule = phRemoveParamFromUrl('view', urlModule);
urlModule = phRemoveParamFromUrl('module', urlModule);
urlModule = urlModule.substring(urlModule.indexOf('?') + 1);
var urlSearchModule = phVars['basePath'] + ds +
'index.php?option=com_ajax&module=phocacart_search';
var urlFilterModule = phVars['basePath'] + ds +
'index.php?option=com_ajax&module=phocacart_filter';
if (urlModule.indexOf("?") == 0) {
urlSearchModule = urlSearchModule + '&'
+urlModule.substr(1);
urlFilterModule = urlFilterModule + '&'
+urlModule.substr(1);
} else if (urlModule.indexOf("&") == 0) {
urlSearchModule = urlSearchModule + urlModule;
urlFilterModule = urlFilterModule + urlModule;
} else {
urlSearchModule = urlSearchModule + '&' + urlModule;
urlFilterModule = urlFilterModule + '&' + urlModule;
}
if (typeof phParamsS != 'undefined' &&
phVars['mod_phocacart_search'] == 1 &&
phParamsS['displayActiveParameters'] == 1) {
// Update filter only when
phRenderPagePart({}, 'phSearchActiveTags', urlSearchModule);//
AJAX update search module
}
if (typeof phVars != 'undefined' &&
phVars['mod_phocacart_filter'] == 1 && source == 2) {
// Update filter only when source comes from search filter
phRenderPagePart({}, 'phFilterBox', urlFilterModule);// AJAX
update filter module
}
phRenderPage({},urlMain );// AJAX update main page
}
function phRenderPage(sFormData, phUrlJs) {
var phVars = Joomla.getOptions('phVarsPC');
var phParams = Joomla.getOptions('phParamsPC');
var outputDiv = '#' + phVars['renderPageOutput'];
var phUrl = phVars['renderPageUrl'];
var isPOS = phVars['isPOS'];
var loadChosen = phParams['loadChosen'];
startOverlay(outputDiv);
phUrl = typeof phUrlJs !== "undefined" ? phUrlJs : phUrl;
phRequest = jQuery.ajax({
type: "POST",
url: phUrl,
async: true,
cache: "false",
data: sFormData,
dataType:"HTML",
success: function(data){
jQuery(outputDiv).html(data);
if (isPOS == 1) {
phPosManagePage();
}
if (loadChosen == 1) {
jQuery('select').chosen('destroy').chosen({disable_search_threshold
: 10,allow_single_deselect : true});
}
if (typeof phChangeAttributeType === "function") {
phChangeAttributeType();// Recreate the select attribute (color, image)
after AJAX
}
if(typeof phLazyLoadInstance !== "undefined" &&
phLazyLoadInstance) {
phLazyLoadInstance.update();// Lazy load - reload if enabled
}
stopOverlay();
}
})
return false;
}
function phRenderPagePart(sFormData, outputDiv, phUrl) {
phRequest = jQuery.ajax({
type: "POST",
url: phUrl,
async: true,
cache: "false",
data: sFormData,
dataType:"HTML",
success: function(data){
outputDiv = '#'+ outputDiv;
jQuery(outputDiv).html(data);
}
})
}
function phDisableRequirement() {
var phParams = Joomla.getOptions('phParamsPC');
var loadChosen = phParams['loadChosen'];
var selectC = jQuery("#jform_country_phs");
var selectR = jQuery("#jform_region_phs");
var checked =
jQuery('#phCheckoutBillingSameAsShipping').prop('checked');
if (checked) {
jQuery(".phShippingFormFields").prop("readonly",
true);
selectC.attr("disabled", "disabled");
selectR.attr("disabled", "disabled");
jQuery(".phShippingFormFieldsRequired").removeAttr('aria-required');
jQuery(".phShippingFormFieldsRequired").removeAttr('required');
if (loadChosen > 0) {
jQuery(".phShippingFormFieldsRequired").trigger("chosen:updated");
jQuery(".phShippingFormFields").trigger("chosen:updated");
}
} else {
jQuery(".phShippingFormFieldsRequired").prop('aria-required',
'true');
jQuery(".phShippingFormFieldsRequired").prop('required',
'true');
jQuery(".phShippingFormFields").removeAttr('readonly');
selectC.removeAttr("disabled");
selectR.removeAttr("disabled");
if (loadChosen > 0) {
jQuery(".phShippingFormFieldsRequired").trigger("chosen:updated");
jQuery(".phShippingFormFields").trigger("chosen:updated");
}
}
}
function phRenderBillingAndShippingSame() {
phDisableRequirement();
jQuery("#phCheckoutBillingSameAsShipping").on('click',
function() {
phDisableRequirement();
})
}
// Events
function phEventChangeFormPagination(sForm, sItem) {
var phVars = Joomla.getOptions('phVarsPC');
var phParams = Joomla.getOptions('phParamsPC');
var phA = 1;// Full Overlay Yes
// If pagination changes on top (ordering or display num then the bottom
pagination is reloaded by ajax
// But if bottom pagination changes, the top pagination is not reloaded
// so we need to copy the bottom values from ordering and display num
selectbox
// and set it to top
// top id: itemorderingtop, limittop
// bottom id: itemordering, limit
var phSelectBoxVal = jQuery(sItem).val();
var phSelectBoxId = "#" + jQuery(sItem).attr("id") +
"top";
jQuery(phSelectBoxId).val(phSelectBoxVal);
var formName = jQuery(sForm).attr("name");
if (phParams['ajaxPaginationCategory'] == 1 ||
phVars['isPOS'] == 1) {
// Everything is AJAX - pagination top even pagination bottom
var phUrl = window.location.href;
phRenderPage(jQuery(sForm).serialize(), phUrl);
} else {
// Only top pagination is ajax, bottom pagination is not ajax start prev
1 2 3 next end
if (formName == "phitemstopboxform") {// AJAX - Top pagination
always ajax
var phUrl = window.location.href;
phRenderPage(jQuery(sForm).serialize(), phUrl);
} else {
sForm.submit();// STANDARD
startFullOverlay(phA);
}
}
}
function phNumberFormat (number, decimals, decPoint, thousandsSep) {
number = (number + '').replace(/[^0-9+\-Ee.]/g, '')
var n = !isFinite(+number) ? 0 : +number
var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals)
var sep = (typeof thousandsSep === 'undefined') ? ','
: thousandsSep
var dec = (typeof decPoint === 'undefined') ? '.' :
decPoint
var s = ''
var toFixedFix = function (n, prec) {
var k = Math.pow(10, prec)
return '' + (Math.round(n * k) / k)
.toFixed(prec)
}
// @to do: for IE parseFloat(0.55).toFixed(0) = 0;
s = (prec ? toFixedFix(n, prec) : '' +
Math.round(n)).split('.')
if (s[0].length > 3) {
s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep)
}
if ((s[1] || '').length < prec) {
s[1] = s[1] || ''
s[1] += new Array(prec - s[1].length + 1).join('0')
}
return s.join(dec)
}
// ------
// Events
// ------
jQuery(document).ready(function(){
// ::EVENT (CLICK) Change Layout Type Clicking on Grid, Gridlist, List
jQuery(".phItemSwitchLayoutType").on('click', function
(e) {
var phDataL = jQuery(this).data("layouttype");// Get the right
button (list, grid, gridlist)
var sForm = jQuery(this).closest("form");// Find in which form
the right button was clicked
var sFormData = sForm.serialize() + "&layouttype=" +
phDataL;
jQuery(".phItemSwitchLayoutType").removeClass("active");
jQuery(".phItemSwitchLayoutType." +
phDataL).addClass("active");
var phUrl = window.location.href;
phRenderPage(sFormData, phUrl);
})
// ::EVENT (CLICK) Pagination - Clicking on Start Prev 1 2 3 Next End
jQuery(document).on('click', ".phPaginationBox .pagination
li a", function (e) {
var phVars = Joomla.getOptions('phVarsPC');
var phParams = Joomla.getOptions('phParamsPC');
if (phParams['ajaxPaginationCategory'] == 1 ||
phVars['isPOS'] == 1) {
var phUrl = jQuery(this).attr("href");
var sForm = jQuery(this).closest("form");// Find in which form
the right button was clicked
var sFormData = sForm.serialize();
phRenderPage(sFormData, phUrl);
// Don't set format for url bar (e.g. pagination uses ajax with raw
- such cannot be set in url bar)
// we use ajax and pagination for different views inside one view
(customers, products, orders) so we cannot set this parameter in url,
because of ajax
//if (phVars['isPOS'] == 1) {
phUrl = phRemoveUrlParameter("format", phUrl);
phUrl = phRemoveUrlParameter("start", phUrl);
//}
window.history.pushState("", "", phUrl);// change
url bar
e.preventDefault();
}
})
phRenderBillingAndShippingSame();
})PKഎ[-��'))phoca/phocacart.min.jsnu�[���function
phRemoveUrlParameter(e,a){var
r=a.split("?")[0],t=[],a=-1!==a.indexOf("?")?a.split("?")[1]:"";if(""!==a){for(var
i=(t=a.split("&")).length-1;0<=i;--i)paramV=t[i].split("=")[0],paramV===e&&t.splice(i,1);r=r+"?"+t.join("&")}return
r}function startOverlay(e){jQuery('<div
id="phOverlayDiv"><div id="phLoaderFull">
</div></div>').appendTo(e),jQuery("#phOverlayDiv").fadeIn().css("display","block")}function
startFullOverlay(e){2==e||(jQuery('<div
id="phOverlay"><div id="phLoaderFull">
</div></div>').appendTo(document.body),jQuery("#phOverlay").fadeIn().css("display","block"))}function
stopOverlay(){jQuery("#phOverlay").fadeIn().css("display","none")}function
phRemoveParamFromUrl(e,a){var
r=a.split("?")[0],t=[],a=-1!==a.indexOf("?")?a.split("?")[1]:"";if(""!==a){for(var
i=(t=a.split("&")).length-1;0<=i;--i)t[i].split("=")[0]===e&&t.splice(i,1);r=r+"?"+t.join("&")}return
r}function phUpdatePageAndParts(e,a){var
r,t=Joomla.getOptions("phVarsPC"),i=Joomla.getOptions("phParamsModPhocacartSearch"),o="/";"undefined"!=t.basePath&&""!=t.basePath||(o=""),""==e?window.history.pushState({},"",location.pathname):window.history.pushState({},"",e),r=""!=e?(r=phRemoveParamFromUrl("format",e),e+"&format=raw"):"?format=raw";var
n=phRemoveParamFromUrl("option",r),n=phRemoveParamFromUrl("view",n);n=(n=phRemoveParamFromUrl("module",n)).substring(n.indexOf("?")+1);e=t.basePath+o+"index.php?option=com_ajax&module=phocacart_search",o=t.basePath+o+"index.php?option=com_ajax&module=phocacart_filter";0==n.indexOf("?")?(e=e+"&"+n.substr(1),o=o+"&"+n.substr(1)):0==n.indexOf("&")?(e+=n,o+=n):(e=e+"&"+n,o=o+"&"+n),void
0!==i&&1==t.mod_phocacart_search&&1==i.displayActiveParameters&&phRenderPagePart({},"phSearchActiveTags",e),void
0!==t&&1==t.mod_phocacart_filter&&2==a&&phRenderPagePart({},"phFilterBox",o),phRenderPage({},r)}function
phRenderPage(e,a){var
r=Joomla.getOptions("phVarsPC"),t=Joomla.getOptions("phParamsPC"),i="#"+r.renderPageOutput,o=r.renderPageUrl,n=r.isPOS,p=t.loadChosen;return
startOverlay(i),o=void
0!==a?a:o,phRequest=jQuery.ajax({type:"POST",url:o,async:!0,cache:"false",data:e,dataType:"HTML",success:function(e){jQuery(i).html(e),1==n&&phPosManagePage(),1==p&&jQuery("select").chosen("destroy").chosen({disable_search_threshold:10,allow_single_deselect:!0}),"function"==typeof
phChangeAttributeType&&phChangeAttributeType(),"undefined"!=typeof
phLazyLoadInstance&&phLazyLoadInstance&&phLazyLoadInstance.update(),stopOverlay()}}),!1}function
phRenderPagePart(e,a,r){phRequest=jQuery.ajax({type:"POST",url:r,async:!0,cache:"false",data:e,dataType:"HTML",success:function(e){a="#"+a,jQuery(a).html(e)}})}function
phDisableRequirement(){var
e=Joomla.getOptions("phParamsPC").loadChosen,a=jQuery("#jform_country_phs"),r=jQuery("#jform_region_phs");jQuery("#phCheckoutBillingSameAsShipping").prop("checked")?(jQuery(".phShippingFormFields").prop("readonly",!0),a.attr("disabled","disabled"),r.attr("disabled","disabled"),jQuery(".phShippingFormFieldsRequired").removeAttr("aria-required"),jQuery(".phShippingFormFieldsRequired").removeAttr("required")):(jQuery(".phShippingFormFieldsRequired").prop("aria-required","true"),jQuery(".phShippingFormFieldsRequired").prop("required","true"),jQuery(".phShippingFormFields").removeAttr("readonly"),a.removeAttr("disabled"),r.removeAttr("disabled")),0<e&&(jQuery(".phShippingFormFieldsRequired").trigger("chosen:updated"),jQuery(".phShippingFormFields").trigger("chosen:updated"))}function
phRenderBillingAndShippingSame(){phDisableRequirement(),jQuery("#phCheckoutBillingSameAsShipping").on("click",function(){phDisableRequirement()})}function
phEventChangeFormPagination(e,a){var
r=Joomla.getOptions("phVarsPC"),t=Joomla.getOptions("phParamsPC"),i=jQuery(a).val(),a="#"+jQuery(a).attr("id")+"top";jQuery(a).val(i);i=jQuery(e).attr("name");1==t.ajaxPaginationCategory||1==r.isPOS||"phitemstopboxform"==i?(i=window.location.href,phRenderPage(jQuery(e).serialize(),i)):(e.submit(),startFullOverlay(1))}function
phNumberFormat(e,a,r,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var
i,o,n,p=isFinite(+e)?+e:0,e=isFinite(+a)?Math.abs(a):0,a=void
0===t?",":t,t=void 0===r?".":r,r="";return
3<(r=(e?(i=p,o=e,n=Math.pow(10,o),""+(Math.round(i*n)/n).toFixed(o)):""+Math.round(p)).split("."))[0].length&&(r[0]=r[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(r[1]||"").length<e&&(r[1]=r[1]||"",r[1]+=new
Array(e-r[1].length+1).join("0")),r.join(t)}jQuery(document).ready(function(){jQuery(".phItemSwitchLayoutType").on("click",function(e){var
a=jQuery(this).data("layouttype"),r=jQuery(this).closest("form").serialize()+"&layouttype="+a;jQuery(".phItemSwitchLayoutType").removeClass("active"),jQuery(".phItemSwitchLayoutType."+a).addClass("active"),phRenderPage(r,window.location.href)}),jQuery(document).on("click",".phPaginationBox
.pagination li a",function(e){var
a=Joomla.getOptions("phVarsPC");1!=Joomla.getOptions("phParamsPC").ajaxPaginationCategory&&1!=a.isPOS||(a=jQuery(this).attr("href"),phRenderPage(jQuery(this).closest("form").serialize(),a),a=phRemoveUrlParameter("format",a),a=phRemoveUrlParameter("start",a),window.history.pushState("","",a),e.preventDefault())}),phRenderBillingAndShippingSame()});PKഎ[]�u�F�Fphoca/phocafilter.jsnu�[���/*
@package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
var phFilterNewUrlSet = '';
var phFilterNewUrlRemove = '';
var phFilterNewUrlSetPreviousParamWaiting = 0;
var phFilterNewUrlRemovePreviousParamWaiting = 0;
function phReplaceAll(find, replace, str) {
return str.replace(new RegExp(find, 'gi'), replace);
}
function phEscapeRegExp(string) {
return string.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,
"\\$1");
}
function phReplaceAll(find, replace, string) {
return string.replace(new RegExp(phEscapeRegExp(find), 'g'),
replace);
}
function phEncode(string) {
var s;
s = encodeURIComponent(string);
s = phReplaceAll('%5B', '[', s);
s = phReplaceAll('%5D', ']', s);
s = phReplaceAll('%2C', ',', s);
s = phReplaceAll('%3A', ':', s);
return s;
}
function phArrayToString(a) {
var s;
s = phReplaceAll('[', '(', a);
s = phReplaceAll(']', ')', s);
//s = phReplaceAll('%5B', '(', s);
//s = phReplaceAll('%5D', ')', s);
return s;
}
function phStringToArray(a) {
var s;
s = phReplaceAll('(', '[', a);
s = phReplaceAll(')', ']', s);
return s;
}
function phCleanArray(actual){
//var newArray = new Array();
var newArray = [];
for(var i = 0; i <actual.length; i++){
if (actual[i]){
newArray.push(actual[i]);
}
}
return newArray;
}
function phCleanEmptyParams(url) {
return url.replace(/&?[^&?]+=(?=(?:&|$))/g, '');
}
function phCleanAloneQuestionMark(url) {
if (url == '?&') {
url = '?';
}
if (url == '?') {
url = '';
}
return url;
}
function phFilterValue(value) {
var v;
v = phReplaceAll('<', '', value);
v = phReplaceAll('>', '', v);
return v;
}
/*
function phSetUrl(url) {
var urlItemsView= url;
var urlPathName = location.pathname;
var urlSearch = location.search;
var urlPage = urlPathName + urlSearch;
}
*/
function phRemoveFilter(param, value, isItemsView, urlItemsView,
filteredProductsOnly, uniqueValue, wait, source) {
var phParams = Joomla.getOptions('phParamsPC');
/*
* If there is empty phFilterNewUrlRemove, this means:
* a) there were no previous parameter which is waiting or
* b) there were previous parameter which is waiting but previous
parameter deleted the url
* so it looks like the previous parameter does not exists (but it
exists)
*/
/* Array -> String */
param = phArrayToString(param);
var queryString = jQuery.param.querystring();
queryString = phArrayToString(queryString);
var paramsAll;
if (phFilterNewUrlRemove !== '' ||
phFilterNewUrlRemovePreviousParamWaiting == 1) {
paramsAll = jQuery.deparam.querystring(phFilterNewUrlRemove);
} else {
paramsAll = jQuery.deparam.querystring(queryString);
}
var paramsTypeStringNew = {};
var mergeMode = 0;
/* Handle pagination - when changing filter, set pagination to zero - to
start */
if (typeof paramsAll['start'] !== 'undefined') {
paramsTypeStringNew['start'] = 0;
}
if (typeof paramsAll['limitstart'] !== 'undefined') {
paramsTypeStringNew['limitstart'] = 0;
}
if (uniqueValue == 1) {
delete paramsAll[param];
paramsTypeStringNew = paramsAll;
mergeMode = 2;
} else if (typeof paramsAll[param] !== 'undefined') {
var paramsTypeString = paramsAll[param];
var paramsTypeArray = paramsTypeString.split(',');
paramsTypeArray = phCleanArray(paramsTypeArray);
var findVal = paramsTypeArray.indexOf(value);
if ( findVal === -1 ){
// Value to remove is not there
} else {
// Value to remove is there
var index = paramsTypeArray.indexOf(value);
if (index > -1) {
paramsTypeArray.splice(index, 1);
}
paramsTypeString = paramsTypeArray.join();
if (paramsTypeString) {
paramsTypeStringNew[param] = paramsTypeString;
} else {
delete paramsAll[param];
paramsTypeStringNew = paramsAll;
mergeMode = 2;
}
}
} else {
delete paramsAll[param];
paramsTypeStringNew = paramsAll;
mergeMode = 2;
}
/*var url;
if (filteredProductsOnly == 1) {
url = location.search;
} else {
url = urlItemsView;// It is possible to deselect category in
category/item view
document.location = url;
return 1;
//return 2; // Not possible to deselect in other than items view
//return false;
}*/
/*
if ((isItemsView == 1 && filteredProductsOnly != 1) || isItemsView
!= 1) {
url = urlItemsView;// skip all parameters (a) search all products in
items view or b) no items view
} else {
url = location.search;// complete url with selected parameters
}*/
var url;
if ((isItemsView == 1 && filteredProductsOnly != 1) || isItemsView
!= 1) {
url = urlItemsView;// skip all parameters (a) search all products in
items view or b) no items view
document.location = url;
return 1;
} else {
url = location.search;// complete url with selected parameters
}
// Set new url or take the one from previous parameter
if (phFilterNewUrlRemove !== '' ||
phFilterNewUrlRemovePreviousParamWaiting == 1) {
url = phFilterNewUrlRemove;
}
/* Array -> String */
url = phArrayToString(url);
phFilterNewUrlRemove = jQuery.param.querystring( url,
paramsTypeStringNew, mergeMode);// one parameter only
phFilterNewUrlRemove = phReplaceAll('%2C', ',',
phFilterNewUrlRemove);
phFilterNewUrlRemove = phReplaceAll('%5B', '[',
phFilterNewUrlRemove);
phFilterNewUrlRemove = phReplaceAll('%5D', ']',
phFilterNewUrlRemove);
phFilterNewUrlRemove = phReplaceAll('%3A', ':',
phFilterNewUrlRemove);
/* String -> Array */
phFilterNewUrlRemove = phStringToArray(phFilterNewUrlRemove);
phFilterNewUrlRemove = phCleanAloneQuestionMark(phFilterNewUrlRemove);
// Wait for next parameter
if (wait == 1) {
// Don't reload, wait for other parameter
phFilterNewUrlRemovePreviousParamWaiting = 1;
if (isItemsView == 1 &&
phParams['ajaxSearchingFilteringItems'] == 1) {// and ajax
return 2;// don't run overlay
}
} else {
if (isItemsView == 1 &&
phParams['ajaxSearchingFilteringItems'] == 1) {
phUpdatePageAndParts(phFilterNewUrlRemove, source);// Update Main,
Search, Filter
phFilterNewUrlRemove = '';
phFilterNewUrlRemovePreviousParamWaiting = 0;
return 2;
} else {
//document.location = phFilterNewUrlSet;
document.location = phFilterNewUrlRemove;
}
phFilterNewUrlRemove = '';
}
return 1;
}
/*
* param: parameter name
* value: parameter value
* isItemsView: comes the request from itemsView (Ajax possible) or not
* urlItemsView: urlItemsView differently set by different parameters
* filteredProductsOnly: when searching - a) all products can be searched
or - b) only filtered products can be searched
a) c=1-category&search=search - c=1-category will be removed
from url to search all parameters
b) c=1-category&search=search - nothing will be removed from url
to search filtered parameters
* uniqueValue: c=1-category,c=2category is not unique value,
price_from=100 is unique value
* wait: wait for next parameter before reload and end the action (e.g.
price with two values)
* source: where the request comes, values: 1 filter, 2 search, 3 itemview
(specific case)
*/
function phSetFilter(param, value, isItemsView, urlItemsView,
filteredProductsOnly, uniqueValue, wait, source) {
var phParams = Joomla.getOptions('phParamsPC');
/*
* We need to differentiate:
* a) there is no parameter in the URL
* b) there is no parameter in the URL but it was here but we have removed
it previously
* as there is a wait function which handles e.g. two parameters at
once and if
* the first parameter will be removed we need to differentiate
between:
* a) url which was empty (no parameters) at the beginning
* b) url which had parameters but they were removed while working with
this function and waiting
*/
value = phFilterValue(value);
/* Array -> String */
param = phArrayToString(param);
var queryString = jQuery.param.querystring();
queryString = phArrayToString(queryString);
var paramsAll;
if (phFilterNewUrlSet !== '' ||
phFilterNewUrlSetPreviousParamWaiting == 1) {
phFilterNewUrlSet = phArrayToString(phFilterNewUrlSet);// wait back from
() to [] so it can be read by querystring
paramsAll = jQuery.deparam.querystring(phFilterNewUrlSet);
} else {
paramsAll = jQuery.deparam.querystring(queryString);
}
var paramsTypeStringNew = {};
var mergeMode = 0;
/* Handle pagination - when changing filter, set pagination to zero - to
start */
if (typeof paramsAll['start'] !== 'undefined') {
paramsTypeStringNew['start'] = 0;
}
if (typeof paramsAll['limitstart'] !== 'undefined') {
paramsTypeStringNew['limitstart'] = 0;
}
if (uniqueValue == 1) {
paramsTypeStringNew[param] = value;// { param:value};// unique value -
always overwrite old value
} else if (value === '') {
} else if (typeof paramsAll[param] !== 'undefined') {
var paramsTypeString = paramsAll[param];
var paramsTypeArray = paramsTypeString.split(',');
paramsTypeArray = phCleanArray(paramsTypeArray);
var findVal = paramsTypeArray.indexOf(value);
if ( findVal === -1 ){
// New value is not there - add it
paramsTypeArray.push(value);
paramsTypeString = paramsTypeArray.join();
paramsTypeStringNew[param] = paramsTypeString;//{
param:paramsTypeString};// Changed
} else {
// New value is there - don't change it
paramsTypeStringNew[param] = paramsTypeString;//{
param:paramsTypeString};// Unchanged
}
} else {
paramsTypeStringNew[param] = value;//{ param:value};
}
var url;
if ((isItemsView == 1 && filteredProductsOnly != 1) || isItemsView
!= 1) {
url = urlItemsView;// skip all parameters (a) search all products in
items view or b) no items view
} else {
url = location.search;// complete url with selected parameters
}
// Set new url or take the one from previous parameter
if (phFilterNewUrlSet !== '' ||
phFilterNewUrlSetPreviousParamWaiting == 1) {
url = phFilterNewUrlSet;
}
/* Array -> String */
url = phArrayToString(url);
phFilterNewUrlSet = jQuery.param.querystring( url, paramsTypeStringNew,
mergeMode);// one parameter only
phFilterNewUrlSet = phReplaceAll('%2C', ',',
phFilterNewUrlSet);
phFilterNewUrlSet = phReplaceAll('%2C', ',',
phFilterNewUrlSet);
phFilterNewUrlSet = phReplaceAll('%5B', '[',
phFilterNewUrlSet);
phFilterNewUrlSet = phReplaceAll('%5D', ']',
phFilterNewUrlSet);
phFilterNewUrlSet = phReplaceAll('%3A', ':',
phFilterNewUrlSet);
/* String -> Array */
phFilterNewUrlSet = phStringToArray(phFilterNewUrlSet);
phFilterNewUrlSet = phCleanEmptyParams(phFilterNewUrlSet);
phFilterNewUrlSet = phCleanAloneQuestionMark(phFilterNewUrlSet);
// Wait for next parameter
if (wait == 1) {
// Don't reload, wait for other parameter
phFilterNewUrlSetPreviousParamWaiting = 1;
if (isItemsView == 1 &&
phParams['ajaxSearchingFilteringItems'] == 1) {
return 2;// don't run overlay
}
} else {
if (isItemsView == 1 &&
phParams['ajaxSearchingFilteringItems'] == 1) {
phUpdatePageAndParts(phFilterNewUrlSet, source);// Update Main, Search,
Filter
phFilterNewUrlSet = '';
phFilterNewUrlSetPreviousParamWaiting = 0;
return 2;
} else {
document.location = phFilterNewUrlSet;
}
phFilterNewUrlSet = '';
}
return 1;
}
/* Function phChangeFilter */
function phChangeFilter(param, value, formAction, formType, uniqueValue,
wait, source) {
var phVars = Joomla.getOptions('phVarsModPhocacartFilter');
var phParams =
Joomla.getOptions('phParamsModPhocacartFilter');
var isItemsView = phVars['isItemsView'];
var isSef = phVars['isSef'];
var urlItemsView = phVars['urlItemsView'];
var urlItemsViewWithoutParams =
phVars['urlItemsViewWithoutParams'];
var phA = 1;
if (formType == 'itemview'){
// Specific case for item view (no filtering but setting unique url for
product with attributes)
if(value === undefined) {
value = '';
}
phA = phSetFilter(param, value, 1, 0, 1, uniqueValue, wait, source);
} else if (formType == "text") {
//value = phEncode(value);
if (formAction == 1) {
phA = phSetFilter(param, value, isItemsView, urlItemsView, 1,
uniqueValue, wait, source);
} else {
phA = phRemoveFilter(param, value, isItemsView, urlItemsView, 1,
uniqueValue, wait, source);
}
} else if (formType == "category") {
urlItemsView = urlItemsViewWithoutParams;
if (phParams['removeParametersCat'] == 1) {
document.location = urlItemsView;
} else {
var currentUrlParams = jQuery.param.querystring();
if (isItemsView == 1) {
if (isSef == 1) {
document.location = jQuery.param.querystring(urlItemsView,
currentUrlParams, 2);
} else {
phRemoveFilter(param, value, isItemsView, urlItemsView, 1,
uniqueValue, wait, source);
}
} else {
document.location = urlItemsView;
}
}
} else {
if (formAction.checked) {
phA = phSetFilter(param, value, isItemsView, urlItemsView, 1,
uniqueValue, wait, source);
} else {
phA = phRemoveFilter(param, value, isItemsView, urlItemsView, 1,
uniqueValue, wait, source);
}
}
startFullOverlay(phA);
}
/* Function phChangeSearch*/
function phChangeSearch(param, value, formAction) {
var phVars = Joomla.getOptions('phVarsModPhocacartSearch');
var phParams =
Joomla.getOptions('phParamsModPhocacartSearch');
var phVarsPC = Joomla.getOptions('phParamsPC');
var isItemsView = phVars['isItemsView'];
var urlItemsView = phVars['urlItemsView'];
var urlItemsViewWithoutParams =
phVars['urlItemsViewWithoutParams'];
var phA = 1;
var filteredProductsOnly = isItemsView;
if (formAction == 1) {
if (phParams['searchOptions'] == 1) {
//jQuery("#phSearchBoxSearchAllProducts:checked").val();
//jQuery("#phSearchBoxSearchAllProducts").attr("checked");
if(jQuery("#phSearchBoxSearchAllProducts:checked").length
> 0) {
urlItemsView = urlItemsViewWithoutParams;
filteredProductsOnly = 0; // When options are enabled and searching
is set to all - we search without filtering
}
} else {
filteredProductsOnly = 0;// When options are disabled we always search
without filtering
}
phA = phSetFilter(param, value, isItemsView, urlItemsView,
filteredProductsOnly, 1, 0, 2);
} else {
phA = phRemoveFilter(param, value, isItemsView, urlItemsView,
filteredProductsOnly, 1, 0, 2);
}
startFullOverlay(phA);
}
function phPriceFilterRange() {
var phVars = Joomla.getOptions('phParamsPC');
var phLang = Joomla.getOptions('phLangPC');
// Filter Range
if (typeof jQuery("#phPriceFilterRange").slider ===
"function") {
jQuery("#phPriceFilterRange").slider({
range: true,
min: phVars['filterPriceMin'],
max: phVars['filterPriceMax'],
values: [phVars['filterPriceFrom'],
phVars['filterPriceTo']],
slide: function( event, ui ) {
jQuery("#phPriceFromTopricefrom").val(ui.values[0]);
jQuery("#phPriceFromTopriceto").val(ui.values[1]);
jQuery("#phPriceFilterPrice").html("" +
phLang['COM_PHOCACART_PRICE'] + ": " +
phGetPriceFormat(ui.values[0]) + " - " +
phGetPriceFormat(ui.values[1]));
}
});
}
jQuery("#phPriceFilterPrice").html("" +
phLang['COM_PHOCACART_PRICE'] + ": " +
phGetPriceFormat(phVars['filterPriceFrom']) + " - " +
phGetPriceFormat(phVars['filterPriceTo']));
jQuery("#phPriceFromTopricefrom").on("change",
function (e) {
var from = jQuery("#phPriceFromTopricefrom").val();
var to = jQuery("#phPriceFromTopriceto").val();
if (to == '') { to = phVars['filterPriceMax'];}
if (from == '') { from = phVars['filterPriceMin'];}
if (Number(to) < Number(from)) {to =
from;jQuery("#phPriceFromTopriceto").val(to);}
if (typeof jQuery("#phPriceFilterRange").slider ===
"function") {
jQuery( "#phPriceFilterRange" ).slider({values: [from,to]});
}
jQuery("#phPriceFilterPrice").html("" +
phLang['COM_PHOCACART_PRICE'] + ": " +
phGetPriceFormat(from) + " - " + phGetPriceFormat(to));
})
jQuery("#phPriceFromTopriceto").on("change", function
(e) {
var from = jQuery("#phPriceFromTopricefrom").val();
var to = jQuery("#phPriceFromTopriceto").val();
if (to == '') { to = phVars['filterPriceMax'];}
if (from == '') { from = phVars['filterPriceMin'];}
if (Number(to) < Number(from)) {to =
from;jQuery("#phPriceFromTopriceto").val(to);}
if (typeof jQuery("#phPriceFilterRange").slider ===
"function") {
jQuery( "#phPriceFilterRange" ).slider({values: [from,to]});
}
jQuery("#phPriceFilterPrice").html("" +
phLang['COM_PHOCACART_PRICE'] + ": " +
phGetPriceFormat(from) + " - " + phGetPriceFormat(to));
})
}
function phClearField(field) {
jQuery(field).val('');
}
// ------
// Events
// ------
jQuery(document).ready(function () {
jQuery('.collapse')
.on('shown.bs.collapse', function() {
jQuery(this).parent().find(".glyphicon-triangle-right").removeClass("glyphicon-triangle-right").addClass("glyphicon-triangle-bottom");
jQuery(this).parent().find(".fa-caret-right").removeClass("fa-caret-right").addClass("fa-caret-down");
})
.on('hidden.bs.collapse', function() {
jQuery(this).parent().find(".glyphicon-triangle-bottom").removeClass("glyphicon-triangle-bottom").addClass("glyphicon-triangle-right");
jQuery(this).parent().find(".fa-caret-down").removeClass("fa-caret-down").addClass("fa-caret-right");
});
phPriceFilterRange ();
});
PKഎ[�ߤY��phoca/phocafilter.min.jsnu�[���var
phFilterNewUrlSet="",phFilterNewUrlRemove="",phFilterNewUrlSetPreviousParamWaiting=0,phFilterNewUrlRemovePreviousParamWaiting=0;function
phReplaceAll(e,r,t){return t.replace(new
RegExp(e,"gi"),r)}function phEscapeRegExp(e){return
e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}function
phReplaceAll(e,r,t){return t.replace(new
RegExp(phEscapeRegExp(e),"g"),r)}function
phEncode(e){e=encodeURIComponent(e);return
e=phReplaceAll("%5B","[",e),e=phReplaceAll("%5D","]",e),e=phReplaceAll("%2C",",",e),e=phReplaceAll("%3A",":",e)}function
phArrayToString(e){e=phReplaceAll("[","(",e);return
e=phReplaceAll("]",")",e)}function
phStringToArray(e){e=phReplaceAll("(","[",e);return
e=phReplaceAll(")","]",e)}function
phCleanArray(e){for(var
r=[],t=0;t<e.length;t++)e[t]&&r.push(e[t]);return r}function
phCleanEmptyParams(e){return
e.replace(/&?[^&?]+=(?=(?:&|$))/g,"")}function
phCleanAloneQuestionMark(e){return"?&"==e&&(e="?"),"?"==e&&(e=""),e}function
phFilterValue(e){e=phReplaceAll("<","",e);return
e=phReplaceAll(">","",e)}function
phRemoveFilter(e,r,t,i,l,a,p,o){var
n=Joomla.getOptions("phParamsPC");e=phArrayToString(e);var
h,c=phArrayToString(c=jQuery.param.querystring()),m=""!==phFilterNewUrlRemove||1==phFilterNewUrlRemovePreviousParamWaiting?jQuery.deparam.querystring(phFilterNewUrlRemove):jQuery.deparam.querystring(c),u={},s=0;if(void
0!==m.start&&(u.start=0),void
0!==m.limitstart&&(u.limitstart=0),1!=a&&void
0!==m[e]?-1===(a=phCleanArray(a=(c=m[e]).split(","))).indexOf(r)||(-1<(r=a.indexOf(r))&&a.splice(r,1),(c=a.join())?u[e]=c:(delete
m[e],u=m,s=2)):(delete m[e],u=m,s=2),1==t&&1!=l||1!=t)return
h=i,document.location=h,1;if(h=location.search,""===phFilterNewUrlRemove&&1!=phFilterNewUrlRemovePreviousParamWaiting||(h=phFilterNewUrlRemove),h=phArrayToString(h),phFilterNewUrlRemove=jQuery.param.querystring(h,u,s),phFilterNewUrlRemove=phReplaceAll("%2C",",",phFilterNewUrlRemove),phFilterNewUrlRemove=phReplaceAll("%5B","[",phFilterNewUrlRemove),phFilterNewUrlRemove=phReplaceAll("%5D","]",phFilterNewUrlRemove),phFilterNewUrlRemove=phCleanAloneQuestionMark(phFilterNewUrlRemove=phStringToArray(phFilterNewUrlRemove=phReplaceAll("%3A",":",phFilterNewUrlRemove))),1==p){if((phFilterNewUrlRemovePreviousParamWaiting=1)==t&&1==n.ajaxSearchingFilteringItems)return
2}else{if(1==t&&1==n.ajaxSearchingFilteringItems)return
phUpdatePageAndParts(phFilterNewUrlRemove,o),phFilterNewUrlRemove="",phFilterNewUrlRemovePreviousParamWaiting=0,2;document.location=phFilterNewUrlRemove,phFilterNewUrlRemove=""}return
1}function phSetFilter(e,r,t,i,l,a,p,o){var
n=Joomla.getOptions("phParamsPC");r=phFilterValue(r),e=phArrayToString(e);var
h=phArrayToString(h=jQuery.param.querystring()),c=""!==phFilterNewUrlSet||1==phFilterNewUrlSetPreviousParamWaiting?(phFilterNewUrlSet=phArrayToString(phFilterNewUrlSet),jQuery.deparam.querystring(phFilterNewUrlSet)):jQuery.deparam.querystring(h),h={};if(void
0!==c.start&&(h.start=0),void
0!==c.limitstart&&(h.limitstart=0),1==a?h[e]=r:""===r||(void
0!==c[e]?(-1===(c=phCleanArray(c=(a=c[e]).split(","))).indexOf(r)&&(c.push(r),a=c.join()),h[e]=a):h[e]=r),i=1==t&&1!=l||1!=t?i:location.search,""===phFilterNewUrlSet&&1!=phFilterNewUrlSetPreviousParamWaiting||(i=phFilterNewUrlSet),i=phArrayToString(i),phFilterNewUrlSet=jQuery.param.querystring(i,h,0),phFilterNewUrlSet=phReplaceAll("%2C",",",phFilterNewUrlSet),phFilterNewUrlSet=phReplaceAll("%2C",",",phFilterNewUrlSet),phFilterNewUrlSet=phReplaceAll("%5B","[",phFilterNewUrlSet),phFilterNewUrlSet=phReplaceAll("%5D","]",phFilterNewUrlSet),phFilterNewUrlSet=phCleanAloneQuestionMark(phFilterNewUrlSet=phCleanEmptyParams(phFilterNewUrlSet=phStringToArray(phFilterNewUrlSet=phReplaceAll("%3A",":",phFilterNewUrlSet)))),1==p){if((phFilterNewUrlSetPreviousParamWaiting=1)==t&&1==n.ajaxSearchingFilteringItems)return
2}else{if(1==t&&1==n.ajaxSearchingFilteringItems)return
phUpdatePageAndParts(phFilterNewUrlSet,o),phFilterNewUrlSet="",phFilterNewUrlSetPreviousParamWaiting=0,2;document.location=phFilterNewUrlSet,phFilterNewUrlSet=""}return
1}function phChangeFilter(e,r,t,i,l,a,p){var
o=Joomla.getOptions("phVarsModPhocacartFilter"),n=Joomla.getOptions("phParamsModPhocacartFilter"),h=o.isItemsView,c=o.isSef,m=o.urlItemsView,u=o.urlItemsViewWithoutParams,o=1;"itemview"==i?(void
0===r&&(r=""),o=phSetFilter(e,r,1,0,1,l,a,p)):"text"==i?o=(1==t?phSetFilter:phRemoveFilter)(e,r,h,m,1,l,a,p):"category"==i?(m=u,1==n.removeParametersCat?document.location=m:(n=jQuery.param.querystring(),1==h?1==c?document.location=jQuery.param.querystring(m,n,2):phRemoveFilter(e,r,h,m,1,l,a,p):document.location=m)):o=(t.checked?phSetFilter:phRemoveFilter)(e,r,h,m,1,l,a,p),startFullOverlay(o)}function
phChangeSearch(e,r,t){var
i=Joomla.getOptions("phVarsModPhocacartSearch"),l=Joomla.getOptions("phParamsModPhocacartSearch"),a=(Joomla.getOptions("phParamsPC"),i.isItemsView),p=i.urlItemsView,o=i.urlItemsViewWithoutParams,n=1,i=a,n=1==t?(1==l.searchOptions?0<jQuery("#phSearchBoxSearchAllProducts:checked").length&&(p=o,i=0):i=0,phSetFilter(e,r,a,p,i,1,0,2)):phRemoveFilter(e,r,a,p,i,1,0,2);startFullOverlay(n)}function
phPriceFilterRange(){var
i=Joomla.getOptions("phParamsPC"),l=Joomla.getOptions("phLangPC");"function"==typeof
jQuery("#phPriceFilterRange").slider&&jQuery("#phPriceFilterRange").slider({range:!0,min:i.filterPriceMin,max:i.filterPriceMax,values:[i.filterPriceFrom,i.filterPriceTo],slide:function(e,r){jQuery("#phPriceFromTopricefrom").val(r.values[0]),jQuery("#phPriceFromTopriceto").val(r.values[1]),jQuery("#phPriceFilterPrice").html(l.COM_PHOCACART_PRICE+":
"+phGetPriceFormat(r.values[0])+" -
"+phGetPriceFormat(r.values[1]))}}),jQuery("#phPriceFilterPrice").html(l.COM_PHOCACART_PRICE+":
"+phGetPriceFormat(i.filterPriceFrom)+" -
"+phGetPriceFormat(i.filterPriceTo)),jQuery("#phPriceFromTopricefrom").on("change",function(e){var
r=jQuery("#phPriceFromTopricefrom").val(),t=jQuery("#phPriceFromTopriceto").val();""==t&&(t=i.filterPriceMax),""==r&&(r=i.filterPriceMin),Number(t)<Number(r)&&(t=r,jQuery("#phPriceFromTopriceto").val(t)),"function"==typeof
jQuery("#phPriceFilterRange").slider&&jQuery("#phPriceFilterRange").slider({values:[r,t]}),jQuery("#phPriceFilterPrice").html(l.COM_PHOCACART_PRICE+":
"+phGetPriceFormat(r)+" -
"+phGetPriceFormat(t))}),jQuery("#phPriceFromTopriceto").on("change",function(e){var
r=jQuery("#phPriceFromTopricefrom").val(),t=jQuery("#phPriceFromTopriceto").val();""==t&&(t=i.filterPriceMax),""==r&&(r=i.filterPriceMin),Number(t)<Number(r)&&(t=r,jQuery("#phPriceFromTopriceto").val(t)),"function"==typeof
jQuery("#phPriceFilterRange").slider&&jQuery("#phPriceFilterRange").slider({values:[r,t]}),jQuery("#phPriceFilterPrice").html(l.COM_PHOCACART_PRICE+":
"+phGetPriceFormat(r)+" - "+phGetPriceFormat(t))})}function
phClearField(e){jQuery(e).val("")}jQuery(document).ready(function(){jQuery(".collapse").on("shown.bs.collapse",function(){jQuery(this).parent().find(".glyphicon-triangle-right").removeClass("glyphicon-triangle-right").addClass("glyphicon-triangle-bottom"),jQuery(this).parent().find(".fa-caret-right").removeClass("fa-caret-right").addClass("fa-caret-down")}).on("hidden.bs.collapse",function(){jQuery(this).parent().find(".glyphicon-triangle-bottom").removeClass("glyphicon-triangle-bottom").addClass("glyphicon-triangle-right"),jQuery(this).parent().find(".fa-caret-down").removeClass("fa-caret-down").addClass("fa-caret-right")}),phPriceFilterRange()});PKഎ[��/N/Nphoca/phocapos.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
/* Update parameter */
function phUpdateUrlParameter(param, value, urlChange) {
if (typeof urlChange !== "undefined") {
var url = urlChange;
var urlA = url.split("#");
var hash = ""
if(urlA.length > 1) { hash = urlA[1];}
} else {
var url = window.location.href;
var hash = location.hash;
}
url = url.replace(hash, '');
if (url.indexOf(param + "=") >= 0) {
var prefix = url.substring(0, url.indexOf(param));
var suffix = url.substring(url.indexOf(param));
suffix = suffix.substring(suffix.indexOf("=") + 1);
suffix = (suffix.indexOf("&") >= 0) ?
suffix.substring(suffix.indexOf("&")) : "";
url = prefix + param + "=" + value + suffix;
} else {
if (url.indexOf("?") < 0) {
url += "?" + param + "=" + value;
} else {
url += "&" + param + "=" + value;
}
}
url =
url.replace(/[^=&]+=(&|$)/g,"").replace(/&$/,"");//
remove all parameters with empty values
if (typeof urlChange !== "undefined") {
return (url + hash);
} else {
window.history.pushState(null, null, url + hash);
}
}
/* Update input box after change */
function phDoSubmitFormUpdateInputBox(sFormData, phUrlAjax) {
phRequest = jQuery.ajax({
type: "POST",
url: phUrlAjax,
async: true,
cache: "false",
data: sFormData,
dataType:"HTML",
success: function(data){
jQuery("#phPosInputBox").html(data);
}
})
return false;
}
/* Update categories box after change (users can have different access
rights for different categories, so when selecting user, categories must be
changed) */
function phDoSubmitFormUpdateCategoriesBox(sFormData, phUrlAjax) {
// Change categories only when customer changed
var page = jQuery("#phPosPaginationBox
input[name=page]").val();
if (page != "main.content.customers") {
return false;
}
phRequest = jQuery.ajax({
type: "POST",
url: phUrlAjax,
async: true,
cache: "false",
data: sFormData,
dataType:"HTML",
success: function(data){
jQuery("#phPosCategoriesBox").html(data);
}
})
return false;
}
/* Main content box can be variable: products/customers/payment/shippment
* Get info about current ticket id and page (page: products, customers,
payment, shipping)
*/
function phPosCurrentData(forcepage, format, id) {
var phVars = Joomla.getOptions('phVarsPC');
var phToken = phVars['token'];
if (typeof forcepage !== "undefined") {
var page = forcepage;
} else {
var page = jQuery("#phPosPaginationBox
input[name=page]").val();
}
if (typeof format !== "undefined") {
var formatSuffix = format;
} else {
var formatSuffix = "raw";
}
if (typeof id !== "undefined") {
var idSuffix = "&id="+id;
} else {
var idSuffix = "";
}
var ticketid = jQuery("#phPosPaginationBox
input[name=ticketid]").val();
var unitid = jQuery("#phPosPaginationBox
input[name=unitid]").val();
var sectionid = jQuery("#phPosPaginationBox
input[name=sectionid]").val();
var phData = "format=" + formatSuffix +
"&tmpl=component&page=" + page + idSuffix
+"&ticketid=" + ticketid + "&unitid=" + unitid
+ "§ionid=" + sectionid + "&" + phToken +
"=1";
return phData;
}
/*
* When chaning main page, clear all filters (e.g. going from product list
to customer list)
* Category - remove url parameters in url bar, then empty all checkboxes
* Search - remove url parameters in url bar, then empty search input field
*/
function phPosClearFilter() {
phUpdateUrlParameter("category", "");
jQuery("input.phPosCategoryCheckbox:checkbox:checked").prop("checked",
false);
jQuery("label.phCheckBoxCategory").removeClass("active");
phUpdateUrlParameter("search", "");
jQuery("#phPosSearch").val("");
}
/* Focus on form input if asked (sku, loyalty card, coupon, tendered
amount) */
function phPosManagePageFocus(page) {
var phParams = Joomla.getOptions('phParamsPC');
var posFocusInputFields = phParams['posFocusInputFields'];
if (posFocusInputFields == 1) {
if (page == "main.content.products") {
var hasFocusSearch =
jQuery("#phPosSearch").is(":focus");
if (!hasFocusSearch) {
jQuery("#phPosSku").focus();
}
} else if (page == "main.content.customers") {
var hasFocusSearch =
jQuery("#phPosSearch").is(":focus");
if (!hasFocusSearch) {
jQuery("#phPosCard").focus();
}
} else if (page == "main.content.paymentmethods") {
var hasFocusSearch =
jQuery("#phPosSearch").is(":focus");
if (!hasFocusSearch) {
jQuery("#phcoupon").focus();
}
} else if (page == "main.content.payment") {
jQuery("#phAmountTendered").focus();
}
} else {
return true;
}
}
/*
* Manage view after ajax request (hide or display different parts on site)
* 1) Hide categories for another views than products
* we use ajax and start parameter can be used for more items (products,
customers, orders) so we cannot leave it in url
* because if there are 100 products and 10 customers - switching to
customers per ajax will leave e.g. 50 which is will display zero results
* START IS SET ONLY WHEN CLICKING ON PAGINATION LINKS (see:
renderSubmitPaginationTopFor, it is removed directly by click)
*/
function phPosManagePage() {
var page = jQuery("#phPosPaginationBox input[name=page]").val();
if (page == "main.content.products") { // PRODUCTS
jQuery(".ph-pos-checkbox-box").show();
jQuery(".ph-pos-sku-product-box").show();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-search-box").show();
jQuery(".ph-pos-date-order-box").hide();
phPosManagePageFocus(page);// Focus on start
} else if (page == "main.content.customers") { // CUSTOMERS
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").show();
jQuery(".ph-pos-card-user-box").show();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").hide();
phPosManagePageFocus(page);// Focus on start
} else if (page == "main.content.order") {// ORDER
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").hide();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").hide();
} else if (page == "main.content.orders") { // ORDERS
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").hide();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").show();
} else if (page == "main.content.paymentmethods") { // PAYMENT
METHODS
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").hide();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").hide();
phPosManagePageFocus(page);// Focus on start
} else if (page == "main.content.payment") { // PAYMENT
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").hide();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").hide();
phPosManagePageFocus(page);// Focus on start
} else {
jQuery(".ph-pos-checkbox-box").hide();//categories
jQuery(".ph-pos-search-box").hide();
jQuery(".ph-pos-card-user-box").hide();
jQuery(".ph-pos-sku-product-box").hide();
jQuery(".ph-pos-date-order-box").hide();
}
}
/* When adding new parameter to url bar, check if ? is there to set ? or
& */
function phAddSuffixToUrl(action, suffix) {
return action + (action.indexOf('?') != -1 ? '&' :
'?') + suffix;
}
/* Edit something in main view and then reload cart, main page, input page
*/
function phAjaxEditPos(sFormData, phUrlAjax, forcepageSuccess,
forcepageError) {
var phUrl = phAddSuffixToUrl(window.location.href,
'format=raw');
var phDataInput = phPosCurrentData("main.input");
var phDataCats = phPosCurrentData("main.categories");
var phDataCart = phPosCurrentData("main.cart",
"json");
phRequest = jQuery.ajax({
type: "POST",
url: phUrlAjax,
async: true,
cache: "false",
data: sFormData,
dataType:"JSON",
success: function(data){
if (data.status == 1){
if (data.id !== "undefined") {
var id = data.id;
} else {
var id = "";
}
var phDataMain = phPosCurrentData(forcepageSuccess, "raw",
id);
phDoSubmitFormUpdateCategoriesBox(phDataCats, phUrl);// refresh
categories box (when chaning users, users can have different access to
categories)
phRenderPage(phDataMain, phUrl);// reload main box to default (list of
products)
phDoSubmitFormUpdateInputBox(phDataInput, phUrl);// refresh input box
phDoSubmitFormUpdateCart(phDataCart);// reload updated cart
jQuery(".ph-pos-message-box").html(data.message);
} else if (data.status == 0){
var phDataMain = phPosCurrentData(forcepageError);
phRenderPage(phDataMain, phUrl);// reload main box to default (list of
products)
phDoSubmitFormUpdateInputBox(phDataInput, phUrl);// refresh input box
phDoSubmitFormUpdateCart(phDataCart);// reload updated cart
jQuery(".ph-pos-message-box").html(data.error);
}
}
})
return false;
}
/*
* Search by key type - typing of charcters into the search field FIND
MEMBER FUNCTION
*
* Must be loaded:
* renderSubmitPaginationTopForm()
* changeUrlParameter()
* editPos()
*/
function phFindMember(typeValue) {
var phData = "search=" + typeValue + "&" +
phPosCurrentData();
phUpdateUrlParameter("search", typeValue);
var phUrl = phAddSuffixToUrl(window.location.href,
'format=raw');//get the url after update
phRenderPage(phData, phUrl);
jQuery(".ph-pos-message-box").html("");// clear
message box
}
/* POS Scroll cart */
function phScrollPosCart(phPosCart) {
if (jQuery("#ph-msg-ns").length > 0){
phPosCart.animate({scrollTop: 0}, 1500 );
} else {
var phPosCartHeight = phPosCart[0].scrollHeight;
phPosCart.animate({scrollTop: phPosCartHeight}, 1500 );
}
}
function phConfirm(submitForm, dataPost, txt) {
//var phLang = Joomla.getOptions('phLangPC');
//var phLangOk = phLang['COM_PHOCACART_OK'];
//var phLangCancel = phLang['COM_PHOCACART_CANCEL'];
jQuery("#phDialogConfirm .modal-body" ).html( txt );
jQuery('#phDialogConfirm').modal();
jQuery('#phDialogConfirm').modal({ keyboard: false });
jQuery('#phDialogConfirm').modal('show') ;
jQuery("#phDialogConfirmSave").on("click",
function(e){
phPosCloseTicketFormConfirmed = true;
if (submitForm != "") {
jQuery(submitForm).submit();
} else if (typeof dataPost !== "undefined" && dataPost
!= "") {
//phDoRequest(dataPost);
}
return true;
});
return false;
}
// ------
// Events
// ------
jQuery(document).ready(function(){
/* Declare it on start (event associated to phPosManagePage function) */
phPosManagePage();
/*
* Clear form input after submit - for example, if vendor add products per
* bar scanner, after scanning the field must be empty for new product scan
* PRODUCTS, LOYALTY CARD
*/
jQuery(document).on("submit","#phPosSkuProductForm",function(){
setTimeout(function(){
jQuery("#phPosSku").val("");
}, 100);
});
jQuery(document).on("submit","#phPosCardUserForm",function(){
setTimeout(function(){
jQuery("#phPosCard").val("");
}, 100);
});
/* Test Bootstrap JS libraries */
var phLang = Joomla.getOptions('phLangPC');
var phScriptsLoaded = document.getElementsByTagName("script");
var bMinJs = "bootstrap.min.js";
var bJs = "bootstrap.js";
var bJsCount = 0;
jQuery.each(phScriptsLoaded, function (k, v) {
var s = v.src;
var n = s.indexOf("?")
s = s.substring(0, n != -1 ? n : s.length);
var filename =
s.split('\\\\').pop().split('/').pop();
if (filename == bMinJs || filename == bJs) {
bJsCount++;
}
})
if (bJsCount > 1){
jQuery("#phPosWarningMsgBox").text(phLang['COM_PHOCACART_WARNING_BOOTSTRAP_JS_LOADED_MORE_THAN_ONCE']);
jQuery("#phPosWarningMsgBox").show();
}
/* Load main content by links - e.g. in input box we call list of
customers, payment methods or shipping methods */
jQuery(document).on("click", ".loadMainContent",
function (e) {
phPosClearFilter();
var phUrl = phAddSuffixToUrl(window.location.href,
'format=raw');
var sForm = jQuery(this).closest("form");// Find in which
form the right button was clicked
var sFormData = sForm.serialize();
phRenderPage(sFormData, phUrl);
jQuery(".ph-pos-message-box").html("");// clean
message box
e.preventDefault();
});
/* Edit something in content area (e.g. customer list is loaded in main
content and we change it) */
jQuery(document).on("click", ".editMainContent",
function (e) {
phPosClearFilter();
var phUrl = phAddSuffixToUrl(window.location.href,
'format=json');
var sForm = jQuery(this).closest("form");// Find in which
form the right button was clicked
var sFormData = sForm.serialize();
var phRedirectSuccess =
sForm.find('input[name="redirectsuccess"]').val();
var phRedirectError =
sForm.find('input[name="redirecterror"]').val();
phAjaxEditPos(sFormData, phUrl, phRedirectSuccess, phRedirectError);
jQuery(".ph-pos-message-box").html("");// clean
message box
e.preventDefault();
});
/*
* Unfortunately we have form without buttons so we need to run the form
without click too
* to not submit more forms at once we will use ID :-(
*/
jQuery(document).on("submit", "#phPosCardUserForm",
function (e) {
phPosClearFilter();
var phUrl = phAddSuffixToUrl(window.location.href,
'format=json');
var sForm = jQuery("#phPosCardUserForm");
var sFormData = sForm.serialize();
phAjaxEditPos(sFormData, phUrl, "main.content.products",
"main.content.products");
jQuery(".ph-pos-message-box").html("");// clean
message box
e.preventDefault();
});
jQuery(document).on("submit", "#phPosDateOrdersForm",
function (e) {
phPosClearFilter();
var phUrl = phAddSuffixToUrl(window.location.href,
'format=raw');
var sForm = jQuery("#phPosDateOrdersForm");
var sFormData = sForm.serialize();
phRenderPage(sFormData, phUrl);// reload main box to default (list of
products)
jQuery(".ph-pos-message-box").html("");// clean
message box
e.preventDefault();
});
/* Display warning when closing a ticket */
phPosCloseTicketFormConfirmed = false;
jQuery(document).on("submit", "#phPosCloseTicketForm",
function (e) {
var txt = jQuery(this).data("txt");
if(!phPosCloseTicketFormConfirmed) {
phConfirm("#phPosCloseTicketForm", "", txt);
e.preventDefault();
return false;
} else {
phPosCloseTicketFormConfirmed = false;// set back the variable
return true;
}
});
/*
* Get all checkboxes of categories which are active and add them to url
bar and filter the categories
*
* Must be loaded:
* renderSubmitPaginationTopForm()
* changeUrlParameter()
* editPos()
*
* Test checkbox
* components\com_phocacart\views\pos\tmpl\default_main_categories.php
* data-toggle="buttons" - changes the standard checkbox to
graphical checkbox
*
*/
jQuery(document).on("change", "#phPosCategoriesBox
.phPosCategoryCheckbox", function() {
var phParams = Joomla.getOptions('phParamsPC');
var posFilterCategory = phParams['posFilterCategory'];
if (posFilterCategory == 2) {
// Multiple categories can be displayed - can be active
var phA = [];
jQuery("input.phPosCategoryCheckbox:checkbox:checked").each(function
() {
phA.push(jQuery(this).val());
})
var cValue = phA.join(",");
} else {
// Only one category can be displayed
// Deselect all checkboxed except the one selected - can be active
var cValue = jQuery(this).val();
jQuery("input.phPosCategoryCheckbox:checkbox:checked").each(function
() {
if (cValue != jQuery(this).val() ) {
jQuery(this).prop("checked", false);
jQuery("label.phCheckBoxCategory").removeClass("active");
}
})
// Current checkbox was deselected
if (jQuery(this).prop("checked") == false) {
cValue = "";
};
}
var phData = "category=" + cValue + "&" +
phPosCurrentData();
phUpdateUrlParameter("category", cValue);// update URL bar
var phUrl = phAddSuffixToUrl(window.location.href,
'format=raw');// get the link after update of url bar
phRenderPage(phData, phUrl);
jQuery(".ph-pos-message-box").html("");// clear
message box
});
/*
* Search by key type - typing of charcters into the search field FIND
MEMBER KEYUP
*
* Must be loaded:
* renderSubmitPaginationTopForm()
* changeUrlParameter()
* editPos()
*/
var phThread = null;
jQuery('#phPosSearch').keyup(function() {
clearTimeout(phThread);
var $this = jQuery(this);
phThread = setTimeout(function(){phFindMember($this.val())}, 800);
});
/* Print to POS printer */
jQuery("#phPosContentBox").on("click",
".phOrderPrintBtn", function (e) {
var phVars = Joomla.getOptions('phVarsPC');
var phParams = Joomla.getOptions('phParamsPC');
var posServerPrint = phParams['posServerPrint'];
var phUrlAjax = phVars['urlOrder'];
var phOrder = jQuery(this).data("order");
var phType = jQuery(this).data("type");
var phOrderCurrent =
jQuery("#phPosOrderPrintBox").attr("data-order");//
data("order"); not working
var phTypeCurrent =
jQuery("#phPosOrderPrintBox").attr("data-type");//
data("type"); not working
// PC PRINT
if (phType == "-1") {// -1 type is print (1 order, 2 invoice, 3
delivery note, 4 receipt)
if (posServerPrint == 2 || posServerPrint == 3) {
// - 1 AND 4 PC PRINT FOR ALL DOCUMENTS EXCEPT 4 (Receipt) - Receipt
will be printend by SERVER PRINT
if (phTypeCurrent == "4") {
var phUrlAjaxPrint = phAddSuffixToUrl(phUrlAjax, "id=" +
phOrder + "&type=" + phTypeCurrent +
"&pos=1&printserver=1");
phRequestPrint = jQuery.ajax({
type: "GET",
url: phUrlAjaxPrint,
async: true,
cache: "false",
dataType:"HTML",
success: function(data){
jQuery(".ph-pos-message-box").html('<div>'
+ data + '</div>');
// jQuery("#phPosOrderPrintBox").attr("class",
phClass);// Add class to box of document - to differentiate documents
loaded by ajax
//
jQuery("#phPosOrderPrintBox").attr("data-type",
phType);// Add data type to box of document - so it can be read by print
function
// jQuery("#phPosOrderPrintBox").html(data);// Add the
document itself to the site
}
})
e.preventDefault();
return false;
// -1 PC PRINT
} else {
window.print(); return false;// print with javascript for all
documents except receipt (receipt is ready for server POS printers)
}
} else {
window.print(); return false;// print with javascript for all document
(including receipt)
}
}
var phClass = "phType" + phType;
var phUrlAjax = phAddSuffixToUrl(phUrlAjax, "id=" + phOrder +
"&type=" + phType + "&pos=1");
phRequest = jQuery.ajax({
type: "GET",
url: phUrlAjax,
async: true,
cache: "false",
dataType:"HTML",
success: function(data){
jQuery("#phPosOrderPrintBox").attr("class",
phClass);// Add class to box of document - to differentiate documents
loaded by ajax
jQuery("#phPosOrderPrintBox").attr("data-type",
phType);// Add data type to box of document - so it can be read by print
function
jQuery("#phPosOrderPrintBox").html(data);// Add the document
itself to the site
}
})
e.preventDefault();
})
/* EVENT - POS Scroll cart */
var phPosCart = jQuery('#phPosCart');
phScrollPosCart(phPosCart);// On start
phPosCart.on("DOMSubtreeModified", function(){// On modified
if (phPosCart.text() != '') {// this event runs twice - first
when jquery empty the object, second when it fills it again
phScrollPosCart(phPosCart);// run only on second when it fills the
object
}
});
})
PKഎ[��<N$$phoca/phocapos.min.jsnu�[���function
phUpdateUrlParameter(e,o,r){var t,a,n;if(void
0!==r?(a="",1<(n=(t=r).split("#")).length&&(a=n[1])):(t=window.location.href,a=location.hash),0<=(t=t.replace(a,"")).indexOf(e+"=")?t=t.substring(0,t.indexOf(e))+e+"="+o+(n=0<=(n=(n=t.substring(t.indexOf(e))).substring(n.indexOf("=")+1)).indexOf("&")?n.substring(n.indexOf("&")):""):t.indexOf("?")<0?t+="?"+e+"="+o:t+="&"+e+"="+o,t=t.replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""),void
0!==r)return t+a;window.history.pushState(null,null,t+a)}function
phDoSubmitFormUpdateInputBox(e,o){return
phRequest=jQuery.ajax({type:"POST",url:o,async:!0,cache:"false",data:e,dataType:"HTML",success:function(e){jQuery("#phPosInputBox").html(e)}}),!1}function
phDoSubmitFormUpdateCategoriesBox(e,o){return"main.content.customers"!=jQuery("#phPosPaginationBox
input[name=page]").val()||(phRequest=jQuery.ajax({type:"POST",url:o,async:!0,cache:"false",data:e,dataType:"HTML",success:function(e){jQuery("#phPosCategoriesBox").html(e)}})),!1}function
phPosCurrentData(e,o,r){var
t=Joomla.getOptions("phVarsPC").token;return"format="+(void
0!==o?o:"raw")+"&tmpl=component&page="+(void
0!==e?e:jQuery("#phPosPaginationBox
input[name=page]").val())+(void
0!==r?"&id="+r:"")+"&ticketid="+jQuery("#phPosPaginationBox
input[name=ticketid]").val()+"&unitid="+jQuery("#phPosPaginationBox
input[name=unitid]").val()+"§ionid="+jQuery("#phPosPaginationBox
input[name=sectionid]").val()+"&"+t+"=1"}function
phPosClearFilter(){phUpdateUrlParameter("category",""),jQuery("input.phPosCategoryCheckbox:checkbox:checked").prop("checked",!1),jQuery("label.phCheckBoxCategory").removeClass("active"),phUpdateUrlParameter("search",""),jQuery("#phPosSearch").val("")}function
phPosManagePageFocus(e){if(1!=Joomla.getOptions("phParamsPC").posFocusInputFields)return!0;"main.content.products"==e?jQuery("#phPosSearch").is(":focus")||jQuery("#phPosSku").focus():"main.content.customers"==e?jQuery("#phPosSearch").is(":focus")||jQuery("#phPosCard").focus():"main.content.paymentmethods"==e?jQuery("#phPosSearch").is(":focus")||jQuery("#phcoupon").focus():"main.content.payment"==e&&jQuery("#phAmountTendered").focus()}function
phPosManagePage(){var e=jQuery("#phPosPaginationBox
input[name=page]").val();"main.content.products"==e?(jQuery(".ph-pos-checkbox-box").show(),jQuery(".ph-pos-sku-product-box").show(),jQuery(".ph-pos-card-user-box").hide(),jQuery(".ph-pos-search-box").show(),jQuery(".ph-pos-date-order-box").hide(),phPosManagePageFocus(e)):"main.content.customers"==e?(jQuery(".ph-pos-checkbox-box").hide(),jQuery(".ph-pos-search-box").show(),jQuery(".ph-pos-card-user-box").show(),jQuery(".ph-pos-sku-product-box").hide(),jQuery(".ph-pos-date-order-box").hide(),phPosManagePageFocus(e)):"main.content.order"==e?(jQuery(".ph-pos-checkbox-box").hide(),jQuery(".ph-pos-search-box").hide(),jQuery(".ph-pos-card-user-box").hide(),jQuery(".ph-pos-sku-product-box").hide(),jQuery(".ph-pos-date-order-box").hide()):"main.content.orders"==e?(jQuery(".ph-pos-checkbox-box").hide(),jQuery(".ph-pos-search-box").hide(),jQuery(".ph-pos-card-user-box").hide(),jQuery(".ph-pos-sku-product-box").hide(),jQuery(".ph-pos-date-order-box").show()):"main.content.paymentmethods"==e||"main.content.payment"==e?(jQuery(".ph-pos-checkbox-box").hide(),jQuery(".ph-pos-search-box").hide(),jQuery(".ph-pos-card-user-box").hide(),jQuery(".ph-pos-sku-product-box").hide(),jQuery(".ph-pos-date-order-box").hide(),phPosManagePageFocus(e)):(jQuery(".ph-pos-checkbox-box").hide(),jQuery(".ph-pos-search-box").hide(),jQuery(".ph-pos-card-user-box").hide(),jQuery(".ph-pos-sku-product-box").hide(),jQuery(".ph-pos-date-order-box").hide())}function
phAddSuffixToUrl(e,o){return
e+(-1!=e.indexOf("?")?"&":"?")+o}function
phAjaxEditPos(e,o,r,t){var
a=phAddSuffixToUrl(window.location.href,"format=raw"),n=phPosCurrentData("main.input"),s=phPosCurrentData("main.categories"),p=phPosCurrentData("main.cart","json");return
phRequest=jQuery.ajax({type:"POST",url:o,async:!0,cache:"false",data:e,dataType:"JSON",success:function(e){var
o;1==e.status?(o="undefined"!==e.id?e.id:"",o=phPosCurrentData(r,"raw",o),phDoSubmitFormUpdateCategoriesBox(s,a),phRenderPage(o,a),phDoSubmitFormUpdateInputBox(n,a),phDoSubmitFormUpdateCart(p),jQuery(".ph-pos-message-box").html(e.message)):0==e.status&&(o=phPosCurrentData(t),phRenderPage(o,a),phDoSubmitFormUpdateInputBox(n,a),phDoSubmitFormUpdateCart(p),jQuery(".ph-pos-message-box").html(e.error))}}),!1}function
phFindMember(e){var
o="search="+e+"&"+phPosCurrentData();phUpdateUrlParameter("search",e);e=phAddSuffixToUrl(window.location.href,"format=raw");phRenderPage(o,e),jQuery(".ph-pos-message-box").html("")}function
phScrollPosCart(e){var
o;0<jQuery("#ph-msg-ns").length?e.animate({scrollTop:0},1500):(o=e[0].scrollHeight,e.animate({scrollTop:o},1500))}function
phConfirm(o,e,r){return jQuery("#phDialogConfirm
.modal-body").html(r),jQuery("#phDialogConfirm").modal(),jQuery("#phDialogConfirm").modal({keyboard:!1}),jQuery("#phDialogConfirm").modal("show"),jQuery("#phDialogConfirmSave").on("click",function(e){return
phPosCloseTicketFormConfirmed=!0,""!=o&&jQuery(o).submit(),!0}),!1}jQuery(document).ready(function(){phPosManagePage(),jQuery(document).on("submit","#phPosSkuProductForm",function(){setTimeout(function(){jQuery("#phPosSku").val("")},100)}),jQuery(document).on("submit","#phPosCardUserForm",function(){setTimeout(function(){jQuery("#phPosCard").val("")},100)});var
e=Joomla.getOptions("phLangPC"),o=document.getElementsByTagName("script"),t=0;jQuery.each(o,function(e,o){var
r=o.src,o=r.indexOf("?"),r=(r=r.substring(0,-1!=o?o:r.length)).split("\\\\").pop().split("/").pop();"bootstrap.min.js"!=r&&"bootstrap.js"!=r||t++}),1<t&&(jQuery("#phPosWarningMsgBox").text(e.COM_PHOCACART_WARNING_BOOTSTRAP_JS_LOADED_MORE_THAN_ONCE),jQuery("#phPosWarningMsgBox").show()),jQuery(document).on("click",".loadMainContent",function(e){phPosClearFilter();var
o=phAddSuffixToUrl(window.location.href,"format=raw"),r=jQuery(this).closest("form").serialize();phRenderPage(r,o),jQuery(".ph-pos-message-box").html(""),e.preventDefault()}),jQuery(document).on("click",".editMainContent",function(e){phPosClearFilter();var
o=phAddSuffixToUrl(window.location.href,"format=json"),r=jQuery(this).closest("form");phAjaxEditPos(r.serialize(),o,r.find('input[name="redirectsuccess"]').val(),r.find('input[name="redirecterror"]').val()),jQuery(".ph-pos-message-box").html(""),e.preventDefault()}),jQuery(document).on("submit","#phPosCardUserForm",function(e){phPosClearFilter();var
o=phAddSuffixToUrl(window.location.href,"format=json");phAjaxEditPos(jQuery("#phPosCardUserForm").serialize(),o,"main.content.products","main.content.products"),jQuery(".ph-pos-message-box").html(""),e.preventDefault()}),jQuery(document).on("submit","#phPosDateOrdersForm",function(e){phPosClearFilter();var
o=phAddSuffixToUrl(window.location.href,"format=raw"),r=jQuery("#phPosDateOrdersForm").serialize();phRenderPage(r,o),jQuery(".ph-pos-message-box").html(""),e.preventDefault()}),phPosCloseTicketFormConfirmed=!1,jQuery(document).on("submit","#phPosCloseTicketForm",function(e){var
o=jQuery(this).data("txt");return
phPosCloseTicketFormConfirmed?!(phPosCloseTicketFormConfirmed=!1):(phConfirm("#phPosCloseTicketForm","",o),e.preventDefault(),!1)}),jQuery(document).on("change","#phPosCategoriesBox
.phPosCategoryCheckbox",function(){var
e,o;2==Joomla.getOptions("phParamsPC").posFilterCategory?(e=[],jQuery("input.phPosCategoryCheckbox:checkbox:checked").each(function(){e.push(jQuery(this).val())}),o=e.join(",")):(o=jQuery(this).val(),jQuery("input.phPosCategoryCheckbox:checkbox:checked").each(function(){o!=jQuery(this).val()&&(jQuery(this).prop("checked",!1),jQuery("label.phCheckBoxCategory").removeClass("active"))}),0==jQuery(this).prop("checked")&&(o=""));var
r="category="+o+"&"+phPosCurrentData();phUpdateUrlParameter("category",o);var
t=phAddSuffixToUrl(window.location.href,"format=raw");phRenderPage(r,t),jQuery(".ph-pos-message-box").html("")});var
r=null;jQuery("#phPosSearch").keyup(function(){clearTimeout(r);var
e=jQuery(this);r=setTimeout(function(){phFindMember(e.val())},800)}),jQuery("#phPosContentBox").on("click",".phOrderPrintBtn",function(e){var
o=Joomla.getOptions("phVarsPC"),r=Joomla.getOptions("phParamsPC").posServerPrint,t=o.urlOrder,a=jQuery(this).data("order"),n=jQuery(this).data("type"),o=(jQuery("#phPosOrderPrintBox").attr("data-order"),jQuery("#phPosOrderPrintBox").attr("data-type"));if("-1"==n){if(2!=r&&3!=r)return
window.print(),!1;if("4"!=o)return
window.print(),!1;o=phAddSuffixToUrl(t,"id="+a+"&type="+o+"&pos=1&printserver=1");return
phRequestPrint=jQuery.ajax({type:"GET",url:o,async:!0,cache:"false",dataType:"HTML",success:function(e){jQuery(".ph-pos-message-box").html("<div>"+e+"</div>")}}),e.preventDefault(),!1}var
s="phType"+n,t=phAddSuffixToUrl(t,"id="+a+"&type="+n+"&pos=1");phRequest=jQuery.ajax({type:"GET",url:t,async:!0,cache:"false",dataType:"HTML",success:function(e){jQuery("#phPosOrderPrintBox").attr("class",s),jQuery("#phPosOrderPrintBox").attr("data-type",n),jQuery("#phPosOrderPrintBox").html(e)}}),e.preventDefault()});var
a=jQuery("#phPosCart");phScrollPosCart(a),a.on("DOMSubtreeModified",function(){""!=a.text()&&phScrollPosCart(a)})});PKഎ[w��>�$�$phoca/phocarequest.jsnu�[���/*
* @package Phoca Cart
* @author Jan Pavelka - https://www.phoca.cz
* @copyright Copyright (C) Jan Pavelka https://www.phoca.cz
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
* @cms Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
function phAppendContainerRequest() {
if (jQuery('#phContainerRequest').length === 0) {
jQuery("body").append('<div
id="phContainerRequest"></div>');
}
else {
// phContainerRequest exists
}
}
/* All popups can share one the same container but Quick View can be
displayed together with another popup
* so it must have own container
*/
function phAppendContainerRequestQickView() {
if (jQuery('#phContainerRequestQuickView').length === 0) {
jQuery("body").append('<div
id="phContainerRequestQuickView"></div>');
}
else {
// phContainerRequest exists
}
}
function phDoRequestSuccess(data, options) {
if (options['type'] == 'cart') {
/* Add to cart, update cart */
jQuery(options['class']).html(data.item);
jQuery(options['class'] + "Count").html(data.count);
jQuery(options['class'] + "Total").html(data.total);
if (options['pos'] == 1) {
var phUrlPos = phAddSuffixToUrl(window.location.href,
'format=raw');
var phDataInput = phPosCurrentData("main.input");
phDoSubmitFormUpdateInputBox(phDataInput, phUrlPos);// refresh input box
jQuery(".ph-pos-message-box").html(data.message);// clear
message box
phPosManagePage();
}
if (options['method'] == 2) {
phAppendContainerRequest();
jQuery("#phContainerRequest").html(data.popup);
jQuery("#phAddToCartPopup").modal();
}
if (options['method'] == 1) {
// If no popup is displayed we can reload the page when we are in
specific view. If popup, this will be done when clicking continue
if (options['view'] == 1) {
startFullOverlay(1);
setTimeout(function() {location.reload();}, 1);
}
}
} else if (options['type'] == 'compare') {
/* Comparison Add, Remove */
jQuery(".phItemCompareBox").html(data.item);
jQuery(".phItemCompareBoxCount").html(data.count);
if (options['method'] == 2) {
phAppendContainerRequest();
jQuery("#phContainerRequest").html(data.popup);
if (options['task'] == "add") {
jQuery("#phAddToComparePopup").modal();
} else if (options['task'] == "remove") {
jQuery("#phRemoveFromComparePopup").modal();
}
}
if (options['method'] == 1) {
// If no popup is displayed we can reload the page when we are in
specific view. If popup, this will be done when clicking continue
if (options['view'] == 1) {
startFullOverlay(1);
setTimeout(function() {location.reload();}, 1);
}
}
} else if (options['type'] == 'wishlist') {
/* Wishlist Add, Remove */
jQuery(".phItemWishListBox").html(data.item);
jQuery(".phItemWishListBoxCount").html(data.count);
if (options['method'] == 2) {
phAppendContainerRequest();
jQuery("#phContainerRequest").html(data.popup);
if (options['task'] == "add") {
jQuery("#phAddToWishListPopup").modal();
} else if (options['task'] == "remove") {
jQuery("#phRemoveFromWishListPopup").modal();
}
}
if (options['method'] == 1) {
// If no popup is displayed we can reload the page when we are in
specific view. If popup, this will be done when clicking continue
if (options['view'] == 1) {
startFullOverlay(1);
setTimeout(function() {location.reload();}, 1);
}
}
} else if (options['type'] == 'quickview') {
/* Quick View */
jQuery(".phjItemQuick.phjProductAttribute").remove();// Clear
attributes from dom when ajax reload
//jQuery("body").append(jQuery("#phContainer"));
phAppendContainerRequestQickView();
jQuery("#phContainerRequestQuickView").html(data.popup);
//jQuery("#phContainer").html(data.popup);
//jQuery("body").append(jQuery("#phQuickViewPopup"));
jQuery("#phQuickViewPopup").modal();
if (options['load_chosen'] > 0) {
jQuery('select').chosen('destroy').chosen({disable_search_threshold
: 10,allow_single_deselect : true});
}
phChangeAttributeType('ItemQuick');
if (options['quantity_input_spinner'] > 0) {
jQuery("input[name='quantity']:visible").TouchSpin({
verticalbuttons: true,
verticalup: options["icon_spinner_verticalup"],
verticaldown: options["icon_spinner_verticaldown"]
})
}
} else if (options['type'] == 'changedata') {
/* Change Image */
if( data.item.image !== undefined && data.item.image !==
'' ) {
if (options['method_image'] == 2) {
var phProductImg = '.phjProductImage' +
options["id_item_name"];
var phProductSource = '.phjProductSource' +
options["id_item_name"];// Webp source
var phProductHref = '.phjProductHref' +
options["id_item_name"];
// New image found - change to new image
jQuery(phProductHref).attr('href', data.item.image);
jQuery(phProductImg).attr('src', data.item.image);
jQuery(phProductSource).attr('srcset',
data.item.image);//webp
}
}
/* Change Price */
if( data.item.price !== undefined ) {
jQuery(options["id_item_price"]).html(data.item.price);
// Change also Gift voucher if displayed
jQuery(options["id_item_price_gift"]).html(data.item.priceitems.bruttoformat);
}
/* Change ID (SKU, EAN, ...) */
if( data.item.id !== undefined ) {
jQuery(options["id_item_id"]).html(data.item.id);
}
if( data.item.stock !== undefined ) {
if (options['method_stock'] == 1) {
//if (data.item.stockvalue < 1) {
if (data.item.hideaddtocart == 1) {
//jQuery(phProductAddToCart).hide();';
jQuery(options["product_add_to_cart_item"]).css('visibility',
'hidden');
jQuery(options["product_add_to_cart_item_icon"]).css('display',
'none');
} else {
//jQuery(phProductAddToCart).show();';
jQuery(options["product_add_to_cart_item"]).css('visibility',
'visible');
jQuery(options["product_add_to_cart_item_icon"]).css('display',
'block');
}
}
jQuery(options["id_item_stock"]).html(data.item.stock);
}
} /*else if (options['type'] == 'changeprice') {
/* Change Price *//*
jQuery(options["id_item"]).html(data.item);
} else if (options['type'] == 'changeid') {
/* Change ID (SKU, EAN, ...) *//*
jQuery(options["id_item"]).html(data.item);
} else if (options['type'] == 'changestock') {
/* Change Stock *//*
if (options['method'] == 1) {
if (data.stock < 1) {
//jQuery(phProductAddToCart).hide();';
jQuery(options["product_add_to_cart_item"]).css('visibility',
'hidden');
jQuery(options["product_add_to_cart_item_icon"]).css('display',
'none');
} else {
//jQuery(phProductAddToCart).show();';
jQuery(options["product_add_to_cart_item"]).css('visibility',
'visible');
jQuery(options["product_add_to_cart_item_icon"]).css('display',
'block');
}
}
jQuery(options["id_item"]).html(data.item);
}*/
}
function phDoRequestError(data, options) {
if (options['type'] == 'cart') {
/* Add to cart, update cart */
if (options['pos'] == 1) {
jQuery(".ph-pos-message-box").html(data.error);// clear
message box
phPosManagePage();
}
if (options['method'] != 2) {
jQuery(".phItemCartBox").html(data.error);
}
if (options['method'] == 2) {
phAppendContainerRequest();
jQuery("#phContainerRequest").html(data.popup);
jQuery("#phAddToCartPopup").modal();
}
if (options['method'] == 1) {
// If no popup is displayed we can reload the page when we are in
specific view. If popup, this will be done when clicking continue
if (options['view'] == 1) {
startFullOverlay(1);
setTimeout(function() {location.reload();}, 1);
}
}
}
}
/*
* type ... compare
* view ... is compare view or not
* task ... add/remove
* method ... popup method: no ajax, ajax without popup, ajax with popup
* url ... ajax url
* data ... ajax data
*/
function phDoRequestMethods(url, data, options) {
phRequest = jQuery.ajax({
type: "POST",
url: url,
async: "false",
cache: "false",
data: data,
dataType:"JSON",
success: function(data){
if (data.status == 1){
phDoRequestSuccess(data, options);
} else if (data.status == 0){
phDoRequestError(data, options);
} else {
// No change
}
}
})
return false;
}
// ------
// Events
// ------
jQuery(document).ready(function(){
/* Add to cart, update cart */
// :: EVENT (SUBMIT) Item View
//jQuery(".phItemCartBoxForm").on(\'submit\', function
(e) {// Not working when form is added by ajax
jQuery(document).on("submit",
"form.phItemCartBoxForm", function (e) { // Works with forms
added by ajax
if (typeof phDoSubmitFormAddToCart === "function") {
e.preventDefault();
var sFormData = jQuery(this).serialize();
phDoSubmitFormAddToCart(sFormData);
}
})
/* Update cart only in POS */
// ::EVENT (CLICK) Change Layout Type Clicking on Grid, Gridlist, List
jQuery(document).on("click", "#ph-pc-pos-site
form.phItemCartUpdateBoxForm button", function (e) {
if (typeof phDoSubmitFormAddToCart === "function") {
e.preventDefault();
var sForm = jQuery(this).closest("form");// Find in which
form the right button was clicked
var phAction= jQuery(this).val();
var sFormData = sForm.serialize() + "&action=" + phAction;
phDoSubmitFormUpdateCart(sFormData);
}
})
})
PKഎ[�|
o\\phoca/phocarequest.min.jsnu�[���function
phAppendContainerRequest(){0===jQuery("#phContainerRequest").length&&jQuery("body").append('<div
id="phContainerRequest"></div>')}function
phAppendContainerRequestQickView(){0===jQuery("#phContainerRequestQuickView").length&&jQuery("body").append('<div
id="phContainerRequestQuickView"></div>')}function
phDoRequestSuccess(e,t){var
o,i,r;"cart"==t.type?(jQuery(t.class).html(e.item),jQuery(t.class+"Count").html(e.count),jQuery(t.class+"Total").html(e.total),1==t.pos&&(r=phAddSuffixToUrl(window.location.href,"format=raw"),i=phPosCurrentData("main.input"),phDoSubmitFormUpdateInputBox(i,r),jQuery(".ph-pos-message-box").html(e.message),phPosManagePage()),2==t.method&&(phAppendContainerRequest(),jQuery("#phContainerRequest").html(e.popup),jQuery("#phAddToCartPopup").modal()),1==t.method&&1==t.view&&(startFullOverlay(1),setTimeout(function(){location.reload()},1))):"compare"==t.type?(jQuery(".phItemCompareBox").html(e.item),jQuery(".phItemCompareBoxCount").html(e.count),2==t.method&&(phAppendContainerRequest(),jQuery("#phContainerRequest").html(e.popup),"add"==t.task?jQuery("#phAddToComparePopup").modal():"remove"==t.task&&jQuery("#phRemoveFromComparePopup").modal()),1==t.method&&1==t.view&&(startFullOverlay(1),setTimeout(function(){location.reload()},1))):"wishlist"==t.type?(jQuery(".phItemWishListBox").html(e.item),jQuery(".phItemWishListBoxCount").html(e.count),2==t.method&&(phAppendContainerRequest(),jQuery("#phContainerRequest").html(e.popup),"add"==t.task?jQuery("#phAddToWishListPopup").modal():"remove"==t.task&&jQuery("#phRemoveFromWishListPopup").modal()),1==t.method&&1==t.view&&(startFullOverlay(1),setTimeout(function(){location.reload()},1))):"quickview"==t.type?(jQuery(".phjItemQuick.phjProductAttribute").remove(),phAppendContainerRequestQickView(),jQuery("#phContainerRequestQuickView").html(e.popup),jQuery("#phQuickViewPopup").modal(),0<t.load_chosen&&jQuery("select").chosen("destroy").chosen({disable_search_threshold:10,allow_single_deselect:!0}),phChangeAttributeType("ItemQuick"),0<t.quantity_input_spinner&&jQuery("input[name='quantity']:visible").TouchSpin({verticalbuttons:!0,verticalup:t.icon_spinner_verticalup,verticaldown:t.icon_spinner_verticaldown})):"changedata"==t.type&&(void
0!==e.item.image&&""!==e.item.image&&2==t.method_image&&(o=".phjProductImage"+t.id_item_name,i=".phjProductSource"+t.id_item_name,r=".phjProductHref"+t.id_item_name,jQuery(r).attr("href",e.item.image),jQuery(o).attr("src",e.item.image),jQuery(i).attr("srcset",e.item.image)),void
0!==e.item.price&&(jQuery(t.id_item_price).html(e.item.price),jQuery(t.id_item_price_gift).html(e.item.priceitems.bruttoformat)),void
0!==e.item.id&&jQuery(t.id_item_id).html(e.item.id),void
0!==e.item.stock&&(1==t.method_stock&&(1==e.item.hideaddtocart?(jQuery(t.product_add_to_cart_item).css("visibility","hidden"),jQuery(t.product_add_to_cart_item_icon).css("display","none")):(jQuery(t.product_add_to_cart_item).css("visibility","visible"),jQuery(t.product_add_to_cart_item_icon).css("display","block"))),jQuery(t.id_item_stock).html(e.item.stock)))}function
phDoRequestError(e,t){"cart"==t.type&&(1==t.pos&&(jQuery(".ph-pos-message-box").html(e.error),phPosManagePage()),2!=t.method&&jQuery(".phItemCartBox").html(e.error),2==t.method&&(phAppendContainerRequest(),jQuery("#phContainerRequest").html(e.popup),jQuery("#phAddToCartPopup").modal()),1==t.method&&1==t.view&&(startFullOverlay(1),setTimeout(function(){location.reload()},1)))}function
phDoRequestMethods(e,t,o){return
phRequest=jQuery.ajax({type:"POST",url:e,async:"false",cache:"false",data:t,dataType:"JSON",success:function(e){1==e.status?phDoRequestSuccess(e,o):0==e.status&&phDoRequestError(e,o)}}),!1}jQuery(document).ready(function(){jQuery(document).on("submit","form.phItemCartBoxForm",function(e){"function"==typeof
phDoSubmitFormAddToCart&&(e.preventDefault(),e=jQuery(this).serialize(),phDoSubmitFormAddToCart(e))}),jQuery(document).on("click","#ph-pc-pos-site
form.phItemCartUpdateBoxForm button",function(e){var
t;"function"==typeof
phDoSubmitFormAddToCart&&(e.preventDefault(),t=jQuery(this).closest("form"),e=jQuery(this).val(),e=t.serialize()+"&action="+e,phDoSubmitFormUpdateCart(e))})});PKഎ[j��4LLplupload/i18n/cs.jsnu�[���//
.po file like language pack
plupload.addI18n({
'Select files' : 'Vyberte soubory',
'Add files to the upload queue and click the start button.' :
'Přidejte soubory do fronty a pak spusťte nahrávání.',
'Filename' : 'Název souboru',
'Status' : 'Status',
'Size' : 'Velikost',
'Add Files' : 'Přidat soubory',
'Stop current upload' : 'Zastavit nahrávání',
'Start uploading queue' : 'Spustit frontu
nahrávání',
'Drag files here.' : 'Sem přetáhněte soubory.',
'Start Upload': 'Spustit nahrávání',
'Uploaded %d/%d files': 'Nahráno %d/%d souborů'
});PKഎ[���ӧ�plupload/i18n/da.jsnu�[���// .po
file like language pack
plupload.addI18n({
'Select files' : 'Vælg filer',
'Add files to the upload queue and click the start button.' :
'Tilføj filer til køen, og tryk på start.',
'Filename' : 'Filnavn',
'Status' : 'Status',
'Size' : 'Størrelse',
'Add files' : 'Tilføj filer',
'Stop current upload' : 'Stop upload',
'Start uploading queue' : 'Start upload',
'Drag files here.' : 'Træk filer her.'
});PKഎ[��(//plupload/i18n/de.jsnu�[���// German
plupload.addI18n({
'Select files' : 'Dateien hochladen',
'Add files to the upload queue and click the start button.' :
'Dateien hinzufügen und auf \'Hochladen\'
klicken.',
'Filename' : 'Dateiname',
'Status' : 'Status',
'Size' : 'Größe',
'Add files' : 'Dateien', //
hinzufügen',
'Stop current upload' : 'Aktuelles Hochladen
stoppen',
'Start uploading queue' : 'Hochladen starten',
'Uploaded %d/%d files': '%d/%d Dateien sind
hochgeladen',
'N/A' : 'Nicht verfügbar',
'Drag files here.' : 'Ziehen Sie die Dateien hier
hin',
'File extension error.': 'Fehler bei Dateiendung',
'File size error.': 'Fehler bei
Dateigröße',
'Init error.': 'Initialisierungsfehler',
'HTTP Error.': 'HTTP-Fehler',
'Security error.': 'Sicherheitsfehler',
'Generic error.': 'Typischer Fehler',
'IO error.': 'Ein/Ausgabe-Fehler',
'Stop Upload': 'Hochladen stoppen',
'Start upload': 'Hochladen',
'%d files queued': '%d Dateien in der
Warteschlange'
});PKഎ[��2plupload/i18n/el.jsnu�[���// Greek
plupload.addI18n({
'Select files' : 'Επιλέξτε Αρχεία',
'Add files to the upload queue and click the start button.' :
'Προσθήκη αρχείων στην ουρά
μεταφόρτωσης',
'Filename' : 'Όνομα αρχείου',
'Status' : 'Κατάσταση',
'Size' : 'Μέγεθος',
'Add Files' : 'Προσθέστε αρχεία',
'Stop current upload' : 'Διακοπή
τρέχουσας μεταφόρτωσης',
'Start uploading queue' : 'Εκκίνηση
μεταφόρτωσης ουράς αρχείων',
'Drag files here.' : 'Σύρετε αρχεία
εδώ',
'Start Upload': 'Εκκίνηση
μεταφόρτωσης',
'Uploaded %d/%d files': 'Ανέβηκαν %d/%d
αρχεία'
});PKഎ[*�1*66plupload/i18n/es.jsnu�[���// Spanish
plupload.addI18n({
'Select files' : 'Elija archivos:',
'Add files to the upload queue and click the start button.' :
'Agregue archivos a la cola de subida y haga click en el boton de
iniciar.',
'Filename' : 'Nombre de archivo',
'Status' : 'Estado',
'Size' : 'Tamaño',
'Add files' : 'Agregue archivos',
'Stop current upload' : 'Detener subida actual',
'Start uploading queue' : 'Iniciar subida de cola',
'Uploaded %d/%d files': 'Subidos %d/%d archivos',
'N/A' : 'No disponible',
'Drag files here.' : 'Arrastre archivos
aquí',
'File extension error.': 'Error de extensión de
archivo.',
'File size error.': 'Error de tamaño de
archivo.',
'Init error.': 'Error de inicialización.',
'HTTP Error.': 'Error de HTTP.',
'Security error.': 'Error de seguridad.',
'Generic error.': 'Error genérico.',
'IO error.': 'Error de entrada/salida.',
'Stop Upload': 'Detener Subida.',
'Add Files': 'Agregar Archivos',
'Start Upload': 'Comenzar Subida.',
'%d files queued': '%d archivos en cola.'
});PKഎ[a6�d��plupload/i18n/et.jsnu�[���// Estonian
translation, et.js
plupload.addI18n({
'Select files' : 'Vali faile',
'Add files to the upload queue and click the start button.' :
'Lisa failid üleslaadimise järjekorda ja klõpsa alustamise
nupule.',
'Filename' : 'Failinimi',
'Status' : 'Olek',
'Size' : 'Suurus',
'Add files' : 'Lisa faile',
'Stop current upload' : 'Praeguse üleslaadimise
peatamine',
'Start uploading queue' : 'Järjekorras ootavate failide
üleslaadimise alustamine',
'Drag files here.' : 'Lohista failid siia.',
'Start upload' : 'Alusta üleslaadimist',
'Uploaded %d/%d files': 'Üles laaditud %d/%d',
'Stop upload': 'Peata üleslaadimine',
'Start upload': 'Alusta üleslaadimist',
'%d files queued': 'Järjekorras on %d faili',
'File: %s': 'Fail: %s',
'Close': 'Sulge',
'Using runtime: ': 'Kasutatakse varianti: ',
'File: %f, size: %s, max file size: %m': 'Fail: %f, suurus:
%s, suurim failisuurus: %m',
'Upload element accepts only %d file(s) at a time. Extra files were
stripped.': 'Üleslaadimise element saab vastu võtta ainult %d
faili ühe korraga. Ülejäänud failid jäetakse laadimata.',
'Upload URL might be wrong or doesn\'t exist':
'Üleslaadimise URL võib olla vale või seda pole',
'Error: File too large: ': 'Viga: fail on liiga suur:
',
'Error: Invalid file extension: ': 'Viga: sobimatu
faililaiend: ',
'File extension error.': 'Faililaiendi viga.',
'File size error.': 'Failisuuruse viga.',
'File count error.': 'Failide arvu viga.',
'Init error.': 'Lähtestamise viga.',
'HTTP Error.': 'HTTP ühenduse viga.',
'Security error.': 'Turvaviga.',
'Generic error.': 'Üldine viga.',
'IO error.': 'S/V (I/O) viga.'
});PKഎ[�oOOplupload/i18n/fa.jsnu�[���// Persian
plupload.addI18n({
'Select files' : 'انتخاب فایل',
'Add files to the upload queue and click the start button.' :
'اضافه کنید فایل ها را به صف آپلود و
دکمه شروع را کلیک کنید.',
'Filename' : 'نام فایل',
'Status' : 'وضعیت',
'Size' : 'سایز',
'Add Files' : 'افزودن فایل',
'Stop Upload' : 'توقف انتقال',
'Start Upload' : 'شروع انتقال',
'Add files' : 'افزودن فایل',
'Add files.' : 'افزودن فایل',
'Stop current upload' : 'توقف انتقال
جاری',
'Start uploading queue' : 'شروع صف
انتقال',
'Stop upload' : 'توقف انتقال',
'Start upload' : 'شروع انتقال',
'Uploaded %d/%d files': 'منتقل شد %d/%d از
فایلها',
'N/A' : 'N/A',
'Drag files here.' : 'بکشید فایل ها رو به
اینجا',
'File extension error.': 'خطا پیشوند
فایل',
'File size error.': 'خطای سایز فایل',
'File count error.': 'خطای تعداد فایل',
'Init error.': 'خطا در استارت
اسکریپت',
'HTTP Error.': 'HTTP خطای',
'Security error.': 'خطای امنیتی',
'Generic error.': 'خطای عمومی',
'IO error.': 'IO خطای',
'File: %s': ' فایل ها : %s',
'Close': 'بستن',
'%d files queued': '%d فایل در صف',
'Using runtime: ': 'استفاده میکنید از :
',
'File: %f, size: %s, max file size: %m': 'فایل: %f,
سایز: %s, بزرگترین سایز فایل: %m',
'Upload element accepts only %d file(s) at a time. Extra files were
stripped.': 'عنصر بارگذار فقط %d فایل رو در
یک زمان می پذیرد. سایر فایل ها مجرد از این
موضوع هستند.',
'Upload URL might be wrong or doesn\'t exist':
'آدرس آپلود اشتباه می باشد یا وجود
ندارد',
'Error: File too large: ': 'خطا: فایل حجیم
است :: ',
'Error: Invalid file extension: ': 'خطا پسوند
فایل معتبر نمی باشد : '
});
PKഎ[�r��ccplupload/i18n/fi.jsnu�[���// .fi file
like language pack
plupload.addI18n({
'Select files' : 'Valitse tiedostoja',
'Add files to the upload queue and click the start button.' :
'Lisää tiedostoja latausjonoon ja klikkaa aloita-nappia.',
'Filename' : 'Tiedostonimi',
'Status' : 'Tila',
'Size' : 'Koko',
'Add files' : 'Lisää tiedostoja',
'Stop current upload' : 'Pysäytä nykyinen lataus',
'Start uploading queue' : 'Aloita jonon lataus',
'Drag files here.' : 'Raahaa tiedostot tänne.',
'Start upload' : 'Aloita lataus',
'Uploaded %d/%d files': 'Ladattu %d/%d tiedostoa',
'Stop upload': 'Pysäytä lataus',
'Start upload': 'Aloita lataus',
'%d files queued': '%d tiedostoa jonossa',
'File: %s': 'Tiedosto: %s',
'Close': 'Sulje',
'Using runtime: ': 'Käytetään ajonaikaista: ',
'File: %f, size: %s, max file size: %m': 'Tiedosto: %f,
koko: %s, maksimi tiedostokoko: %m',
'Upload element accepts only %d file(s) at a time. Extra files were
stripped.': 'Latauselementti sallii ladata vain %d tiedosto(a)
kerrallaan. Ylimääräiset tiedostot ohitettiin.',
'Upload URL might be wrong or doesn\'t exist': 'Lataus
URL saattaa olla väärin tai ei ole olemassa',
'Error: File too large: ': 'Virhe: Tiedosto liian suuri:
',
'Error: Invalid file extension: ': 'Virhe: Kelpaamaton
tiedostopääte: ',
'File extension error.': 'Tiedostopäätevirhe.',
'File size error.': 'Tiedostokokovirhe.',
'File count error.': 'Tiedostolaskentavirhe.',
'Init error.': 'Init virhe.',
'HTTP Error.': 'HTTP virhe.',
'Security error.': 'Tietoturvavirhe.',
'Generic error.': 'Yleinen virhe.',
'IO error.': 'I/O virhe.'
});PKഎ[��R�TTplupload/i18n/fr-ca.jsnu�[���//
French-Canadian
plupload.addI18n({
'Select files' : 'Sélectionnez les fichiers',
'Add files to the upload queue and click the start button.' :
'Ajoutez des fichiers à la file d\'attente et appuyez sur le
bouton démarrer.',
'Filename' : 'Nom du fichier',
'Status' : 'Statut',
'Size' : 'Taille',
'Add files' : 'Ajouter Fichiers',
'Stop current upload' : 'Arrêter le téléversement
actuel',
'Start uploading queue' : 'Démarrer le
téléversement',
'Uploaded %d/%d files': '%d/%d fichiers envoyés',
'N/A' : 'Non applicable',
'Drag files here.' : 'Glisser-déposer les fichiers
ici',
'File extension error.': 'Erreur d\'extension de
fichier',
'File size error.': 'Erreur de taille de fichier',
'Init error.': 'Erreur d\'initialisation',
'HTTP Error.': 'Erreur HTTP',
'Security error.': 'Erreur de sécurité',
'Generic error.': 'Erreur commune',
'IO error.': 'Erreur E/S',
'Stop Upload': 'Arrêter le téléversement',
'Add Files': 'Ajouter des fichiers',
'Start upload': 'Démarrer le téléversement',
'%d files queued': '%d fichiers en attente',
'File: %s':'Fichier: %s',
'Close':'Fermer',
'Using runtime:':'Moteur logiciel:',
'File: %f, size: %s, max file size: %m':'Fichier: %f,
poids: %s, poids maximal: %m',
'Upload element accepts only %d file(s) at a time. Extra files
were stripped.':'La file accepte %d fichier(s) à la fois. Les
fichiers en trop sont ignorés',
'Upload URL might be wrong or doesn\'t
exist':'L\'URL de téléversement est erroné ou
inexistant',
'Error: File to large: ':'Fichier trop volumineux:
',
'Error: Invalid file extension: ':'Extension de fichier
invalide: ',
'File size error.':'Erreur de taile de fichier',
'File count error.':'Erreur de décompte des
fichiers'
});PKഎ[���TTplupload/i18n/fr.jsnu�[���// French
plupload.addI18n({
'Select files' : 'Sélectionnez les fichiers',
'Add files to the upload queue and click the start button.' :
'Ajoutez des fichiers à la file et appuyez sur le bouton
démarrer.',
'Filename' : 'Nom de fichier',
'Status' : 'Status',
'Size' : 'Taille',
'Add files' : 'Ajouter Fichiers',
'Stop current upload' : 'Arrêter l\'envoi en
cours',
'Start uploading queue' : 'Démarrer
l\'envoi',
'Uploaded %d/%d files': '%d/%d fichiers envoyés',
'N/A' : 'Non applicable',
'Drag files here.' : 'Déposer les fichiers ici.',
'File extension error.': 'Erreur extension
fichier',
'File size error.': 'Erreur taille fichier.',
'Init error.': 'Erreur d\'initialisation.',
'HTTP Error.': 'Erreur HTTP.',
'Security error.': 'Erreur de sécurité.',
'Generic error.': 'Erreur générique.',
'IO error.': 'Erreur E/S.',
'Stop Upload': 'Arrêter les envois.',
'Add Files': 'Ajouter des fichiers',
'Start Upload': 'Démarrer les envois.',
'%d files queued': '%d fichiers en attente.'
});PKഎ[�qpplupload/i18n/hr.jsnu�[���// Croatian
plupload.addI18n({
'Select files': 'Izaberite datoteke:',
'Add files to the upload queue and click the start button.':
'Dodajte datoteke u listu i kliknite Upload.',
'Filename': 'Ime datoteke',
'Status': 'Status',
'Size': 'Veličina',
'Add files': 'Dodajte datoteke',
'Stop current upload': 'Zaustavi trenutan upload',
'Start uploading queue': 'Pokreni Upload',
'Uploaded %d/%d files': 'Uploadano %d/%d
datoteka',
'N/A': 'N/A',
'Drag files here.': 'Dovucite datoteke ovdje',
'File extension error.': 'Greška ekstenzije
datoteke.',
'File size error.': 'Greška veličine datoteke.',
'Init error.': 'Greška inicijalizacije.',
'HTTP Error.': 'HTTP greška.',
'Security error.': 'Sigurnosna greška.',
'Generic error.': 'Generička greška.',
'IO error.': 'I/O greška.',
'Stop Upload': 'Zaustavi upload.',
'Add Files': 'Dodaj datoteke',
'Start Upload': 'Pokreni upload.',
'%d files queued': '%d datoteka na čekanju.'
});PKഎ[fX���plupload/i18n/hu.jsnu�[���//
Hungarian
plupload.addI18n({
'Select files' : 'Fájlok kiválasztása',
'Add files to the upload queue and click the start button.' :
'Válaszd ki a fájlokat, majd kattints az Indítás gombra.',
'Filename' : 'Fájlnév',
'Status' : 'Állapot',
'Size' : 'Méret',
'Add files' : 'Hozzáadás',
'Stop current upload' : 'Jelenlegi feltöltés
megszakítása',
'Start uploading queue' : 'Várakozási sor
feltöltésének indítása',
'Uploaded %d/%d files': 'Feltöltött fájlok:
%d/%d',
'N/A': 'Nem elérhető',
'Drag files here.' : 'Húzd ide a fájlokat.',
'Stop upload': 'Feltöltés megszakítása',
'Start upload': 'Indítás',
'%d files queued': '%d fájl sorbaállítva',
'File: %s': 'Fájl: %s',
'Close': 'Bezárás',
'Using runtime: ': 'Használt runtime: ',
'File: %f, size: %s, max file size: %m': 'Fájl: %f,
méret: %s, maximális fájlméret: %m',
'Upload element accepts only %d file(s) at a time. Extra files
were stripped.': 'A feltöltés egyszerre csak %d fájlt fogad
el, a többi fájl nem lesz feltöltve.',
'Upload URL might be wrong or doesn\'t exist': 'A
megadott URL hibás vagy nem létezik',
'Error: File too large: ': 'Hiba: A fájl túl nagy:
',
'Error: Invalid file extension: ': 'Hiba: Érvénytelen
fájlkiterjesztés: ',
'File extension error.': 'Hibás
fájlkiterjesztés.',
'File size error.': 'Hibás fájlméret.',
'File count error.': 'A fájlok számával kapcsolatos
hiba.',
'Init error.': 'Init hiba.',
'HTTP Error.': 'HTTP hiba.',
'Security error.': 'Biztonsági hiba.',
'Generic error.': 'Általános hiba.',
'IO error.': 'I/O hiba.'
});
PKഎ[�#o,,plupload/i18n/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[���
��plupload/i18n/it.jsnu�[���// Italian
plupload.addI18n({
'Select files' : 'Seleziona i files',
'Add files to the upload queue and click the start button.' :
'Aggiungi i file alla coda di caricamento e clicca il pulsante di
avvio.',
'Filename' : 'Nome file',
'Status' : 'Stato',
'Size' : 'Dimensione',
'Add Files' : 'Aggiungi file',
'Stop current upload' : 'Interrompi il
caricamento',
'Start uploading queue' : 'Avvia il caricamento',
'Uploaded %d/%d files': 'Caricati %d/%d file',
'N/A' : 'N/D',
'Drag files here.' : 'Trascina i file qui.',
'File extension error.': 'Errore estensione
file.',
'File size error.': 'Errore dimensione file.',
'Init error.': 'Errore inizializzazione.',
'HTTP Error.': 'Errore HTTP.',
'Security error.': 'Errore sicurezza.',
'Generic error.': 'Errore generico.',
'IO error.': 'Errore IO.',
'Stop Upload': 'Ferma Upload',
'Start Upload': 'Inizia Upload',
'%d files queued': '%d file in lista'
});PKഎ[����plupload/i18n/ja.jsnu�[���//
Japanese
plupload.addI18n({
'Select files' : 'ファイル選択',
'Add files to the upload queue and click the start button.' :
'ファイルをアップロードキューに追加してスタートボタンをクリックしてください',
'Filename' : 'ファイル名',
'Status' : 'ステータス',
'Size' : 'サイズ',
'Add Files' : 'ファイルを追加',
'Stop Upload' : 'アップロード停止',
'Start Upload' : 'アップロード',
'Add files' : 'ファイルを追加',
'Add files.' : 'ファイルを追加',
'Stop current upload' :
'現在のアップロードを停止',
'Start uploading queue' : 'アップロード',
'Stop upload' : 'アップロード停止',
'Start upload' : 'アップロード',
'Uploaded %d/%d files': 'アップロード中 %d/%d
ファイル',
'N/A' : 'N/A',
'Drag files here.' :
'ここにファイルをドラッグ',
'File extension error.':
'ファイル拡張子エラー',
'File size error.':
'ファイルサイズエラー',
'File count error.': 'ファイル数エラー',
'Init error.': 'イニシャライズエラー',
'HTTP Error.': 'HTTP エラー',
'Security error.': 'セキュリティエラー',
'Generic error.': 'エラー',
'IO error.': 'IO エラー',
'File: %s': 'ファイル: %s',
'Close': '閉じる',
'%d files queued': '%d
ファイルが追加されました',
'Using runtime: ': 'モード: ',
'File: %f, size: %s, max file size: %m': 'ファイル:
%f, サイズ: %s, 最大ファイルサイズ: %m',
'Upload element accepts only %d file(s) at a time. Extra files were
stripped.': 'アップロード可能なファイル数は %d
です。余分なファイルは削除されました',
'Upload URL might be wrong or doesn\'t exist':
'アップロード先の URL が存在しません',
'Error: File too large: ': 'エラー:
サイズが大きすぎます: ',
'Error: Invalid file extension: ': 'エラー:
拡張子が許可されていません: '
});
PKഎ[-��4plupload/i18n/ko.jsnu�[���// Republic of
Korea
plupload.addI18n({
'Select files' : '파일 선택',
'Add files to the upload queue and click the start button.' :
'파일을 업로드 큐에 추가하여 시작 버튼을
클릭하십시오.',
'Filename' : '파일 이름',
'Status' : '상태',
'Size' : '크기',
'Add Files' : '파일 추가',
'Stop Upload': '업로드 중지',
'Start Upload': '업로드',
'Add files': '파일 추가',
'Stop current upload': '현재 업로드를
정지',
'Start uploading queue': '업로드',
'Stop upload': '업로드 중지',
'Start upload': '업로드',
'Uploaded % d / % d files': '업로드 중 % d / % d
파일',
'N / A': 'N / A',
'Drag files here': '여기에 파일을 드래그',
'File extension error': '파일 확장자 오류',
'File size error': '파일 크기 오류',
'File count error': '이미지 : 오류',
'Init error': '초기화 오류',
'HTTP Error': 'HTTP 오류',
'Security error': '보안 오류',
'Generic error': '오류',
'IO error': 'IO 오류',
'File : % s': '파일 % s',
'Close': '닫기',
'% d files queued': '% d 파일이
추가되었습니다',
'Using runtime :': '모드',
'File : % f, size : % s, max file size : % m': '파일 :
% f, 크기 : % s, 최대 파일 크기 : % m',
'Upload element accepts only % d file (s) at a time. Extra files
were stripped': '업로드 가능한 파일의 수는 %
d입니다. 불필요한 파일은 삭제되었습니다 ',
'Upload URL might be wrong or doesn \'t exist
':'업로드할 URL이 존재하지 않습니다 ',
'Error : File too large :': '오류 : 크기가 너무
큽니다',
'Error : Invalid file extension :': '오류 :
확장자가 허용되지 않습니다 :'
});PKഎ[
*�99plupload/i18n/lv.jsnu�[���// .lv file
like language pack
plupload.addI18n({
'Select files' : 'Izvēlieties failus',
'Add files to the upload queue and click the start button.' :
'Pieveinojiet failus rindai un klikšķiniet uz "Sākt
augšupielādi" pogas.',
'Filename' : 'Faila nosaukums',
'Status' : 'Statuss',
'Size' : 'Izmērs',
'Add files' : 'Pievienot failus',
'Stop current upload' : 'Apturēt pašreizējo
augšupielādi',
'Start uploading queue' : 'Sākt augšupielādi',
'Drag files here.' : 'Ievelciet failus šeit',
'Start upload' : 'Sākt augšupielādi',
'Uploaded %d/%d files': 'Augšupielādēti %d/%d
faili',
'Stop upload': 'Pārtraukt augšupielādi',
'Start upload': 'Sākt augšupielādi',
'%d files queued': '%d faili pievienoti rindai',
'File: %s': 'Fails: %s',
'Close': 'Aizvērt',
'Using runtime: ': 'Lieto saskarni: ',
'File: %f, size: %s, max file size: %m': 'Fails: %f,
izmērs: %s, maksimālais faila izmērs: %m',
'Upload element accepts only %d file(s) at a time. Extra files
were stripped.': 'Iespējams ielādēt tikai %d failus vienā
reizē. Atlikušie faili netika pievienoti',
'Upload URL might be wrong or doesn\'t exist':
'Augšupielādes URL varētu būt nepareizs vai neeksistē',
'Error: File too large: ': 'Kļūda: Fails pārāk
liels: ',
'Error: Invalid file extension: ': 'Kļūda: Nekorekts
faila paplašinājums:',
'File extension error.': 'Faila paplašinājuma
kļūda.',
'File size error.': 'Faila izmēra kļūda.',
'File count error.': 'Failu skaita kļūda',
'Init error.': 'Inicializācijas kļūda.',
'HTTP Error.': 'HTTP kļūda.',
'Security error.': 'Drošības kļūda.',
'Generic error.': 'Vispārēja rakstura kļūda.',
'IO error.': 'Ievades/Izvades kļūda.'
});PKഎ[d���ZZplupload/i18n/nl.jsnu�[���// Dutch
plupload.addI18n({
'Select files' : 'Selecteer bestand(en):',
'Add files to the upload queue and click the start button.' :
'Voeg bestanden toe aan de wachtrij en druk op
\'Start\'.',
'Filename' : 'Bestandsnaam',
'Status' : 'Status',
'Size' : 'Grootte',
'Add files' : 'Voeg bestanden toe',
'Stop current upload' : 'Stop upload',
'Start uploading queue' : 'Start upload',
'Uploaded %d/%d files': '%d/%d bestanden
ge-upload',
'N/A' : 'Niet beschikbaar',
'Drag files here.' : 'Sleep bestanden hierheen.',
'File extension error.': 'Ongeldig bestandstype.',
'File size error.': 'Bestandsgrootte Error.',
'Init error.': 'Initialisatie error.',
'HTTP Error.': 'HTTP Error.',
'Security error.': 'Beveiliging error.',
'Generic error.': 'Onbekende error.',
'IO error.': 'IO error.'
});PKഎ[�wy��plupload/i18n/pl.jsnu�[���plupload.addI18n({
'Select files' : 'Wybierz pliki:',
'Add files to the upload queue and click the start button.' :
'Dodaj pliki i kliknij \'Rozpocznij transfer\'.',
'Filename' : 'Nazwa pliku',
'Status' : 'Status',
'Size' : 'Rozmiar',
'Add files' : 'Dodaj pliki',
'Stop current upload' : 'Przerwij aktualny transfer',
'Start uploading queue' : 'Rozpocznij wysyłanie',
'Uploaded %d/%d files': 'Wysłano %d/%d plików',
'N/A' : 'Nie dostępne',
'Drag files here.' : 'Przeciągnij tu pliki',
'File extension error.': 'Nieobsługiwany format
pliku.',
'File size error.': 'Plik jest zbyt duży.',
'Init error.': 'Błąd inicjalizacji.',
'HTTP Error.': 'Błąd HTTP.',
'Security error.': 'Błąd bezpieczeństwa.',
'Generic error.': 'Błąd ogólny.',
'IO error.': 'Błąd IO.',
'Stop Upload': 'Przerwij transfer.',
'Add Files': 'Dodaj pliki',
'Start upload': 'Rozpocznij transfer.',
'%d files queued': '%d plików w kolejce.'
});
PKഎ[{�B��plupload/i18n/pt-br.jsnu�[���// Brazilian
Portuguese
plupload.addI18n({
'Select files' : 'Escolha os arquivos',
'Add files to the upload queue and click the start button.' :
'Adicione os arquivos abaixo e clique no botão "Iniciar o
envio".',
'Filename' : 'Nome do arquivo',
'Status' : 'Status',
'Size' : 'Tamanho',
'Add Files' : 'Adicionar arquivo(s)',
'Stop Upload' : 'Parar o envio',
'Start Upload' : 'Iniciar o envio',
'Add files' : 'Adicionar arquivo(s)',
'Add files.' : 'Adicionar arquivo(s)',
'Stop upload' : 'Parar o envio',
'Start upload' : 'Iniciar o envio',
'Uploaded %d/%d files': 'Enviado(s) %d/%d
arquivo(s)',
'N/A' : 'N/D',
'Drag files here.' : 'Arraste os arquivos pra cá',
'File extension error.': 'Tipo de arquivo não
permitido.',
'File size error.': 'Tamanho de arquivo não
permitido.',
'File count error.': 'Erro na contagem dos
arquivos',
'Init error.': 'Erro inicializando.',
'HTTP Error.': 'Erro HTTP.',
'Security error.': 'Erro de segurança.',
'Generic error.': 'Erro genérico.',
'IO error.': 'Erro de E/S.',
'File: %s': 'Arquivo: %s',
'Close': 'Fechar',
'%d files queued': '%d arquivo(s)',
'Using runtime: ': 'Usando: ',
'File: %f, size: %s, max file size: %m': 'Arquivo: %f,
tamanho: %s, máximo: %m',
'Upload element accepts only %d file(s) at a time. Extra files were
stripped.': 'Só são aceitos %d arquivos por vez. O que passou
disso foi descartado.',
'Upload URL might be wrong or doesn\'t exist': 'URL
de envio está errada ou não existe',
'Error: File too large: ': 'Erro: Arquivo muito grande:
',
'Error: Invalid file extension: ': 'Erro: Tipo de arquivo
não permitido: '
});
PKഎ[��m plupload/i18n/ro.jsnu�[���// Romanian
plupload.addI18n({
'Select files' : 'Selectare fişiere',
'Add files to the upload queue and click the start button.' :
'Adaugă fişiere în lista apoi apasă butonul \'Începe
încărcare\'.',
'Filename' : 'Nume fişier',
'Status' : 'Stare',
'Size' : 'Mărime',
'Add files' : 'Adăugare fişiere',
'Stop current upload' : 'Întrerupe încărcarea
curentă',
'Start uploading queue' : 'Începe incărcarea',
'Uploaded %d/%d files': 'Fişiere încărcate
%d/%d',
'N/A' : 'N/A',
'Drag files here.' : 'Trage aici fişierele',
'File extension error.': 'Extensie fişier
eronată',
'File size error.': 'Eroare dimensiune fişier',
'Init error.': 'Eroare iniţializare',
'HTTP Error.': 'Eroare HTTP',
'Security error.': 'Eroare securitate',
'Generic error.': 'Eroare generică',
'IO error.': 'Eroare Intrare/Ieşire',
'Stop Upload': 'Oprire încărcare',
'Start upload': 'Începe încărcare',
'%d files queued': '%d fişiere listate'
});PKഎ[N����plupload/i18n/ru.jsnu�[���//
Russian
plupload.addI18n({
'Select files' : 'Выберите файлы',
'Add files to the upload queue and click the start button.' :
'Добавьте файлы в очередь и нажмите
кнопку "Загрузить файлы".',
'Filename' : 'Имя файла',
'Status' : 'Статус',
'Size' : 'Размер',
'Add files' : 'Добавить файлы',
'Stop current upload' : 'Остановить
загрузку',
'Start uploading queue' : 'Загрузить
файлы',
'Uploaded %d/%d files': 'Загружено %d/%d
файлов',
'N/A' : 'N/D',
'Drag files here.' : 'Перетащите файлы
сюда.',
'File extension error.': 'Неправильное
расширение файла.',
'File size error.': 'Неправильный
размер файла.',
'Init error.': 'Ошибка
инициализации.',
'HTTP Error.': 'Ошибка HTTP.',
'Security error.': 'Ошибка
безопасности.',
'Generic error.': 'Общая ошибка.',
'IO error.': 'Ошибка
ввода-вывода.'
});PKഎ[��Faplupload/i18n/sk.jsnu�[���// .po file
like language pack
plupload.addI18n({
'Select files' : 'Vyberte súbory',
'Add files to the upload queue and click the start button.' :
'Pridajte súbory do zoznamu a potom spustite nahrávanie.',
'Filename' : 'Názov súboru',
'Status' : 'Stav',
'Size' : 'Veľkosť',
'Add files' : 'Pridať súbory',
'Stop current upload' : 'Zastaviť nahrávanie',
'Start uploading queue' : 'Spustiť nahrávanie
zoznamu',
'Drag files here.' : 'Sem pretiahnite súbory.',
'Start upload': 'Spustiť nahrávanie',
'Uploaded %d/%d files': 'Nahraných %d/%d súborov',
'Using runtime: ': 'K odoslaniu súborov sa použije
rozhranie: ',
'N/A' : 'N/A',
'File extension error.': 'Chybný typ súboru.',
'File size error.': 'Súbor je príliš veľký.',
'Init error.': 'Chyba inicializácie.',
'HTTP Error.': 'HTTP Chyba.',
'Security error.': 'Bezpečnostná Chyba.',
'Generic error.': 'Chyba.',
'IO error.': 'IO Chyba',
'Stop Upload': 'Zastaviť nahrávanie',
'%d files queued': '%d súborov pridaných do zoznamu'
});PKഎ[u�x66plupload/i18n/sr.jsnu�[���// Serbian
plupload.addI18n({
'Select files' : 'Izaberite fajlove',
'Add files to the upload queue and click the start button.' :
'Dodajte fajlove u listu i kliknite na dugme Start.',
'Filename' : 'Naziv fajla',
'Status' : 'Status',
'Size' : 'Veličina',
'Add Files' : 'Dodaj fajlove',
'Stop current upload' : 'Zaustavi upload',
'Start uploading queue' : 'Počni upload',
'Drag files here.' : 'Prevucite fajlove ovde.',
'Start Upload': 'Počni upload',
'Uploaded %d/%d files': 'Snimljeno %d/%d fajlova'
});PKഎ[������plupload/i18n/sv.jsnu�[���//
.po file like language pack
plupload.addI18n({
'Select files' : 'Välj filer',
'Add files to the upload queue and click the start button.' :
'Lägg till filer till kön och tryck på start.',
'Filename' : 'Filnamn',
'Status' : 'Status',
'Size' : 'Storlek',
'Add files' : 'Lägg till filer',
'Stop current upload' : 'Stoppa uppladdningen',
'Start uploading queue' : 'Starta uppladdningen',
'Drag files here.' : 'Dra filer hit'
});PKഎ[�#o,,plupload/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[�#o,,-plupload/jquery.plupload.queue/css/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[Iw4�
<plupload/jquery.plupload.queue/css/jquery.plupload.queue.cssnu�[���/*
Plupload
------------------------------------------------------------------- */
.plupload_button {
/* display: -moz-inline-box; /* FF < 3*//*
display: inline-block;
font: normal 12px sans-serif;
text-decoration: none;
color: #42454a;
border: 1px solid #bababa;
padding: 2px 8px 3px 20px;
margin-right: 4px;
background: #f3f3f3 url('../img/buttons.png') no-repeat 0
center;
outline: 0;
/* Optional rounded corners for browsers that support it *//*
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;*/
margin: 5px;
}
.plupload_button i {
margin-left: -5px;
margin-right: 5px;
}
/*
.plupload_button:hover {
color: #000;
text-decoration: none;
}*/
.plupload_disabled, a.plupload_disabled:hover {
/*color: #737373;
border-color: #c5c5c5;
background: #ededed url('../img/buttons-disabled.png')
no-repeat 0 center;*/
cursor: default;
}
.plupload_add {
/*background-position: -181px center;*/
}
.plupload_wrapper {
/*font: normal 11px Verdana,sans-serif;*/
width: 100%;
}
.plupload_container {
padding: 8px;
/*background: url('../img/transp50.png');*/
/*-moz-border-radius: 5px;*/
}
.plupload_container input {
/*border: 1px solid #DDD;*/
/*font: normal 11px Verdana,sans-serif;*/
width: 98%;
}
.plupload_header {/*background: #2A2C2E
url('../img/backgrounds.gif') repeat-x;*/}
.plupload_header_content {
/*background: url('../img/backgrounds.gif') no-repeat 0 -317px;
min-height: 56px;
padding-left: 60px;
color: #FFF;*/
}
.plupload_header_title {
/*font: normal 18px sans-serif;
padding: 6px 0 3px;*/
}
.plupload_header_text {
/*font: normal 12px sans-serif;*/
}
.plupload_filelist {
margin: 0;
padding: 0;
list-style: none;
border: 1px solid #dddddd;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.plupload_scroll .plupload_filelist {
height: 185px;
/*background: #f9f9f9;*/
overflow-y: scroll;
}
.plupload_filelist li {
padding: 5px 8px 0px 8px;
background: #f9f9f9;
/*padding: 10px 8px;
background: #f9f9f9 url('../img/backgrounds.gif') repeat-x 0
-156px;*/
border-bottom: 1px solid #dddddd;
}
.plupload_filelist_header, .plupload_filelist_footer {
/*background: #DFDFDF;
padding: 8px 8px;
color: #42454A;*/
}
.plupload_filelist_header {
/*border-top: 1px solid #EEE;*/
padding: 3px 10px;
}
.plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px;
line-height: 20px; vertical-align: middle;}
.plupload_file_name {float: left; overflow: hidden}
.plupload_file_status {color: #777;}
.plupload_file_status span {color: #42454A;}
.plupload_file_statusbar,
.plupload_file_size, .plupload_file_status, .plupload_progress,
.plupload_progress_box {
float: right;
width: 80px;
}
.plupload_file_action_bottom {
padding-right:8px;
}
.plupload_file_size, .plupload_file_status, .plupload_file_action
{text-align: right;}
.plupload_filelist .plupload_file_name {width: 205px}
.plupload_file_action {
float: right;
width: 16px;
height: 16px;
margin-left: 15px;
}
.plupload_file_action * {
display: none;
width: 16px;
height: 16px;
}
li.plupload_uploading {background: #ECF3DC
url('../img/backgrounds.gif') repeat-x 0 -238px;}
li.plupload_done {color:#AAA}
li.plupload_delete a {
background: url('../img/delete.gif');
}
li.plupload_failed a {
background: url('../img/error.gif');
cursor: default;
}
li.plupload_done a {
background: url('../img/done.gif');
cursor: default;
}
.plupload_progress, .plupload_upload_status {
display: none;
}
.plupload_progress_container {
margin-top: 3px;
background: #FFF;
padding: 1px;
}
.plupload_progress_bar {
width: 0px;
height: 7px;
}
.plupload_scroll .plupload_filelist_header .plupload_file_action,
.plupload_scroll .plupload_filelist_footer .plupload_file_action {
margin-right: 17px;
}
/* Floats */
.plupload_clear,.plupload_clearer {clear: both;}
.plupload_clearer, .plupload_progress_bar, .plupload_progress_box {
display: block;
font-size: 0;
line-height: 0;
}
.plupload_progress_box {
margin-top: -3px;
}
li.plupload_droptext {
background: transparent;
text-align: center;
vertical-align: middle;
border: 0;
line-height: 165px;
}
PKഎ[�����2plupload/jquery.plupload.queue/img/backgrounds.gifnu�[���GIF89aPm��adh�����������������������������������������������47:68;7:=8;>:<@;>A=@D<?C>AE?BFADHBEJAEI*,.�����DGK����.13�������358�����025+-0147-/2EHLCFK���^ae_bf���acg`bf]ad]`c\^bY\_[]aX[]Z\`WY\VX[UWZ���TVXFJN��َ��x{~X[_������UY]oqu���]`dgjn��쏑����������������;=@TW[�������������������HLP������IMQ������OSW�����������뢣�[^b�����[_c��Χ�����`cg���LOQ\`cRVZKNRSVZTVYSUXHKObei;=AY[_PSVGJMLPT���FHJdgkNPTSUYDGLPSUQTXRUXNQS58;LOSBEIORTOQSCFI=@CBEHIKNWZ^KMP������cfj���vx|��������ɧ��������������wz}ehl_cg���fim���z|x{�����ߤ��{}����]ae\_cUX\�����猎����GJNnpt���EIMEIM!��,Pm�� H����*\Ȱ�Ç#J�H��ŋ3j�ȱ�Ǐ
C�I��ɓ(S�\ɲ�˗0cʜI��͛8s��ɳ�ϟ@�
J��ѣi(]ʴ�ӧP�J�JUi��X�j�ʵ�ׯ`�^�A��ٳhӪ]˶�[��ʝK��ݻx����߿�L���È�zX̸��ǐ#K�L����3k�̹��ϠC��̡��ӨS�^ͺ��ץ5ȞM���۸s���[����N����ȓ������УK�N��u��k�ν����Ë�������ӫ_Ͼ�����[�O��������Ͽ��
(�h�&� �4��F(�Vh�
���v��
�(�$j(É(���,���0�x"4�h�8��<��#�()�Di�H&��A���PF)�TVi�X:Ö\v��`�)�d��eh���l���p�)'���i�x��|��矀*蠄j衈&�袌6�裐F*餔Vj饘f�馜v�駠�*ꨤ�jꩨ��ꪬ��꫰�*무�j뭸�뮼���+��k��&���6���F+��Vk��f���v���+��k�覫������;����k������,�l��$���7���G,��Wl��g���w���#
��$�l��(����,����0�,��4ל�8���<����@-��Dm��H'���?/���PG-��TWm��Xg���\w��`�]�d�m��h����l���p�-��i'`��x��|���߀.��n��'��7��G.��Wn��g���w��G
�褗n�騧��ꬷ���~���n������/���o��+����7���G/���Wo���g����w}��/���o��觯������/����o�����)���H��3��:���'HA��̠7�z�
�@���(L�
W����0��g����8̡w����@�! ��H�"�HL����&�P���H�*Z�X̢�.z�`��H�2��hL���F1��p���H�:��x��E��>���
I�B��+H�"��F:�$'�HX�̤&7��Nz�FI�R��L�*W��V�����,gI�Z��̥.a)�^���0�I�b��L�2��La:�Ќ�4�I�jZ��̦6���nz���8�I�r���L�:���v���4g�I�z��̧>���~��
�@JЂT�H�B�І:���D'JъZ�u(6�юz�
�HGJҒ��(M�JW�Җ�T����LgJӚ��8ͩNw�Ӟ��@
�P�JԢ��HM�R��$L����p�)�a|������R�X�JV�J�gXHWB�\���p-+�@����
j�A\�Z��!w���� [-H`��&��ceBbX$8���,AK��*�J��6�����fH����֮Bp��@�J��B���v�[(�B}�k0��YȲ�lX�r��\U���niπ��
�m���,x��kZ�����ֻ^^�V �(+��)$�պbȯ����bEY���M¼���`�;Xv�p'�z�M��c�����{�
\����Z�
(vCV��R�"0�\��):
x
8^�v��Q��@�l�J�M݂�]ȁ����W���I����܊��`S8@2����(x� `3�M�W`Y�[�"�@;*���͠��'ʼ)��5�iVs*t�e/���(�5ec�2��(1�m^k�:���'M�H7��M���'͈M�a���G
jL7�Ԩu6�8P�հ�5U�@k#�֯�C#6��G�����oPk#��~�6�`�Ў���]�i[[�{6�H�������@�2�����b6�J��坆z�a��7!(��M�&@��>p4
O��a�M�fB���'.�7X�
�x�A�MG����GN��~�@p6�LT"0���gN�W��Tw��!���@��ΉAtgS�
���;��O�%س)�lA(�ַ����~6��-$�GH��מvK$b ��$��LB�p�#"�Cd"��Ф;PKഎ[ճ �7plupload/jquery.plupload.queue/img/buttons-disabled.pngnu�[����PNG
IHDRixn<�tEXtSoftwareAdobe
ImageReadyq�e<IPLTE���������������������������p�Y������w�`�����������Ʋ���Ӽs�\�����Nj�����������������G�>�̇������o�Xr�d�٥�Ջ|�kZ�Q��ɖԋ�ˁH�>�ڪ���W�E�ۨl�Z��{��ߐ�}��x~�i�����}�ۛ�������ӊ|�d��u��s��y������Dž��}����������ʵ߬�ݩ��ɶݬy�n���������q�_�̊��|���e�V���~�oz�k���������h�S�௸���ы�����E�>��ä�������m}�k�ߥ�̨�ˆ}�gn�X�ʱ���u�e���}�f�䶑�~�̄}�j�ڦ�Δ�ܯd�W���j�[e�UO�Ho�Y��{�Ԝ��u��pr�[��u�ߦ�̩��yC�:����ݪ�ơD�:�����Ҵɯt�\t�[B�6�Ж�Ȯ�������ϖ���|||��҃�Ӊ;�4���a�TP�A�ݯ�ٕ�����z���C�8�٥�ۨ����������m�ԝ��������ٖp�c�ğ��|k�XP�I�ŀx�dy�d�˲\�S�ؒ�ԊE�>��mc�S�̅~�i�͈������tRNS���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������N
��IDATx���csQ��M�M�AӤ�m۶m۶m۶��˺M������=����0*J����D�_QWy[Vk*�р�%/��CtW��`H}�+%�H:�D�ٞ�tGC�#���!I���?�W�=�'f���a�3�OI��9x��v��qi1~j�s���Qnb
B�Yt�D=[*���h�L^��$�ە��A��{>��
�1�
�HgH�)�Y�p��<:���[z�H�"�k���H;�-Ĝ5�Ό���+Ң��e\�UE���;O�
e��#U[�FctA�8�A:�y��;l)F����i�&���ҙ��=H���RǼ��E�1���X^���{R1�4�?HGy�QֈFI��4�0a�!��)��C�m��z�1WQIEND�B`�PKഎ[�z�Z��.plupload/jquery.plupload.queue/img/buttons.pngnu�[����PNG
IHDRixn<�tEXtSoftwareAdobe
ImageReadyq�e<�PLTE�����������������������������������������������p�Yw�`�Ӽ�ˑ������s�\�͔��|3�}�f\�St�\�٥t�O�ٕ���~�i)�
|�k�ݯ���y�d���j�[��Z~�o��}p�cd�W��ô̩��k��}6��NJ��u��uD���s�ː��j��y4���p��m�ۛ�ȍo�=��گߥn�8�̅��y�ߦ��ɀ�a��ϫԜ�ơ�Ջi�9W�E�ЖD�:C�8r�[��W�(z�k�ΔP�I�߬�c�1��_�C��tH�>��ɝؒu�e��ܨğe�1�ݩ��xq�?���������h�S�ˆO�H����ٖ���E�>�ڦ�ԝn�X�ʱ����7� o�X�̇�͈�Ȯr�d�ݪJ��ˁ��zx�d(�k�X�ۨh�F|�dc�Sq�_��f���m��|�̊����m���G�>R�"�ň|�U3�\�<y�n�ŀf�H�ݬ�҃B�6o�Y�ۨ;�4��ǽ�e�Vt�[�Ɗ�ӊ��b�1Z�Q�ڪP�Al�Z�ϖ��o�ܯ�Ӊ��{~�i�Ԋ���̄��͂�g�˲C�:����̨^�:E�>���{}�j�Džb�F��{���}�g�Ζ[�)a�T��~k�7��u�ы�ʐh�5�ɯ<��ԋe�UF��٥}�k��}����)+�tRNS�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������7 ��IDATx�b�����C���hH�i�!�0����9G�]LC���2�M֘��gh�4/�o��*��^�̩�m���+CpB@x��Y�9��t��u�)�;�m_�p�� i�]��쵇PH8V��j���^L���
�d��긙���w�����{�L��ã#"uq����\
��+��c[�pD�k(�;,,,V�B�1ª�I,�@B:;p�Mߌ��j\C&��e���)��C!��!`���ʫ�C�B�zҖH��p�8=B�.Kor��"��`z~�V�0�+�B%?`���җ�9�����}���b)�E�+7�.���.���LJ!�]���Y'�]p�c��P�8Xs�ή7
ޘ���PLC@B�ٻh�B��ѐ�qH-�0��!FC�^
��6���BIEND�B`�PKഎ[
s���-plupload/jquery.plupload.queue/img/delete.gifnu�[���GIF89a�������̙�����f�ff�ff�f3���!�,a�Ik�h#�E���Ta
lP��@�wix
ظ[apHh��r9|7�t�$�S��p%0�A|�e���y���@pb��ah�}Ex�;PKഎ[K�b@+plupload/jquery.plupload.queue/img/done.gifnu�[���GIF89a���ܥ�ؒ��r�h��w�����z�mn�bB�3I�'?�;D�3l�V�LJ�ˆ�ѵ�ˆ�ڦ}�f�ߛ�i�ʇ\�;p�e����ܦ�����ז����ӛ��е��r�וQ�.y�k���?�;�p��|�d���;�'y�d�ԍq�[w�`~�o�͈�㶺۵���&�#�֕�ב&#p�Wi�Jo�dj�P�ݪ�̇�㸇�y����u��ss�\t�d}�gt�h�ۨ��d�L?�;�ۨ5�1��o�au�h�Ґ�ٵo�ao�Ym�W�٥n�Xo�Xs�fl�K�߬\�=51���}�f�ᰙ͊?�<v�i��x��f�I�ȏr�U)w%�쿱ݧ�٥�ܗ��v��r��N�AL�=p�cZ�7�נt�[�қ�ыt�Yn�cn�aj�Ip�Y���*�%�ґv�j)z%��߬��m^�H�̅4|0q�c��]�?t�\�ס�ߵ���'r$R�B���q�_U�5�ǃ�Ќ~�i��r�[���������!��,�? H�`�%��`���
������>,i*�Ƌp�LH�p��I��0G%�v@0
��h��(�@.$r��ѧJ(�:� AF`�6q��T'���2=�!p��E8y:�u$wtl$��!*<ِpeS�(Na��E%"'�8��h�
�4�$��?V��qc���5R��
X�H�P�ʓI@�DG���"1
����;PKഎ[nQ���,plupload/jquery.plupload.queue/img/error.gifnu�[���GIF89a��ա=�����֣>��X������\բ>��������l�}����\����U�ӏ�Ҍ��]������N����ԅ��W�؍�w
�1�������W��T��Z��[��X������q���٘#�:��Rυ�����Z����^忈�Ά�ߩ�Ϋ�*�Ç��W�-֓
��X����������V��W���������\������TғDߤ+�E�����{�q �D�b�ם�]����Զܞ'�ע�ؔ٠U����b�~ݤ;����т֝]�����^��h��\�����dӌ��Q�C��t�ܲ��PݱG����y������h���ڛ%�����]ݡ)��ъ�h�7���H���!��,� H��A@
��Qp�
`�4x"�
k�L�&��hLt��L?<<h���`�r��c$0�O��E�|!R!bzx�@0d�8.�S��hBHP�b��-eLIg �"Z�1C
R�(P ��`�b`��?F0
`���X�c��L�\��bG]:@iP&�F�;PKഎ[�#o,,-plupload/jquery.plupload.queue/img/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[�>^ׂ�/plupload/jquery.plupload.queue/img/throbber.gifnu�[���GIF89a�$&$���������\^\�����LJL����������������TRT�����������������LNL������!�NETSCAPE2.0!� ,|�#:Ƅ5��c;U�1A@}Q-UG5��`T�
��r
�!���H�ޱ'��"�bO�uH��I�<J�'l���c���!�^�x]e1vvF#`=j1FV"�/=|^�
id"!!� ,�$&$���������ljl����������|~|DFD���������lnl����������z
%R�t�1Ac;���HK%�:%"ġ�4��#AP�`K��
r�TD��Ɩr�.d��-��Ԕ�oPl0�xcXb "D#�:r= @#~;3�-
2v"!!� ,�$&$���������lnl���������|z|���LNL���������tvt��������|~|���s
%R�t�!Ac+���HK)�:���C�i�ߠ��l"��D����5���S
�dh��bh����^��yB`�s5
"CB ?$R1:B�Q:<0X
\2_#!!� ,�$&$���������lnl��������ܔ�����DBD���tvt���������trt����������DFDs
%R�d�1Ec;���GK%�z��C�!Y�ߠ��l���H���a�-���S6�����Ny��40k�x��M̿\~Y#s;�6����6�
�
u#!!� ,�$&$���������lnl��������ܔ�����|z|<:<���������trt����������v�$N�d�!Ac+���G;%�:��C�i�ߠ��l"��D���a�5���S&���y�Ny��40k�x��~�5C#�= ?"
�3tX�_#!!� ,�$&$���������lnl�����DFD��Ĕ�������|z|���TRT��������������LJL���|~|x�$N��4�#-c+!���E;��ze���B�����=~���!Q�����Vi��"�$�H�'���f#d��"tP6V`
"DC
�~;
=�R:<0Y]2`#!!� ,�$&$������������dbd�����������|~|���DFD�������������������������x
%R�d�1Ac;���HK�z����9P��oPC�����T4�=OÖ"�5��X6��"w
&��`�
<�
c9u>"# y;= j"�<0{S�2
u#!!� ,�$&$���������trt��������������TRT�����������������������\Z\w�$JƣQb0c��d��J2]@���
T
�A(�1h��MҠ94�T$�5��V2�A����n�
�:�Ղ`�-4�?cXtTQ
"_
#�>>@R"yh>{S
gu"!;PKഎ[b����/plupload/jquery.plupload.queue/img/transp50.pngnu�[����PNG
IHDR��<q�gAMA��7��tEXtSoftwareAdobe
ImageReadyq�e<!IDATx��ұ0İ���Y��R��J��} 0��X`,����Xc��0�ca,���X���0ca,0��X`,����Xc��0�ca,���X���0ca,0��X`,����Xc��0�ca,���X���0ca,0��X`,����Xc��0�ca,����Xc��0�ca,���X���0ca,0��X`,����Xc��0�ca,���X���0ca,0��X`,����Xc��0�ca,���Xv#�g"�C&�IEND�B`�PKഎ[�#o,,)plupload/jquery.plupload.queue/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[*�c��.�.7plupload/jquery.plupload.queue/jquery.plupload.queue.jsnu�[���/**
* jquery.plupload.queue.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*/
// JSLint defined globals
/*global plupload:false, jQuery:false, alert:false */
(function($) {
var uploaders = {};
function _(str) {
return plupload.translate(str) || str;
}
function renderUI(id, target) {
// Remove all existing non plupload items
target.contents().each(function(i, node) {
node = $(node);
if (!node.is('.plupload')) {
node.remove();
}
});
target.prepend(
'<div class="plupload_wrapper
plupload_scroll">' +
'<div id="' + id + '_container"
class="plupload_container">' +
'<div class="plupload">' +
'<div class="plupload_header">' +
'<div class="plupload_header_content">' +
/*
'<div class="plupload_header_title">' +
_('Select files') + '</div>' +
'<div class="plupload_header_text">' +
_('Add files to the upload queue and click the start button.') +
'</div>' + */
'</div>' +
'</div>' +
'<div class="plupload_content">' +
'<div class="plupload_filelist_header">'
+
'<div class="plupload_file_name">' +
_('Filename') + '</div>' +
'<div
class="plupload_file_action"> </div>' +
'<div class="plupload_file_size">'+
_("Size")+'</div>' +
'<div
class="plupload_file_status"><span>' +
_('Status') + '</span></div>' +
'<div
class="plupload_file_statusbar"><span> </span></div>'
+ /*
'<div class="plupload_file_size">' +
_('Size') + '</div>' + */
'<div
class="plupload_clearer"> </div>' +
'</div>' +
'<ul id="' + id + '_filelist"
class="plupload_filelist"></ul>' +
'<div class="plupload_filelist_footer">'
+
'<div class="plupload_file_name">' +
'<div class="plupload_buttons">' +
'<a href="#" class="plupload_button
plupload_add btn btn-success fileinput-button"><i
class="icon-plus icon-white"></i>' + _('Add
Files') + '</a>' +
'<a href="#" class="plupload_button
plupload_start btn btn-primary start"><i
class="icon-upload icon-white"></i>' +
_('Start Upload') + '</a>' +
'</div>' +
'<span
class="plupload_upload_status"></span>' +
'</div>' +
'<div class="plupload_file_action
plupload_file_action_bottom"></div>' +
'<div class="plupload_file_size"><span
class="plupload_total_file_size">0
b</span></div>' +
'<div class="plupload_file_status"><span
class="plupload_total_status">0%</span></div>'
+
'<div
class="plupload_file_statusbar"><span></span></div>'
+
'<div class="plupload_progress">' +
'<div
class="plupload_progress_container">' +
'<div class="progress
plupload_progress_box">' +
'<div class="plupload_progress_bar
bar"></div>' +
'</div>' +
'<div/>' +
'</div>' +
'<div
class="plupload_clearer"> </div>' +
'</div>' +
'</div>' +
'</div>' +
'</div>' +
'<input type="hidden" id="' + id +
'_count" name="' + id + '_count"
value="0" />' +
'</div>'
);
}
$.fn.pluploadQueue = function(settings) {
if (settings) {
this.each(function() {
var uploader, target, id;
target = $(this);
id = target.attr('id');
if (!id) {
id = plupload.guid();
target.attr('id', id);
}
uploader = new plupload.Uploader($.extend({
dragdrop : true,
container : id
}, settings));
uploaders[id] = uploader;
function handleStatus(file) {
var actionClass;
if (file.status == plupload.DONE) {
actionClass = 'plupload_done';
}
if (file.status == plupload.FAILED) {
actionClass = 'plupload_failed';
}
if (file.status == plupload.QUEUED) {
actionClass = 'plupload_delete';
}
if (file.status == plupload.UPLOADING) {
actionClass = 'plupload_uploading';
}
var icon = $('#' + file.id).attr('class',
actionClass).find('a').css('display',
'block');
if (file.hint) {
icon.attr('title', file.hint);
}
}
function updateTotalProgress() {
$('span.plupload_total_status',
target).html(uploader.total.percent + '%');
$('div.plupload_progress_bar',
target).css('width', uploader.total.percent + '%');
$('span.plupload_upload_status', target).html(
_('Uploaded %d/%d files').replace(/%d\/%d/,
uploader.total.uploaded+'/'+uploader.files.length)
);
}
function updateList() {
var fileList = $('ul.plupload_filelist',
target).html(''), inputCount = 0, inputHTML;
$.each(uploader.files, function(i, file) {
inputHTML = '';
if (file.status == plupload.DONE) {
if (file.target_name) {
inputHTML += '<input type="hidden"
name="' + id + '_' + inputCount + '_tmpname"
value="' + plupload.xmlEncode(file.target_name) + '"
/>';
}
inputHTML += '<input type="hidden"
name="' + id + '_' + inputCount + '_name"
value="' + plupload.xmlEncode(file.name) + '"
/>';
inputHTML += '<input type="hidden"
name="' + id + '_' + inputCount + '_status"
value="' + (file.status == plupload.DONE ? 'done' :
'failed') + '" />';
inputCount++;
$('#' + id + '_count').val(inputCount);
}
fileList.append(
'<li id="' + file.id + '">' +
'<div
class="plupload_file_name"><span>' + file.name +
'</span></div>' +
'<div class="plupload_file_action"><a
href="#"></a></div>' +
'<div class="plupload_file_size">' +
plupload.formatSize(file.size) + '</div>' +
'<div class="plupload_file_status">' +
file.percent + '%</div>' +
'<div class="progress
plupload_file_statusbar"></div>' +
'<div
class="plupload_clearer"> </div>' +
inputHTML +
'</li>'
);
handleStatus(file);
$('#' + file.id + '.plupload_delete
a').click(function(e) {
$('#' + file.id).remove();
uploader.removeFile(file);
e.preventDefault();
});
});
$('span.plupload_total_file_size',
target).html(plupload.formatSize(uploader.total.size));
if (uploader.total.queued === 0) {
$('span.plupload_add_text', target).html(_('Add
Files'));
} else {
$('span.plupload_add_text', target).html(_('%d files
queued').replace(/%d/, uploader.total.queued));
}
$('a.plupload_start',
target).toggleClass('plupload_disabled', uploader.files.length ==
(uploader.total.uploaded + uploader.total.failed));
// Scroll to end of file list
fileList[0].scrollTop = fileList[0].scrollHeight;
updateTotalProgress();
// Re-add drag message if there is no files
if (!uploader.files.length && uploader.features.dragdrop
&& uploader.settings.dragdrop) {
$('#' + id + '_filelist').append('<li
class="plupload_droptext">' + _("Drag files
here.") + '</li>');
}
}
uploader.bind("UploadFile", function(up, file) {
$('#' +
file.id).addClass('plupload_current_file');
});
uploader.bind('Init', function(up, res) {
renderUI(id, target);
// Enable rename support
if (!settings.unique_names && settings.rename) {
target.on('click', '#' + id + '_filelist
div.plupload_file_name span', function(e) {
var targetSpan = $(e.target), file, parts, name, ext =
"";
// Get file name and split out name and extension
file = up.getFile(targetSpan.parents('li')[0].id);
name = file.name;
parts = /^(.+)(\.[^.]+)$/.exec(name);
if (parts) {
name = parts[1];
ext = parts[2];
}
// Display input element
targetSpan.hide().after('<input type="text"
/>');
targetSpan.next().val(name).focus().blur(function() {
targetSpan.show().next().remove();
}).keydown(function(e) {
var targetInput = $(this);
if (e.keyCode == 13) {
e.preventDefault();
// Rename file and glue extension back on
file.name = targetInput.val() + ext;
targetSpan.html(file.name);
targetInput.blur();
}
});
});
}
$('a.plupload_add', target).attr('id', id +
'_browse');
up.settings.browse_button = id + '_browse';
// Enable drag/drop (see PostInit handler as well)
if (up.settings.dragdrop) {
up.settings.drop_element = id + '_filelist';
}
$('#' + id + '_container').attr('title',
'Using runtime: ' + res.runtime);
$('a.plupload_start', target).click(function(e) {
if (!$(this).hasClass('plupload_disabled')) {
uploader.start();
}
e.preventDefault();
});
$('a.plupload_stop', target).click(function(e) {
e.preventDefault();
uploader.stop();
});
$('a.plupload_start',
target).addClass('plupload_disabled');
});
uploader.bind("PostInit", function(up) {
// features are populated only after input components are fully
instantiated
if (up.settings.dragdrop && up.features.dragdrop) {
$('#' + id + '_filelist').append('<li
class="plupload_droptext">' + _("Drag files
here.") + '</li>');
}
});
uploader.init();
uploader.bind("Error", function(up, err) {
var file = err.file, message;
if (file) {
message = err.message;
if (err.details) {
message += " (" + err.details + ")";
}
if (err.code == plupload.FILE_SIZE_ERROR) {
alert(_("Error: File too large:") + " " +
file.name);
}
if (err.code == plupload.FILE_EXTENSION_ERROR) {
alert(_("Error: Invalid file extension:") + " "
+ file.name);
}
file.hint = message;
$('#' + file.id).attr('class',
'plupload_failed').find('a').css('display',
'block').attr('title', message);
}
});
uploader.bind('StateChanged', function() {
if (uploader.state === plupload.STARTED) {
$('li.plupload_delete a,div.plupload_buttons',
target).hide();
$('span.plupload_upload_status,div.plupload_progress,a.plupload_stop',
target).css('display', 'block');
$('span.plupload_upload_status',
target).html('Uploaded ' + uploader.total.uploaded +
'/' + uploader.files.length + ' files');
if (settings.multiple_queues) {
$('span.plupload_total_status,span.plupload_total_file_size',
target).show();
}
} else {
updateList();
$('a.plupload_stop,div.plupload_progress', target).hide();
$('a.plupload_delete', target).css('display',
'block');
}
});
uploader.bind('QueueChanged', updateList);
uploader.bind('FileUploaded', function(up, file) {
handleStatus(file);
});
uploader.bind("UploadProgress", function(up, file) {
// Set file specific progress
$('#' + file.id + ' div.plupload_file_status',
target).html(file.percent + '%');
$('#' + file.id + ' div.plupload_file_statusbar',
target).html('<div class="bar" style="width: '+
file.percent + '%;"></div>');
handleStatus(file);
updateTotalProgress();
if (settings.multiple_queues && uploader.total.uploaded +
uploader.total.failed == uploader.files.length) {
$(".plupload_buttons,.plupload_upload_status",
target).css("display", "inline");
$(".plupload_start",
target).addClass("plupload_disabled");
$('span.plupload_total_status,span.plupload_total_file_size',
target).hide();
}
});
// Call setup function
if (settings.setup) {
settings.setup(uploader);
}
});
return this;
} else {
// Get uploader instance for specified element
return uploaders[$(this[0]).attr('id')];
}
};
})(jQuery);
PKഎ[��'F��%plupload/jquery.plupload.queue.min.jsnu�[���(function(c){var
d={};function a(e){return plupload.translate(e)||e}function
b(f,e){e.contents().each(function(g,h){h=c(h);if(!h.is(".plupload")){h.remove()}});e.prepend('<div
class="plupload_wrapper plupload_scroll"><div
id="'+f+'_container"
class="plupload_container"><div
class="plupload"><div
class="plupload_header"><div
class="plupload_header_content"></div></div><div
class="plupload_content"><div
class="plupload_filelist_header"><div
class="plupload_file_name">'+a("Filename")+'</div><div
class="plupload_file_action"> </div><div
class="plupload_file_size">'+a("Size")+'</div><div
class="plupload_file_status"><span>'+a("Status")+'</span></div>
<div
class="plupload_file_statusbar"><span> </span></div><div
class="plupload_clearer"> </div></div><ul
id="'+f+'_filelist"
class="plupload_filelist"></ul>
<div class="plupload_filelist_footer"><div
class="plupload_file_name"><div
class="plupload_buttons">
<a href="#" class="plupload_button plupload_add btn
btn-success fileinput-button"><i class="icon-plus
icon-white"></i><span>'+a("Add
Files")+'</span></a><a href="#"
class="plupload_button plupload_start btn btn-primary
start"><i class="icon-upload
icon-white"></i><span>'+a("Start
upload")+'</span></a></div>
<span
class="plupload_upload_status"></span></div><div
class="plupload_file_action
plupload_file_action_bottom"></div>
<div class="plupload_file_size"><span
class="plupload_total_file_size">0
b</span></div><div
class="plupload_file_status"><span
class="plupload_total_status">0%</span></div><div
class="plupload_file_statusbar"><span></span></div><div
class="plupload_progress"><div
class="plupload_progress_container"><div
class="progress plupload_progress_box"><div
class="plupload_progress_bar
bar"></div></div></div></div><div
class="plupload_clearer"> </div></div></div></div></div><input
type="hidden" id="'+f+'_count"
name="'+f+'_count" value="0"
/></div>')}c.fn.pluploadQueue=function(e){if(e){this.each(function(){var
j,i,k;i=c(this);k=i.attr("id");if(!k){k=plupload.guid();i.attr("id",k)}j=new
plupload.Uploader(c.extend({dragdrop:true,container:k},e));if(e.preinit){e.preinit(j)}d[k]=j;function
h(l){var
m;if(l.status==plupload.DONE){m="plupload_done"}if(l.status==plupload.FAILED){m="plupload_failed"}if(l.status==plupload.QUEUED){m="plupload_delete"}if(l.status==plupload.UPLOADING){m="plupload_uploading"}c("#"+l.id).attr("class",m).find("a").css("display","block")}function
f(){c("span.plupload_total_status",i).html(j.total.percent+"%");c("div.plupload_progress_bar",i).css("width",j.total.percent+"%");c("span.plupload_upload_status",i).text("Uploaded
"+j.total.uploaded+"/"+j.files.length+"
files");if(j.total.uploaded==j.files.length){j.stop()}}function
g(){var
m=c("ul.plupload_filelist",i).html(""),n=0,l;c.each(j.files,function(p,o){l="";if(o.status==plupload.DONE){if(o.target_name){l+='<input
type="hidden"
name="'+k+"_"+n+'_tmpname"
value="'+plupload.xmlEncode(o.target_name)+'"
/>'}l+='<input type="hidden"
name="'+k+"_"+n+'_name"
value="'+plupload.xmlEncode(o.name)+'"
/>';l+='<input type="hidden"
name="'+k+"_"+n+'_status"
value="'+(o.status==plupload.DONE?"done":"failed")+'"
/>';n++;c("#"+k+"_count").val(n)}m.append('<li
id="'+o.id+'"><div
class="plupload_file_name"><span>'+o.name+'</span></div><div
class="plupload_file_action"><a
href="#"></a></div></div><div
class="plupload_file_size">'+plupload.formatSize(o.size)+'</div><div
class="plupload_file_status">'+o.percent+'%</div><div
class="progress plupload_file_statusbar"></div><div
class="plupload_clearer"> </div>'+l+"</li>");h(o);c("#"+o.id+".plupload_delete
a").click(function(q){c("#"+o.id).remove();j.removeFile(o);q.preventDefault()})});c("span.plupload_total_file_size",i).html(plupload.formatSize(j.total.size));if(j.total.queued===0){c("span.plupload_add_text",i).text(a("Add
Files."))}else{c("span.plupload_add_text",i).text(j.total.queued+"
files
queued.")}c("a.plupload_start",i).toggleClass("plupload_disabled",j.files.length===0);m[0].scrollTop=m[0].scrollHeight;f();if(!j.files.length&&j.features.dragdrop&&j.settings.dragdrop){c("#"+k+"_filelist").append('<li
class="plupload_droptext">'+a("Drag files
here.")+"</li>")}}j.bind("UploadFile",function(l,m){c("#"+m.id).addClass("plupload_current_file")});j.bind("Init",function(l,m){b(k,i);if(!e.unique_names&&e.rename){c("#"+k+"_filelist
div.plupload_file_name span",i).live("click",function(s){var
q=c(s.target),o,r,n,p="";o=l.getFile(q.parents("li")[0].id);n=o.name;r=/^(.+)(\.[^.]+)$/.exec(n);if(r){n=r[1];p=r[2]}q.hide().after('<input
type="text"
/>');q.next().val(n).focus().blur(function(){q.show().next().remove()}).keydown(function(u){var
t=c(this);if(u.keyCode==13){u.preventDefault();o.name=t.val()+p;q.text(o.name);t.blur()}})})}c("a.plupload_add",i).attr("id",k+"_browse");l.settings.browse_button=k+"_browse";if(l.features.dragdrop&&l.settings.dragdrop){l.settings.drop_element=k+"_filelist";c("#"+k+"_filelist").append('<li
class="plupload_droptext">'+a("Drag files
here.")+"</li>")}c("#"+k+"_container").attr("title","Using
runtime:
"+m.runtime);c("a.plupload_start",i).click(function(n){if(!c(this).hasClass("plupload_disabled")){j.start()}n.preventDefault()});c("a.plupload_stop",i).click(function(n){j.stop();n.preventDefault()});c("a.plupload_start",i).addClass("plupload_disabled")});j.init();if(e.setup){e.setup(j)}j.bind("Error",function(l,o){var
m=o.file,n;if(m){n=o.message;if(o.details){n+="
("+o.details+")"}c("#"+m.id).attr("class","plupload_failed").find("a").css("display","block").attr("title",n)}});j.bind("StateChanged",function(){if(j.state===plupload.STARTED){c("li.plupload_delete
a,div.plupload_buttons",i).hide();c("span.plupload_upload_status,div.plupload_progress,a.plupload_stop",i).css("display","block");c("span.plupload_upload_status",i).text("Uploaded
0/"+j.files.length+"
files")}else{c("a.plupload_stop,div.plupload_progress",i).hide();c("a.plupload_delete",i).css("display","block")}});j.bind("QueueChanged",g);j.bind("StateChanged",function(l){if(l.state==plupload.STOPPED){g()}});j.bind("FileUploaded",function(l,m){h(m)});j.bind("UploadProgress",function(l,m){c("#"+m.id+"
div.plupload_file_status",i).html(m.percent+"%");
c("#"+m.id+"
div.plupload_file_statusbar",i).html('<div
class="bar" style="width:
'+m.percent+'%;"></div>')
h(m);f()})});return this}else{return
d[c(this[0]).attr("id")]}}})(jQuery);PKഎ[�#o,,*plupload/jquery.ui.plupload/css/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[3f8���6plupload/jquery.ui.plupload/css/jquery.ui.plupload.cssnu�[���/*
Plupload
------------------------------------------------------------------- */
.plupload_button {cursor: pointer;}
.plupload_wrapper {
font: normal 11px Verdana,sans-serif;
width: 100%;
}
.plupload .plupload_container input {width: 98%;}
.plupload .plupload_filelist_footer {border-width: 1px 0 0 0}
.plupload .plupload_filelist_header {border-width: 0 0 1px 0}
div.plupload .plupload_file {border-width: 0 0 1px 0}
div.plupload div.plupload_header {border-width: 0 0 1px 0; position:
relative;}
.plupload_file .ui-icon {
cursor:pointer;
}
.plupload_header_content {
background-image: url('../img/plupload.png');
background-repeat: no-repeat;
background-position: 8px center;
min-height: 56px;
padding-left: 60px;
position:relative;
}
.plupload_header_content_bw {background-image:
url('../img/plupload-bw.png');}
.plupload_header_title {
font: normal 18px sans-serif;
padding: 6px 0 3px;
}
.plupload_header_text {font: normal 12px sans-serif;}
.plupload_filelist,
.plupload_filelist_content {
border-collapse: collapse;
margin: 0;
padding: 0;
width: 100%;
-moz-user-select:none;
-webkit-user-select:none;
user-select:none;
}
.plupload_cell {padding: 8px 6px;}
.plupload_file {
border-left: none;
border-right: none;
}
.plupload .ui-sortable-helper,
.plupload .ui-sortable .plupload_file {
cursor:move;
}
.plupload_scroll {
max-height: 180px;
min-height: 168px;
_height: 168px;
overflow-y: auto;
}
.plupload_file_size, .plupload_file_status {text-align: right;}
.plupload_file_size, .plupload_file_status {width: 52px;}
.plupload_file_action {width: 16px;}
.plupload_file_name {
overflow: hidden;
padding-left: 10px;
}
.plupload_file_rename {
width:95%;
}
.plupload_progress {width: 60px;}
.plupload_progress_container {padding: 1px;}
/* Floats */
.plupload_right {float: right;}
.plupload_left {float: left;}
.plupload_clear,.plupload_clearer {clear: both;}
.plupload_clearer, .plupload_progress_bar {
display: block;
font-size: 0;
line-height: 0;
}
.plupload_clearer {height: 0;}
/* Misc */
.plupload_hidden {display: none;}
.plupload_droptext {
background: transparent;
text-align: center;
vertical-align: middle;
border: 0;
line-height: 165px;
}
.plupload_buttons, .plupload_upload_status {float: left}
.plupload_message {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
}
.plupload_message p {
padding:0.7em;
margin:0;
}
.plupload_message strong {
font-weight: bold;
}
plupload_message i {
font-style: italic;
}
.plupload_message p span.ui-icon {
float: left;
margin-right: 0.3em;
}
.plupload_header_content .ui-state-error,
.plupload_header_content .ui-state-highlight {
border:none;
}
.plupload_message_close {
position:absolute;
top:5px;
right:5px;
cursor:pointer;
}
.plupload .ui-sortable-placeholder {
height:35px;
}
PKഎ[�#o,,*plupload/jquery.ui.plupload/img/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[��99/plupload/jquery.ui.plupload/img/plupload-bw.pngnu�[����PNG
IHDR((���mtEXtSoftwareAdobe
ImageReadyq�e<�IDATxڬX[OWp8(�"
/(xi8��/�D����4�Hm��I�Zb�X|hb�����%>�`o)� j���pAD�
(��59k�9(jw�ef���{�]��544x��zzz�MOO�l{��y���d!��fff<Ȍ�C��郸�edd�Z�~�?v��k�f�w�
������
~���EV�^����z������Ԕ�i���EO�>-z���V�u����ŋ�9�nݺޅ��
�}}}�X� R�y�f�ڵ^NNN& ���D
�s�ҥK�︑�����b�Ϟ={�KAA�7����`=4�݆
�6n�,L@O�<���B`8��lRԠn����0�~��O����844�b����a?ފ+P[H̹B�6$X�����U��e˖eݻw�{�|��%K>��D*�:A}..m����۷o��/_�A-K�(���g���IJ�0�{YYYՏ?nۿ���.-eee�-[��`\P.9��W���[�8����mٷo_�*�J.� ��X,%��"�/�Bڧ���)mQ�V7BB_Nt]��8��TWTT�d�-n�Jm�Ν�;JWWWȦ��.�O��-
�D����9���||���R�B0�5�N��X&�,�
Nz�H$�����
�� 0�c֬Y�����֖�a�A�ʤCH��#���-���`�س�s,�#�Cf\�݈�����g�X2�b�k�7m��V�l��@�.&�V�F�� ��1�PV�\9�y~WYY�����������t��!��\�LQ,XW����s2�s<�q�A;P9�ۍd:����TÂ�N!.띮��\�rN�S�I��Z���^}���*���ȡ�C�U�'u
��\@�(��[�ٓ�23q=��H�9
n�@{9��;���%�P�p���x}ϵ舼g?��٨�㊊�X������R-�z��6x��A�˹C�l���GaGdp�#FK�[[�(<X���_j�� �T�z�a�k 5�����0�
�����jS�����ݘhUhܱcGN���֭[�8�-Գ}L��n�r���:>3�0��U�.j�X���M'5�A��`�rʆ۔��k>�GmX���^�z�kkk��Q"ۜ�c�٠�'1(3��R�5~���ָŲʹv��]g��;k�U+�w�� ��
�ܹssT�o�i��Xj��ҥKa�Sm(3"�6$iMy�c���ͣQ�Ƭ�.0�q��b��h�G.nK-k�Z��p^J����Ў\��1*�� �
)n)�4e3M�0e��4����>^�GJ��'.w���� to��B��B�V���Ӟg�p���d1Y��@���T��۬m��X��25��(�?�wN��.ӳ��$/�Dz1=K�.����@���"a����>}:�'wR�ΝOQ��T���,
%vU2�cY�{h;�ԋp4��mX�"v���w���)!��Ěҗ����|�YuJd.�?b@q�{SSS|֙�DyӅ2<��8��6_��Ӫ�:�ˤ{�M
$m��98�TWXX��id�{��A˞��T��H
֬��Pm�ɓ'{S��Q���俒Y��F�%�kkZ��ߖ[��vC�j����ޯ
�_�g4|��
�t��
RW�n��3Ĝ�a�
�JV��M�~鯏�������do�I[�[�� l��Π�T&b=K.H'��:v�XbA��p>���k��]�gxw��e�-�AɪU�ó���!�/Pu����+��F��^KKK=X
~`��ɕK-�n��x���io��p������S��������g8�O�5�?3ɨ˚�
A�f=���=ƚ���(Z�0[,�D�c�r������ͼ���0��UȄ�C������y� �#t�fE���DW�����K�\�r�0y����` ���Qd�!���!�pn��_��'�vJ�h��E1IEND�B`�PKഎ[/0�99,plupload/jquery.ui.plupload/img/plupload.pngnu�[����PNG
IHDR((���mtEXtSoftwareAdobe
ImageReadyq�e<
�IDATxڌYkl�>��cwg��#N�8N�����&�<�ZA��RSJU��*�DHUQ(��J(
h����PK�P�*�6%$ 4��$�q?�9;3��;w���Z��;{��9�;�^��Qk�c�9��I-[���a�A
�:٠źF]nD�Q�G��2t.��p>��=zr�f����ea?��y=�}M����/��j��]�&�6"��0���3vg��ԓ]H]v;�Z�XDD�`U1U�h���V�����Ο~�o-�Ţ~�k7�)�ȗ
�9e+�ǒ�o�;jJ=U��5��3WQ�\�5,��{�$���B.�3qH9-)��6�#*��#�EK��b����#4�y����}���]�Q�H�����f�K�B]�HW�P�$XK��,�1��T��dQVHRuE'�W����%����=E�?�&��37���P��X�z˵��t���j�g���)�������T�<L�#lT6�hf���,+m��Р'KxZ�m����t�3�s_��8��hU{���(P%|Rk5�^�w:]�Hb��.�0=��7��tu
҂dƲ����h[�7|k����w����;Y���E};�-`m�W �,��*�����
�py��t�b.��1��\]��J�<˦#G'i��@{�^��s��ѰR���qEO���*�)���źn�i���f�4~����LY ��I#��I�9L�=���M2�K����
�wft�|����G]�ڻ�V�\v˗[n�\V6��-�!`DFrp�mD��-���0"ga��F;���1<$@��W�Řq���;I�[~�k�跿��(��i�wzǪ-�V,�Ҥ�$&1NՈ6��w�Bc"U��}d&���e�WW�01[�*�d ��^;��
����t�����Ů�ψ�&}�A��?�^����IN 0g�
_��o˼"���3)lÐLG��YAb���%RKv���o�|�k���Z����ap����y�T�ߴ������`�V����:,�[���d�*���ƄH�qա������Cb�$0*�#��s����C�3j[ve�iӾ'Ī��<�ow�ڵ�U�4
��_'q0�ņ+���،$�Y @f(e����=�fXGȴ�x��[�r0s�v�sfICv��yk����d�ao��瞫z[���Q���j`*�\Y]S�ٝ̋4�Y��Rפ�pf\̮t�h��nJ��$'Q�,1
���}E�@Z�2��[x�9�u�.��*���%yOz4�JQ�6�SGYi+��!-�J�1�6�
M�ã��,2Ȍ.��b��8��k)��%+CB��,,4,�I+[�N�7.8u���;2==TU6س��k���k(GFONbq��
�t�yVl�0��r�
�a��9��lkV����$2����X!�F�c%���Qv��څ�����i�13#@*0&a
�L�pi�̋
�
p�[)�����4��оRp�3�B_C���I�d0'vk7e`�7��0��
ه�W�uK�
�ǑG"g��d���R�J`�QG�(�� b]��|��-�!
I'2��Pcc��$�d�ݨ���u�\�z�0�Y�CFF,5���)�^T�4�?�"�pړfV45����d<Z\���ko"�K�Jl��ͤ
(����͚�1d� ��=���q�[�c�'X�L�J�����l��g�uX�J2�D�b=ّ,P�9��_����O
�L�!�^a�K�X,���+�����<a�D�>�pN��*�|�3[��B�yK��5X�y����/�[�,�m�*�E[����A+�>�q,C�]'[h�&�Z�(!g���L���J�9W�E�!yhg��obQ36L��i��)ĸ3��
JbP�Ո�é��p3�Id�@ƣ��������X��$J�S{MRW���M7�c�45��ѝ��_�!x�Y�<h���3���$�'��L�2���!7u���T-B�
+1�ė�a,N)(+X5�ȉ!"x^+��$",uB*�Q
��2q���P�,�B��y��I�f�71��`P�@�BԸ��l�R����ڼ�M��
���1�2�K���ky<+��ɦe��@FK�5�'�
K���G� H�
�|�)�@�V��,�!����хɻ�u�t��Մpw&YXh3�;c��k��ʼn��I@D"s�,����-I��E�}��̸��5��a@�;G������˶��KT+gʻh"=�������s1�
�969A�1݉(��`�!ī��L�r��e�J�(X�4 �Q���@��p!�lML�C)^��]O7�V����:��َ
j��K+�
���[��|�4�S4�Y?srYg,��
\'���W�}DU���Λ�o�LѸ(��s�Ɇ��n��ufph�uW^.y�]G��p��I�n��QY�t�6)��.;Ζ4�_O��r�m7����Cb���,���J��0���Y5�VN8��e�9��>8R�v�݆ ��,�H��i���l!e���T4��C;a�+<�Ҏ0���R6����a��D+���� ��^���������j>:}�Gg�[�[�)�h���2�l�,�ފ�1mbmz�a��"6��a�8a����DR���_ؠ�L$:�JHG>��{gwu`��͉�N����gFjT@�W@���|L�a�Y`r���p+%�2 �f5�k�d�b��n�Q.i,']���\��,�7�7X�3١�;���쮮<{��?�����g��tՖ/�
X576��?w��2̀�``�$`�934j��̦�ӢCIF�.j,R�tW��9��{T���ۯ>G���/���܍{��XBN���쁜Z�4�ɾX e�KI L&0���Qa�D��L�9�M\:�4>]�'$�"3���T}�<�>yl`<w��O��P��v���-Ε��꒾��/�FDLE��l����8�t��
Pa���`;�t������r-*�w�N�8xt����~��#>��7L���-fz_]�|���}*��V
@hR�r��/\q��N�f�aN�x��8]0� 4�j��
����B��֝{��o���c�i��Y6�}��]ݭ}��^��-_Ꙏ������r�(K�1�7Q|�����_��JS���ۖ'>��&7���ћ���њY�Lw��;W�\`wwe�C`���J����eܜtw�N݊���~�N�F� ��k��}o��E�>���t\���.m�����ټ����g�GV�6���&e���3鸌��r�JAit�Ng������s�'ϊ�<��X����H�6~�;��9�~�.�7��<p�ӝ�N�j_�,n�;���$j�?'t�c�K�":��
/�y�{l/��b_�`<�K��ޢIEND�B`�PKഎ[�#o,,&plupload/jquery.ui.plupload/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKഎ[?����2�21plupload/jquery.ui.plupload/jquery.ui.plupload.jsnu�[���(function(f,a,c,g,e){var
h={};function b(i){return c.translate(i)||i}function
d(i){i.html('<div class="plupload_wrapper"><div
class="ui-widget-content plupload_container"><div
class="plupload"><div class="ui-state-default
ui-widget-header plupload_header"><div
class="plupload_header_content"><div
class="plupload_header_title">'+b("Select
files")+'</div><div
class="plupload_header_text">'+b("Add files to the
upload queue and click the start
button.")+'</div></div></div><div
class="plupload_content"><table
class="plupload_filelist"><tr class="ui-widget-header
plupload_filelist_header"><td class="plupload_cell
plupload_file_name">'+b("Filename")+'</td><td
class="plupload_cell
plupload_file_status">'+b("Status")+'</td><td
class="plupload_cell
plupload_file_size">'+b("Size")+'</td><td
class="plupload_cell
plupload_file_action"> </td></tr></table><div
class="plupload_scroll"><table
class="plupload_filelist_content"></table></div><table
class="plupload_filelist"><tr class="ui-widget-header
ui-widget-content plupload_filelist_footer"><td
class="plupload_cell plupload_file_name"><div
class="plupload_buttons"><!-- Visible --><a
class="plupload_button plupload_add">'+b("Add
Files")+'</a> <a class="plupload_button
plupload_start">'+b("Start
Upload")+'</a> <a class="plupload_button
plupload_stop plupload_hidden">'+b("Stop
Upload")+'</a> </div><div
class="plupload_started plupload_hidden"><!-- Hidden
--><div class="plupload_progress plupload_right"><div
class="plupload_progress_container"></div></div><div
class="plupload_cell
plupload_upload_status"></div><div
class="plupload_clearer"> </div></div></td><td
class="plupload_file_status"><span
class="plupload_total_status">0%</span></td><td
class="plupload_file_size"><span
class="plupload_total_file_size">0
kb</span></td><td
class="plupload_file_action"></td></tr></table></div></div></div><input
class="plupload_count" value="0"
type="hidden"></div>')}g.widget("ui.plupload",{contents_bak:"",runtime:null,options:{browse_button_hover:"ui-state-hover",browse_button_active:"ui-state-active",dragdrop:true,multiple_queues:true,buttons:{browse:true,start:true,stop:true},autostart:false,sortable:false,rename:false,max_file_count:0},FILE_COUNT_ERROR:-9001,_create:function(){var
i=this,k,j;k=this.element.attr("id");if(!k){k=c.guid();this.element.attr("id",k)}this.id=k;this.contents_bak=this.element.html();d(this.element);this.container=g(".plupload_container",this.element).attr("id",k+"_container");this.filelist=g(".plupload_filelist_content",this.container).attr({id:k+"_filelist",unselectable:"on"});this.browse_button=g(".plupload_add",this.container).attr("id",k+"_browse");this.start_button=g(".plupload_start",this.container).attr("id",k+"_start");this.stop_button=g(".plupload_stop",this.container).attr("id",k+"_stop");if(g.ui.button){this.browse_button.button({icons:{primary:"ui-icon-circle-plus"}});this.start_button.button({icons:{primary:"ui-icon-circle-arrow-e"},disabled:true});this.stop_button.button({icons:{primary:"ui-icon-circle-close"}})}this.progressbar=g(".plupload_progress_container",this.container);if(g.ui.progressbar){this.progressbar.progressbar()}this.counter=g(".plupload_count",this.element).attr({id:k+"_count",name:k+"_count"});j=this.uploader=h[k]=new
c.Uploader(g.extend({container:k,browse_button:k+"_browse"},this.options));j.bind("Error",function(l,m){if(m.code===c.INIT_ERROR){i.destroy()}});j.bind("Init",function(l,m){if(!i.options.buttons.browse){i.browse_button.button("disable").hide();l.disableBrowse(true)}if(!i.options.buttons.start){i.start_button.button("disable").hide()}if(!i.options.buttons.stop){i.stop_button.button("disable").hide()}if(!i.options.unique_names&&i.options.rename){i._enableRenaming()}if(j.features.dragdrop&&i.options.dragdrop){i._enableDragAndDrop()}i.container.attr("title",b("Using
runtime:
")+(i.runtime=m.runtime));i.start_button.click(function(n){if(!g(this).button("option","disabled")){i.start()}n.preventDefault()});i.stop_button.click(function(n){i.stop();n.preventDefault()})});if(i.options.max_file_count){j.bind("FilesAdded",function(l,n){var
o=[],m=n.length;var
p=l.files.length+m-i.options.max_file_count;if(p>0){o=n.splice(m-p,p);l.trigger("Error",{code:i.FILE_COUNT_ERROR,message:b("File
count
error."),file:o})}})}j.init();j.bind("FilesAdded",function(l,m){i._trigger("selected",null,{up:l,files:m});if(i.options.autostart){setTimeout(function(){i.start()},10)}});j.bind("FilesRemoved",function(l,m){i._trigger("removed",null,{up:l,files:m})});j.bind("QueueChanged",function(){i._updateFileList()});j.bind("StateChanged",function(){i._handleState()});j.bind("UploadFile",function(l,m){i._handleFileStatus(m)});j.bind("FileUploaded",function(l,m){i._handleFileStatus(m);i._trigger("uploaded",null,{up:l,file:m})});j.bind("UploadProgress",function(l,m){g("#"+m.id).find(".plupload_file_status").html(m.percent+"%").end().find(".plupload_file_size").html(c.formatSize(m.size));i._handleFileStatus(m);i._updateTotalProgress();i._trigger("progress",null,{up:l,file:m})});j.bind("UploadComplete",function(l,m){i._trigger("complete",null,{up:l,files:m})});j.bind("Error",function(l,p){var
n=p.file,o,m;if(n){o="<strong>"+p.message+"</strong>";m=p.details;if(m){o+="
<br
/><i>"+p.details+"</i>"}else{switch(p.code){case
c.FILE_EXTENSION_ERROR:m=b("File:
%s").replace("%s",n.name);break;case
c.FILE_SIZE_ERROR:m=b("File: %f, size: %s, max file size:
%m").replace(/%([fsm])/g,function(r,q){switch(q){case"f":return
n.name;case"s":return n.size;case"m":return
c.parseSize(i.options.max_file_size)}});break;case
i.FILE_COUNT_ERROR:m=b("Upload element accepts only %d file(s) at a
time. Extra files were
stripped.").replace("%d",i.options.max_file_count);break;case
c.IMAGE_FORMAT_ERROR:m=c.translate("Image format either wrong or not
supported.");break;case
c.IMAGE_MEMORY_ERROR:m=c.translate("Runtime ran out of available
memory.");break;case
c.IMAGE_DIMENSIONS_ERROR:m=c.translate("Resoultion out of boundaries!
<b>%s</b> runtime supports images only up to
%wx%hpx.").replace(/%([swh])/g,function(r,q){switch(q){case"s":return
l.runtime;case"w":return
l.features.maxWidth;case"h":return
l.features.maxHeight}});break;case c.HTTP_ERROR:m=b("Upload URL might
be wrong or doesn't exist");break}o+=" <br
/><i>"+m+"</i>"}i.notify("error",o);i._trigger("error",null,{up:l,file:n,error:o})}})},_setOption:function(j,k){var
i=this;if(j=="buttons"&&typeof(k)=="object"){k=g.extend(i.options.buttons,k);if(!k.browse){i.browse_button.button("disable").hide();up.disableBrowse(true)}else{i.browse_button.button("enable").show();up.disableBrowse(false)}if(!k.start){i.start_button.button("disable").hide()}else{i.start_button.button("enable").show()}if(!k.stop){i.stop_button.button("disable").hide()}else{i.start_button.button("enable").show()}}i.uploader.settings[j]=k},start:function(){this.uploader.start();this._trigger("start",null)},stop:function(){this.uploader.stop();this._trigger("stop",null)},getFile:function(j){var
i;if(typeof
j==="number"){i=this.uploader.files[j]}else{i=this.uploader.getFile(j)}return
i},removeFile:function(j){var
i=this.getFile(j);if(i){this.uploader.removeFile(i)}},clearQueue:function(){this.uploader.splice()},getUploader:function(){return
this.uploader},refresh:function(){this.uploader.refresh()},_handleState:function(){var
j=this,i=this.uploader;if(i.state===c.STARTED){g(j.start_button).button("disable");g([]).add(j.stop_button).add(".plupload_started").removeClass("plupload_hidden");g(".plupload_upload_status",j.element).html(b("Uploaded
%d/%d
files").replace("%d/%d",i.total.uploaded+"/"+i.files.length));g(".plupload_header_content",j.element).addClass("plupload_header_content_bw")}else{g([]).add(j.stop_button).add(".plupload_started").addClass("plupload_hidden");if(j.options.multiple_queues){g(j.start_button).button("enable");g(".plupload_header_content",j.element).removeClass("plupload_header_content_bw")}j._updateFileList()}},_handleFileStatus:function(l){var
n,j;if(!g("#"+l.id).length){return}switch(l.status){case
c.DONE:n="plupload_done";j="ui-icon
ui-icon-circle-check";break;case c.FAILED:n="ui-state-error
plupload_failed";j="ui-icon ui-icon-alert";break;case
c.QUEUED:n="plupload_delete";j="ui-icon
ui-icon-circle-minus";break;case
c.UPLOADING:n="ui-state-highlight
plupload_uploading";j="ui-icon ui-icon-circle-arrow-w";var
i=g(".plupload_scroll",this.container),m=i.scrollTop(),o=i.height(),k=g("#"+l.id).position().top+g("#"+l.id).height();if(o<k){i.scrollTop(m+k-o)}break}n+="
ui-state-default
plupload_file";g("#"+l.id).attr("class",n).find(".ui-icon").attr("class",j)},_updateTotalProgress:function(){var
i=this.uploader;this.progressbar.progressbar("value",i.total.percent);this.element.find(".plupload_total_status").html(i.total.percent+"%").end().find(".plupload_total_file_size").html(c.formatSize(i.total.size)).end().find(".plupload_upload_status").html(b("Uploaded
%d/%d
files").replace("%d/%d",i.total.uploaded+"/"+i.files.length))},_updateFileList:function(){var
k=this,j=this.uploader,m=this.filelist,l=0,o,n=this.id+"_",i;if(g.ui.sortable&&this.options.sortable){g("tbody.ui-sortable",m).sortable("destroy")}m.empty();g.each(j.files,function(q,p){i="";o=n+l;if(p.status===c.DONE){if(p.target_name){i+='<input
type="hidden" name="'+o+'_tmpname"
value="'+c.xmlEncode(p.target_name)+'"
/>'}i+='<input type="hidden"
name="'+o+'_name"
value="'+c.xmlEncode(p.name)+'"
/>';i+='<input type="hidden"
name="'+o+'_status"
value="'+(p.status===c.DONE?"done":"failed")+'"
/>';l++;k.counter.val(l)}m.append('<tr
class="ui-state-default plupload_file"
id="'+p.id+'"><td class="plupload_cell
plupload_file_name"><span>'+p.name+'</span></td><td
class="plupload_cell
plupload_file_status">'+p.percent+'%</td><td
class="plupload_cell
plupload_file_size">'+c.formatSize(p.size)+'</td><td
class="plupload_cell plupload_file_action"><div
class="ui-icon"></div>'+i+"</td></tr>");k._handleFileStatus(p);g("#"+p.id+".plupload_delete
.ui-icon, #"+p.id+".plupload_done
.ui-icon").click(function(r){g("#"+p.id).remove();j.removeFile(p);r.preventDefault()});k._trigger("updatelist",null,m)});if(j.total.queued===0){g(".ui-button-text",k.browse_button).html(b("Add
Files"))}else{g(".ui-button-text",k.browse_button).html(b("%d
files
queued").replace("%d",j.total.queued))}if(j.files.length===(j.total.uploaded+j.total.failed)){k.start_button.button("disable")}else{k.start_button.button("enable")}m[0].scrollTop=m[0].scrollHeight;k._updateTotalProgress();if(!j.files.length&&j.features.dragdrop&&j.settings.dragdrop){g("#"+o+"_filelist").append('<tr><td
class="plupload_droptext">'+b("Drag files
here.")+"</td></tr>")}else{if(k.options.sortable&&g.ui.sortable){k._enableSortingList()}}},_enableRenaming:function(){var
i=this;this.filelist.on("click",".plupload_delete
.plupload_file_name span",function(o){var
m=g(o.target),k,n,j,l="";k=i.uploader.getFile(m.parents("tr")[0].id);j=k.name;n=/^(.+)(\.[^.]+)$/.exec(j);if(n){j=n[1];l=n[2]}m.hide().after('<input
class="plupload_file_rename" type="text"
/>');m.next().val(j).focus().blur(function(){m.show().next().remove()}).keydown(function(q){var
p=g(this);if(g.inArray(q.keyCode,[13,27])!==-1){q.preventDefault();if(q.keyCode===13){k.name=p.val()+l;m.html(k.name)}p.blur()}})})},_enableDragAndDrop:function(){this.filelist.append('<tr><td
class="plupload_droptext">'+b("Drag files
here.")+"</td></tr>");this.filelist.parent().attr("id",this.id+"_dropbox");this.uploader.settings.drop_element=this.options.drop_element=this.id+"_dropbox"},_enableSortingList:function(){var
j,i=this;if(g("tbody
tr",this.filelist).length<2){return}g("tbody",this.filelist).sortable({containment:"parent",items:".plupload_delete",helper:function(l,k){return
k.clone(true).find("td:not(.plupload_file_name)").remove().end().css("width","100%")},stop:function(p,o){var
l,n,k,m=[];g.each(g(this).sortable("toArray"),function(q,r){m[m.length]=i.uploader.getFile(r)});m.unshift(m.length);m.unshift(0);Array.prototype.splice.apply(i.uploader.files,m)}})},notify:function(j,k){var
i=g('<div class="plupload_message"><span
class="plupload_message_close ui-icon ui-icon-circle-close"
title="'+b("Close")+'"></span><p><span
class="ui-icon"></span>'+k+"</p></div>");i.addClass("ui-state-"+(j==="error"?"error":"highlight")).find("p
.ui-icon").addClass("ui-icon-"+(j==="error"?"alert":"info")).end().find(".plupload_message_close").click(function(){i.remove()}).end();g(".plupload_header_content",this.container).append(i)},destroy:function(){g(".plupload_button",this.element).unbind();if(g.ui.button){g(".plupload_add,
.plupload_start,
.plupload_stop",this.container).button("destroy")}if(g.ui.progressbar){this.progressbar.progressbar("destroy")}if(g.ui.sortable&&this.options.sortable){g("tbody",this.filelist).sortable("destroy")}this.uploader.destroy();this.element.empty().html(this.contents_bak);this.contents_bak="";g.Widget.prototype.destroy.apply(this)}})}(window,document,plupload,jQuery));PKᴎ[7^���plupload/plupload.html4.jsnu�[���(function(d,a,b,c){function
e(f){return
a.getElementById(f)}b.runtimes.Html4=b.addRuntime("html4",{getFeatures:function(){return{multipart:true,triggerDialog:(b.ua.gecko&&d.FormData||b.ua.webkit)}},init:function(f,g){f.bind("Init",function(p){var
j=a.body,n,h="javascript",k,x,q,z=[],r=/MSIE/.test(navigator.userAgent),t=[],m=p.settings.filters,o,l,s,w;no_type_restriction:for(o=0;o<m.length;o++){l=m[o].extensions.split(/,/);for(w=0;w<l.length;w++){if(l[w]==="*"){t=[];break
no_type_restriction}s=b.mimeTypes[l[w]];if(s&&b.inArray(s,t)===-1){t.push(s)}}}t=t.join(",");function
v(){var
B,y,i,A;q=b.guid();z.push(q);B=a.createElement("form");B.setAttribute("id","form_"+q);B.setAttribute("method","post");B.setAttribute("enctype","multipart/form-data");B.setAttribute("encoding","multipart/form-data");B.setAttribute("target",p.id+"_iframe");B.style.position="absolute";y=a.createElement("input");y.setAttribute("id","input_"+q);y.setAttribute("type","file");y.setAttribute("accept",t);y.setAttribute("size",1);A=e(p.settings.browse_button);if(p.features.triggerDialog&&A){b.addEvent(e(p.settings.browse_button),"click",function(C){if(!y.disabled){y.click()}C.preventDefault()},p.id)}b.extend(y.style,{width:"100%",height:"100%",opacity:0,fontSize:"99px",cursor:"pointer"});b.extend(B.style,{overflow:"hidden"});i=p.settings.shim_bgcolor;if(i){B.style.background=i}if(r){b.extend(y.style,{filter:"alpha(opacity=0)"})}b.addEvent(y,"change",function(F){var
D=F.target,C,E=[],G;if(D.value){e("form_"+q).style.top=-1048575+"px";C=D.value.replace(/\\/g,"/");C=C.substring(C.length,C.lastIndexOf("/")+1);E.push(new
b.File(q,C));if(!p.features.triggerDialog){b.removeAllEvents(B,p.id)}else{b.removeEvent(A,"click",p.id)}b.removeEvent(y,"change",p.id);v();if(E.length){f.trigger("FilesAdded",E)}}},p.id);B.appendChild(y);j.appendChild(B);p.refresh()}function
u(){var i=a.createElement("div");i.innerHTML='<iframe
id="'+p.id+'_iframe"
name="'+p.id+'_iframe"
src="'+h+':"""
style="display:none"></iframe>';n=i.firstChild;j.appendChild(n);b.addEvent(n,"load",function(C){var
D=C.target,B,y;if(!k){return}try{B=D.contentWindow.document||D.contentDocument||d.frames[D.id].document}catch(A){p.trigger("Error",{code:b.SECURITY_ERROR,message:b.translate("Security
error."),file:k});return}y=B.documentElement.innerText||B.documentElement.textContent;if(y){k.status=b.DONE;k.loaded=1025;k.percent=100;p.trigger("UploadProgress",k);p.trigger("FileUploaded",k,{response:y})}},p.id)}if(p.settings.container){j=e(p.settings.container);if(b.getStyle(j,"position")==="static"){j.style.position="relative"}}p.bind("UploadFile",function(i,A){var
B,y;if(A.status==b.DONE||A.status==b.FAILED||i.state==b.STOPPED){return}B=e("form_"+A.id);y=e("input_"+A.id);y.setAttribute("name",i.settings.file_data_name);B.setAttribute("action",i.settings.url);b.each(b.extend({name:A.target_name||A.name},i.settings.multipart_params),function(E,C){var
D=a.createElement("input");b.extend(D,{type:"hidden",name:C,value:E});B.insertBefore(D,B.firstChild)});k=A;e("form_"+q).style.top=-1048575+"px";B.submit()});p.bind("FileUploaded",function(i){i.refresh()});p.bind("StateChanged",function(i){if(i.state==b.STARTED){u()}else{if(i.state==b.STOPPED){d.setTimeout(function(){b.removeEvent(n,"load",i.id);if(n.parentNode){n.parentNode.removeChild(n)}},0)}}b.each(i.files,function(A,y){if(A.status===b.DONE||A.status===b.FAILED){var
B=e("form_"+A.id);if(B){B.parentNode.removeChild(B)}}})});p.bind("Refresh",function(y){var
F,A,B,C,i,G,H,E,D;F=e(y.settings.browse_button);if(F){i=b.getPos(F,e(y.settings.container));G=b.getSize(F);H=e("form_"+q);E=e("input_"+q);b.extend(H.style,{top:i.y+"px",left:i.x+"px",width:G.w+"px",height:G.h+"px"});if(y.features.triggerDialog){if(b.getStyle(F,"position")==="static"){b.extend(F.style,{position:"relative"})}D=parseInt(F.style.zIndex,10);if(isNaN(D)){D=0}b.extend(F.style,{zIndex:D});b.extend(H.style,{zIndex:D-1})}B=y.settings.browse_button_hover;C=y.settings.browse_button_active;A=y.features.triggerDialog?F:H;if(B){b.addEvent(A,"mouseover",function(){b.addClass(F,B)},y.id);b.addEvent(A,"mouseout",function(){b.removeClass(F,B)},y.id)}if(C){b.addEvent(A,"mousedown",function(){b.addClass(F,C)},y.id);b.addEvent(a.body,"mouseup",function(){b.removeClass(F,C)},y.id)}}});f.bind("FilesRemoved",function(y,B){var
A,C;for(A=0;A<B.length;A++){C=e("form_"+B[A].id);if(C){C.parentNode.removeChild(C)}}});f.bind("DisableBrowse",function(i,A){var
y=a.getElementById("input_"+q);if(y){y.disabled=A}});f.bind("Destroy",function(i){var
y,A,B,C={inputContainer:"form_"+q,inputFile:"input_"+q,browseButton:i.settings.browse_button};for(y
in
C){A=e(C[y]);if(A){b.removeAllEvents(A,i.id)}}b.removeAllEvents(a.body,i.id);b.each(z,function(E,D){B=e("form_"+E);if(B){B.parentNode.removeChild(B)}})});v()});g({success:true})}})})(window,document,plupload);PKᴎ[��FFplupload/plupload.html5.jsnu�[���(function(k,m,l,g){var
d={},j;function c(s){var
r=s.naturalWidth,u=s.naturalHeight;if(r*u>1024*1024){var
t=m.createElement("canvas");t.width=t.height=1;var
q=t.getContext("2d");q.drawImage(s,-r+1,0);return
q.getImageData(0,0,1,1).data[3]===0}else{return false}}function
f(u,r,z){var q=m.createElement("canvas");q.width=1;q.height=z;var
A=q.getContext("2d");A.drawImage(u,0,0);var
t=A.getImageData(0,0,1,z).data;var x=0;var v=z;var y=z;while(y>x){var
s=t[(y-1)*4+3];if(s===0){v=y}else{x=y}y=(v+x)>>1}var
w=(y/z);return(w===0)?1:w}function o(K,s,t){var
v=K.naturalWidth,z=K.naturalHeight;var E=t.width,B=t.height;var
F=s.getContext("2d");F.save();var r=c(K);if(r){v/=2;z/=2}var
I=1024;var q=m.createElement("canvas");q.width=q.height=I;var
u=q.getContext("2d");var G=f(K,v,z);var A=0;while(A<z){var
J=A+I>z?z-A:I;var C=0;while(C<v){var
D=C+I>v?v-C:I;u.clearRect(0,0,I,I);u.drawImage(K,-C,-A);var
x=(C*E/v)<<0;var y=Math.ceil(D*E/v);var w=(A*B/z/G)<<0;var
H=Math.ceil(J*B/z/G);F.drawImage(q,0,0,D,J,x,w,y,H);C+=I}A+=I}F.restore();q=u=null}function
p(r,s){var q;if("FileReader" in k){q=new
FileReader();q.readAsDataURL(r);q.onload=function(){s(q.result)}}else{return
s(r.getAsDataURL())}}function n(r,s){var q;if("FileReader" in
k){q=new
FileReader();q.readAsBinaryString(r);q.onload=function(){s(q.result)}}else{return
s(r.getAsBinary())}}function e(u,s,q,y){var
t,r,x,v,w=this;p(d[u.id],function(z){t=m.createElement("canvas");t.style.display="none";m.body.appendChild(t);x=new
Image();x.onerror=x.onabort=function(){y({success:false})};x.onload=function(){var
F,A,C,B,E;if(!s.width){s.width=x.width}if(!s.height){s.height=x.height}v=Math.min(s.width/x.width,s.height/x.height);if(v<1){F=Math.round(x.width*v);A=Math.round(x.height*v)}else{if(s.quality&&q==="image/jpeg"){F=x.width;A=x.height}else{y({success:false});return}}t.width=F;t.height=A;o(x,t,{width:F,height:A});if(q==="image/jpeg"){B=new
h(atob(z.substring(z.indexOf("base64,")+7)));if(B.headers&&B.headers.length){E=new
a();if(E.init(B.get("exif")[0])){E.setExif("PixelXDimension",F);E.setExif("PixelYDimension",A);B.set("exif",E.getBinary());if(w.hasEventListener("ExifData")){w.trigger("ExifData",u,E.EXIF())}if(w.hasEventListener("GpsData")){w.trigger("GpsData",u,E.GPS())}}}}if(s.quality&&q==="image/jpeg"){try{z=t.toDataURL(q,s.quality/100)}catch(D){z=t.toDataURL(q)}}else{z=t.toDataURL(q)}z=z.substring(z.indexOf("base64,")+7);z=atob(z);if(B&&B.headers&&B.headers.length){z=B.restore(z);B.purge()}t.parentNode.removeChild(t);y({success:true,data:z})};x.src=z})}l.runtimes.Html5=l.addRuntime("html5",{getFeatures:function(){var
v,r,u,t,s,q;r=u=s=q=false;if(k.XMLHttpRequest){v=new
XMLHttpRequest();u=!!v.upload;r=!!(v.sendAsBinary||v.upload)}if(r){t=!!(v.sendAsBinary||(k.Uint8Array&&k.ArrayBuffer));s=!!(File&&(File.prototype.getAsDataURL||k.FileReader)&&t);q=!!(File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice))}j=l.ua.safari&&l.ua.windows;return{html5:r,dragdrop:(function(){var
w=m.createElement("div");return("draggable" in
w)||("ondragstart" in w&&"ondrop" in
w)}()),jpgresize:s,pngresize:s,multipart:s||!!k.FileReader||!!k.FormData,canSendBinary:t,cantSendBlobInFormData:!!(l.ua.gecko&&k.FormData&&k.FileReader&&!FileReader.prototype.readAsArrayBuffer)||l.ua.android,progress:u,chunks:q,multi_selection:!(l.ua.safari&&l.ua.windows),triggerDialog:(l.ua.gecko&&k.FormData||l.ua.webkit)}},init:function(s,u){var
q,t;function r(z){var
x,w,y=[],A,v={};for(w=0;w<z.length;w++){x=z[w];if(v[x.name]&&l.ua.safari&&l.ua.windows){continue}v[x.name]=true;A=l.guid();d[A]=x;y.push(new
l.File(A,x.fileName||x.name,x.fileSize||x.size))}if(y.length){s.trigger("FilesAdded",y)}}q=this.getFeatures();if(!q.html5){u({success:false});return}s.bind("Init",function(A){var
J,I,F=[],z,G,w=A.settings.filters,x,E,v=m.body,H;J=m.createElement("div");J.id=A.id+"_html5_container";l.extend(J.style,{position:"absolute",background:s.settings.shim_bgcolor||"transparent",width:"100px",height:"100px",overflow:"hidden",zIndex:99999,opacity:s.settings.shim_bgcolor?"":0});J.className="plupload
html5";if(s.settings.container){v=m.getElementById(s.settings.container);if(l.getStyle(v,"position")==="static"){v.style.position="relative"}}v.appendChild(J);no_type_restriction:for(z=0;z<w.length;z++){x=w[z].extensions.split(/,/);for(G=0;G<x.length;G++){if(x[G]==="*"){F=[];break
no_type_restriction}E=l.mimeTypes[x[G]];if(E&&l.inArray(E,F)===-1){F.push(E)}}}J.innerHTML='<input
id="'+s.id+'_html5" style="font-size:999px"
type="file"
accept="'+F.join(",")+'"
'+(s.settings.multi_selection&&s.features.multi_selection?'multiple="multiple"':"")+"
/>";J.scrollTop=100;H=m.getElementById(s.id+"_html5");if(A.features.triggerDialog){l.extend(H.style,{position:"absolute",width:"100%",height:"100%"})}else{l.extend(H.style,{cssFloat:"right",styleFloat:"right"})}H.onchange=function(){r(this.files);this.value=""};I=m.getElementById(A.settings.browse_button);if(I){var
C=A.settings.browse_button_hover,D=A.settings.browse_button_active,B=A.features.triggerDialog?I:J;if(C){l.addEvent(B,"mouseover",function(){l.addClass(I,C)},A.id);l.addEvent(B,"mouseout",function(){l.removeClass(I,C)},A.id)}if(D){l.addEvent(B,"mousedown",function(){l.addClass(I,D)},A.id);l.addEvent(m.body,"mouseup",function(){l.removeClass(I,D)},A.id)}if(A.features.triggerDialog){l.addEvent(I,"click",function(K){var
y=m.getElementById(A.id+"_html5");if(y&&!y.disabled){y.click()}K.preventDefault()},A.id)}}});s.bind("PostInit",function(){var
v=m.getElementById(s.settings.drop_element);if(v){if(j){l.addEvent(v,"dragenter",function(z){var
y,w,x;y=m.getElementById(s.id+"_drop");if(!y){y=m.createElement("input");y.setAttribute("type","file");y.setAttribute("id",s.id+"_drop");y.setAttribute("multiple","multiple");l.addEvent(y,"change",function(){r(this.files);l.removeEvent(y,"change",s.id);y.parentNode.removeChild(y)},s.id);l.addEvent(y,"dragover",function(A){A.stopPropagation()},s.id);v.appendChild(y)}w=l.getPos(v,m.getElementById(s.settings.container));x=l.getSize(v);if(l.getStyle(v,"position")==="static"){l.extend(v.style,{position:"relative"})}l.extend(y.style,{position:"absolute",display:"block",top:0,left:0,width:x.w+"px",height:x.h+"px",opacity:0})},s.id);return}l.addEvent(v,"dragover",function(w){w.preventDefault()},s.id);l.addEvent(v,"drop",function(x){var
w=x.dataTransfer;if(w&&w.files){r(w.files)}x.preventDefault()},s.id)}});s.bind("Refresh",function(v){var
w,x,y,A,z;w=m.getElementById(s.settings.browse_button);if(w){x=l.getPos(w,m.getElementById(v.settings.container));y=l.getSize(w);A=m.getElementById(s.id+"_html5_container");l.extend(A.style,{top:x.y+"px",left:x.x+"px",width:y.w+"px",height:y.h+"px"});if(s.features.triggerDialog){if(l.getStyle(w,"position")==="static"){l.extend(w.style,{position:"relative"})}z=parseInt(l.getStyle(w,"zIndex"),10);if(isNaN(z)){z=0}l.extend(w.style,{zIndex:z});l.extend(A.style,{zIndex:z-1})}}});s.bind("DisableBrowse",function(v,x){var
w=m.getElementById(v.id+"_html5");if(w){w.disabled=x}});s.bind("CancelUpload",function(){if(t&&t.abort){t.abort()}});s.bind("UploadFile",function(v,x){var
y=v.settings,B,w;function A(D,G,C){var
E;if(File.prototype.slice){try{D.slice();return
D.slice(G,C)}catch(F){return
D.slice(G,C-G)}}else{if(E=File.prototype.webkitSlice||File.prototype.mozSlice){return
E.call(D,G,C)}else{return null}}}function z(C){var F=0,E=0;function D(){var
L,P,N,O,K,M,H,G=v.settings.url;function
J(S){if(t.sendAsBinary){t.sendAsBinary(S)}else{if(v.features.canSendBinary){var
Q=new Uint8Array(S.length);for(var
R=0;R<S.length;R++){Q[R]=(S.charCodeAt(R)&255)}t.send(Q.buffer)}}}function
I(R){var
V=0,W="----pluploadboundary"+l.guid(),T,S="--",U="\r\n",Q="";t=new
XMLHttpRequest;if(t.upload){t.upload.onprogress=function(X){x.loaded=Math.min(x.size,E+X.loaded-V);v.trigger("UploadProgress",x)}}t.onreadystatechange=function(){var
X,Z;if(t.readyState==4&&v.state!==l.STOPPED){try{X=t.status}catch(Y){X=0}if(X>=400){v.trigger("Error",{code:l.HTTP_ERROR,message:l.translate("HTTP
Error."),file:x,status:X})}else{if(N){Z={chunk:F,chunks:N,response:t.responseText,status:X};v.trigger("ChunkUploaded",x,Z);E+=M;if(Z.cancelled){x.status=l.FAILED;return}x.loaded=Math.min(x.size,(F+1)*K)}else{x.loaded=x.size}v.trigger("UploadProgress",x);R=L=T=Q=null;if(!N||++F>=N){x.status=l.DONE;v.trigger("FileUploaded",x,{response:t.responseText,status:X})}else{D()}}}};if(v.settings.multipart&&q.multipart){O.name=x.target_name||x.name;t.open("post",G,true);l.each(v.settings.headers,function(Y,X){t.setRequestHeader(X,Y)});if(typeof(R)!=="string"&&!!k.FormData){T=new
FormData();l.each(l.extend(O,v.settings.multipart_params),function(Y,X){T.append(X,Y)});T.append(v.settings.file_data_name,R);t.send(T);return}if(typeof(R)==="string"){t.setRequestHeader("Content-Type","multipart/form-data;
boundary="+W);l.each(l.extend(O,v.settings.multipart_params),function(Y,X){Q+=S+W+U+'Content-Disposition:
form-data;
name="'+X+'"'+U+U;Q+=unescape(encodeURIComponent(Y))+U});H=l.mimeTypes[x.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream";Q+=S+W+U+'Content-Disposition:
form-data; name="'+v.settings.file_data_name+'";
filename="'+unescape(encodeURIComponent(x.name))+'"'+U+"Content-Type:
"+H+U+U+R+U+S+W+S+U;V=Q.length-R.length;R=Q;J(R);return}}G=l.buildUrl(v.settings.url,l.extend(O,v.settings.multipart_params));t.open("post",G,true);t.setRequestHeader("Content-Type","application/octet-stream");l.each(v.settings.headers,function(Y,X){t.setRequestHeader(X,Y)});if(typeof(R)==="string"){J(R)}else{t.send(R)}}if(x.status==l.DONE||x.status==l.FAILED||v.state==l.STOPPED){return}O={name:x.target_name||x.name};if(y.chunk_size&&x.size>y.chunk_size&&(q.chunks||typeof(C)=="string")){K=y.chunk_size;N=Math.ceil(x.size/K);M=Math.min(K,x.size-(F*K));if(typeof(C)=="string"){L=C.substring(F*K,F*K+M)}else{L=A(C,F*K,F*K+M)}O.chunk=F;O.chunks=N}else{M=x.size;L=C}if(v.settings.multipart&&q.multipart&&typeof(L)!=="string"&&k.FileReader&&q.cantSendBlobInFormData&&q.chunks&&v.settings.chunk_size){(function(){var
Q=new
FileReader();Q.onload=function(){I(Q.result);Q=null};Q.readAsBinaryString(L)}())}else{I(L)}}D()}B=d[x.id];if(q.jpgresize&&v.settings.resize&&/\.(png|jpg|jpeg)$/i.test(x.name)){e.call(v,x,v.settings.resize,/\.png$/i.test(x.name)?"image/png":"image/jpeg",function(C){if(C.success){x.size=C.data.length;z(C.data)}else{if(q.chunks){z(B)}else{n(B,z)}}})}else{if(!q.chunks&&q.jpgresize){n(B,z)}else{z(B)}}});s.bind("Destroy",function(v){var
x,y,w=m.body,z={inputContainer:v.id+"_html5_container",inputFile:v.id+"_html5",browseButton:v.settings.browse_button,dropElm:v.settings.drop_element};for(x
in
z){y=m.getElementById(z[x]);if(y){l.removeAllEvents(y,v.id)}}l.removeAllEvents(m.body,v.id);if(v.settings.container){w=m.getElementById(v.settings.container)}w.removeChild(m.getElementById(z.inputContainer))});u({success:true})}});function
b(){var t=false,r;function u(w,y){var
v=t?0:-8*(y-1),z=0,x;for(x=0;x<y;x++){z|=(r.charCodeAt(w+x)<<Math.abs(v+x*8))}return
z}function q(x,v,w){var
w=arguments.length===3?w:r.length-v-1;r=r.substr(0,v)+x+r.substr(w+v)}function
s(w,x,z){var
A="",v=t?0:-8*(z-1),y;for(y=0;y<z;y++){A+=String.fromCharCode((x>>Math.abs(v+y*8))&255)}q(A,w,z)}return{II:function(v){if(v===g){return
t}else{t=v}},init:function(v){t=false;r=v},SEGMENT:function(v,x,w){switch(arguments.length){case
1:return r.substr(v,r.length-v-1);case 2:return r.substr(v,x);case
3:q(w,v,x);break;default:return r}},BYTE:function(v){return
u(v,1)},SHORT:function(v){return
u(v,2)},LONG:function(v,w){if(w===g){return
u(v,4)}else{s(v,w,4)}},SLONG:function(v){var
w=u(v,4);return(w>2147483647?w-4294967296:w)},STRING:function(v,w){var
x="";for(w+=v;v<w;v++){x+=String.fromCharCode(u(v,1))}return
x}}}function h(v){var
x={65505:{app:"EXIF",name:"APP1",signature:"Exif\0"},65506:{app:"ICC",name:"APP2",signature:"ICC_PROFILE\0"},65517:{app:"IPTC",name:"APP13",signature:"Photoshop
3.0\0"}},w=[],u,q,s=g,t=0,r;u=new
b();u.init(v);if(u.SHORT(0)!==65496){return}q=2;r=Math.min(1048576,v.length);while(q<=r){s=u.SHORT(q);if(s>=65488&&s<=65495){q+=2;continue}if(s===65498||s===65497){break}t=u.SHORT(q+2)+2;if(x[s]&&u.STRING(q+4,x[s].signature.length)===x[s].signature){w.push({hex:s,app:x[s].app.toUpperCase(),name:x[s].name.toUpperCase(),start:q,length:t,segment:u.SEGMENT(q,t)})}q+=t}u.init(null);return{headers:w,restore:function(B){u.init(B);var
z=new h(B);if(!z.headers){return false}for(var
A=z.headers.length;A>0;A--){var
C=z.headers[A-1];u.SEGMENT(C.start,C.length,"")}z.purge();q=u.SHORT(2)==65504?4+u.SHORT(4):2;for(var
A=0,y=w.length;A<y;A++){u.SEGMENT(q,0,w[A].segment);q+=w[A].length}return
u.SEGMENT()},get:function(A){var B=[];for(var
z=0,y=w.length;z<y;z++){if(w[z].app===A.toUpperCase()){B.push(w[z].segment)}}return
B},set:function(B,A){var
C=[];if(typeof(A)==="string"){C.push(A)}else{C=A}for(var
z=ii=0,y=w.length;z<y;z++){if(w[z].app===B.toUpperCase()){w[z].segment=C[ii];w[z].length=C[ii].length;ii++}if(ii>=C.length){break}}},purge:function(){w=[];u.init(null)}}}function
a(){var t,q,r={},w;t=new
b();q={tiff:{274:"Orientation",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"}};w={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine
weather",10:"Cloudy
weather",11:"Shade",12:"Daylight fluorescent (D 5700 -
7100K)",13:"Day white fluorescent (N 4600
-5400K)",14:"Cool white fluorescent (W 3900 -
4500K)",15:"White fluorescent (WW 3200 -
3700K)",17:"Standard light A",18:"Standard light
B",19:"Standard light
C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO
studio tungsten",255:"Other"},Flash:{0:"Flash did not
fire.",1:"Flash fired.",5:"Strobe return light not
detected.",7:"Strobe return light detected.",9:"Flash
fired, compulsory flash mode",13:"Flash fired, compulsory flash
mode, return light not detected",15:"Flash fired, compulsory
flash mode, return light detected",16:"Flash did not fire,
compulsory flash mode",24:"Flash did not fire, auto
mode",25:"Flash fired, auto mode",29:"Flash fired, auto
mode, return light not detected",31:"Flash fired, auto mode,
return light detected",32:"No flash function",65:"Flash
fired, red-eye reduction mode",69:"Flash fired, red-eye reduction
mode, return light not detected",71:"Flash fired, red-eye
reduction mode, return light detected",73:"Flash fired,
compulsory flash mode, red-eye reduction mode",77:"Flash fired,
compulsory flash mode, red-eye reduction mode, return light not
detected",79:"Flash fired, compulsory flash mode, red-eye
reduction mode, return light detected",89:"Flash fired, auto
mode, red-eye reduction mode",93:"Flash fired, auto mode, return
light not detected, red-eye reduction mode",95:"Flash fired, auto
mode, return light detected, red-eye reduction
mode"},ExposureMode:{0:"Auto exposure",1:"Manual
exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white
balance",1:"Manual white
balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night
scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low
saturation",2:"High
saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North
latitude",S:"South latitude"},GPSLongitudeRef:{E:"East
longitude",W:"West longitude"}};function s(x,F){var
z=t.SHORT(x),C,I,J,E,D,y,A,G,H=[],B={};for(C=0;C<z;C++){A=y=x+12*C+2;J=F[t.SHORT(A)];if(J===g){continue}E=t.SHORT(A+=2);D=t.LONG(A+=2);A+=4;H=[];switch(E){case
1:case
7:if(D>4){A=t.LONG(A)+r.tiffHeader}for(I=0;I<D;I++){H[I]=t.BYTE(A+I)}break;case
2:if(D>4){A=t.LONG(A)+r.tiffHeader}B[J]=t.STRING(A,D-1);continue;case
3:if(D>2){A=t.LONG(A)+r.tiffHeader}for(I=0;I<D;I++){H[I]=t.SHORT(A+I*2)}break;case
4:if(D>1){A=t.LONG(A)+r.tiffHeader}for(I=0;I<D;I++){H[I]=t.LONG(A+I*4)}break;case
5:A=t.LONG(A)+r.tiffHeader;for(I=0;I<D;I++){H[I]=t.LONG(A+I*4)/t.LONG(A+I*4+4)}break;case
9:A=t.LONG(A)+r.tiffHeader;for(I=0;I<D;I++){H[I]=t.SLONG(A+I*4)}break;case
10:A=t.LONG(A)+r.tiffHeader;for(I=0;I<D;I++){H[I]=t.SLONG(A+I*4)/t.SLONG(A+I*4+4)}break;default:continue}G=(D==1?H[0]:H);if(w.hasOwnProperty(J)&&typeof
G!="object"){B[J]=w[J][G]}else{B[J]=G}}return B}function v(){var
y=g,x=r.tiffHeader;t.II(t.SHORT(x)==18761);if(t.SHORT(x+=2)!==42){return
false}r.IFD0=r.tiffHeader+t.LONG(x+=2);y=s(r.IFD0,q.tiff);r.exifIFD=("ExifIFDPointer"
in
y?r.tiffHeader+y.ExifIFDPointer:g);r.gpsIFD=("GPSInfoIFDPointer"
in y?r.tiffHeader+y.GPSInfoIFDPointer:g);return true}function u(z,x,C){var
E,B,A,D=0;if(typeof(x)==="string"){var
y=q[z.toLowerCase()];for(hex in
y){if(y[hex]===x){x=hex;break}}}E=r[z.toLowerCase()+"IFD"];B=t.SHORT(E);for(i=0;i<B;i++){A=E+12*i+2;if(t.SHORT(A)==x){D=A+8;break}}if(!D){return
false}t.LONG(D,C);return
true}return{init:function(x){r={tiffHeader:10};if(x===g||!x.length){return
false}t.init(x);if(t.SHORT(0)===65505&&t.STRING(4,5).toUpperCase()==="EXIF\0"){return
v()}return false},EXIF:function(){var
y;y=s(r.exifIFD,q.exif);if(y.ExifVersion&&l.typeOf(y.ExifVersion)==="array"){for(var
z=0,x="";z<y.ExifVersion.length;z++){x+=String.fromCharCode(y.ExifVersion[z])}y.ExifVersion=x}return
y},GPS:function(){var
x;x=s(r.gpsIFD,q.gps);if(x.GPSVersionID){x.GPSVersionID=x.GPSVersionID.join(".")}return
x},setExif:function(x,y){if(x!=="PixelXDimension"&&x!=="PixelYDimension"){return
false}return u("exif",x,y)},getBinary:function(){return
t.SEGMENT()}}}})(window,document,plupload);PKᴎ[�'SI�.�.plupload/plupload.jsnu�[���/*1.5.7*/
(function(){var
f=0,k=[],m={},i={},a={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},l=/[<>&\"\']/g,b,c=window.setTimeout,d={},e;function
h(){this.returnValue=false}function
j(){this.cancelBubble=true}(function(n){var
o=n.split(/,/),p,r,q;for(p=0;p<o.length;p+=2){q=o[p+1].split(/
/);for(r=0;r<q.length;r++){i[q[r]]=o[p]}}})("application/msword,doc
dot,application/pdf,pdf,application/pgp-signature,pgp,application/postscript,ps
ai eps,application/rtf,rtf,application/vnd.ms-excel,xls
xlb,application/vnd.ms-powerpoint,ppt pps
pot,application/zip,zip,application/x-shockwave-flash,swf
swfl,application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx,application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx,application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx,application/vnd.openxmlformats-officedocument.presentationml.template,potx,application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx,application/x-javascript,js,application/json,json,audio/mpeg,mpga
mpega mp2
mp3,audio/x-wav,wav,audio/mp4,m4a,image/bmp,bmp,image/gif,gif,image/jpeg,jpeg
jpg jpe,image/photoshop,psd,image/png,png,image/svg+xml,svg
svgz,image/tiff,tiff tif,text/plain,asc txt text diff log,text/html,htm
html xhtml,text/css,css,text/csv,csv,text/rtf,rtf,video/mpeg,mpeg mpg mpe
m2v,video/quicktime,qt
mov,video/mp4,mp4,video/x-m4v,m4v,video/x-flv,flv,video/x-ms-wmv,wmv,video/avi,avi,video/webm,webm,video/3gpp,3gp,video/3gpp2,3g2,video/vnd.rn-realvideo,rv,application/vnd.oasis.opendocument.formula-template,otf,application/octet-stream,exe");var
g={VERSION:"1.5.7",STOPPED:1,STARTED:2,QUEUED:1,UPLOADING:2,FAILED:4,DONE:5,GENERIC_ERROR:-100,HTTP_ERROR:-200,IO_ERROR:-300,SECURITY_ERROR:-400,INIT_ERROR:-500,FILE_SIZE_ERROR:-600,FILE_EXTENSION_ERROR:-601,IMAGE_FORMAT_ERROR:-700,IMAGE_MEMORY_ERROR:-701,IMAGE_DIMENSIONS_ERROR:-702,mimeTypes:i,ua:(function(){var
r=navigator,q=r.userAgent,s=r.vendor,o,n,p;o=/WebKit/.test(q);p=o&&s.indexOf("Apple")!==-1;n=window.opera&&window.opera.buildNumber;return{windows:navigator.platform.indexOf("Win")!==-1,android:/Android/.test(q),ie:!o&&!n&&(/MSIE/gi).test(q)&&(/Explorer/gi).test(r.appName),webkit:o,gecko:!o&&/Gecko/.test(q),safari:p,opera:!!n}}()),typeOf:function(n){return({}).toString.call(n).match(/\s([a-z|A-Z]+)/)[1].toLowerCase()},extend:function(n){g.each(arguments,function(o,p){if(p>0){g.each(o,function(r,q){n[q]=r})}});return
n},cleanName:function(n){var
o,p;p=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(o=0;o<p.length;o+=2){n=n.replace(p[o],p[o+1])}n=n.replace(/\s+/g,"_");n=n.replace(/[^a-z0-9_\-\.]+/gi,"");return
n},addRuntime:function(n,o){o.name=n;k[n]=o;k.push(o);return
o},guid:function(){var n=new
Date().getTime().toString(32),o;for(o=0;o<5;o++){n+=Math.floor(Math.random()*65535).toString(32)}return(g.guidPrefix||"p")+n+(f++).toString(32)},buildUrl:function(o,n){var
p="";g.each(n,function(r,q){p+=(p?"&":"")+encodeURIComponent(q)+"="+encodeURIComponent(r)});if(p){o+=(o.indexOf("?")>0?"&":"?")+p}return
o},each:function(q,r){var p,o,n;if(q){p=q.length;if(p===b){for(o in
q){if(q.hasOwnProperty(o)){if(r(q[o],o)===false){return}}}}else{for(n=0;n<p;n++){if(r(q[n],n)===false){return}}}}},formatSize:function(n){if(n===b||/\D/.test(n)){return
g.translate("N/A")}if(n>1073741824){return
Math.round(n/1073741824,1)+" GB"}if(n>1048576){return
Math.round(n/1048576,1)+" MB"}if(n>1024){return
Math.round(n/1024,1)+" KB"}return n+"
b"},getPos:function(o,s){var
t=0,r=0,v,u=document,p,q;o=o;s=s||u.body;function n(B){var
z,A,w=0,C=0;if(B){A=B.getBoundingClientRect();z=u.compatMode==="CSS1Compat"?u.documentElement:u.body;w=A.left+z.scrollLeft;C=A.top+z.scrollTop}return{x:w,y:C}}if(o&&o.getBoundingClientRect&&g.ua.ie&&(!u.documentMode||u.documentMode<8)){p=n(o);q=n(s);return{x:p.x-q.x,y:p.y-q.y}}v=o;while(v&&v!=s&&v.nodeType){t+=v.offsetLeft||0;r+=v.offsetTop||0;v=v.offsetParent}v=o.parentNode;while(v&&v!=s&&v.nodeType){t-=v.scrollLeft||0;r-=v.scrollTop||0;v=v.parentNode}return{x:t,y:r}},getSize:function(n){return{w:n.offsetWidth||n.clientWidth,h:n.offsetHeight||n.clientHeight}},parseSize:function(n){var
o;if(typeof(n)=="string"){n=/^([0-9]+)([mgk]?)$/.exec(n.toLowerCase().replace(/[^0-9mkg]/g,""));o=n[2];n=+n[1];if(o=="g"){n*=1073741824}if(o=="m"){n*=1048576}if(o=="k"){n*=1024}}return
n},xmlEncode:function(n){return
n?(""+n).replace(l,function(o){return
a[o]?"&"+a[o]+";":o}):n},toArray:function(p){var
o,n=[];for(o=0;o<p.length;o++){n[o]=p[o]}return
n},inArray:function(p,q){if(q){if(Array.prototype.indexOf){return
Array.prototype.indexOf.call(q,p)}for(var
n=0,o=q.length;n<o;n++){if(q[n]===p){return n}}}return
-1},addI18n:function(n){return g.extend(m,n)},translate:function(n){return
m[n]||n},isEmptyObj:function(n){if(n===b){return true}for(var o in
n){return false}return true},hasClass:function(p,o){var
n;if(p.className==""){return false}n=new
RegExp("(^|\\s+)"+o+"(\\s+|$)");return
n.test(p.className)},addClass:function(o,n){if(!g.hasClass(o,n)){o.className=o.className==""?n:o.className.replace(/\s+$/,"")+"
"+n}},removeClass:function(p,o){var n=new
RegExp("(^|\\s+)"+o+"(\\s+|$)");p.className=p.className.replace(n,function(r,q,s){return
q===" "&&s===" "?"
":""})},getStyle:function(o,n){if(o.currentStyle){return
o.currentStyle[n]}else{if(window.getComputedStyle){return
window.getComputedStyle(o,null)[n]}}},addEvent:function(s,n,t){var
r,q,p,o;o=arguments[3];n=n.toLowerCase();if(e===b){e="Plupload_"+g.guid()}if(s.addEventListener){r=t;s.addEventListener(n,r,false)}else{if(s.attachEvent){r=function(){var
u=window.event;if(!u.target){u.target=u.srcElement}u.preventDefault=h;u.stopPropagation=j;t(u)};s.attachEvent("on"+n,r)}}if(s[e]===b){s[e]=g.guid()}if(!d.hasOwnProperty(s[e])){d[s[e]]={}}q=d[s[e]];if(!q.hasOwnProperty(n)){q[n]=[]}q[n].push({func:r,orig:t,key:o})},removeEvent:function(s,n){var
q,t,p;if(typeof(arguments[2])=="function"){t=arguments[2]}else{p=arguments[2]}n=n.toLowerCase();if(s[e]&&d[s[e]]&&d[s[e]][n]){q=d[s[e]][n]}else{return}for(var
o=q.length-1;o>=0;o--){if(q[o].key===p||q[o].orig===t){if(s.removeEventListener){s.removeEventListener(n,q[o].func,false)}else{if(s.detachEvent){s.detachEvent("on"+n,q[o].func)}}q[o].orig=null;q[o].func=null;q.splice(o,1);if(t!==b){break}}}if(!q.length){delete
d[s[e]][n]}if(g.isEmptyObj(d[s[e]])){delete d[s[e]];try{delete
s[e]}catch(r){s[e]=b}}},removeAllEvents:function(o){var
n=arguments[1];if(o[e]===b||!o[e]){return}g.each(d[o[e]],function(q,p){g.removeEvent(o,p,n)})}};g.Uploader=function(r){var
o={},u,t=[],q,p=false;u=new
g.QueueProgress();r=g.extend({chunk_size:0,multipart:true,multi_selection:true,file_data_name:"file",filters:[]},r);function
s(){var
w,x=0,v;if(this.state==g.STARTED){for(v=0;v<t.length;v++){if(!w&&t[v].status==g.QUEUED){w=t[v];w.status=g.UPLOADING;if(this.trigger("BeforeUpload",w)){this.trigger("UploadFile",w)}}else{x++}}if(x==t.length){this.stop();this.trigger("UploadComplete",t)}}}function
n(){var
w,v;u.reset();for(w=0;w<t.length;w++){v=t[w];if(v.size!==b){u.size+=v.size;u.loaded+=v.loaded}else{u.size=b}if(v.status==g.DONE){u.uploaded++}else{if(v.status==g.FAILED){u.failed++}else{u.queued++}}}if(u.size===b){u.percent=t.length>0?Math.ceil(u.uploaded/t.length*100):0}else{u.bytesPerSec=Math.ceil(u.loaded/((+new
Date()-q||1)/1000));u.percent=u.size>0?Math.ceil(u.loaded/u.size*100):0}}g.extend(this,{state:g.STOPPED,runtime:"",features:{},files:t,settings:r,total:u,id:g.guid(),init:function(){var
A=this,B,x,w,z=0,y;if(typeof(r.preinit)=="function"){r.preinit(A)}else{g.each(r.preinit,function(D,C){A.bind(C,D)})}r.page_url=r.page_url||document.location.pathname.replace(/\/[^\/]+$/g,"/");if(!/^(\w+:\/\/|\/)/.test(r.url)){r.url=r.page_url+r.url}r.chunk_size=g.parseSize(r.chunk_size);r.max_file_size=g.parseSize(r.max_file_size);A.bind("FilesAdded",function(C,F){var
E,D,H=0,I,G=r.filters;if(G&&G.length){I=[];g.each(G,function(J){g.each(J.extensions.split(/,/),function(K){if(/^\s*\*\s*$/.test(K)){I.push("\\.*")}else{I.push("\\."+K.replace(new
RegExp("["+("/^$.*+?|()[]{}\\".replace(/./g,"\\$&"))+"]","g"),"\\$&"))}})});I=new
RegExp(I.join("|")+"$","i")}for(E=0;E<F.length;E++){D=F[E];D.loaded=0;D.percent=0;D.status=g.QUEUED;if(I&&!I.test(D.name)){C.trigger("Error",{code:g.FILE_EXTENSION_ERROR,message:g.translate("File
extension
error."),file:D});continue}if(D.size!==b&&D.size>r.max_file_size){C.trigger("Error",{code:g.FILE_SIZE_ERROR,message:g.translate("File
size
error."),file:D});continue}t.push(D);H++}if(H){c(function(){A.trigger("QueueChanged");A.refresh()},1)}else{return
false}});if(r.unique_names){A.bind("UploadFile",function(C,D){var
F=D.name.match(/\.([^.]+)$/),E="tmp";if(F){E=F[1]}D.target_name=D.id+"."+E})}A.bind("UploadProgress",function(C,D){D.percent=D.size>0?Math.ceil(D.loaded/D.size*100):100;n()});A.bind("StateChanged",function(C){if(C.state==g.STARTED){q=(+new
Date())}else{if(C.state==g.STOPPED){for(B=C.files.length-1;B>=0;B--){if(C.files[B].status==g.UPLOADING){C.files[B].status=g.QUEUED;n()}}}}});A.bind("QueueChanged",n);A.bind("Error",function(C,D){if(D.file){D.file.status=g.FAILED;n();if(C.state==g.STARTED){c(function(){s.call(A)},1)}}});A.bind("FileUploaded",function(C,D){D.status=g.DONE;D.loaded=D.size;C.trigger("UploadProgress",D);c(function(){s.call(A)},1)});if(r.runtimes){x=[];y=r.runtimes.split(/\s?,\s?/);for(B=0;B<y.length;B++){if(k[y[B]]){x.push(k[y[B]])}}}else{x=k}function
v(){var
F=x[z++],E,C,D;if(F){E=F.getFeatures();C=A.settings.required_features;if(C){C=C.split(",");for(D=0;D<C.length;D++){if(!E[C[D]]){v();return}}}F.init(A,function(G){if(G&&G.success){A.features=E;A.runtime=F.name;A.trigger("Init",{runtime:F.name});A.trigger("PostInit");A.refresh()}else{v()}})}else{A.trigger("Error",{code:g.INIT_ERROR,message:g.translate("Init
error.")})}}v();if(typeof(r.init)=="function"){r.init(A)}else{g.each(r.init,function(D,C){A.bind(C,D)})}},refresh:function(){this.trigger("Refresh")},start:function(){if(t.length&&this.state!=g.STARTED){this.state=g.STARTED;this.trigger("StateChanged");s.call(this)}},stop:function(){if(this.state!=g.STOPPED){this.state=g.STOPPED;this.trigger("CancelUpload");this.trigger("StateChanged")}},disableBrowse:function(){p=arguments[0]!==b?arguments[0]:true;this.trigger("DisableBrowse",p)},getFile:function(w){var
v;for(v=t.length-1;v>=0;v--){if(t[v].id===w){return
t[v]}}},removeFile:function(w){var
v;for(v=t.length-1;v>=0;v--){if(t[v].id===w.id){return
this.splice(v,1)[0]}}},splice:function(x,v){var
w;w=t.splice(x===b?0:x,v===b?t.length:v);this.trigger("FilesRemoved",w);this.trigger("QueueChanged");return
w},trigger:function(w){var
y=o[w.toLowerCase()],x,v;if(y){v=Array.prototype.slice.call(arguments);v[0]=this;for(x=0;x<y.length;x++){if(y[x].func.apply(y[x].scope,v)===false){return
false}}}return true},hasEventListener:function(v){return
!!o[v.toLowerCase()]},bind:function(v,x,w){var
y;v=v.toLowerCase();y=o[v]||[];y.push({func:x,scope:w||this});o[v]=y},unbind:function(v){v=v.toLowerCase();var
y=o[v],w,x=arguments[1];if(y){if(x!==b){for(w=y.length-1;w>=0;w--){if(y[w].func===x){y.splice(w,1);break}}}else{y=[]}if(!y.length){delete
o[v]}}},unbindAll:function(){var
v=this;g.each(o,function(x,w){v.unbind(w)})},destroy:function(){this.stop();this.trigger("Destroy");this.unbindAll()}})};g.File=function(q,o,p){var
n=this;n.id=q;n.name=o;n.size=p;n.loaded=0;n.percent=0;n.status=0};g.Runtime=function(){this.getFeatures=function(){};this.init=function(n,o){}};g.QueueProgress=function(){var
n=this;n.size=0;n.loaded=0;n.uploaded=0;n.failed=0;n.queued=0;n.percent=0;n.bytesPerSec=0;n.reset=function(){n.size=n.loaded=n.uploaded=n.failed=n.queued=n.percent=n.bytesPerSec=0}};g.runtimes={};window.plupload=g})();PKᴎ[�#o,,prettyphoto/css/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[:�"-�M�Mprettyphoto/css/prettyPhoto.cssnu�[���div.pp_default
.pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top
.pp_left,div.pp_default .pp_top .pp_right,div.pp_default
.pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom
.pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
div.pp_default .pp_top
.pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px
-93px no-repeat}
div.pp_default .pp_top
.pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) top
left repeat-x}
div.pp_default .pp_top
.pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px
-93px no-repeat}
div.pp_default .pp_content .ppt{color:#f8f8f8}
div.pp_default .pp_content_container
.pp_left{background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0
repeat-y;padding-left:13px}
div.pp_default .pp_content_container
.pp_right{background:url(../images/prettyPhoto/default/sprite_y.png) top
right repeat-y;padding-right:13px}
div.pp_default
.pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png)
center right no-repeat;cursor:pointer}
div.pp_default
.pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png)
center left no-repeat;cursor:pointer}
div.pp_default
.pp_expand{background:url(../images/prettyPhoto/default/sprite.png) 0 -29px
no-repeat;cursor:pointer;width:28px;height:28px}
div.pp_default
.pp_expand:hover{background:url(../images/prettyPhoto/default/sprite.png) 0
-56px no-repeat;cursor:pointer}
div.pp_default
.pp_contract{background:url(../images/prettyPhoto/default/sprite.png) 0
-84px no-repeat;cursor:pointer;width:28px;height:28px}
div.pp_default
.pp_contract:hover{background:url(../images/prettyPhoto/default/sprite.png)
0 -113px no-repeat;cursor:pointer}
div.pp_default
.pp_close{width:30px;height:30px;background:url(../images/prettyPhoto/default/sprite.png)
2px 1px no-repeat;cursor:pointer}
div.pp_default .pp_gallery ul li
a{background:url(../images/prettyPhoto/default/default_thumb.png) center
center #f8f8f8;border:1px solid #aaa}
div.pp_default .pp_social{margin-top:7px}
div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery
a.pp_arrow_next{position:static;left:auto}
div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav
.pp_pause{background:url(../images/prettyPhoto/default/sprite.png) -51px
1px no-repeat;height:30px;width:30px}
div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
div.pp_default a.pp_arrow_previous,div.pp_default
a.pp_arrow_next{background:url(../images/prettyPhoto/default/sprite.png)
-31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
div.pp_default .pp_content_container .pp_details{margin-top:5px}
div.pp_default
.pp_nav{clear:none;height:30px;width:110px;position:relative}
div.pp_default .pp_nav
.currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0
0 0 10px}
div.pp_default .pp_close:hover,div.pp_default .pp_nav
.pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default
.pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
div.pp_default
.pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px
50px 5px 0}
div.pp_default .pp_bottom
.pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px
-127px no-repeat}
div.pp_default .pp_bottom
.pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png)
bottom left repeat-x}
div.pp_default .pp_bottom
.pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px
-127px no-repeat}
div.pp_default
.pp_loaderIcon{background:url(../images/prettyPhoto/default/loader.gif)
center center no-repeat}
div.light_rounded .pp_top
.pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-88px -53px no-repeat}
div.light_rounded .pp_top
.pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-110px -53px no-repeat}
div.light_rounded
.pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png)
center right no-repeat;cursor:pointer}
div.light_rounded
.pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png)
center left no-repeat;cursor:pointer}
div.light_rounded
.pp_expand{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-31px -26px no-repeat;cursor:pointer}
div.light_rounded
.pp_expand:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-31px -47px no-repeat;cursor:pointer}
div.light_rounded
.pp_contract{background:url(../images/prettyPhoto/light_rounded/sprite.png)
0 -26px no-repeat;cursor:pointer}
div.light_rounded
.pp_contract:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png)
0 -47px no-repeat;cursor:pointer}
div.light_rounded
.pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_rounded/sprite.png)
-1px -1px no-repeat;cursor:pointer}
div.light_rounded .pp_nav
.pp_play{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-1px -100px no-repeat;height:15px;width:14px}
div.light_rounded .pp_nav
.pp_pause{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-24px -100px no-repeat;height:15px;width:14px}
div.light_rounded
.pp_arrow_previous{background:url(../images/prettyPhoto/light_rounded/sprite.png)
0 -71px no-repeat}
div.light_rounded
.pp_arrow_next{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-22px -71px no-repeat}
div.light_rounded .pp_bottom
.pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-88px -80px no-repeat}
div.light_rounded .pp_bottom
.pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png)
-110px -80px no-repeat}
div.dark_rounded .pp_top
.pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-88px -53px no-repeat}
div.dark_rounded .pp_top
.pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-110px -53px no-repeat}
div.dark_rounded .pp_content_container
.pp_left{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png)
top left repeat-y}
div.dark_rounded .pp_content_container
.pp_right{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png)
top right repeat-y}
div.dark_rounded
.pp_next:hover{background:url(../images/prettyPhoto/dark_rounded/btnNext.png)
center right no-repeat;cursor:pointer}
div.dark_rounded
.pp_previous:hover{background:url(../images/prettyPhoto/dark_rounded/btnPrevious.png)
center left no-repeat;cursor:pointer}
div.dark_rounded
.pp_expand{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-31px -26px no-repeat;cursor:pointer}
div.dark_rounded
.pp_expand:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-31px -47px no-repeat;cursor:pointer}
div.dark_rounded
.pp_contract{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
0 -26px no-repeat;cursor:pointer}
div.dark_rounded
.pp_contract:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
0 -47px no-repeat;cursor:pointer}
div.dark_rounded
.pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-1px -1px no-repeat;cursor:pointer}
div.dark_rounded .pp_description{margin-right:85px;color:#fff}
div.dark_rounded .pp_nav
.pp_play{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px
-100px no-repeat;height:15px;width:14px}
div.dark_rounded .pp_nav
.pp_pause{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-24px -100px no-repeat;height:15px;width:14px}
div.dark_rounded
.pp_arrow_previous{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
0 -71px no-repeat}
div.dark_rounded
.pp_arrow_next{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-22px -71px no-repeat}
div.dark_rounded .pp_bottom
.pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-88px -80px no-repeat}
div.dark_rounded .pp_bottom
.pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png)
-110px -80px no-repeat}
div.dark_rounded
.pp_loaderIcon{background:url(../images/prettyPhoto/dark_rounded/loader.gif)
center center no-repeat}
div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square
.pp_right,div.dark_square .pp_content{background:#000}
div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}
div.dark_square
.pp_loaderIcon{background:url(../images/prettyPhoto/dark_square/loader.gif)
center center no-repeat}
div.dark_square
.pp_expand{background:url(../images/prettyPhoto/dark_square/sprite.png)
-31px -26px no-repeat;cursor:pointer}
div.dark_square
.pp_expand:hover{background:url(../images/prettyPhoto/dark_square/sprite.png)
-31px -47px no-repeat;cursor:pointer}
div.dark_square
.pp_contract{background:url(../images/prettyPhoto/dark_square/sprite.png) 0
-26px no-repeat;cursor:pointer}
div.dark_square
.pp_contract:hover{background:url(../images/prettyPhoto/dark_square/sprite.png)
0 -47px no-repeat;cursor:pointer}
div.dark_square
.pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_square/sprite.png)
-1px -1px no-repeat;cursor:pointer}
div.dark_square .pp_nav{clear:none}
div.dark_square .pp_nav
.pp_play{background:url(../images/prettyPhoto/dark_square/sprite.png) -1px
-100px no-repeat;height:15px;width:14px}
div.dark_square .pp_nav
.pp_pause{background:url(../images/prettyPhoto/dark_square/sprite.png)
-24px -100px no-repeat;height:15px;width:14px}
div.dark_square
.pp_arrow_previous{background:url(../images/prettyPhoto/dark_square/sprite.png)
0 -71px no-repeat}
div.dark_square
.pp_arrow_next{background:url(../images/prettyPhoto/dark_square/sprite.png)
-22px -71px no-repeat}
div.dark_square
.pp_next:hover{background:url(../images/prettyPhoto/dark_square/btnNext.png)
center right no-repeat;cursor:pointer}
div.dark_square
.pp_previous:hover{background:url(../images/prettyPhoto/dark_square/btnPrevious.png)
center left no-repeat;cursor:pointer}
div.light_square
.pp_expand{background:url(../images/prettyPhoto/light_square/sprite.png)
-31px -26px no-repeat;cursor:pointer}
div.light_square
.pp_expand:hover{background:url(../images/prettyPhoto/light_square/sprite.png)
-31px -47px no-repeat;cursor:pointer}
div.light_square
.pp_contract{background:url(../images/prettyPhoto/light_square/sprite.png)
0 -26px no-repeat;cursor:pointer}
div.light_square
.pp_contract:hover{background:url(../images/prettyPhoto/light_square/sprite.png)
0 -47px no-repeat;cursor:pointer}
div.light_square
.pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_square/sprite.png)
-1px -1px no-repeat;cursor:pointer}
div.light_square .pp_nav
.pp_play{background:url(../images/prettyPhoto/light_square/sprite.png) -1px
-100px no-repeat;height:15px;width:14px}
div.light_square .pp_nav
.pp_pause{background:url(../images/prettyPhoto/light_square/sprite.png)
-24px -100px no-repeat;height:15px;width:14px}
div.light_square
.pp_arrow_previous{background:url(../images/prettyPhoto/light_square/sprite.png)
0 -71px no-repeat}
div.light_square
.pp_arrow_next{background:url(../images/prettyPhoto/light_square/sprite.png)
-22px -71px no-repeat}
div.light_square
.pp_next:hover{background:url(../images/prettyPhoto/light_square/btnNext.png)
center right no-repeat;cursor:pointer}
div.light_square
.pp_previous:hover{background:url(../images/prettyPhoto/light_square/btnPrevious.png)
center left no-repeat;cursor:pointer}
div.facebook .pp_top
.pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px
-53px no-repeat}
div.facebook .pp_top
.pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternTop.png)
top left repeat-x}
div.facebook .pp_top
.pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px
-53px no-repeat}
div.facebook .pp_content_container
.pp_left{background:url(../images/prettyPhoto/facebook/contentPatternLeft.png)
top left repeat-y}
div.facebook .pp_content_container
.pp_right{background:url(../images/prettyPhoto/facebook/contentPatternRight.png)
top right repeat-y}
div.facebook
.pp_expand{background:url(../images/prettyPhoto/facebook/sprite.png) -31px
-26px no-repeat;cursor:pointer}
div.facebook
.pp_expand:hover{background:url(../images/prettyPhoto/facebook/sprite.png)
-31px -47px no-repeat;cursor:pointer}
div.facebook
.pp_contract{background:url(../images/prettyPhoto/facebook/sprite.png) 0
-26px no-repeat;cursor:pointer}
div.facebook
.pp_contract:hover{background:url(../images/prettyPhoto/facebook/sprite.png)
0 -47px no-repeat;cursor:pointer}
div.facebook
.pp_close{width:22px;height:22px;background:url(../images/prettyPhoto/facebook/sprite.png)
-1px -1px no-repeat;cursor:pointer}
div.facebook .pp_description{margin:0 37px 0 0}
div.facebook
.pp_loaderIcon{background:url(../images/prettyPhoto/facebook/loader.gif)
center center no-repeat}
div.facebook
.pp_arrow_previous{background:url(../images/prettyPhoto/facebook/sprite.png)
0 -71px no-repeat;height:22px;margin-top:0;width:22px}
div.facebook .pp_arrow_previous.disabled{background-position:0
-96px;cursor:default}
div.facebook
.pp_arrow_next{background:url(../images/prettyPhoto/facebook/sprite.png)
-32px -71px no-repeat;height:22px;margin-top:0;width:22px}
div.facebook .pp_arrow_next.disabled{background-position:-32px
-96px;cursor:default}
div.facebook .pp_nav{margin-top:0}
div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}
div.facebook .pp_nav
.pp_play{background:url(../images/prettyPhoto/facebook/sprite.png) -1px
-123px no-repeat;height:22px;width:22px}
div.facebook .pp_nav
.pp_pause{background:url(../images/prettyPhoto/facebook/sprite.png) -32px
-123px no-repeat;height:22px;width:22px}
div.facebook
.pp_next:hover{background:url(../images/prettyPhoto/facebook/btnNext.png)
center right no-repeat;cursor:pointer}
div.facebook
.pp_previous:hover{background:url(../images/prettyPhoto/facebook/btnPrevious.png)
center left no-repeat;cursor:pointer}
div.facebook .pp_bottom
.pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px
-80px no-repeat}
div.facebook .pp_bottom
.pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternBottom.png)
top left repeat-x}
div.facebook .pp_bottom
.pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px
-80px no-repeat}
div.pp_pic_holder a:focus{outline:none}
div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}
div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
.pp_content{height:40px;min-width:40px}
* html .pp_content{width:40px}
.pp_content_container{position:relative;text-align:left;width:100%}
.pp_content_container .pp_left{padding-left:20px}
.pp_content_container .pp_right{padding-right:20px}
.pp_content_container .pp_details{float:left;margin:10px 0 2px}
.pp_description{display:none;margin:0}
.pp_social{float:left;margin:0}
.pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
.pp_social .twitter{float:left}
.pp_nav{clear:right;float:left;margin:3px 10px 0 0}
.pp_nav p{float:left;white-space:nowrap;margin:2px 4px}
.pp_nav .pp_play,.pp_nav
.pp_pause{float:left;margin-right:4px;text-indent:-10000px}
a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}
.pp_gallery div{float:left;overflow:hidden;position:relative}
.pp_gallery
ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0
5px;padding:0}
.pp_gallery ul a{border:1px rgba(0,0,0,0.5)
solid;display:block;float:left;height:33px;overflow:hidden}
.pp_gallery ul a img{border:0}
.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}
.pp_gallery li.default
a{background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0
no-repeat;display:block;height:33px;width:50px}
.pp_gallery .pp_arrow_previous,.pp_gallery
.pp_arrow_next{margin-top:7px!important}
a.pp_next{background:url(../images/prettyPhoto/default/sprite_next.png)
10000px 10000px
no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}
a.pp_previous{background:url(../images/prettyPhoto/default/sprite_prev.png)
10000px 10000px
no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}
a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}
a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}
.pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px
0 0 -12px}
#pp_full_res{line-height:1!important}
#pp_full_res .pp_inline{text-align:left}
#pp_full_res .pp_inline p{margin:0 0 15px}
div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px
15px}
div.pp_default .pp_content,div.light_rounded
.pp_content{background-color:#fff}
div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content
.ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content
.ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content
.ppt,div.facebook #pp_full_res .pp_inline{color:#000}
div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul
li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected
a{border-color:#fff}
div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded
.pp_details,div.dark_square .pp_details,div.light_square
.pp_details,div.facebook .pp_details{position:relative}
div.light_rounded .pp_top .pp_middle,div.light_rounded
.pp_content_container .pp_left,div.light_rounded .pp_content_container
.pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square
.pp_left,div.light_square .pp_middle,div.light_square
.pp_right,div.light_square .pp_content,div.facebook
.pp_content{background:#fff}
div.light_rounded .pp_description,div.light_square
.pp_description{margin-right:85px}
div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded
.pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery
a.pp_arrow_previous,div.dark_rounded .pp_gallery
a.pp_arrow_next,div.dark_square .pp_gallery
a.pp_arrow_previous,div.dark_square .pp_gallery
a.pp_arrow_next,div.light_square .pp_gallery
a.pp_arrow_previous,div.light_square .pp_gallery
a.pp_arrow_next{margin-top:12px!important}
div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded
.pp_arrow_previous.disabled,div.dark_square
.pp_arrow_previous.disabled,div.light_square
.pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}
div.light_rounded .pp_arrow_next.disabled,div.dark_rounded
.pp_arrow_next.disabled,div.dark_square
.pp_arrow_next.disabled,div.light_square
.pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}
div.light_rounded .pp_loaderIcon,div.light_square
.pp_loaderIcon{background:url(../images/prettyPhoto/light_rounded/loader.gif)
center center no-repeat}
div.dark_rounded .pp_top .pp_middle,div.dark_rounded
.pp_content,div.dark_rounded .pp_bottom
.pp_middle{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png)
top left repeat}
div.dark_rounded .currentTextHolder,div.dark_square
.currentTextHolder{color:#c4c4c4}
div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res
.pp_inline{color:#fff}
.pp_top,.pp_bottom{height:20px;position:relative}
* html .pp_top,* html .pp_bottom{padding:0 20px}
.pp_top .pp_left,.pp_bottom
.pp_left{height:20px;left:0;position:absolute;width:20px}
.pp_top .pp_middle,.pp_bottom
.pp_middle{height:20px;left:20px;position:absolute;right:20px}
* html .pp_top .pp_middle,* html .pp_bottom
.pp_middle{left:0;position:static}
.pp_top .pp_right,.pp_bottom
.pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
.pp_fade,.pp_gallery li.default a
img{display:none}PKᴎ[�#o,,prettyphoto/images/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[/N��8prettyphoto/images/prettyPhoto/default/default_thumb.pngnu�[����PNG
IHDR2!o�tEXtSoftwareAdobe
ImageReadyq�e<"iTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh"
xmpMM:InstanceID="xmp.iid:D3B1BA623E8711E08E6F9312EF314E02"
xmpMM:DocumentID="xmp.did:D3B1BA633E8711E08E6F9312EF314E02">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:D3B1BA603E8711E08E6F9312EF314E02"
stRef:documentID="xmp.did:D3B1BA613E8711E08E6F9312EF314E02"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?>J�LuIDATx��Ɋ"A�۲��]q�D<�"}��C�
*��۸�7�C���e;x�?HUdD�_���t:}��������z�z�֛�,��l6�l6��W��b�Z].���Խ���tc��v�F#$��z�F����D��.�8-�V�
��~�I��M5�F�^����J"�l6��(q:������SU�D"a��䢵\.e9��^��5|�U"f
�J)���hM�S�韜D�P�L&�x<�vz��~���䎊>���J�r��ʘ`x��$ �P��U��+�ː�V�K(c��^����ݎZ��t�VK�R.�+
�l�O��*&,��g�l0!#7} �d2^�*�;�
Rs�/iZ�s�h�7�d2�����x��
u!D����'�l6SI��$�Z�X�8�L$�I����`
ʼn`B�K���r��
!j�ڤV���@
@f�-��LC&ϧ�pS���H��"�O�e2���
�g�|��v��X�乴~�`EIi4��y�.���tXE)Gzh��1Lp���`���Օ�����dC��!eN����S�8���htx�
�C�S����|�O�H!B���ӣ�fR�{�.�w@E�T���<$n�Gv~�O|�z~ 0�"�gl�IEND�B`�PKᴎ[�F���1prettyphoto/images/prettyPhoto/default/loader.gifnu�[���GIF89a�dfd���������|z|��̤�����trt��Ĝ����섆���Ԭ��lnl��������䄂���Ԭ�����ljl���������|~|��̤����tvt��Ĝ����쌊���ܴ��!�NETSCAPE2.0!� ,�@��"<���p�Z���0�<��s��
.�)���:�%���@˃H��5�#|��V[~tx~N�
M[}�pD�}[��$��g����$�#���O
$#n��O\KVu!Zg$C
��D$
�D
V�PG��A��� D*8 H��B��
J���@B.VH@(��,
!� ,�@��"<B�� �C��@<���p��%b��.O�����*�zHټ'BRRE]#���"]�
�QD_�_��D��
#O��j##��D���D�!�D�ʈ��Q
!P��$��ㄚ
�C$! ̄�"�:�h���}
p��
D�
J����b�} Qb9����@���Gِ
!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ���N�"<@B��Њ�Ca(��|�D(I�!xh-p/�Y("."�j4`S
Q"SR�POT�#��C�$""PB�R��
aS�a!����D!��n�
�̻
���#�����!m���� D�##�Dꑸ0�ܦm��7e .@�`��
��2�� P��`8R�2l�
r����!� ,�@��"<p#*��¡�H�l6���Ө3�\�\��ґ
#F9�)p0��RZ(#q~a$
#S��#B
�$aRP"bb�~�
Cn�P�!
�D��n�!!���""���a
��R�"QP��% �aP�C%�_��`���! [��X�n�$�C�B����ѐ
"8X$AJ�,
P`�_!� ,�@��"<p*��F`(�P��BQ0�
��a�D(&3a'��������@0
A8�b�h-$
R$�!S�
!
�`� !%�QaD�a�����Bʗ�O�S�o�
%_P���%%O��D"B_��C�����O��R(@H���nBh�� �
p�@�〉�ĒP�$��
H|�
(4X9�B!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ����N�"<4H���Њ�2 DX�FCm�Dh"��\� ��!��(B�|(��B��
HBT
#�p�$
S�!#p`paD�C$
Q��$$���ҕS��� ����P��! O���q��`���$�P`�k�B<IT`Æ�X�@�j6�i0"�G "����(d��/"2Pٲ��
!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ����N�"<4.&B��Њ�2�("�@�``(C"�`�"�-c2��B
�r��a�!\��aS#$!R�D$$S�C�CQba
���p
��DS� ���a�� ��y#����O�PC� #pƯ ��`�^zTđ�xFX
�Ex�2���!Â�!.��BcG�B���jʁ$H�h�\�
!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ����N�"�
E���2"@ %F
RP��"�C�j�"F`H�PH�!�5
�4cr�f.pQS_ !`SDSlmP�Q$
�D��D
������RĠ�l#P�l
O���
���a<�b�A �U��0FȐ�@B!0�j��,a�Ȉ'�4I9�b�~�(�I2��
A!� ,�@��"�@�N��i�B�Ԣ�8*��!�P�a�R*g��H$�=$���H��Z
HD5 rQS!## "S�!# �ano�$
�Q��%Eo�D$��D�aR������
��T#
�PS�!"w��PC�
F�nb���#v���@�Y@O�@\\�+<�у���;�Q���p�c'���'B���!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ����N�"�d6�#���h%�J���E��QrIf
�"1$p�g4P.�H�=\
BR
_RD
���}"v�OmP#
�D��_#�#!�m�#Ȓ��Q!u���"�O�m����!��
��鵤����RB,"�s4X��C���!��-��ѡ��<|�b�M�0|PV+!� ,�@��"�,(�����e�%!�@��qF���8��n�JaH4R8�BS�!�J��z�hP�BR%$D$$
R�!"�$"_l_S
��mC��mD�_!t����S����"���Q##""O�� �ܭ�P�""��B���l���$�i�0"�ߊPp�?|
�朇/<���V�$�@��
!
tje!!� ,�@��"�,H�BD������I��>5
�P�j�eH4�H�F"0��c=<�$"BRFDR���m�"$s��mC
!�P�l�!
����S�
����
"���Q!"����%��O�}#k�^m%#�O%D�%�JhX
BB��F�� �a"�
�lA�T�!U�>
l9��N��!� ,�@��"�,
N�Ӑ����@jP(�B"�D���j-@ C���X��h8 L
�4"BRF {%^p�nR_ ���C%$"�`nP"��o�"�D�Q!����"�!���Q
��O�nO��S
}���B%!~#�%##_�АKC���&�@�
@@`�� +�RE �D 7�Kf
>|a����A!� ,�@��"�4��r�(-P�q@�R(�� u���P%HC�Q#Ѹ���QN��҅\r�GDz\DQjB"�Qi]"�}jiO%%
�"N�~DF~C��R���P�G���i�!N�~!
��
!$x�j
� ��$]6`�
��R�>���� ��P`��6Pd��:tR
!2C�!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ���N�"�B��
� ��h�H*���}R��Q�B����"�Xكe�1��PZ 56hz|RB ^g{]w IPP�D##��D �|g]Q�
�������g$$
h�hQ
{O{$�دB $CD��
#]�T"DP�Ձ|h�
B@C"tDd�4��6f6p�1
U!� ,�ljl���������|~|��̤�����tvt��Ĝ����쌊���Ԭ��trt��������䄆������lnl��������䄂���̬����|z|��Ĥ����쌎���ܴ����N�"B�b*+P�ḔH2��aHtNC��u0I�ީ�()�a��qʡ�àA�,*[Q�B#�x\x���rwO
�]D�x������ ��#��Q ��!
vQw#g�N�$��B$C� �xx$$�r`
p�0�
&0�!
�D���"�A�݆9@�A@hP�R!� ,�@��""�Bt(-P��\,$�EZ<��H�D�,�DK墝���t.B-��\QR_
�Q|i
!RB\�OR��
��h�$��Q
���h" C�� m�N� !�v C��%%���7"C-p(��>0�`
C!�P��C4�((��!B��J���'T��Z�
!� ,�@��"<=���ȴ8=�͢(�.D�'QX�:H�A�Xh�OO�rAL��D�tlD��ܚ5Y}�B$
i��$"�B[iC
$��CO
Z�Z��$��}�#�}�%L��
#o�G� ��� {#Y�D0`����(�
�J�P��(0СB)h�@�!:tt@�Q����D���;PKᴎ[��N�1prettyphoto/images/prettyPhoto/default/sprite.pngnu�[����PNG
IHDR��B���tEXtSoftwareAdobe
ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmpMM:OriginalDocumentID="xmp.did:01801174072068118BF2F6B511368090"
xmpMM:DocumentID="xmp.did:275503303E8511E08E6F9312EF314E02"
xmpMM:InstanceID="xmp.iid:24283CC43E8311E08E6F9312EF314E02"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:03801174072068118BF2F6B511368090"
stRef:documentID="xmp.did:01801174072068118BF2F6B511368090"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?>�GIJIDATx��]pE���Wc ��0
Ȋ`I�2�z7�E��
��K|k|�R���|\ETJ���
p�,�^$��Hx$��DH$��ϝ̙�3'��93鯪�$3�s�������Ӟ��"f�����QQQc��çz<�:t5}^���TJ�J�{���x��!(((0%��+�
7�`K��=��ߣ�gϞ��ԩӒ�������;]v�e,22R*�A�����BYP�^.//k������-��o߾��V�}��5;0b�Ϟ={�R笻��+����
F�Ej��18�?щ��լ����ܹsw&''��i��_�*�nJζ��K�.>2Q9RdЕ�oP�0�(�,��/u�c�h5������z��H�n��ݻSB���L���)��z�ڀ�.�xϮ]���ٳ�+111R'*(�����aj{���m"_��ѣG�D�����8��*�ӡp�f�\֛��J%hk��e��s�λ��w��<A��b���:��/��A��u�m����V
A2�0��q?�8qbXZZZ��5Q'R��6�&��(��
��]WW�Μ9�v����f��4o߾�2�(f�d�馛4�߹sg@�s��X�m^װr����7H�Vwot����Ğ䓗���� �NM���L�諯��!��С�t�,��7��������z��ȰT&R���!+�<��Г�6j�(Ͻ��;�L��
h[7�a0��6o�<H�ӧO���:�L����9\�kQu��2i�s�֭-�umV�^^E@�Fd������,��Ȍϖ�K���]���ݻw�O3���Z�A]�����^`Ǐo�LIIIa6�c��6|�ڵ�i^}Eź�cN�t�RF����_~�����+��ɓ�u�Gb�>VK@)t>�\
>ע����fdB���ٓO>��|�MI���'�U��bhz4��S���o�����_�3�<#=t٤��^{��:u�eee�֕��!k֬�1j'c4�ob�j������^z��8�.�z
320��֧�~�eggKA�?��d(�Y��4�ǖ!�F�/F��㏳��{�ѵ��g����O>��P���~�8����J��!�q�#s�Y��l����СC�h���r�5*��W&�l
..�]�x�m۶���g_�����!��<H0�KL�>�]{�f���<��x�F8�~�ػ�+��l�2ƣ�|���4���-�<{hR�'}�+�~���죏>�F�M�{��B
y6�Gm�Ȥu/$��
6��?��M�6M7��!��<�WX�%K�����K
�Ty��#\z�h�����
�'8iii~��?D��4�C�#Q��@�
��h�j٤z��S32�}/�b�dҕG��{���in#yl�,R�O_�p��EL��Z���˒��(ڰ.�____�q���G��r`�`;vL�G�ѵTwB}ܬLZ@
x���#GJ�ǃ5+��<j���O�||��(�'�����ڃ�Ν3�4���{N2op3g�d�}���p^�u6g�Ce�����~P�i�SG��̙3�\���A�/}衇�
��h�{��̌Ljt�ؑ%''�[o�U���o�^�!��<Z
���*���Bx����vTVV6E�y6��>�y��K��ٳgѩ�͟?��J�Ɵ�9Woچ���
�u
�����ɌLJ�5j[�p���(F�td2�2@�ĭ�Iy�D�Wȴ�Q�B8=̛7O~X� ��l�~L+�� ��|Y�f�������]^^���0�pK�㨃�������<X�m�ĉ�<x`Ɗ��d(d�,zr�c%Ny]^��&��F��ܹ�n����.�h��8��c�i�#�y����{��<AQQ�c�~A�ҭf�N%�Q�����"�� @�a��0$��#�U�X ��@iT\\\r�-��I�v�V��6�9�SEE��b�E,��v��QMV��\�X��E��e��~
�KJJf.Z��r�c2��,�)� �,������g*9W]u�%E
�lJJJ:L��JZ�)bk�1TUUA�+7oޜN�^�a��m���?ѧO�|zhדɍ�u�=��X�FJ���ڵk�tZ���C����$���"E��J>��Lڸq��>���y�7_@�QtKSw�С�L\�`A�,���ݸq#|4�_�lٲ���I�����a��4z�!?�ק�zj�|�z�����DzZ&�&�;��X��m y=�<*�a��ٴi�tb������)�<=p���駟�C�>�4���,������&M
�c̽"��S����t^�z�r=��X&�[��oz���_\`�"L��1!B�hL�}�ݷ<++���wiz�M2��.��a�CKa�/_�ߟ�+��ɑ����ԋ���"��$wT�|�َ�D�����ߨxȺ��j�7���Af�#kqE��))))ؙB>60r 0�|�7��H�`:E�E�M��_4��6�6�Me�;R��5�),�XCY,�n�9��zd�I�;vl�m��vklll*;qTh4u��$��Suuu_�4m뫯��?�Y++��
k��2�Z&�T��dE���"\&��E W�8n�.�J��)�@�X���5xM��<��"����{��d�ɴ�ij��E[��TEc�5�>j�����r4��C�aC�AeC���`C;6F&�FE��
��A�����B6��"�9����k�����aP����l%hk��e�ޕ��W�l߾�4����L �4..�Sǎ7dgg�K8�d:v�X�z��+,B0��V!�lhG*B���V��`���G`*�&L`�L�ս��������k@y��a���
=��"�P&��g�e����˗Kt3�*..f �R���eJJJ�S&k;�s�#0s(�b�q�s999lРA�5(�����64�g
�`��q
=t�P)�����L�+�Y�0�裏J��̯��6�en��L���I*?�O܄�L�+��9���{��%�3V������Jt7,�@vnѢE���j>��9� ���Z���ɖY��9�U@i�z;�nD�
�����b[n�ɤ7���"շY&[���
p�p{��wK�Pt�]w��eCkq�������������Z��`�d�"(��F˹a �#��ߖ�Z��걡�����-w*2Y�J�V�<y�b:f"��{L���=b�/���=t�Ж��L���!���9|�u�IdWLŐL)[�{A��b`N��c�lh�`�
�F�^�"2Y�f�Ø[#8��G`��N��Ȑ~
�x=��-��ħ��#��M�
�-�ES�a>s�o%p�s�=�%Ћ����-�fd�����J %d�v�1���L�O�+��߿ۊ+
�����$%��:�9��?��8to���Se�A.�
�^�v���x����#G�,��9�b�p%Y����!E{����-[���]�ٙ�7�I(��Lyyy�w�q�;f
`�bƕ����$�Kx����j҃sxƪU����h�\��亅)2��>===k���)..��5̬�LIII��C��-X�����
�T&�&7-L��蜕�u;M
ۂ9\gd
lX�j�L���^��*�
1�G��laC۴��V6�k(oÇ��
m�rvf�u�GR˙�A�>�X&R�ƺEt)oEEE#����ktt��|N�J_��h�F��>�\�pa��7�7d��:''�����`jO�7[歂�Ҕ7��|f;�� �L{��������0�0:�*���j�2n�v��̢[)o�7R���(_|��L��I��kd�`-x���U��S�J�\��N�|������ǍwP���#0zV&q`���;z(�ܹsun�(o��#z�R �o������r�3 7��\���ax�`5a���Sn
�^т��T%�Hs�"���p�&�V�@y�J���'�xB���=̭�]z�K<Y���x���������z���ܚG0�(�3���B
��bP�PR��7�+V��lp���;M>�(o-P3�0"W,��!.�N����n���R��a��شD%�
��G@�����@s�"�ð���Y��#�<"�%�7�t(Ð!C$��j��Fz���e�2e
�����;�q�2pt+=̕���:���?
Ł�F�����8�ʇ��O��.^��
�吷��0u�P��u�V�k�LyA�T�}���[)o�(�"�n�YZZ:�f
�E|�������t�Ν�͙33�P�Q��k��q�7��W~�Q�7�6P7P�,T�B��2�C���(((��h�?�5����аn�>
��"���(Іy�}�����*��>
x-��>
���f�DZhEO��ݟ�6�N/>yfbk���4�.nj`�7��n�:ͺ��D[<���B�ڇ�>M���1�����~��T���*�����v�5�QT��`�VL�&��:��Q�qA��C6,bMOO��)�r�ɣ�D;���r{5�5B�}TC�
���P/gS_��*��G�{��;H �ʀv�Q%�Q
����F�}t�"�vp�}!�Z�����9�3fL�o�1���!w���(
�OUTT���\����l�Ms[S\�}��3f̈����~��%C |/��5kV_3���>������ŋ�GFFv���.�n��p)�k@VQ�h��F�ڪU�|n0{�l�54~#�⧟~�6U�wCH�{�n�!�q˖-,11Q��E R� �ճ�=qi�t���
�
��q�G�������h#M\���@��G�<��Gl�ǕA/���N}Np����3�akq����,����x�:� ���(
)��>
��7z��8q��>��K��;�����6�Z[����V��gE��
��4i��>
Eh���؎A�#qSSSMo�'�B������G��\�P2DAAAwA�mNJPXX�;@&�����yx߾}�`B(�$X,6K( l��
�
\RA��ZA�0M�m�2���JE`*��F0���c�o%A��ҥ�l&�}mE�G��e ^F4/��Ǎ�
@��6�|c5p�y�y��� �`�(
у
��(��`B�:��bPg����
Jҫ� �G�u) �]��k�v6Ä��P% �*�
@�J��HH7���_��{[�=½hq#������8w��ff^9cP�X�F{"�:z�`D��p�A�zJ�',��Pj��:ӊ�H�ZdX5V���^I����šԞ�'O�F$X5VyL���^I�K�.���BM�X��'E�`KKK��,x�F�+��$XyV�^}<--��G���fI���(|/��@{�<�V=�h
շ�K���4@A}�� l�]���-H�-��g��3r�}��
���5��"��/����f�۶���*�إ�5
�S.[�F��$��+�#�999�RSS����P�J��A�#�
��Y@X/�%��*+�E�IEND�B`�PKᴎ[T�QNN6prettyphoto/images/prettyPhoto/default/sprite_next.pngnu�[����PNG
IHDR?�~�tEXtSoftwareAdobe
ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmpMM:OriginalDocumentID="xmp.did:07801174072068118BF2F6B511368090"
xmpMM:DocumentID="xmp.did:275503383E8511E08E6F9312EF314E02"
xmpMM:InstanceID="xmp.iid:275503373E8511E08E6F9312EF314E02"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:07801174072068118BF2F6B511368090"
stRef:documentID="xmp.did:07801174072068118BF2F6B511368090"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?>F=�~IDATx��1k�@��$��!U0S3�F�B��_��@�N���B6����{�B�d��=���
u0����Q�w��9.�s�w���I��"�D?���0$z"z
��ۖ�&�D��T$ZR�!�̧?x�Tޏ/"`�@S�i�;�@܀4�<G�$�o�Sb�X`<�Z�²,�F#��f3��
ڷQa:���z=(��f� M���EГ����q�j5Ȳ�z��1�L���0�C���$�1C��i~W(������h�Rs�i
�uQ�TP���m��W��sx�ǜ�^�YV�N���OA�,˘Ci)��.��>?�ڶ�V��r��4/��8�']lV���%s�q�v<��
�
t�%U$�cj�7z��}q����̏�dq��'(IEND�B`�PKᴎ[D��``6prettyphoto/images/prettyPhoto/default/sprite_prev.pngnu�[����PNG
IHDR�e�tEXtSoftwareAdobe
ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmpMM:OriginalDocumentID="xmp.did:07801174072068118BF2F6B511368090"
xmpMM:DocumentID="xmp.did:D3B1BA5F3E8711E08E6F9312EF314E02"
xmpMM:InstanceID="xmp.iid:D3B1BA5E3E8711E08E6F9312EF314E02"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:07801174072068118BF2F6B511368090"
stRef:documentID="xmp.did:07801174072068118BF2F6B511368090"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?>H�>�IDATx�엿j�Pƿ�AQ��<�Ppr�"��Q_�P��J1C��pt*��cɠD�C��'HLo-��{�����=��s�AV!x�G��͉��^
T*�t:ѶvO��
��ؘg�����gT�,aK�̶m��5uP���`0����t:(
t�����hI���l0�8�v��,�l<�C�e�����0,�K\.��g�;�V+��v6�N1�͐�d���}�v��\�9�C.��(�QF�*Y�R��J�R ��B8��^���zM��4MC�V��xD�X�n�����n�t���h�\.G?s7�L�5u��D:��b��~�G�Z��7��\�V���8N���XL�/���m����Y�§�+X'��1���;jj�? .��wy�IEND�B`�PKᴎ[�:�;II3prettyphoto/images/prettyPhoto/default/sprite_x.pngnu�[����PNG
IHDR�//��tEXtSoftwareAdobe
ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmpMM:OriginalDocumentID="xmp.did:01801174072068118BF2F6B511368090"
xmpMM:DocumentID="xmp.did:6FD77D8D3E6B11E08E6F9312EF314E02"
xmpMM:InstanceID="xmp.iid:6FD77D8C3E6B11E08E6F9312EF314E02"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:03801174072068118BF2F6B511368090"
stRef:documentID="xmp.did:01801174072068118BF2F6B511368090"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?>�˛�yIDATx���A �T
�����] �{����B@�[ݽ̀B@!
��B@! ��B@! ��B@!
��B@<B��!���#��[��LUrIEND�B`�PKᴎ[����3prettyphoto/images/prettyPhoto/default/sprite_y.pngnu�[����PNG
IHDR=����ItEXtSoftwareAdobe
ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP
Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmpMM:OriginalDocumentID="xmp.did:01801174072068118BF2F6B511368090"
xmpMM:DocumentID="xmp.did:6FD77D953E6B11E08E6F9312EF314E02"
xmpMM:InstanceID="xmp.iid:6FD77D943E6B11E08E6F9312EF314E02"
xmp:CreatorTool="Adobe Photoshop CS5 Macintosh">
<xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:05801174072068118BF2F6B511368090"
stRef:documentID="xmp.did:01801174072068118BF2F6B511368090"/>
</rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket
end="r"?> �KJ�IDATx��ϱ
�0������\:#
�(D�}aYvuQUm,"�����-Vf^����h
�V�Č�]�IEND�B`�PKᴎ[�#o,,)prettyphoto/images/prettyPhoto/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[�#o,,prettyphoto/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[�#o,,prettyphoto/js/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[<��1V1V$prettyphoto/js/jquery.prettyPhoto.jsnu�[���/*
------------------------------------------------------------------------
Class: prettyPhoto
Use: Lightbox clone for jQuery
Author: Stephane Caron (http://www.no-margin-for-errors.com)
Version: 3.1.5
-------------------------------------------------------------------------
*/
(function(e){function t(){var
e=location.href;hashtag=e.indexOf("#prettyPhoto")!==-1?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):false;return
hashtag}function n(){if(typeof
theRel=="undefined")return;location.hash=theRel+"/"+rel_index+"/"}function
r(){if(location.href.indexOf("#prettyPhoto")!==-1)location.hash="prettyPhoto"}function
i(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var
n="[\\?&]"+e+"=([^&#]*)";var r=new
RegExp(n);var i=r.exec(t);return
i==null?"":i[1]}e.prettyPhoto={version:"3.1.5"};e.fn.prettyPhoto=function(s){function
g(){e(".pp_loaderIcon").hide();projectedTop=scroll_pos["scrollTop"]+(d/2-a["containerHeight"]/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:a["contentHeight"],width:a["contentWidth"]},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:v/2-a["containerWidth"]/2<0?0:v/2-a["containerWidth"]/2,width:a["containerWidth"]},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(a["height"]).width(a["width"]);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&S(pp_images[set_position])=="image"){$pp_pic_holder.find(".pp_hoverContainer").show()}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}if(settings.allow_expand){if(a["resized"]){e("a.pp_expand,a.pp_contract").show()}else{e("a.pp_expand").hide()}}if(settings.autoplay_slideshow&&!m&&!f)e.prettyPhoto.startSlideshow();settings.changepicturecallback();f=true});C();s.ajaxcallback()}function
y(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res
embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show();t()})}function
b(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function
w(e,t){resized=false;E(e,t);imageWidth=e,imageHeight=t;if((p>v||h>d)&&doresize&&settings.allow_resize&&!u){resized=true,fitting=false;while(!fitting){if(p>v){imageWidth=v-200;imageHeight=t/e*imageWidth}else
if(h>d){imageHeight=d-200;imageWidth=e/t*imageHeight}else{fitting=true}h=imageHeight,p=imageWidth}if(p>v||h>d){w(p,h)}E(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(h),containerWidth:Math.floor(p)+settings.horizontal_padding*2,contentHeight:Math.floor(l),contentWidth:Math.floor(c),resized:resized}}function
E(t,n){t=parseFloat(t);n=parseFloat(n);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();l=n+detailsHeight;c=t;h=l+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();p=t}function
S(e){if(e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)){return"youtube"}else
if(e.match(/vimeo\.com/i)){return"vimeo"}else
if(e.match(/\b.mov\b/i)){return"quicktime"}else
if(e.match(/\b.swf\b/i)){return"flash"}else
if(e.match(/\biframe=true\b/i)){return"iframe"}else
if(e.match(/\bajax=true\b/i)){return"ajax"}else
if(e.match(/\bcustom=true\b/i)){return"custom"}else
if(e.substr(0,1)=="#"){return"inline"}else{return"image"}}function
x(){if(doresize&&typeof
$pp_pic_holder!="undefined"){scroll_pos=T();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=d/2+scroll_pos["scrollTop"]-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:v/2+scroll_pos["scrollLeft"]-contentwidth/2})}}function
T(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else
if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else
if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}function
N(){d=e(window).height(),v=e(window).width();if(typeof
$pp_overlay!="undefined")$pp_overlay.height(e(document).height()).width(v)}function
C(){if(isSet&&settings.overlay_gallery&&S(pp_images[set_position])=="image"){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((a["containerWidth"]-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()}else{$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show()}galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage;e.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")}else{$pp_pic_holder.find(".pp_content").unbind("mouseenter
mouseleave")}}function
k(t){if(settings.social_tools)facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));settings.markup=settings.markup.replace("{pp_social}","");e("body").append(settings.markup);$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var
n=0;n<pp_images.length;n++){if(!pp_images[n].match(/\b(jpg|jpeg|png|gif|webp)\b/gi)){classname="default";img_src=""}else{classname="";img_src=pp_images[n]}toInject+="<li
class='"+classname+"'><a
href='#'><img src='"+img_src+"'
width='50' alt=''
/></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=e(".pp_pic_holder
.pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){e.prettyPhoto.changeGalleryPage("next");e.prettyPhoto.stopSlideshow();return
false});$pp_gallery.find(".pp_arrow_previous").click(function(){e.prettyPhoto.changeGalleryPage("previous");e.prettyPhoto.stopSlideshow();return
false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(t){e(this).find("a").click(function(){e.prettyPhoto.changePage(t);e.prettyPhoto.stopSlideshow();return
false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a
href="#"
class="pp_play">Play</a>');$pp_pic_holder.find(".pp_nav
.pp_play").click(function(){e.prettyPhoto.startSlideshow();return
false})}$pp_pic_holder.attr("class","pp_pic_holder
"+settings.theme);$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){if(!settings.modal)e.prettyPhoto.close()});e("a.pp_close").bind("click",function(){e.prettyPhoto.close();return
false});if(settings.allow_expand){e("a.pp_expand").bind("click",function(t){if(e(this).hasClass("pp_expand")){e(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{e(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}y(function(){e.prettyPhoto.open()});return
false})}$pp_pic_holder.find(".pp_previous, .pp_nav
.pp_arrow_previous").bind("click",function(){e.prettyPhoto.changePage("previous");e.prettyPhoto.stopSlideshow();return
false});$pp_pic_holder.find(".pp_next, .pp_nav
.pp_arrow_next").bind("click",function(){e.prettyPhoto.changePage("next");e.prettyPhoto.stopSlideshow();return
false});x()}s=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div
class="pp_pic_holder"> <div
class="ppt"> </div> <div
class="pp_top"> <div
class="pp_left"></div> <div
class="pp_middle"></div> <div
class="pp_right"></div> </div> <div
class="pp_content_container"> <div
class="pp_left"> <div class="pp_right">
<div class="pp_content"> <div
class="pp_loaderIcon"></div> <div
class="pp_fade"> <a href="#"
class="pp_expand" title="Expand the
image">Expand</a> <div
class="pp_hoverContainer"> <a
class="pp_next" href="#">next</a>
<a class="pp_previous"
href="#">previous</a> </div>
<div id="pp_full_res"></div>
<div class="pp_details"> <div
class="pp_nav"> <a href="#"
class="pp_arrow_previous">Previous</a> <p
class="currentTextHolder">0/0</p> <a
href="#" class="pp_arrow_next">Next</a>
</div> <p
class="pp_description"></p> <div
class="pp_social">{pp_social}</div> <a
class="pp_close" href="#">Close</a>
</div> </div> </div>
</div> </div> </div> <div
class="pp_bottom"> <div
class="pp_left"></div> <div
class="pp_middle"></div> <div
class="pp_right"></div> </div>
</div> <div
class="pp_overlay"></div>',gallery_markup:'<div
class="pp_gallery"> <a href="#"
class="pp_arrow_previous">Previous</a>
<div> <ul> {gallery}
</ul> </div> <a href="#"
class="pp_arrow_next">Next</a>
</div>',image_markup:'<img
id="fullResImage" src="{path}"
/>',flash_markup:'<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="{width}" height="{height}"><param
name="wmode" value="{wmode}" /><param
name="allowfullscreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="movie" value="{path}" /><embed
src="{path}" type="application/x-shockwave-flash"
allowfullscreen="true" allowscriptaccess="always"
width="{width}" height="{height}"
wmode="{wmode}"></embed></object>',quicktime_markup:'<object
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
height="{height}" width="{width}"><param
name="src" value="{path}"><param
name="autoplay" value="{autoplay}"><param
name="type" value="video/quicktime"><embed
src="{path}" height="{height}"
width="{width}" autoplay="{autoplay}"
type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe
src ="{path}" width="{width}"
height="{height}"
frameborder="no"></iframe>',inline_markup:'<div
class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div
class="twitter"><a
href="http://twitter.com/share"
class="twitter-share-button"
data-count="none">Tweet</a><script
type="text/javascript"
src="http://platform.twitter.com/widgets.js"></script></div><div
class="facebook"><iframe
src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23"
scrolling="no" frameborder="0" style="border:none;
overflow:hidden; width:500px; height:23px;"
allowTransparency="true"></iframe></div>'},s);var
o=this,u=false,a,f,l,c,h,p,d=e(window).height(),v=e(window).width(),m;doresize=true,scroll_pos=T();e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){x();N()});if(s.keyboard_shortcuts){e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if(typeof
$pp_pic_holder!="undefined"){if($pp_pic_holder.is(":visible")){switch(t.keyCode){case
37:e.prettyPhoto.changePage("previous");t.preventDefault();break;case
39:e.prettyPhoto.changePage("next");t.preventDefault();break;case
27:if(!settings.modal)e.prettyPhoto.close();t.preventDefault();break}}}})}e.prettyPhoto.initialize=function(){settings=s;if(settings.theme=="pp_default")settings.horizontal_padding=16;theRel=e(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return
e(t).attr("href")}):e.makeArray(e(this).attr("href"));pp_titles=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return
e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):""}):e.makeArray(e(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return
e(t).attr("title")?e(t).attr("title"):""}):e.makeArray(e(this).attr("title"));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray(e(this).attr("href"),pp_images);rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this));k(this);if(settings.allow_resize)e(window).bind("scroll.prettyphoto",function(){x()});e.prettyPhoto.open();return
false};e.prettyPhoto.open=function(t){if(typeof
settings=="undefined"){settings=s;pp_images=e.makeArray(arguments[0]);pp_titles=arguments[1]?e.makeArray(arguments[1]):e.makeArray("");pp_descriptions=arguments[2]?e.makeArray(arguments[2]):e.makeArray("");isSet=pp_images.length>1?true:false;set_position=arguments[3]?arguments[3]:0;k(t.target)}if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");b(e(pp_images).length);e(".pp_loaderIcon").show();if(settings.deeplinking)n();if(settings.social_tools){facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));$pp_pic_holder.find(".pp_social").html(facebook_like_link)}if($ppt.is(":hidden"))$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).length);if(typeof
pp_descriptions[set_position]!="undefined"&&pp_descriptions[set_position]!=""){$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]))}else{$pp_pic_holder.find(".pp_description").hide()}movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString();u=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150);u=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150);u=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof
pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" ");imgPreloader="";skipInjection=false;switch(S(pp_images[set_position])){case"image":imgPreloader=new
Image;nextImage=new
Image;if(isSet&&set_position<e(pp_images).length-1)nextImage.src=pp_images[set_position+1];prevImage=new
Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){a=w(imgPreloader.width,imgPreloader.height);g()};imgPreloader.onerror=function(){alert("Image
cannot be loaded. Make sure the path is correct and image
exist.");e.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case"youtube":a=w(movie_width,movie_height);movie_id=i("v",pp_images[set_position]);if(movie_id==""){movie_id=pp_images[set_position].split("youtu.be/");movie_id=movie_id[1];if(movie_id.indexOf("?")>0)movie_id=movie_id.substr(0,movie_id.indexOf("?"));if(movie_id.indexOf("&")>0)movie_id=movie_id.substr(0,movie_id.indexOf("&"))}movie="http://www.youtube.com/embed/"+movie_id;i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":a=w(movie_width,movie_height);movie_id=pp_images[set_position];var
t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;var
n=movie_id.match(t);movie="http://player.vimeo.com/video/"+n[3]+"?title=0&byline=0&portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=a["width"]+"/embed/?moog_width="+a["width"];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,a["height"]).replace(/{path}/g,movie);break;case"quicktime":a=w(movie_width,movie_height);a["height"]+=15;a["contentHeight"]+=15;a["containerHeight"]+=15;toInject=settings.quicktime_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":a=w(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":a=w(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;a=w(movie_width,movie_height);doresize=true;skipInjection=true;e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()});break;case"custom":a=w(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br
clear="all"
/>').css({width:settings.default_width}).wrapInner('<div
id="pp_full_res"><div
class="pp_inline"></div></div>').appendTo(e("body")).show();doresize=false;a=w(e(myClone).width(),e(myClone).height());doresize=true;e(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html());break}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()}});return
false};e.prettyPhoto.changePage=function(t){currentGalleryPage=0;if(t=="previous"){set_position--;if(set_position<0)set_position=e(pp_images).length-1}else
if(t=="next"){set_position++;if(set_position>e(pp_images).length-1)set_position=0}else{set_position=t}rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){e(".pp_contract").removeClass("pp_contract").addClass("pp_expand")}y(function(){e.prettyPhoto.open()})};e.prettyPhoto.changeGalleryPage=function(e){if(e=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else
if(e=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else{currentGalleryPage=e}slide_speed=e=="next"||e=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*itemsPerPage*itemWidth;$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};e.prettyPhoto.startSlideshow=function(){if(typeof
m=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){e.prettyPhoto.stopSlideshow();return
false});m=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)}else{e.prettyPhoto.changePage("next")}};e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){e.prettyPhoto.startSlideshow();return
false});clearInterval(m);m=undefined};e.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;e.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");e(this).remove();e(window).unbind("scroll.prettyphoto");r();settings.callback();doresize=true;f=false;delete
settings})};if(!pp_alreadyInitialized&&t()){pp_alreadyInitialized=true;hashIndex=t();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){e("a["+s.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return
this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)};})(jQuery);var
pp_alreadyInitialized=falsePKᴎ[�#o,,swiper/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[����T�Tswiper/swiper.min.cssnu�[���/**
* Swiper 4.2.0
* Most modern mobile touch slider and framework with hardware accelerated
transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: March 16, 2018
*/
.swiper-container{margin:0
auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox
.swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android
.swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0
auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-invisible-blank-slide{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight
.swiper-slide{height:auto}.swiper-container-autoheight
.swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d
.swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d
.swiper-slide-shadow-bottom,.swiper-container-3d
.swiper-slide-shadow-left,.swiper-container-3d
.swiper-slide-shadow-right,.swiper-container-3d
.swiper-slide-shadow-top,.swiper-container-3d
.swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d
.swiper-slide-shadow-bottom,.swiper-container-3d
.swiper-slide-shadow-left,.swiper-container-3d
.swiper-slide-shadow-right,.swiper-container-3d
.swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d
.swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right
top,left
top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to
left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d
.swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left
top,right
top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to
right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d
.swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left
bottom,left
top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to
top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d
.swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left
top,left
bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to
bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px
44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl
.swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl
.swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl
.swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl
.swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl
.swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl
.swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s
opacity;-o-transition:.3s opacity;transition:.3s
opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable
.swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets
.swiper-pagination-bullet{margin:6px
0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s
top,.2s -webkit-transform;transition:.2s top,.2s
-webkit-transform;-o-transition:.2s transform,.2s top;transition:.2s
transform,.2s top;transition:.2s transform,.2s top,.2s
-webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets
.swiper-pagination-bullet{margin:0
4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet{-webkit-transition:.2s left,.2s
-webkit-transform;transition:.2s left,.2s
-webkit-transform;-o-transition:.2s transform,.2s left;transition:.2s
transform,.2s left;transition:.2s transform,.2s left,.2s
-webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet{-webkit-transition:.2s right,.2s
-webkit-transform;transition:.2s right,.2s
-webkit-transform;-o-transition:.2s transform,.2s right;transition:.2s
transform,.2s right;transition:.2s transform,.2s right,.2s
-webkit-transform}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar
.swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left
top;-ms-transform-origin:left top;transform-origin:left
top}.swiper-container-rtl .swiper-pagination-progressbar
.swiper-pagination-progressbar-fill{-webkit-transform-origin:right
top;-ms-transform-origin:right top;transform-origin:right
top}.swiper-container-horizontal>.swiper-pagination-progressbar{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white
.swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255,255,255,.25)}.swiper-pagination-progressbar.swiper-pagination-white
.swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black
.swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black
.swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin
1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end)
infinite}.swiper-lazy-preloader:after{display:block;content:'';width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes
swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes
swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container
.swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode
.swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade
.swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade
.swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade
.swiper-slide-active,.swiper-container-fade .swiper-slide-active
.swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube
.swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0
0;-ms-transform-origin:0 0;transform-origin:0
0;width:100%;height:100%}.swiper-container-cube .swiper-slide
.swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl
.swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100%
0;transform-origin:100% 0}.swiper-container-cube
.swiper-slide-active,.swiper-container-cube .swiper-slide-active
.swiper-slide-active{pointer-events:auto}.swiper-container-cube
.swiper-slide-active,.swiper-container-cube
.swiper-slide-next,.swiper-container-cube
.swiper-slide-next+.swiper-slide,.swiper-container-cube
.swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube
.swiper-slide-shadow-bottom,.swiper-container-cube
.swiper-slide-shadow-left,.swiper-container-cube
.swiper-slide-shadow-right,.swiper-container-cube
.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube
.swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip
.swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip
.swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip
.swiper-slide-active,.swiper-container-flip .swiper-slide-active
.swiper-slide-active{pointer-events:auto}.swiper-container-flip
.swiper-slide-shadow-bottom,.swiper-container-flip
.swiper-slide-shadow-left,.swiper-container-flip
.swiper-slide-shadow-right,.swiper-container-flip
.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow
.swiper-wrapper{-ms-perspective:1200px}
/* Phoca Cart Brands Module */
/* Phoca Cart Product Scroller Module */
.swiper-container.ph-mod-brands-swiper-container,
.swiper-container.ph-mod-product-scroller-swiper-container {
/*margin: 1em auto;*/
}
.swiper-slide.ph-mod-brands-swiper-slide,
.swiper-slide.ph-mod-product-scroller-swiper-slide {}
.swiper-pagination.ph-mod-brands-swiper-pagination,
.swiper-pagination.ph-mod-product-scroller-swiper-pagination {
position: relative;
margin-top: 1em;
}
.swiper-button-next.ph-mod-brands-swiper-button-next,
.swiper-button-next.ph-mod-product-scroller-swiper-button-next {
float:right;
position: relative;
margin-right: -50px;
}
.swiper-button-prev.ph-mod-brands-swiper-button-prev,
.swiper-button-prev.ph-mod-product-scroller-swiper-button-prev {
float:left;
position: relative;
margin-left: -50px;
}
.swiper-button-prev:focus,
.swiper-button-next:focus {
outline: none;
}
.swiper-container .ph-brand-name {
text-align: center
}
.swiper-container .ph-brand-name img {
margin: 0 auto;
}
.swiper-container.ph-mod-brands-swiper-container .swiper-wrapper
.swiper-slide,
.swiper-container.ph-mod-product-scroller-swiper-container .swiper-wrapper
.swiper-slide {
height: auto;
display: flex;
margin-top:0;
margin-bottom:0;
}
.swiper-container.ph-mod-brands-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box,
.swiper-container.ph-mod-product-scroller-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box {
margin-left: auto;
margin-right: auto;
width: 100%;
padding: 10px;
}
.swiper-container.ph-mod-brands-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box .ph-thumbnail,
.swiper-container.ph-mod-product-scroller-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box .ph-thumbnail {
height: 100%;
display: flex;
flex-direction: column;
}
.swiper-container.ph-mod-brands-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box .ph-thumbnail .caption,
.swiper-container.ph-mod-product-scroller-swiper-container .swiper-wrapper
.swiper-slide .ph-item-box .ph-thumbnail .caption {
height: 100%;
display: flex;
flex: 1;
flex-wrap: wrap;
flex-direction: column;
justify-content: flex-end;
}PKᴎ[�g뽭���swiper/swiper.min.jsnu�[���/**
* Swiper 4.2.0
* Most modern mobile touch slider and framework with hardware accelerated
transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: March 16, 2018
*/
!function(e,t){"object"==typeof
exports&&"undefined"!=typeof
module?module.exports=t():"function"==typeof
define&&define.amd?define(t):e.Swiper=t()}(this,function(){"use
strict";var e="undefined"==typeof
document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return
null},querySelectorAll:function(){return[]},getElementById:function(){return
null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof
window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return
this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var
t=0;t<e.length;t+=1)this[t]=e[t];return
this.length=e.length,this};function s(s,a){var
r=[],n=0;if(s&&!a&&s instanceof i)return
s;if(s)if("string"==typeof s){var
o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var
h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else
for(o=a||"#"!==s[0]||s.match(/[
.<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else
if(s.nodeType||s===t||s===e)r.push(s);else
if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return
new i(r)}function a(e){for(var
t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return
t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void
0===e)return this;for(var t=e.split("
"),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void
0!==this[s].classList&&this[s].classList.add(t[i]);return
this},removeClass:function(e){for(var t=e.split("
"),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void
0!==this[s].classList&&this[s].classList.remove(t[i]);return
this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var
t=e.split(" "),i=0;i<t.length;i+=1)for(var
s=0;s<this.length;s+=1)void
0!==this[s].classList&&this[s].classList.toggle(t[i]);return
this},attr:function(e,t){var
i=arguments;if(1===arguments.length&&"string"==typeof
e)return this[0]?this[0].getAttribute(e):void 0;for(var
s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else
for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return
this},removeAttr:function(e){for(var
t=0;t<this.length;t+=1)this[t].removeAttribute(e);return
this},data:function(e,t){var i;if(void 0!==t){for(var
s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return
this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in
i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var
a=i.getAttribute("data-"+e);return a||void
0}},transform:function(e){for(var t=0;t<this.length;t+=1){var
i=this[t].style;i.webkitTransform=e,i.transform=e}return
this},transition:function(e){"string"!=typeof
e&&(e+="ms");for(var t=0;t<this.length;t+=1){var
i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return
this},on:function(){for(var
e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var
a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var
i=e.target.dom7EventData||[];if(i.unshift(e),s(t).is(r))n.apply(t,i);else
for(var
a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function
d(e){var
t=e&&e.target?e.target.dom7EventData||[]:[];t.unshift(e),n.apply(this,t)}"function"==typeof
t[1]&&(a=(e=t)[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var
h,p=a.split(" "),c=0;c<this.length;c+=1){var
u=this[c];if(r)for(h=0;h<p.length;h+=1)u.dom7LiveListeners||(u.dom7LiveListeners=[]),u.dom7LiveListeners.push({type:a,listener:n,proxyListener:l}),u.addEventListener(p[h],l,o);else
for(h=0;h<p.length;h+=1)u.dom7Listeners||(u.dom7Listeners=[]),u.dom7Listeners.push({type:a,listener:n,proxyListener:d}),u.addEventListener(p[h],d,o)}return
this},off:function(){for(var
e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var
s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof
t[1]&&(s=(e=t)[0],r=e[1],n=e[2],a=void 0),n||(n=!1);for(var
o=s.split(" "),l=0;l<o.length;l+=1)for(var
d=0;d<this.length;d+=1){var
h=this[d];if(a){if(h.dom7LiveListeners)for(var
p=0;p<h.dom7LiveListeners.length;p+=1)r?h.dom7LiveListeners[p].listener===r&&h.removeEventListener(o[l],h.dom7LiveListeners[p].proxyListener,n):h.dom7LiveListeners[p].type===o[l]&&h.removeEventListener(o[l],h.dom7LiveListeners[p].proxyListener,n)}else
if(h.dom7Listeners)for(var
c=0;c<h.dom7Listeners.length;c+=1)r?h.dom7Listeners[c].listener===r&&h.removeEventListener(o[l],h.dom7Listeners[c].proxyListener,n):h.dom7Listeners[c].type===o[l]&&h.removeEventListener(o[l],h.dom7Listeners[c].proxyListener,n)}return
this},trigger:function(){for(var
i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split("
"),r=i[1],n=0;n<a.length;n+=1)for(var
o=0;o<this.length;o+=1){var l=void 0;try{l=new
t.CustomEvent(a[n],{detail:r,bubbles:!0,cancelable:!0})}catch(t){(l=e.createEvent("Event")).initEvent(a[n],!0,!0),l.detail=r}this[o].dom7EventData=i.filter(function(e,t){return
t>0}),this[o].dispatchEvent(l),this[o].dom7EventData=[],delete
this[o].dom7EventData}return this},transitionEnd:function(e){var
t,i=["webkitTransitionEnd","transitionend"],s=this;function
a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return
this},outerWidth:function(e){if(this.length>0){if(e){var
t=this.styles();return
this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return
this[0].offsetWidth}return
null},outerHeight:function(e){if(this.length>0){if(e){var
t=this.styles();return
this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return
this[0].offsetHeight}return
null},offset:function(){if(this.length>0){var
i=this[0],s=i.getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,n=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:s.top+o-r,left:s.left+l-n}}return
null},css:function(e,i){var
s;if(1===arguments.length){if("string"!=typeof
e){for(s=0;s<this.length;s+=1)for(var a in
e)this[s].style[a]=e[a];return this}if(this[0])return
t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof
e){for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this}return
this},each:function(e){if(!e)return this;for(var
t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return
this;return this},html:function(e){if(void 0===e)return
this[0]?this[0].innerHTML:void 0;for(var
t=0;t<this.length;t+=1)this[t].innerHTML=e;return
this},text:function(e){if(void 0===e)return
this[0]?this[0].textContent.trim():null;for(var
t=0;t<this.length;t+=1)this[t].textContent=e;return
this},is:function(a){var r,n,o=this[0];if(!o||void
0===a)return!1;if("string"==typeof a){if(o.matches)return
o.matches(a);if(o.webkitMatchesSelector)return
o.webkitMatchesSelector(a);if(o.msMatchesSelector)return
o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(a===e)return
o===e;if(a===t)return o===t;if(a.nodeType||a instanceof
i){for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1},index:function(){var
e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return
e}},eq:function(e){if(void 0===e)return this;var t,s=this.length;return new
i(e>s-1?[]:e<0?(t=s+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var
t,s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var
r=0;r<s.length;r+=1){t=s[r];for(var
n=0;n<this.length;n+=1)if("string"==typeof t){var
o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else
if(t instanceof i)for(var
l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else
this[n].appendChild(t)}return this},prepend:function(t){var
s,a;for(s=0;s<this.length;s+=1)if("string"==typeof t){var
r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else
if(t instanceof
i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else
this[s].insertBefore(t,this[s].childNodes[0]);return
this},next:function(e){return
this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new
i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new
i([this[0].nextElementSibling]):new i([]):new
i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new
i([]);for(;a.nextElementSibling;){var
r=a.nextElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return
new i(t)},prev:function(e){if(this.length>0){var t=this[0];return
e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new
i([t.previousElementSibling]):new i([]):t.previousElementSibling?new
i([t.previousElementSibling]):new i([])}return new
i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new
i([]);for(;a.previousElementSibling;){var
r=a.previousElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return
new i(t)},parent:function(e){for(var
t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?s(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return
s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var
r=this[i].parentNode;r;)e?s(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return
s(a(t))},closest:function(e){var t=this;return void 0===e?new
i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var
t=[],s=0;s<this.length;s+=1)for(var
a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return
new i(t)},children:function(e){for(var
t=[],r=0;r<this.length;r+=1)for(var
n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return
new i(a(t))},remove:function(){for(var
e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return
this},add:function(){for(var
e=[],t=arguments.length;t--;)e[t]=arguments[t];var
i,a;for(i=0;i<e.length;i+=1){var
r=s(e[i]);for(a=0;a<r.length;a+=1)this[this.length]=r[a],this.length+=1}return
this},styles:function(){return
this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach(function(e){s.fn[e]=r[e]});var
n,o,l,d={deleteProps:function(e){var
t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete
t[e]}catch(e){}})},nextTick:function(e,t){return void
0===t&&(t=0),setTimeout(e,t)},now:function(){return
Date.now()},getTranslate:function(e,i){var s,a,r;void
0===i&&(i="x");var n=t.getComputedStyle(e,null);return
t.WebKitCSSMatrix?((a=n.transform||n.webkitTransform).split(",").length>6&&(a=a.split(",
").map(function(e){return
e.replace(",",".")}).join(", ")),r=new
t.WebKitCSSMatrix("none"===a?"":a)):s=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1,
0, 0,
1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(a=t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery:function(e){var
i,s,a,r,n={},o=e||t.location.href;if("string"==typeof
o&&o.length)for(r=(s=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void
0===a[1]?void 0:decodeURIComponent(a[1])||"";return
n},isObject:function(e){return"object"==typeof
e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var
e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var
i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(void
0!==a&&null!==a)for(var
r=Object.keys(Object(a)),n=0,o=r.length;n<o;n+=1){var
l=r[n],h=Object.getOwnPropertyDescriptor(a,l);void
0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l])?d.extend(i[l],a[l]):!d.isObject(i[l])&&d.isObject(a[l])?(i[l]={},d.extend(i[l],a[l])):i[l]=a[l])}}return
i}},h=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!("ontouchstart"in
t||t.DocumentTouch&&e instanceof
t.DocumentTouch),pointerEvents:!(!t.navigator.pointerEnabled&&!t.PointerEvent),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(o=l.style,"transition"in
o||"webkitTransition"in o||"MozTransition"in
o),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||(n=l.style,"webkitPerspective"in
n||"MozPerspective"in n||"OPerspective"in
n||"MsPerspective"in n||"perspective"in
n),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems
webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection
mozBoxDirection mozBoxOrient webkitBoxDirection
webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in
e)return!0;return!1}(),observer:"MutationObserver"in
t||"WebkitMutationObserver"in t,passiveListener:function(){var
e=!1;try{var
i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(e){}return
e}(),gestures:"ongesturestart"in t}),p=function(e){void
0===e&&(e={});var
t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},c={components:{configurable:!0}};p.prototype.on=function(e,t,i){var
s=this;if("function"!=typeof t)return s;var
a=i?"unshift":"push";return e.split("
").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)}),s},p.prototype.once=function(e,t,i){var
s=this;if("function"!=typeof t)return s;return s.on(e,function
i(){for(var
a=[],r=arguments.length;r--;)a[r]=arguments[r];t.apply(s,a),s.off(e,i)},i)},p.prototype.off=function(e,t){var
i=this;return e.split(" ").forEach(function(e){void
0===t?i.eventsListeners[e]=[]:i.eventsListeners[e].forEach(function(s,a){s===t&&i.eventsListeners[e].splice(a,1)})}),i},p.prototype.emit=function(){for(var
e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;return
r.eventsListeners?("string"==typeof
e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r),(Array.isArray(i)?i:i.split("
")).forEach(function(e){if(r.eventsListeners[e]){var
t=[];r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(a,s)})}}),r):r},p.prototype.useModulesParams=function(e){var
t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var
s=t.modules[i];s.params&&d.extend(e,s.params)})},p.prototype.useModules=function(e){void
0===e&&(e={});var
t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var
s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach(function(e){var
i=s.instance[e];t[e]="function"==typeof
i?i.bind(t):i}),s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(a)})},c.components.set=function(e){this.use&&this.use(e)},p.installModule=function(e){for(var
t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var
s=this;s.prototype.modules||(s.prototype.modules={});var
a=e.name||Object.keys(s.prototype.modules).length+"_"+d.now();return
s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach(function(t){s.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){s[t]=e.static[t]}),e.install&&e.install.apply(s,t),s},p.use=function(e){for(var
t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return
Array.isArray(e)?(e.forEach(function(e){return
s.installModule(e)}),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(p,c);var
u={updateSize:function(){var e,t,i=this.$el;e=void
0!==this.params.width?this.params.width:i[0].clientWidth,t=void
0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var
e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,n=i.children("."+this.params.slideClass),o=this.virtual&&e.virtual.enabled?this.virtual.slides.length:n.length,l=[],p=[],c=[],u=e.slidesOffsetBefore;"function"==typeof
u&&(u=e.slidesOffsetBefore.call(this));var
v=e.slidesOffsetAfter;"function"==typeof
v&&(v=e.slidesOffsetAfter.call(this));var
f=o,m=this.snapGrid.length,g=this.snapGrid.length,b=e.spaceBetween,w=-u,y=0,x=0;if(void
0!==s){var E,T;"string"==typeof
b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*s),this.virtualSize=-b,a?n.css({marginLeft:"",marginTop:""}):n.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(E=Math.floor(o/e.slidesPerColumn)===o/this.params.slidesPerColumn?o:Math.ceil(o/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(E=Math.max(E,e.slidesPerView*e.slidesPerColumn)));for(var
S,C=e.slidesPerColumn,M=E/C,z=M-(e.slidesPerColumn*M-o),P=0;P<o;P+=1){T=0;var
k=n.eq(P);if(e.slidesPerColumn>1){var $=void 0,L=void 0,I=void
0;"column"===e.slidesPerColumnFill?(I=P-(L=Math.floor(P/C))*C,(L>z||L===z&&I===C-1)&&(I+=1)>=C&&(I=0,L+=1),$=L+I*E/C,k.css({"-webkit-box-ordinal-group":$,"-moz-box-ordinal-group":$,"-ms-flex-order":$,"-webkit-order":$,order:$})):L=P-(I=Math.floor(P/M))*M,k.css("margin-"+(this.isHorizontal()?"top":"left"),0!==I&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",L).attr("data-swiper-row",I)}if("none"!==k.css("display")){if("auto"===e.slidesPerView){var
D=t.getComputedStyle(k[0],null);T=this.isHorizontal()?k[0].getBoundingClientRect().width+parseFloat(D.getPropertyValue("margin-left"))+parseFloat(D.getPropertyValue("margin-right")):k[0].getBoundingClientRect().height+parseFloat(D.getPropertyValue("margin-top"))+parseFloat(D.getPropertyValue("margin-bottom")),e.roundLengths&&(T=Math.floor(T))}else
T=(s-(e.slidesPerView-1)*b)/e.slidesPerView,e.roundLengths&&(T=Math.floor(T)),n[P]&&(this.isHorizontal()?n[P].style.width=T+"px":n[P].style.height=T+"px");n[P]&&(n[P].swiperSlideSize=T),c.push(T),e.centeredSlides?(w=w+T/2+y/2+b,0===y&&0!==P&&(w=w-s/2-b),0===P&&(w=w-s/2-b),Math.abs(w)<.001&&(w=0),x%e.slidesPerGroup==0&&l.push(w),p.push(w)):(x%e.slidesPerGroup==0&&l.push(w),p.push(w),w=w+T+b),this.virtualSize+=T+b,y=T,x+=1}}if(this.virtualSize=Math.max(this.virtualSize,s)+v,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),h.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(T+e.spaceBetween)*E,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){S=[];for(var
O=0;O<l.length;O+=1)l[O]<this.virtualSize+l[0]&&S.push(l[O]);l=S}if(!e.centeredSlides){S=[];for(var
A=0;A<l.length;A+=1)l[A]<=this.virtualSize-s&&S.push(l[A]);l=S,Math.floor(this.virtualSize-s)-Math.floor(l[l.length-1])>1&&l.push(this.virtualSize-s)}0===l.length&&(l=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?n.css({marginLeft:b+"px"}):n.css({marginRight:b+"px"}):n.css({marginBottom:b+"px"})),d.extend(this,{slides:n,snapGrid:l,slidesGrid:p,slidesSizesGrid:c}),o!==f&&this.emit("slidesLengthChange"),l.length!==m&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==g&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var
t,i=[],s=0;if("number"==typeof
e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var
a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else
i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void
0!==i[t]){var
r=i[t].offsetHeight;s=r>s?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var
e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void
0===e&&(e=this.translate||0);var
t=this.params,i=this.slides,s=this.rtlTranslate;if(0!==i.length){void
0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var
a=-e;s&&(a=e),i.removeClass(t.slideVisibleClass);for(var
r=0;r<i.length;r+=1){var
n=i[r],o=(a+(t.centeredSlides?this.minTranslate():0)-n.swiperSlideOffset)/(n.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var
l=-(a-n.swiperSlideOffset),d=l+this.slidesSizesGrid[r];(l>=0&&l<this.size||d>0&&d<=this.size||l<=0&&d>=this.size)&&i.eq(r).addClass(t.slideVisibleClass)}n.progress=s?-o:o}}},updateProgress:function(e){void
0===e&&(e=this.translate||0);var
t=this.params,i=this.maxTranslate()-this.minTranslate(),s=this.progress,a=this.isBeginning,r=this.isEnd,n=a,o=r;0===i?(s=0,a=!0,r=!0):(a=(s=(e-this.minTranslate())/i)<=0,r=s>=1),d.extend(this,{progress:s,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!n&&this.emit("reachBeginning
toEdge"),r&&!o&&this.emit("reachEnd
toEdge"),(n&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var
e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+"
"+i.slideNextClass+" "+i.slidePrevClass+"
"+i.slideDuplicateActiveClass+"
"+i.slideDuplicateNextClass+"
"+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var
o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var
l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var
t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,h=e;if(void
0===h){for(var p=0;p<s.length;p+=1)void
0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void
0===h)&&(h=0)}if((t=a.indexOf(i)>=0?a.indexOf(i):Math.floor(h/r.slidesPerGroup))>=a.length&&(t=a.length-1),h!==n){var
c=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);d.extend(this,{snapIndex:t,realIndex:c,previousIndex:n,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==c&&this.emit("realIndexChange"),this.emit("slideChange")}else
t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var
t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var
r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);if(!i||!a)return
this.clickedSlide=void 0,void(this.clickedIndex=void
0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void
0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}};var
v={getTranslate:function(e){void
0===e&&(e=this.isHorizontal()?"x":"y");var
t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return
i?-s:s;var r=d.getTranslate(a[0],e);return
i&&(r=-r),r||0},setTranslate:function(e,t){var
i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.progress,n=0,o=0;this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.virtualTranslate||(h.transforms3d?a.transform("translate3d("+n+"px,
"+o+"px,
0px)"):a.transform("translate("+n+"px,
"+o+"px)")),this.translate=this.isHorizontal()?n:o;var
l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var
f={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void
0===e&&(e=!0);var
i=this.activeIndex,s=this.params,a=this.previousIndex;s.autoHeight&&this.updateAutoHeight();var
r=t;if(r||(r=i>a?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a){if("reset"===r)return
void
this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void
0===e&&(e=!0);var
i=this.activeIndex,s=this.previousIndex;this.animating=!1,this.setTransition(0);var
a=t;if(a||(a=i>s?"next":i<s?"prev":"reset"),this.emit("transitionEnd"),e&&i!==s){if("reset"===a)return
void
this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}};var
m={slideTo:function(e,t,i,s){void 0===e&&(e=0),void
0===t&&(t=this.params.speed),void 0===i&&(i=!0);var
a=this,r=e;r<0&&(r=0);var
n=a.params,o=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,p=a.activeIndex,c=a.rtlTranslate,u=a.$wrapperEl;if(a.animating&&n.preventIntercationOnTransition)return!1;var
v=Math.floor(r/n.slidesPerGroup);v>=o.length&&(v=o.length-1),(p||n.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var
f,m=-o[v];if(a.updateProgress(m),n.normalizeSlideIndex)for(var
g=0;g<l.length;g+=1)-Math.floor(100*m)>=Math.floor(100*l[g])&&(r=g);if(a.initialized&&r!==p){if(!a.allowSlideNext&&m<a.translate&&m<a.minTranslate())return!1;if(!a.allowSlidePrev&&m>a.translate&&m>a.maxTranslate()&&(p||0)!==r)return!1}return
f=r>p?"next":r<p?"prev":"reset",c&&-m===a.translate||!c&&m===a.translate?(a.updateActiveIndex(r),n.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==n.effect&&a.setTranslate(m),"reset"!==f&&(a.transitionStart(i,f),a.transitionEnd(i,f)),!1):(0!==t&&h.transition?(a.setTransition(t),a.setTranslate(m),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,f),a.animating||(a.animating=!0,u.transitionEnd(function(){a&&!a.destroyed&&a.transitionEnd(i,f)}))):(a.setTransition(0),a.setTranslate(m),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,f),a.transitionEnd(i,f)),!0)},slideToLoop:function(e,t,i,s){void
0===e&&(e=0),void 0===t&&(t=this.params.speed),void
0===i&&(i=!0);var a=e;return
this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(e,t,i){void
0===e&&(e=this.params.speed),void 0===t&&(t=!0);var
s=this.params,a=this.animating;return
s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void
0===e&&(e=this.params.speed),void 0===t&&(t=!0);var
s=this.params,a=this.animating;return
s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex-1,e,t,i)):this.slideTo(this.activeIndex-1,e,t,i)},slideReset:function(e,t,i){return
void 0===e&&(e=this.params.speed),void
0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){void
0===e&&(e=this.params.speed),void 0===t&&(t=!0);var
s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);if(a<this.snapGrid.length-1){var
r=this.rtlTranslate?this.translate:-this.translate,n=this.snapGrid[a];r-n>(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup)}return
this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var
e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(n)})):t.slideTo(n)}else
t.slideTo(n)}};var g={loopCreate:function(){var
t=this,i=t.params,a=t.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var
r=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var
n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var
o=0;o<n;o+=1){var
l=s(e.createElement("div")).addClass(i.slideClass+"
"+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var
d=[],h=[];r.each(function(e,i){var
a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)});for(var
p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var
c=d.length-1;c>=0;c-=1)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var
e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var
d=-o[i]-this.getTranslate();i<a?(e=s.length-3*a+i,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)):("auto"===t.slidesPerView&&i>=2*a||i>s.length-2*t.slidesPerView)&&(e=-s.length+i+a,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d));this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var
e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),i.removeAttr("data-swiper-slide-index")}};var
b={setGrabCursor:function(e){if(!h.touch&&this.params.simulateTouch){var
t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||(this.el.style.cursor="")}};var
w={appendSlide:function(e){var
t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof
e&&"length"in e)for(var
s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else
t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var
t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var
a=s+1;if("object"==typeof e&&"length"in
e){for(var
r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else
i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(a,0,!1)},removeSlide:function(e){var
t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(this.loopDestroy(),this.slides=i.children("."+t.slideClass));var
a,r=s;if("object"==typeof e&&"length"in
e){for(var
n=0;n<e.length;n+=1)a=e[n],this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1);r=Math.max(r,0)}else
a=e,this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var
e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},y=function(){var
i=t.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},a=i.match(/(Windows
Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),n=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(s.os="windows",s.osVersion=a[2],s.windows=!0),r&&!a&&(s.os="android",s.osVersion=r[2],s.android=!0,s.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(n||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),n&&(s.osVersion=n[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.iphone=!0),s.ios&&s.osVersion&&i.indexOf("Version/")>=0&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=i.toLowerCase().split("version/")[1].split("
")[0]),s.desktop=!(s.os||s.android||s.webView),s.webView=(l||n||o)&&i.match(/.*AppleWebKit(?!.*Safari)/i),s.os&&"ios"===s.os){var
d=s.osVersion.split("."),h=e.querySelector('meta[name="viewport"]');s.minimalUi=!s.webView&&(o||l)&&(1*d[0]==7?1*d[1]>=1:1*d[0]>7)&&h&&h.getAttribute("content").indexOf("minimal-ui")>=0}return
s.pixelRatio=t.devicePixelRatio||1,s}();function x(){var
e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var
i=this.allowSlideNext,s=this.allowSlidePrev;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var
a=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(a),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else
this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.allowSlidePrev=s,this.allowSlideNext=i}}var
E={attachEvents:function(){var
i=this.params,a=this.touchEvents,r=this.el,n=this.wrapperEl;this.onTouchStart=function(i){var
a=this.touchEventsData,r=this.params,n=this.touches;if(!this.animating||!r.preventIntercationOnTransition){var
o=i;if(o.originalEvent&&(o=o.originalEvent),a.isTouchEvent="touchstart"===o.type,(a.isTouchEvent||!("which"in
o)||3!==o.which)&&(!a.isTouched||!a.isMoved))if(r.noSwiping&&s(o.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else
if(!r.swipeHandler||s(o).closest(r.swipeHandler)[0]){n.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,n.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;var
l=n.currentX,h=n.currentY;if(!(y.ios&&!y.cordova&&r.iOSEdgeSwipeDetection&&l<=r.iOSEdgeSwipeThreshold&&l>=t.screen.width-r.iOSEdgeSwipeThreshold)){if(d.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void
0,startMoving:void
0}),n.startX=l,n.startY=h,a.touchStartTime=d.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void
0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==o.type){var
p=!0;s(o.target).is(a.formElements)&&(p=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==o.target&&e.activeElement.blur(),p&&this.allowTouchMove&&o.preventDefault()}this.emit("touchStart",o)}}}}.bind(this),this.onTouchMove=function(t){var
i=this.touchEventsData,a=this.params,r=this.touches,n=this.rtlTranslate,o=t;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==o.type){var
l="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,h="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return
r.startX=l,void(r.startY=h);if(!this.allowTouchMove)return
this.allowClick=!1,void(i.isTouched&&(d.extend(r,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=d.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(h<r.startY&&this.translate<=this.maxTranslate()||h>r.startY&&this.translate>=this.minTranslate())return
i.isTouched=!1,void(i.isMoved=!1)}else
if(l<r.startX&&this.translate<=this.maxTranslate()||l>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&o.target===e.activeElement&&s(o.target).is(i.formElements))return
i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=l,r.currentY=h;var
p,c=r.currentX-r.startX,u=r.currentY-r.startY;if(void
0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+u*u>=25&&(p=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",o),"undefined"==typeof
startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else
if(i.startMoving){this.allowClick=!1,o.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&o.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd
transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",o)),this.emit("sliderMove",o),i.isMoved=!0;var
v=this.isHorizontal()?c:u;r.diff=v,v*=a.touchRatio,n&&(v=-v),this.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var
f=!0,m=a.resistanceRatio;if(a.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>this.minTranslate()?(f=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<this.maxTranslate()&&(f=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-v,m))),f&&(o.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||i.allowThresholdMove))return
void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return
i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:d.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else
i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",o)}.bind(this),this.onTouchEnd=function(e){var
t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return
i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var
p,c=d.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&c-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=d.nextTick(function(){t&&!t.destroyed&&t.emit("click",h)},300)),u<300&&c-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h))),i.lastClickTime=d.now(),d.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return
i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,s.freeMode){if(p<-t.minTranslate())return
void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return
void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(i.velocities.length>1){var
v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(g>150||d.now()-v.time>300)&&(t.velocity=0)}else
t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var
b=1e3*s.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var
x,E=!1,T=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-T&&(y=t.maxTranslate()-T),x=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate();else
if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>T&&(y=t.minTranslate()+T),x=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate();else
if(s.freeModeSticky){for(var
S,C=0;C<l.length;C+=1)if(l[C]>-y){S=C;break}y=-(y=Math.abs(l[S]-y)<Math.abs(l[S-1]-y)||"next"===t.swipeDirection?l[S]:l[S-1])}if(0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else
if(s.freeModeSticky)return void
t.slideToClosest();s.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else
if(s.freeModeSticky)return void
t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var
M=0,z=t.slidesSizesGrid[0],P=0;P<o.length;P+=s.slidesPerGroup)void
0!==o[P+s.slidesPerGroup]?p>=o[P]&&p<o[P+s.slidesPerGroup]&&(M=P,z=o[P+s.slidesPerGroup]-o[P]):p>=o[P]&&(M=P,z=o[o.length-1]-o[o.length-2]);var
k=(p-o[M])/z;if(u>s.longSwipesMs){if(!s.longSwipes)return void
t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(k>=s.longSwipesRatio?t.slideTo(M+s.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(k>1-s.longSwipesRatio?t.slideTo(M+s.slidesPerGroup):t.slideTo(M))}else{if(!s.shortSwipes)return
void
t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(M+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(M)}}}.bind(this),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this);var
o="container"===i.touchEventsTarget?r:n,l=!!i.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var
p=!("touchstart"!==a.start||!h.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};o.addEventListener(a.start,this.onTouchStart,p),o.addEventListener(a.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:l}:l),o.addEventListener(a.end,this.onTouchEnd,p)}(i.simulateTouch&&!y.ios&&!y.android||i.simulateTouch&&!h.touch&&y.ios)&&(o.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,l),e.addEventListener("mouseup",this.onTouchEnd,!1))}else
o.addEventListener(a.start,this.onTouchStart,!1),e.addEventListener(a.move,this.onTouchMove,l),e.addEventListener(a.end,this.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o.addEventListener("click",this.onClick,!0),this.on("resize
observerUpdate",x,!0)},detachEvents:function(){var
t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var
o=!("onTouchStart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(i.start,this.onTouchStart,o),r.removeEventListener(i.move,this.onTouchMove,n),r.removeEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!y.ios&&!y.android||t.simulateTouch&&!h.touch&&y.ios)&&(r.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,n),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else
r.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,n),e.removeEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",this.onClick,!0),this.off("resize
observerUpdate",x)}};var T={setBreakpoint:function(){var
e=this.activeIndex,t=this.loopedSlides;void 0===t&&(t=0);var
i=this.params,s=i.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var
a=this.getBreakpoint(s);if(a&&this.currentBreakpoint!==a){var r=a
in
s?s[a]:this.originalParams,n=i.loop&&r.slidesPerView!==i.slidesPerView;d.extend(this.params,r),d.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=a,n&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-t+this.loopedSlides,0,!1)),this.emit("breakpoint",r)}}},getBreakpoint:function(e){if(e){var
i=!1,s=[];Object.keys(e).forEach(function(e){s.push(e)}),s.sort(function(e,t){return
parseInt(e,10)-parseInt(t,10)});for(var a=0;a<s.length;a+=1){var
r=s[a];r>=t.innerWidth&&!i&&(i=r)}return
i||"max"}}},S=function(){return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)};var
e}();var
C={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventIntercationOnTransition:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void
0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},M={update:u,translate:v,transition:f,slide:m,loop:g,grabCursor:b,manipulation:w,events:E,breakpoints:T,checkOverflow:{checkOverflow:function(){var
e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowTouchMove=!this.isLocked,e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var
e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push(t.direction),t.freeMode&&a.push("free-mode"),h.flexbox||a.push("no-flexbox"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&a.push("multirow"),y.android&&a.push("android"),y.ios&&a.push("ios"),S.isIE&&(h.pointerEvents||h.prefixedPointerEvents)&&a.push("wp8-"+t.direction),a.forEach(function(i){e.push(t.containerModifierClass+i)}),s.addClass(e.join("
"))},removeClasses:function(){var
e=this.$el,t=this.classNames;e.removeClass(t.join("
"))}},images:{loadImage:function(e,i,s,a,r,n){var o;function
l(){n&&n()}e.complete&&r?l():i?((o=new
t.Image).onload=l,o.onerror=l,a&&(o.sizes=a),s&&(o.srcset=s),i&&(o.src=i)):l()},preloadImages:function(){var
e=this;function t(){void
0!==e&&null!==e&&e&&!e.destroyed&&(void
0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var
i=0;i<e.imagesToLoad.length;i+=1){var
s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},z={},P=function(e){function
t(){for(var
i,a,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];1===n.length&&n[0].constructor&&n[0].constructor===Object?r=n[0]:(a=(i=n)[0],r=i[1]),r||(r={}),r=d.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(M).forEach(function(e){Object.keys(M[e]).forEach(function(i){t.prototype[i]||(t.prototype[i]=M[e][i])})});var
l=this;void
0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach(function(e){var
t=l.modules[e];if(t.params){var
i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof
s)return;if(!(i in r&&"enabled"in
s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof
r[i]||"enabled"in
r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}});var
p=d.extend({},C);l.useModulesParams(p),l.params=d.extend({},p,z,r),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},r),l.$=s;var
c=s(l.params.el);if(a=c[0]){if(c.length>1){var u=[];return
c.each(function(e,i){var s=d.extend({},r,{el:i});u.push(new
t(s))}),u}a.swiper=l,c.data("swiper",l);var
v,f,m=c.children("."+l.params.wrapperClass);return
d.extend(l,{$el:c,el:a,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(v=["touchstart","touchmove","touchend"],f=["mousedown","mousemove","mouseup"],h.pointerEvents?f=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(f=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:v[0],move:v[1],end:v[2]},l.touchEventsDesktop={start:f[0],move:f[1],end:f[2]},h.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void
0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void
0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void
0,allowThresholdMove:void 0,formElements:"input, select, option,
textarea, button, video",lastClickTime:d.now(),clickTimeout:void
0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void
0,startMoving:void
0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var
i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return
t.prototype.slidesPerViewDynamic=function(){var
e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var
n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var
d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else
for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return
r},t.prototype.update=function(){var
e=this;e&&!e.destroyed&&(e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(t(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||t(),e.emit("update"));function
t(){var
t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void
0===e&&(e=!0),void 0===t&&(t=!0);var
i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join("
")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),d.deleteProps(i)),i.destroyed=!0},t.extendDefaults=function(e){d.extend(z,e)},i.extendedDefaults.get=function(){return
z},i.defaults.get=function(){return C},i.Class.get=function(){return
e},i.$.get=function(){return
s},Object.defineProperties(t,i),t}(p),k={name:"device",proto:{device:y},static:{device:y}},$={name:"support",proto:{support:h},static:{support:h}},L={name:"browser",proto:{browser:S},static:{browser:S}},I={name:"resize",create:function(){var
e=this;d.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},D={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,t){void
0===t&&(t={});var
i=this,s=new(0,D.func)(function(e){e.forEach(function(e){i.emit("observerUpdate",e)})});s.observe(e,{attributes:void
0===t.attributes||t.attributes,childList:void
0===t.childList||t.childList,characterData:void
0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var
e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:!1}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},O={name:"observer",params:{observer:!1,observeParents:!1},create:function(){d.extend(this,{observer:{init:D.init.bind(this),attach:D.attach.bind(this),destroy:D.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},A={update:function(e){var
t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,n=t.virtual,o=n.from,l=n.to,h=n.slides,p=n.slidesGrid,c=n.renderSlide,u=n.offset;t.updateActiveIndex();var
v,f,m,g=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(f=Math.floor(s/2)+a,m=Math.floor(s/2)+a):(f=s+(a-1),m=a);var
b=Math.max((g||0)-m,0),w=Math.min((g||0)+f,h.length-1),y=(t.slidesGrid[b]||0)-(t.slidesGrid[0]||0);function
x(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:b,to:w,offset:y,slidesGrid:t.slidesGrid}),o===b&&l===w&&!e)return
t.slidesGrid!==p&&y!==u&&t.slides.css(v,y+"px"),void
t.updateProgress();if(t.params.virtual.renderExternal)return
t.params.virtual.renderExternal.call(t,{offset:y,from:b,to:w,slides:function(){for(var
e=[],t=b;t<=w;t+=1)e.push(h[t]);return e}()}),void x();var
E=[],T=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else
for(var
S=o;S<=l;S+=1)(S<b||S>w)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+S+'"]').remove();for(var
C=0;C<h.length;C+=1)C>=b&&C<=w&&(void
0===l||e?T.push(C):(C>l&&T.push(C),C<o&&E.push(C)));T.forEach(function(e){t.$wrapperEl.append(c(h[e],e))}),E.sort(function(e,t){return
e<t}).forEach(function(e){t.$wrapperEl.prepend(c(h[e],e))}),t.$wrapperEl.children(".swiper-slide").css(v,y+"px"),x()},renderSlide:function(e,t){var
i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return
this.virtual.cache[t];var
a=i.renderSlide?s(i.renderSlide.call(this,e,t)):s('<div
class="'+this.params.slideClass+'"
data-swiper-slide-index="'+t+'">'+e+"</div>");return
a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=a),a},appendSlide:function(e){this.virtual.slides.push(e),this.virtual.update(!0)},prependSlide:function(e){if(this.virtual.slides.unshift(e),this.params.virtual.cache){var
t=this.virtual.cache,i={};Object.keys(t).forEach(function(e){i[e+1]=t[e]}),this.virtual.cache=i}this.virtual.update(!0),this.slideNext(0)}},H={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){d.extend(this,{virtual:{update:A.update.bind(this),appendSlide:A.appendSlide.bind(this),prependSlide:A.prependSlide.bind(this),renderSlide:A.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var
e={watchSlidesProgress:!0};d.extend(this.params,e),d.extend(this.originalParams,e),this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},N={handle:function(i){var
s=this.rtlTranslate,a=i;a.originalEvent&&(a=a.originalEvent);var
r=a.keyCode||a.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(37===r||39===r||38===r||40===r)){var
n=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var
o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var
h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var
c=h[p];c[0]>=0&&c[0]<=o&&c[1]>=0&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(39===r&&!s||37===r&&s)&&this.slideNext(),(37===r&&!s||39===r&&s)&&this.slidePrev()):(38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),40===r&&this.slideNext(),38===r&&this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},B={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:N.enable.bind(this),disable:N.disable.bind(this),handle:N.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var
G={lastScrollTime:d.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var
t="onwheel"in e;if(!t){var
i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof
i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var
t=0,i=0,s=0,a=0;return"detail"in
e&&(i=e.detail),"wheelDelta"in
e&&(i=-e.wheelDelta/120),"wheelDeltaY"in
e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in
e&&(t=-e.wheelDeltaX/120),"axis"in
e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in
e&&(a=e.deltaY),"deltaX"in
e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var
i=e,s=this,a=s.params.mousewheel;if(!s.mouseEntered&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var
r=0,n=s.rtlTranslate?-1:1,o=G.normalize(i);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else
r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(a.invert&&(r=-r),s.params.freeMode){var
l=s.getTranslate()+r*a.sensitivity,h=s.isBeginning,p=s.isEnd;if(l>=s.minTranslate()&&(l=s.minTranslate()),l<=s.maxTranslate()&&(l=s.maxTranslate()),s.setTransition(0),s.setTranslate(l),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!h&&s.isBeginning||!p&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky&&(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=d.nextTick(function(){s.slideToClosest()},300)),s.emit("scroll",i),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.stopAutoplay(),l===s.minTranslate()||l===s.maxTranslate())return!0}else{if(d.now()-s.mousewheel.lastScrollTime>60)if(r<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else
s.slideNext(),s.emit("scroll",i);else
if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else
s.slidePrev(),s.emit("scroll",i);s.mousewheel.lastScrollTime=(new
t.Date).getTime()}return
i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!G.event)return!1;if(this.mousewheel.enabled)return!1;var
e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(G.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!G.event)return!1;if(!this.mousewheel.enabled)return!1;var
e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.off(G.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},X={update:function(){var
e=this.params.navigation;if(!this.params.loop){var
t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},init:function(){var
e,t,i=this,a=i.params.navigation;(a.nextEl||a.prevEl)&&(a.nextEl&&(e=s(a.nextEl),i.params.uniqueNavElements&&"string"==typeof
a.nextEl&&e.length>1&&1===i.$el.find(a.nextEl).length&&(e=i.$el.find(a.nextEl))),a.prevEl&&(t=s(a.prevEl),i.params.uniqueNavElements&&"string"==typeof
a.prevEl&&t.length>1&&1===i.$el.find(a.prevEl).length&&(t=i.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",function(e){e.preventDefault(),i.isEnd&&!i.params.loop||i.slideNext()}),t&&t.length>0&&t.on("click",function(e){e.preventDefault(),i.isBeginning&&!i.params.loop||i.slidePrev()}),d.extend(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var
e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click"),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click"),i.removeClass(this.params.navigation.disabledClass))}},Y={update:function(){var
e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var
i,a=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void
0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var
o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void
0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+"
"+t.bulletActiveClass+"-next
"+t.bulletActiveClass+"-next-next
"+t.bulletActiveClass+"-prev
"+t.bulletActiveClass+"-prev-prev
"+t.bulletActiveClass+"-main"),r.length>1)h.each(function(e,a){var
r=s(a),n=r.index();n===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(n>=o&&n<=l&&r.addClass(t.bulletActiveClass+"-main"),n===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))});else
if(h.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var
p=h.eq(o),c=h.eq(l),u=o;u<=l;u+=1)h.eq(u).addClass(t.bulletActiveClass+"-main");p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),c.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var
v=Math.min(h.length,t.dynamicMainBullets+4),f=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,m=e?"right":"left";h.css(this.isHorizontal()?m:"top",f+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(i+1),r.find("."+t.totalClass).text(n)),"progressbar"===t.type){var
g=(i+1)/n,b=g,w=1;this.isHorizontal()||(w=g,b=1),r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0)
scaleX("+b+")
scaleY("+w+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var
e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var
t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var
a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+'
class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span
class="'+e.currentClass+'"></span> / <span
class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span
class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var
e=this,t=e.params.pagination;if(t.el){var
i=s(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof
t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),t.clickable&&i.on("click","."+t.bulletClass,function(t){t.preventDefault();var
i=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),d.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var
e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var
t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},V={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var
e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(h.transforms3d?r.transform("translate3d("+d+"px,
0,
0)"):r.transform("translateX("+d+"px)"),r[0].style.width=l+"px"):(h.transforms3d?r.transform("translate3d(0px,
"+d+"px,
0)"):r.transform("translateY("+d+"px)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var
e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var
s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbarHide&&(i[0].style.opacity=0),d.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},setDragPosition:function(e){var
t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize;t=((this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-a.offset()[this.isHorizontal()?"left":"top"]-r/2)/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var
o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var
t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var
t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var
t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=d.nextTick(function(){i.css("opacity",0),i.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var
t=this.scrollbar,i=this.touchEvents,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListener)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListener)&&{passive:!0,capture:!1};h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(r.addEventListener(i.start,this.scrollbar.onDragStart,n),r.addEventListener(i.move,this.scrollbar.onDragMove,n),r.addEventListener(i.end,this.scrollbar.onDragEnd,o)),(a.simulateTouch&&!y.ios&&!y.android||a.simulateTouch&&!h.touch&&y.ios)&&(r.addEventListener("mousedown",this.scrollbar.onDragStart,n),e.addEventListener("mousemove",this.scrollbar.onDragMove,n),e.addEventListener("mouseup",this.scrollbar.onDragEnd,o))):(r.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,o))}},disableDraggable:function(){if(this.params.scrollbar.el){var
t=this.scrollbar,i=this.touchEvents,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListener)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListener)&&{passive:!0,capture:!1};h.touch||!h.pointerEvents&&!h.prefixedPointerEvents?(h.touch&&(r.removeEventListener(i.start,this.scrollbar.onDragStart,n),r.removeEventListener(i.move,this.scrollbar.onDragMove,n),r.removeEventListener(i.end,this.scrollbar.onDragEnd,o)),(a.simulateTouch&&!y.ios&&!y.android||a.simulateTouch&&!h.touch&&y.ios)&&(r.removeEventListener("mousedown",this.scrollbar.onDragStart,n),e.removeEventListener("mousemove",this.scrollbar.onDragMove,n),e.removeEventListener("mouseup",this.scrollbar.onDragEnd,o))):(r.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,o))}},init:function(){if(this.params.scrollbar.el){var
e=this.scrollbar,t=this.$el,i=this.params.scrollbar,a=s(i.el);this.params.uniqueNavElements&&"string"==typeof
i.el&&a.length>1&&1===t.find(i.el).length&&(a=t.find(i.el));var
r=a.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=s('<div
class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(r)),d.extend(e,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},R={setTransform:function(e,t){var
i=this.rtl,a=s(e),r=i?-1:1,n=a.attr("data-swiper-parallax")||"0",o=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y"),d=a.attr("data-swiper-parallax-scale"),h=a.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",void
0!==h&&null!==h){var
p=h-(h-1)*(1-Math.abs(t));a[0].style.opacity=p}if(void
0===d||null===d)a.transform("translate3d("+o+",
"+l+", 0px)");else{var
c=d-(d-1)*(1-Math.abs(t));a.transform("translate3d("+o+",
"+l+", 0px)
scale("+c+")")}},setTranslate:function(){var
e=this,t=e.$el,i=e.slides,a=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax],
[data-swiper-parallax-x],
[data-swiper-parallax-y]").each(function(t,i){e.parallax.setTransform(i,a)}),i.each(function(t,i){var
n=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax],
[data-swiper-parallax-x],
[data-swiper-parallax-y]").each(function(t,i){e.parallax.setTransform(i,n)})})},setTransition:function(e){void
0===e&&(e=this.params.speed);this.$el.find("[data-swiper-parallax],
[data-swiper-parallax-x],
[data-swiper-parallax-y]").each(function(t,i){var
a=s(i),r=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),a.transition(r)})}},F={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return
1;var
t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return
Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var
t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=F.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest(".swiper-slide"),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img,
svg,
canvas"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void
0},onGestureChange:function(e){var
t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=F.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(h.gestures?this.zoom.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0)
scale("+i.scale+")"))},onGestureEnd:function(e){var
t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!y.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0)
scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void
0))},onTouchStart:function(e){var
t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(y.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var
t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var
r=s.width*t.scale,n=s.height*t.scale;if(!(r<i.slideWidth&&n<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-n/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return
void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return
void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px,
"+s.currentY+"px,0)")}}},onTouchEnd:function(){var
e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return
i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var
a=300,r=300,n=s.x*a,o=i.currentX+n,l=s.y*r,d=i.currentY+l;0!==s.x&&(a=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((d-i.currentY)/s.y));var
h=Math.max(a,r);i.currentX=o,i.currentY=d;var
p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px,
"+i.currentY+"px,0)")}},onTransitionEnd:function(){var
e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0)
scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),t.$slideEl=void
0,t.$imageEl=void 0,t.$imageWrapEl=void
0,e.scale=1,e.currentScale=1)},toggle:function(e){var
t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var
t,i,a,r,n,o,l,d,h,p,c,u,v,f,m,g,b=this.zoom,w=this.params.zoom,y=b.gesture,x=b.image;(y.$slideEl||(y.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img,
svg,
canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length)&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void
0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,i=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(m=y.$slideEl[0].offsetWidth,g=y.$slideEl[0].offsetHeight,a=y.$slideEl.offset().left+m/2-t,r=y.$slideEl.offset().top+g/2-i,l=y.$imageEl[0].offsetWidth,d=y.$imageEl[0].offsetHeight,h=l*b.scale,p=d*b.scale,v=-(c=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-p/2,0)),n=a*b.scale,o=r*b.scale,n<c&&(n=c),n>v&&(n=v),o<u&&(o=u),o>f&&(o=f)):(n=0,o=0),y.$imageWrapEl.transition(300).transform("translate3d("+n+"px,
"+o+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0)
scale("+b.scale+")"))},out:function(){var
e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img,
svg,
canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0)
scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void
0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var
t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var
e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var
t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},W={loadInSlide:function(e,t){void
0===t&&(t=!0);var i=this,a=i.params.lazy;if(void
0!==e&&0!==i.slides.length){var
r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),n=r.find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")");!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each(function(e,n){var
o=s(n);o.addClass(a.loadingClass);var
l=o.attr("data-background"),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,function(){if(void
0!==i&&null!==i&&i&&(!i||i.params)&&!i.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t){var
e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var
s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(s.index(),!1)}else{var
n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}}),i.emit("lazyImageLoad",r[0],o[0])})}},load:function(){var
e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function
d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else
if(a[e])return!0;return!1}function h(e){return
n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(t,i){var
a=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(a)});else
if(l>1)for(var
p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else
e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var
c=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(c,u),a.length),f=Math.max(r-Math.max(u,c),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var
g=f;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var
b=t.children("."+i.slideNextClass);b.length>0&&e.lazy.loadInSlide(h(b));var
w=t.children("."+i.slidePrevClass);w.length>0&&e.lazy.loadInSlide(h(w))}}},q={LinearSpline:function(e,t){var
i,s,a,r,n,o=function(e,t){for(s=-1,i=e.length;i-s>1;)e[a=i+s>>1]<=t?s=a:i=a;return
i};return
this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return
e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new
q.LinearSpline(this.slidesGrid,e.slidesGrid):new
q.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var
i,s,a=this,r=a.controller.control;function n(e){var
t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var
o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof
P&&n(r[o]);else r instanceof
P&&t!==r&&n(r)},setTransition:function(e,t){var
i,s=this,a=s.controller.control;function
r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.$wrapperEl.transitionEnd(function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof
P&&r(a[i]);else a instanceof
P&&t!==a&&r(a)}},j={makeElFocusable:function(e){return
e.attr("tabIndex","0"),e},addElRole:function(e,t){return
e.attr("role",t),e},addElLabel:function(e,t){return
e.attr("aria-label",t),e},disableEl:function(e){return
e.attr("aria-disabled",!0),e},enableEl:function(e){return
e.attr("aria-disabled",!1),e},onEnterKey:function(e){var
t=this.params.a11y;if(13===e.keyCode){var
i=s(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var
t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var
e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var
e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(i,a){var
r=s(a);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var
e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var
e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},K={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return
this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var
e=this.history;e.initialized=!0,e.paths=K.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=K.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var
e=t.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var
s=this.slides.eq(i),a=K.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(a=e+"/"+a);var
r=t.history.state;r&&r.value===a||(this.params.history.replaceState?t.history.replaceState({value:a},null,a):t.history.pushState({value:a},null,a))}},slugify:function(e){return
e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var
s=0,a=this.slides.length;s<a;s+=1){var
r=this.slides.eq(s);if(K.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var
n=r.index();this.slideTo(n,e,i)}}else
this.slideTo(0,e,i)}},U={onHashCange:function(){var
t=e.location.hash.replace("#","");t!==this.slides.eq(this.activeIndex).attr("data-hash")&&this.slideTo(this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index())},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||"");else{var
i=this.slides.eq(this.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var
i=e.location.hash.replace("#","");if(i)for(var
a=0,r=this.slides.length;a<r;a+=1){var
n=this.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===i&&!n.hasClass(this.params.slideDuplicateClass)){var
o=n.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},_={run:function(){var
e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=d.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},i)},start:function(){return
void
0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop:function(){return!!this.autoplay.running&&(void
0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void
0),this.autoplay.running=!1,this.emit("autoplayStop"),!0))},pause:function(e){var
t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?t.$wrapperEl.transitionEnd(function(){t&&!t.destroyed&&(t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}):(t.autoplay.paused=!1,t.autoplay.run())))}},Z={setTranslate:function(){for(var
e=this.slides,t=0;t<e.length;t+=1){var
i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var
a=0;this.isHorizontal()||(a=s,s=0);var
r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+s+"px,
"+a+"px, 0px)")}},setTransition:function(e){var
t=this,i=t.slides,s=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var
a=!1;i.transitionEnd(function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var
e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}})}}},Q={setTranslate:function(){var
e,t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),p=this.virtual&&this.params.virtual.enabled,c=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div
class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div
class="swiper-cube-shadow"></div>'),t.append(e)));for(var
u=0;u<a.length;u+=1){var
v=a.eq(u),f=u;p&&(f=parseInt(v.attr("data-swiper-slide-index"),10));var
m=90*f,g=Math.floor(m/360);o&&(m=-m,g=Math.floor(-m/360));var
b=Math.max(Math.min(v[0].progress,1),-1),w=0,y=0,x=0;f%4==0?(w=4*-g*l,x=0):(f-1)%4==0?(w=0,x=4*-g*l):(f-2)%4==0?(w=l+4*g*l,x=l):(f-3)%4==0&&(w=-l,x=3*l+4*l*g),o&&(w=-w),h||(y=w,w=0);var
E="rotateX("+(h?0:-m)+"deg)
rotateY("+(h?m:0)+"deg) translate3d("+w+"px,
"+y+"px,
"+x+"px)";if(b<=1&&b>-1&&(c=90*f+90*b,o&&(c=90*-f-90*b)),v.transform(E),d.slideShadows){var
T=h?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),C=h?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===T.length&&(T=s('<div
class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),v.append(T)),0===C.length&&(C=s('<div
class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),v.append(C)),T.length&&(T[0].style.opacity=Math.max(-b,0)),C.length&&(C[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50%
50% -"+l/2+"px","-moz-transform-origin":"50%
50% -"+l/2+"px","-ms-transform-origin":"50%
50% -"+l/2+"px","transform-origin":"50% 50%
-"+l/2+"px"}),d.shadow)if(h)e.transform("translate3d(0px,
"+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg)
rotateZ(0deg) scale("+d.shadowScale+")");else{var
M=Math.abs(c)-90*Math.floor(Math.abs(c)/90),z=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),P=d.shadowScale,k=d.shadowScale/z,$=d.shadowOffset;e.transform("scale3d("+P+",
1, "+k+") translate3d(0px, "+(n/2+$)+"px,
"+-n/2/k+"px) rotateX(-90deg)")}var
L=S.isSafari||S.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+L+"px)
rotateX("+(this.isHorizontal()?0:c)+"deg)
rotateY("+(this.isHorizontal()?-c:0)+"deg)")},setTransition:function(e){var
t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top,
.swiper-slide-shadow-right, .swiper-slide-shadow-bottom,
.swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},J={setTranslate:function(){for(var
e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var
a=e.eq(i),r=a[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var
n=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(this.isHorizontal()?t&&(n=-n):(d=l,l=0,o=-n,n=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var
h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===h.length&&(h=s('<div
class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div
class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px,
"+d+"px, 0px) rotateX("+o+"deg)
rotateY("+n+"deg)")}},setTransition:function(e){var
t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top,
.swiper-slide-shadow-right, .swiper-slide-shadow-bottom,
.swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var
r=!1;i.eq(s).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var
e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}})}}},ee={setTranslate:function(){for(var
e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?e/2-l:t/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var
f=i.eq(u),m=r[u],g=(d-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=o?p*g:0,w=o?0:p*g,y=-c*Math.abs(g),x=o?0:n.stretch*g,E=o?n.stretch*g:0;Math.abs(E)<.001&&(E=0),Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var
T="translate3d("+E+"px,"+x+"px,"+y+"px)
rotateX("+w+"deg)
rotateY("+b+"deg)";if(f.transform(T),f[0].style.zIndex=1-Math.abs(Math.round(g)),n.slideShadows){var
S=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div
class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div
class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=g>0?g:0),C.length&&(C[0].style.opacity=-g>0?-g:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=d+"px
50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top,
.swiper-slide-shadow-right, .swiper-slide-shadow-bottom,
.swiper-slide-shadow-left").transition(e)}},te=[k,$,L,I,O,H,B,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){d.extend(this,{mousewheel:{enabled:!1,enable:G.enable.bind(this),disable:G.disable.bind(this),handle:G.handle.bind(this),handleMouseEnter:G.handleMouseEnter.bind(this),handleMouseLeave:G.handleMouseLeave.bind(this),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){d.extend(this,{navigation:{init:X.init.bind(this),update:X.update.bind(this),destroy:X.destroy.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var
t=this.navigation,i=t.$nextEl,a=t.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(a)||s(e.target).is(i)||(i&&i.toggleClass(this.params.navigation.hiddenClass),a&&a.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){d.extend(this,{pagination:{init:Y.init.bind(this),render:Y.render.bind(this),update:Y.update.bind(this),destroy:Y.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void
0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){d.extend(this,{scrollbar:{init:V.init.bind(this),destroy:V.destroy.bind(this),updateSize:V.updateSize.bind(this),setTranslate:V.setTranslate.bind(this),setTransition:V.setTransition.bind(this),enableDraggable:V.enableDraggable.bind(this),disableDraggable:V.disableDraggable.bind(this),setDragPosition:V.setDragPosition.bind(this),onDragStart:V.onDragStart.bind(this),onDragMove:V.onDragMove.bind(this),onDragEnd:V.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:R.setTransform.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0)},init:function(){this.params.parallax&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var
e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void
0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void
0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void
0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void
0,width:void 0,height:void 0,startX:void 0,startY:void
0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void
0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void
0}};"onGestureStart onGestureChange onGestureEnd onTouchStart
onTouchMove onTouchEnd onTransitionEnd toggle enable disable in
out".split("
").forEach(function(i){t[i]=F[i].bind(e)}),d.extend(e,{zoom:t})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:W.load.bind(this),loadInSlide:W.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void
0,inverse:!1,by:"slide"}},create:function(){d.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:q.getInterpolateFunction.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void
0,delete
this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void
0,delete
this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void
0,delete
this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous
slide",nextSlideMessage:"Next
slide",firstSlideMessage:"This is the first
slide",lastSlideMessage:"This is the last
slide",paginationBulletMessage:"Go to slide
{{index}}"}},create:function(){var
e=this;d.extend(e,{a11y:{liveRegion:s('<span
class="'+e.params.a11y.notificationClass+'"
aria-live="assertive"
aria-atomic="true"></span>')}}),Object.keys(j).forEach(function(t){e.a11y[t]=j[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){d.extend(this,{history:{init:K.init.bind(this),setHistory:K.setHistory.bind(this),setHistoryPopState:K.setHistoryPopState.bind(this),scrollToSlide:K.scrollToSlide.bind(this),destroy:K.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){d.extend(this,{hashNavigation:{initialized:!1,init:U.init.bind(this),destroy:U.destroy.bind(this),setHash:U.setHash.bind(this),onHashCange:U.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){d.extend(this,{autoplay:{running:!1,paused:!1,run:_.run.bind(this),start:_.start.bind(this),stop:_.stop.bind(this),pause:_.pause.bind(this)}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var
e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var
e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:J.setTranslate.bind(this),setTransition:J.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var
e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}}];return
void
0===P.use&&(P.use=P.Class.use,P.installModule=P.Class.installModule),P.use(te),P});
PKᴎ[�#o,,touchspin/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[��&�tt(touchspin/jquery.bootstrap-touchspin.cssnu�[���/*
This CSS file is unnecessary if you are not using vertical buttons
functionality */
.bootstrap-touchspin-injected {
position: relative;
margin: 0;
padding: 0;
}
#phQuickViewPopup .bootstrap-touchspin .input-group-btn-vertical,
#ph-pc-checkout-box .bootstrap-touchspin .input-group-btn-vertical,
#ph-pc-item-box .bootstrap-touchspin .input-group-btn-vertical {
position: absolute;
right: 0;
height: 100%;
z-index: 1;/* needs to be increased in some templates*/
}
#phQuickViewPopup .bootstrap-touchspin .input-group-btn-vertical > .btn,
#ph-pc-checkout-box .bootstrap-touchspin .input-group-btn-vertical >
.btn,
#ph-pc-item-box .bootstrap-touchspin .input-group-btn-vertical > .btn {
position: absolute;
right: 0;
height: 50%;
padding: 0;
width: 1.6em;
text-align: center;
line-height: 1;
}
#phQuickViewPopup .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-up,
#ph-pc-checkout-box .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-up,
#ph-pc-item-box .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-up {
border-radius: 0 4px 0 0;
top: 0;
margin: 0;
}
#phQuickViewPopup .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-down,
#ph-pc-checkout-box .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-down,
#ph-pc-item-box .bootstrap-touchspin .input-group-btn-vertical
.bootstrap-touchspin-down {
border-radius: 0 0 4px 0;
bottom: 0;
margin: 0;
}
#ph-pc-checkout-box .form-inline .form-group .ph-input-quantity {
width: 30px;
}
#phQuickViewPopup .form-inline .form-group .ph-input-quantity,
#ph-pc-item-box .form-inline .form-group .ph-input-quantity {
width: 60px;
}
@media screen and (max-width: 768px) {
#ph-pc-checkout-box .form-inline .form-group .ph-input-quantity {
width: 30px;
}
#phQuickViewPopup .form-inline .form-group .ph-input-quantity ,
#ph-pc-item-box .form-inline .form-group .ph-input-quantity {
min-width: 80px;
}
}
.bootstrap-touchspin-down span.glyphicon,
.bootstrap-touchspin-up span.glyphicon,
.bootstrap-touchspin-down span.fa,
.bootstrap-touchspin-up span.fa {
font-size: 0.7em;
}
PKᴎ[f:�o;Y;Y'touchspin/jquery.bootstrap-touchspin.jsnu�[���(function(factory)
{
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' &&
module.exports) {
module.exports = function(root, jQuery) {
if (jQuery === undefined) {
if (typeof window !== 'undefined') {
jQuery = require('jquery');
}
else {
jQuery = require('jquery')(root);
}
}
factory(jQuery);
return jQuery;
};
} else {
factory(jQuery);
}
}(function($) {
'use strict';
var _currentSpinnerId = 0;
$.fn.TouchSpin = function(options) {
var defaults = {
min: 0, // If null, there is no minimum enforced
max: 100, // If null, there is no maximum enforced
initval: '',
replacementval: '',
firstclickvalueifempty: null,
step: 1,
decimals: 0,
stepinterval: 100,
forcestepdivisibility: 'round', // none | floor | round |
ceil
stepintervaldelay: 500,
verticalbuttons: false,
verticalup: '+',
verticaldown: '-',
verticalupclass: '',
verticaldownclass: '',
prefix: '',
postfix: '',
prefix_extraclass: '',
postfix_extraclass: '',
booster: true,
boostat: 10,
maxboostedstep: false,
mousewheel: true,
buttondown_class: 'btn btn-primary',
buttonup_class: 'btn btn-primary',
buttondown_txt: '-',
buttonup_txt: '+',
callback_before_calculation: function(value) {
return value;
},
callback_after_calculation: function(value) {
return value;
}
};
var attributeMap = {
min: 'min',
max: 'max',
initval: 'init-val',
replacementval: 'replacement-val',
firstclickvalueifempty: 'first-click-value-if-empty',
step: 'step',
decimals: 'decimals',
stepinterval: 'step-interval',
verticalbuttons: 'vertical-buttons',
verticalupclass: 'vertical-up-class',
verticaldownclass: 'vertical-down-class',
forcestepdivisibility: 'force-step-divisibility',
stepintervaldelay: 'step-interval-delay',
prefix: 'prefix',
postfix: 'postfix',
prefix_extraclass: 'prefix-extra-class',
postfix_extraclass: 'postfix-extra-class',
booster: 'booster',
boostat: 'boostat',
maxboostedstep: 'max-boosted-step',
mousewheel: 'mouse-wheel',
buttondown_class: 'button-down-class',
buttonup_class: 'button-up-class',
buttondown_txt: 'button-down-txt',
buttonup_txt: 'button-up-txt'
};
return this.each(function() {
var settings,
originalinput = $(this),
originalinput_data = originalinput.data(),
_detached_prefix,
_detached_postfix,
container,
elements,
value,
downSpinTimer,
upSpinTimer,
downDelayTimeout,
upDelayTimeout,
spincount = 0,
spinning = false;
init();
function init() {
if (originalinput.data('alreadyinitialized')) {
return;
}
originalinput.data('alreadyinitialized', true);
_currentSpinnerId += 1;
originalinput.data('spinnerid', _currentSpinnerId);
if (!originalinput.is('input')) {
console.log('Must be an input.');
return;
}
_initSettings();
_setInitval();
_checkValue();
_buildHtml();
_initElements();
_hideEmptyPrefixPostfix();
_bindEvents();
_bindEventsInterface();
}
function _setInitval() {
if (settings.initval !== '' &&
originalinput.val() === '') {
originalinput.val(settings.initval);
}
}
function changeSettings(newsettings) {
_updateSettings(newsettings);
_checkValue();
var value = elements.input.val();
if (value !== '') {
value =
Number(settings.callback_before_calculation(elements.input.val()));
elements.input.val(settings.callback_after_calculation(Number(value).toFixed(settings.decimals)));
}
}
function _initSettings() {
settings = $.extend({}, defaults, originalinput_data,
_parseAttributes(), options);
}
function _parseAttributes() {
var data = {};
$.each(attributeMap, function(key, value) {
var attrName = 'bts-' + value + '';
if (originalinput.is('[data-' + attrName +
']')) {
data[key] = originalinput.data(attrName);
}
});
return data;
}
function _destroy() {
var $parent = originalinput.parent();
stopSpin();
originalinput.off('.touchspin');
if ($parent.hasClass('bootstrap-touchspin-injected')) {
originalinput.siblings().remove();
originalinput.unwrap();
}
else {
$('.bootstrap-touchspin-injected', $parent).remove();
$parent.removeClass('bootstrap-touchspin');
}
originalinput.data('alreadyinitialized', false);
}
function _updateSettings(newsettings) {
settings = $.extend({}, settings, newsettings);
// Update postfix and prefix texts if those settings were changed.
if (newsettings.postfix) {
var $postfix =
originalinput.parent().find('.bootstrap-touchspin-postfix');
if ($postfix.length === 0) {
_detached_postfix.insertAfter(originalinput);
}
originalinput.parent().find('.bootstrap-touchspin-postfix
.input-group-text').text(newsettings.postfix);
}
if (newsettings.prefix) {
var $prefix =
originalinput.parent().find('.bootstrap-touchspin-prefix');
if ($prefix.length === 0) {
_detached_prefix.insertBefore(originalinput);
}
originalinput.parent().find('.bootstrap-touchspin-prefix
.input-group-text').text(newsettings.prefix);
}
_hideEmptyPrefixPostfix();
}
function _buildHtml() {
var initval = originalinput.val(),
parentelement = originalinput.parent();
if (initval !== '') {
initval =
settings.callback_after_calculation(Number(initval).toFixed(settings.decimals));
}
originalinput.data('initvalue', initval).val(initval);
originalinput.addClass('form-control');
if (parentelement.hasClass('input-group')) {
_advanceInputGroup(parentelement);
}
else {
_buildInputGroup();
}
}
function _advanceInputGroup(parentelement) {
parentelement.addClass('bootstrap-touchspin');
var prev = originalinput.prev(),
next = originalinput.next();
var downhtml,
uphtml,
prefixhtml = '<span class="input-group-addon
input-group-prepend bootstrap-touchspin-prefix input-group-prepend
bootstrap-touchspin-injected"><span
class="input-group-text">' + settings.prefix +
'</span></span>',
postfixhtml = '<span class="input-group-addon
input-group-append bootstrap-touchspin-postfix input-group-append
bootstrap-touchspin-injected"><span
class="input-group-text">' + settings.postfix +
'</span></span>';
if (prev.hasClass('input-group-btn') ||
prev.hasClass('input-group-prepend')) {
downhtml = '<button class="' +
settings.buttondown_class + ' bootstrap-touchspin-down
bootstrap-touchspin-injected" type="button">' +
settings.buttondown_txt + '</button>';
prev.append(downhtml);
}
else {
downhtml = '<span class="input-group-btn
input-group-prepend bootstrap-touchspin-injected"><button
class="' + settings.buttondown_class + '
bootstrap-touchspin-down" type="button">' +
settings.buttondown_txt + '</button></span>';
$(downhtml).insertBefore(originalinput);
}
if (next.hasClass('input-group-btn') ||
next.hasClass('input-group-append')) {
uphtml = '<button class="' +
settings.buttonup_class + ' bootstrap-touchspin-up
bootstrap-touchspin-injected" type="button">' +
settings.buttonup_txt + '</button>';
next.prepend(uphtml);
}
else {
uphtml = '<span class="input-group-btn
input-group-append bootstrap-touchspin-injected"><button
class="' + settings.buttonup_class + '
bootstrap-touchspin-up" type="button">' +
settings.buttonup_txt + '</button></span>';
$(uphtml).insertAfter(originalinput);
}
$(prefixhtml).insertBefore(originalinput);
$(postfixhtml).insertAfter(originalinput);
container = parentelement;
}
function _buildInputGroup() {
var html;
var inputGroupSize = '';
if (originalinput.hasClass('input-sm')) {
inputGroupSize = 'input-group-sm';
}
if (originalinput.hasClass('input-lg')) {
inputGroupSize = 'input-group-lg';
}
if (settings.verticalbuttons) {
html = '<div class="input-group ' +
inputGroupSize + ' bootstrap-touchspin
bootstrap-touchspin-injected"><span
class="input-group-addon input-group-prepend
bootstrap-touchspin-prefix"><span
class="input-group-text">' + settings.prefix +
'</span></span><span class="input-group-addon
bootstrap-touchspin-postfix input-group-append"><span
class="input-group-text">' + settings.postfix +
'</span></span><span
class="input-group-btn-vertical"><button class="'
+ settings.buttondown_class + ' bootstrap-touchspin-up ' +
settings.verticalupclass + '" type="button">' +
settings.verticalup + '</button><button class="' +
settings.buttonup_class + ' bootstrap-touchspin-down ' +
settings.verticaldownclass + '" type="button">'
+ settings.verticaldown +
'</button></span></div>';
}
else {
html = '<div class="input-group bootstrap-touchspin
bootstrap-touchspin-injected"><span class="input-group-btn
input-group-prepend"><button class="' +
settings.buttondown_class + ' bootstrap-touchspin-down"
type="button">' + settings.buttondown_txt +
'</button></span><span class="input-group-addon
bootstrap-touchspin-prefix input-group-prepend"><span
class="input-group-text">' + settings.prefix +
'</span></span><span class="input-group-addon
bootstrap-touchspin-postfix input-group-append"><span
class="input-group-text">' + settings.postfix +
'</span></span><span class="input-group-btn
input-group-append"><button class="' +
settings.buttonup_class + ' bootstrap-touchspin-up"
type="button">' + settings.buttonup_txt +
'</button></span></div>';
}
container = $(html).insertBefore(originalinput);
$('.bootstrap-touchspin-prefix',
container).after(originalinput);
if (originalinput.hasClass('input-sm')) {
container.addClass('input-group-sm');
}
else if (originalinput.hasClass('input-lg')) {
container.addClass('input-group-lg');
}
}
function _initElements() {
elements = {
down: $('.bootstrap-touchspin-down', container),
up: $('.bootstrap-touchspin-up', container),
input: $('input', container),
prefix: $('.bootstrap-touchspin-prefix',
container).addClass(settings.prefix_extraclass),
postfix: $('.bootstrap-touchspin-postfix',
container).addClass(settings.postfix_extraclass)
};
}
function _hideEmptyPrefixPostfix() {
if (settings.prefix === '') {
_detached_prefix = elements.prefix.detach();
}
if (settings.postfix === '') {
_detached_postfix = elements.postfix.detach();
}
}
function _bindEvents() {
originalinput.on('keydown.touchspin', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 38) {
if (spinning !== 'up') {
upOnce();
startUpSpin();
}
ev.preventDefault();
}
else if (code === 40) {
if (spinning !== 'down') {
downOnce();
startDownSpin();
}
ev.preventDefault();
}
});
originalinput.on('keyup.touchspin', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 38) {
stopSpin();
}
else if (code === 40) {
stopSpin();
}
});
originalinput.on('blur.touchspin', function() {
_checkValue();
originalinput.val(settings.callback_after_calculation(originalinput.val()));
});
elements.down.on('keydown', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 32 || code === 13) {
if (spinning !== 'down') {
downOnce();
startDownSpin();
}
ev.preventDefault();
}
});
elements.down.on('keyup.touchspin', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 32 || code === 13) {
stopSpin();
}
});
elements.up.on('keydown.touchspin', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 32 || code === 13) {
if (spinning !== 'up') {
upOnce();
startUpSpin();
}
ev.preventDefault();
}
});
elements.up.on('keyup.touchspin', function(ev) {
var code = ev.keyCode || ev.which;
if (code === 32 || code === 13) {
stopSpin();
}
});
elements.down.on('mousedown.touchspin', function(ev) {
elements.down.off('touchstart.touchspin'); // android
4 workaround
if (originalinput.is(':disabled')) {
return;
}
downOnce();
startDownSpin();
ev.preventDefault();
ev.stopPropagation();
});
elements.down.on('touchstart.touchspin', function(ev) {
elements.down.off('mousedown.touchspin'); // android 4
workaround
if (originalinput.is(':disabled')) {
return;
}
downOnce();
startDownSpin();
ev.preventDefault();
ev.stopPropagation();
});
elements.up.on('mousedown.touchspin', function(ev) {
elements.up.off('touchstart.touchspin'); // android 4
workaround
if (originalinput.is(':disabled')) {
return;
}
upOnce();
startUpSpin();
ev.preventDefault();
ev.stopPropagation();
});
elements.up.on('touchstart.touchspin', function(ev) {
elements.up.off('mousedown.touchspin'); // android 4
workaround
if (originalinput.is(':disabled')) {
return;
}
upOnce();
startUpSpin();
ev.preventDefault();
ev.stopPropagation();
});
elements.up.on('mouseup.touchspin mouseout.touchspin
touchleave.touchspin touchend.touchspin touchcancel.touchspin',
function(ev) {
if (!spinning) {
return;
}
ev.stopPropagation();
stopSpin();
});
elements.down.on('mouseup.touchspin mouseout.touchspin
touchleave.touchspin touchend.touchspin touchcancel.touchspin',
function(ev) {
if (!spinning) {
return;
}
ev.stopPropagation();
stopSpin();
});
elements.down.on('mousemove.touchspin
touchmove.touchspin', function(ev) {
if (!spinning) {
return;
}
ev.stopPropagation();
ev.preventDefault();
});
elements.up.on('mousemove.touchspin touchmove.touchspin',
function(ev) {
if (!spinning) {
return;
}
ev.stopPropagation();
ev.preventDefault();
});
originalinput.on('mousewheel.touchspin
DOMMouseScroll.touchspin', function(ev) {
if (!settings.mousewheel ||
!originalinput.is(':focus')) {
return;
}
var delta = ev.originalEvent.wheelDelta ||
-ev.originalEvent.deltaY || -ev.originalEvent.detail;
ev.stopPropagation();
ev.preventDefault();
if (delta < 0) {
downOnce();
}
else {
upOnce();
}
});
}
function _bindEventsInterface() {
originalinput.on('touchspin.destroy', function() {
_destroy();
});
originalinput.on('touchspin.uponce', function() {
stopSpin();
upOnce();
});
originalinput.on('touchspin.downonce', function() {
stopSpin();
downOnce();
});
originalinput.on('touchspin.startupspin', function() {
startUpSpin();
});
originalinput.on('touchspin.startdownspin', function() {
startDownSpin();
});
originalinput.on('touchspin.stopspin', function() {
stopSpin();
});
originalinput.on('touchspin.updatesettings', function(e,
newsettings) {
changeSettings(newsettings);
});
}
function _forcestepdivisibility(value) {
switch (settings.forcestepdivisibility) {
case 'round':
return (Math.round(value / settings.step) *
settings.step).toFixed(settings.decimals);
case 'floor':
return (Math.floor(value / settings.step) *
settings.step).toFixed(settings.decimals);
case 'ceil':
return (Math.ceil(value / settings.step) *
settings.step).toFixed(settings.decimals);
default:
return value.toFixed(settings.decimals);
}
}
function _checkValue() {
var val, parsedval, returnval;
val = settings.callback_before_calculation(originalinput.val());
if (val === '') {
if (settings.replacementval !== '') {
originalinput.val(settings.replacementval);
originalinput.trigger('change');
}
return;
}
if (settings.decimals > 0 && val === '.') {
return;
}
parsedval = parseFloat(val);
if (isNaN(parsedval)) {
if (settings.replacementval !== '') {
parsedval = settings.replacementval;
}
else {
parsedval = 0;
}
}
returnval = parsedval;
if (parsedval.toString() !== val) {
returnval = parsedval;
}
if ((settings.min !== null) && (parsedval <
settings.min)) {
returnval = settings.min;
}
if ((settings.max !== null) && (parsedval >
settings.max)) {
returnval = settings.max;
}
returnval = _forcestepdivisibility(returnval);
if (Number(val).toString() !== returnval.toString()) {
originalinput.val(returnval);
originalinput.trigger('change');
}
}
function _getBoostedStep() {
if (!settings.booster) {
return settings.step;
}
else {
var boosted = Math.pow(2, Math.floor(spincount /
settings.boostat)) * settings.step;
if (settings.maxboostedstep) {
if (boosted > settings.maxboostedstep) {
boosted = settings.maxboostedstep;
value = Math.round((value / boosted)) * boosted;
}
}
return Math.max(settings.step, boosted);
}
}
function valueIfIsNaN() {
if(typeof(settings.firstclickvalueifempty) === 'number')
{
return settings.firstclickvalueifempty;
} else {
return (settings.min + settings.max) / 2;
}
}
function upOnce() {
_checkValue();
value =
parseFloat(settings.callback_before_calculation(elements.input.val()));
var initvalue = value;
var boostedstep;
if (isNaN(value)) {
value = valueIfIsNaN();
} else {
boostedstep = _getBoostedStep();
value = value + boostedstep;
}
if ((settings.max !== null) && (value > settings.max)) {
value = settings.max;
originalinput.trigger('touchspin.on.max');
stopSpin();
}
elements.input.val(settings.callback_after_calculation(Number(value).toFixed(settings.decimals)));
if (initvalue !== value) {
originalinput.trigger('change');
}
}
function downOnce() {
_checkValue();
value =
parseFloat(settings.callback_before_calculation(elements.input.val()));
var initvalue = value;
var boostedstep;
if (isNaN(value)) {
value = valueIfIsNaN();
} else {
boostedstep = _getBoostedStep();
value = value - boostedstep;
}
if ((settings.min !== null) && (value < settings.min)) {
value = settings.min;
originalinput.trigger('touchspin.on.min');
stopSpin();
}
elements.input.val(settings.callback_after_calculation(Number(value).toFixed(settings.decimals)));
if (initvalue !== value) {
originalinput.trigger('change');
}
}
function startDownSpin() {
stopSpin();
spincount = 0;
spinning = 'down';
originalinput.trigger('touchspin.on.startspin');
originalinput.trigger('touchspin.on.startdownspin');
downDelayTimeout = setTimeout(function() {
downSpinTimer = setInterval(function() {
spincount++;
downOnce();
}, settings.stepinterval);
}, settings.stepintervaldelay);
}
function startUpSpin() {
stopSpin();
spincount = 0;
spinning = 'up';
originalinput.trigger('touchspin.on.startspin');
originalinput.trigger('touchspin.on.startupspin');
upDelayTimeout = setTimeout(function() {
upSpinTimer = setInterval(function() {
spincount++;
upOnce();
}, settings.stepinterval);
}, settings.stepintervaldelay);
}
function stopSpin() {
clearTimeout(downDelayTimeout);
clearTimeout(upDelayTimeout);
clearInterval(downSpinTimer);
clearInterval(upSpinTimer);
switch (spinning) {
case 'up':
originalinput.trigger('touchspin.on.stopupspin');
originalinput.trigger('touchspin.on.stopspin');
break;
case 'down':
originalinput.trigger('touchspin.on.stopdownspin');
originalinput.trigger('touchspin.on.stopspin');
break;
}
spincount = 0;
spinning = false;
}
});
};
}));
PKᴎ[F��+++touchspin/jquery.bootstrap-touchspin.min.jsnu�[���!function(t){"function"==typeof
define&&define.amd?define(["jquery"],t):"object"==typeof
module&&module.exports?module.exports=function(n,o){return void
0===o&&(o="undefined"!=typeof
window?require("jquery"):require("jquery")(n)),t(o),o}:t(jQuery)}(function(t){"use
strict";var n=0;t.fn.TouchSpin=function(o){var
s={min:0,max:100,initval:"",replacementval:"",firstclickvalueifempty:null,step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalup:"+",verticaldown:"-",verticalupclass:"",verticaldownclass:"",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn
btn-primary",buttonup_class:"btn
btn-primary",buttondown_txt:"-",buttonup_txt:"+",callback_before_calculation:function(t){return
t},callback_after_calculation:function(t){return
t}},p={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",firstclickvalueifempty:"first-click-value-if-empty",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return
this.each(function(){var
a,e,i,u,r,c,l,d,f,b,h=t(this),v=h.data(),x=0,g=!1;function
m(){""===a.prefix&&(e=r.prefix.detach()),""===a.postfix&&(i=r.postfix.detach())}function
w(){var
t,n,o;""!==(t=a.callback_before_calculation(h.val()))?a.decimals>0&&"."===t||(n=parseFloat(t),isNaN(n)&&(n=""!==a.replacementval?a.replacementval:0),o=n,n.toString()!==t&&(o=n),null!==a.min&&n<a.min&&(o=a.min),null!==a.max&&n>a.max&&(o=a.max),o=function(t){switch(a.forcestepdivisibility){case"round":return(Math.round(t/a.step)*a.step).toFixed(a.decimals);case"floor":return(Math.floor(t/a.step)*a.step).toFixed(a.decimals);case"ceil":return(Math.ceil(t/a.step)*a.step).toFixed(a.decimals);default:return
t.toFixed(a.decimals)}}(o),Number(t).toString()!==o.toString()&&(h.val(o),h.trigger("change"))):""!==a.replacementval&&(h.val(a.replacementval),h.trigger("change"))}function
_(){if(a.booster){var t=Math.pow(2,Math.floor(x/a.boostat))*a.step;return
a.maxboostedstep&&t>a.maxboostedstep&&(t=a.maxboostedstep,c=Math.round(c/t)*t),Math.max(a.step,t)}return
a.step}function y(){return"number"==typeof
a.firstclickvalueifempty?a.firstclickvalueifempty:(a.min+a.max)/2}function
k(){w();var
t,n=c=parseFloat(a.callback_before_calculation(r.input.val()));isNaN(c)?c=y():(t=_(),c+=t),null!==a.max&&c>a.max&&(c=a.max,h.trigger("touchspin.on.max"),N()),r.input.val(a.callback_after_calculation(Number(c).toFixed(a.decimals))),n!==c&&h.trigger("change")}function
C(){w();var
t,n=c=parseFloat(a.callback_before_calculation(r.input.val()));isNaN(c)?c=y():(t=_(),c-=t),null!==a.min&&c<a.min&&(c=a.min,h.trigger("touchspin.on.min"),N()),r.input.val(a.callback_after_calculation(Number(c).toFixed(a.decimals))),n!==c&&h.trigger("change")}function
j(){N(),x=0,g="down",h.trigger("touchspin.on.startspin"),h.trigger("touchspin.on.startdownspin"),f=setTimeout(function(){l=setInterval(function(){x++,C()},a.stepinterval)},a.stepintervaldelay)}function
D(){N(),x=0,g="up",h.trigger("touchspin.on.startspin"),h.trigger("touchspin.on.startupspin"),b=setTimeout(function(){d=setInterval(function(){x++,k()},a.stepinterval)},a.stepintervaldelay)}function
N(){switch(clearTimeout(f),clearTimeout(b),clearInterval(l),clearInterval(d),g){case"up":h.trigger("touchspin.on.stopupspin"),h.trigger("touchspin.on.stopspin");break;case"down":h.trigger("touchspin.on.stopdownspin"),h.trigger("touchspin.on.stopspin")}x=0,g=!1}!function(){if(h.data("alreadyinitialized"))return;if(h.data("alreadyinitialized",!0),n+=1,h.data("spinnerid",n),!h.is("input"))return
void console.log("Must be an
input.");a=t.extend({},s,v,(c={},t.each(p,function(t,n){var
o="bts-"+n;h.is("[data-"+o+"]")&&(c[t]=h.data(o))}),c),o),""!==a.initval&&""===h.val()&&h.val(a.initval),w(),function(){var
n=h.val(),o=h.parent();""!==n&&(n=a.callback_after_calculation(Number(n).toFixed(a.decimals)));h.data("initvalue",n).val(n),h.addClass("form-control"),o.hasClass("input-group")?function(n){n.addClass("bootstrap-touchspin");var
o,s,p=h.prev(),e=h.next(),i='<span class="input-group-addon
input-group-prepend bootstrap-touchspin-prefix input-group-prepend
bootstrap-touchspin-injected"><span
class="input-group-text">'+a.prefix+"</span></span>",r='<span
class="input-group-addon input-group-append
bootstrap-touchspin-postfix input-group-append
bootstrap-touchspin-injected"><span
class="input-group-text">'+a.postfix+"</span></span>";p.hasClass("input-group-btn")||p.hasClass("input-group-prepend")?(o='<button
class="'+a.buttondown_class+' bootstrap-touchspin-down
bootstrap-touchspin-injected"
type="button">'+a.buttondown_txt+"</button>",p.append(o)):(o='<span
class="input-group-btn input-group-prepend
bootstrap-touchspin-injected"><button
class="'+a.buttondown_class+' bootstrap-touchspin-down"
type="button">'+a.buttondown_txt+"</button></span>",t(o).insertBefore(h));e.hasClass("input-group-btn")||e.hasClass("input-group-append")?(s='<button
class="'+a.buttonup_class+' bootstrap-touchspin-up
bootstrap-touchspin-injected"
type="button">'+a.buttonup_txt+"</button>",e.prepend(s)):(s='<span
class="input-group-btn input-group-append
bootstrap-touchspin-injected"><button
class="'+a.buttonup_class+' bootstrap-touchspin-up"
type="button">'+a.buttonup_txt+"</button></span>",t(s).insertAfter(h));t(i).insertBefore(h),t(r).insertAfter(h),u=n}(o):function(){var
n,o="";h.hasClass("input-sm")&&(o="input-group-sm");h.hasClass("input-lg")&&(o="input-group-lg");n=a.verticalbuttons?'<div
class="input-group '+o+' bootstrap-touchspin
bootstrap-touchspin-injected"><span
class="input-group-addon input-group-prepend
bootstrap-touchspin-prefix"><span
class="input-group-text">'+a.prefix+'</span></span><span
class="input-group-addon bootstrap-touchspin-postfix
input-group-append"><span
class="input-group-text">'+a.postfix+'</span></span><span
class="input-group-btn-vertical"><button
class="'+a.buttondown_class+" bootstrap-touchspin-up
"+a.verticalupclass+'"
type="button">'+a.verticalup+'</button><button
class="'+a.buttonup_class+" bootstrap-touchspin-down
"+a.verticaldownclass+'"
type="button">'+a.verticaldown+"</button></span></div>":'<div
class="input-group bootstrap-touchspin
bootstrap-touchspin-injected"><span class="input-group-btn
input-group-prepend"><button
class="'+a.buttondown_class+' bootstrap-touchspin-down"
type="button">'+a.buttondown_txt+'</button></span><span
class="input-group-addon bootstrap-touchspin-prefix
input-group-prepend"><span
class="input-group-text">'+a.prefix+'</span></span><span
class="input-group-addon bootstrap-touchspin-postfix
input-group-append"><span
class="input-group-text">'+a.postfix+'</span></span><span
class="input-group-btn input-group-append"><button
class="'+a.buttonup_class+' bootstrap-touchspin-up"
type="button">'+a.buttonup_txt+"</button></span></div>";u=t(n).insertBefore(h),t(".bootstrap-touchspin-prefix",u).after(h),h.hasClass("input-sm")?u.addClass("input-group-sm"):h.hasClass("input-lg")&&u.addClass("input-group-lg")}()}(),r={down:t(".bootstrap-touchspin-down",u),up:t(".bootstrap-touchspin-up",u),input:t("input",u),prefix:t(".bootstrap-touchspin-prefix",u).addClass(a.prefix_extraclass),postfix:t(".bootstrap-touchspin-postfix",u).addClass(a.postfix_extraclass)},m(),h.on("keydown.touchspin",function(t){var
n=t.keyCode||t.which;38===n?("up"!==g&&(k(),D()),t.preventDefault()):40===n&&("down"!==g&&(C(),j()),t.preventDefault())}),h.on("keyup.touchspin",function(t){var
n=t.keyCode||t.which;38===n?N():40===n&&N()}),h.on("blur.touchspin",function(){w(),h.val(a.callback_after_calculation(h.val()))}),r.down.on("keydown",function(t){var
n=t.keyCode||t.which;32!==n&&13!==n||("down"!==g&&(C(),j()),t.preventDefault())}),r.down.on("keyup.touchspin",function(t){var
n=t.keyCode||t.which;32!==n&&13!==n||N()}),r.up.on("keydown.touchspin",function(t){var
n=t.keyCode||t.which;32!==n&&13!==n||("up"!==g&&(k(),D()),t.preventDefault())}),r.up.on("keyup.touchspin",function(t){var
n=t.keyCode||t.which;32!==n&&13!==n||N()}),r.down.on("mousedown.touchspin",function(t){r.down.off("touchstart.touchspin"),h.is(":disabled")||(C(),j(),t.preventDefault(),t.stopPropagation())}),r.down.on("touchstart.touchspin",function(t){r.down.off("mousedown.touchspin"),h.is(":disabled")||(C(),j(),t.preventDefault(),t.stopPropagation())}),r.up.on("mousedown.touchspin",function(t){r.up.off("touchstart.touchspin"),h.is(":disabled")||(k(),D(),t.preventDefault(),t.stopPropagation())}),r.up.on("touchstart.touchspin",function(t){r.up.off("mousedown.touchspin"),h.is(":disabled")||(k(),D(),t.preventDefault(),t.stopPropagation())}),r.up.on("mouseup.touchspin
mouseout.touchspin touchleave.touchspin touchend.touchspin
touchcancel.touchspin",function(t){g&&(t.stopPropagation(),N())}),r.down.on("mouseup.touchspin
mouseout.touchspin touchleave.touchspin touchend.touchspin
touchcancel.touchspin",function(t){g&&(t.stopPropagation(),N())}),r.down.on("mousemove.touchspin
touchmove.touchspin",function(t){g&&(t.stopPropagation(),t.preventDefault())}),r.up.on("mousemove.touchspin
touchmove.touchspin",function(t){g&&(t.stopPropagation(),t.preventDefault())}),h.on("mousewheel.touchspin
DOMMouseScroll.touchspin",function(t){if(a.mousewheel&&h.is(":focus")){var
n=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail;t.stopPropagation(),t.preventDefault(),n<0?C():k()}}),h.on("touchspin.destroy",function(){var
n;n=h.parent(),N(),h.off(".touchspin"),n.hasClass("bootstrap-touchspin-injected")?(h.siblings().remove(),h.unwrap()):(t(".bootstrap-touchspin-injected",n).remove(),n.removeClass("bootstrap-touchspin")),h.data("alreadyinitialized",!1)}),h.on("touchspin.uponce",function(){N(),k()}),h.on("touchspin.downonce",function(){N(),C()}),h.on("touchspin.startupspin",function(){D()}),h.on("touchspin.startdownspin",function(){j()}),h.on("touchspin.stopspin",function(){N()}),h.on("touchspin.updatesettings",function(n,o){!function(n){(function(n){if(a=t.extend({},a,n),n.postfix){var
o=h.parent().find(".bootstrap-touchspin-postfix");0===o.length&&i.insertAfter(h),h.parent().find(".bootstrap-touchspin-postfix
.input-group-text").text(n.postfix)}if(n.prefix){var
s=h.parent().find(".bootstrap-touchspin-prefix");0===s.length&&e.insertBefore(h),h.parent().find(".bootstrap-touchspin-prefix
.input-group-text").text(n.prefix)}m()})(n),w();var
o=r.input.val();""!==o&&(o=Number(a.callback_before_calculation(r.input.val())),r.input.val(a.callback_after_calculation(Number(o).toFixed(a.decimals))))}(o)});var
c}()})}});PKᴎ[�#o,,tower/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[��[��tower/tower-file-input.min.cssnu�[���.tower-file
input[type="file"] {
/* height: 0.1px;
width: 0.1px;
not working if required */
height: 1px !important;
width: 1px !important;
opacity: 0;
}
.tower-file label {
margin-bottom: 0;
}
.tower-file label, .tower-file .tower-file-clear:not(:disabled) {
cursor: pointer;
}
.tower-file .tower-file-button {
background: white;
border: 1px solid #ccc;
padding: 0.2rem 0.5rem;
font-size: 1rem;
font-weight: normal;
line-height: 1.5;
user-select: none;
transition: background-color 0.15s ease-in-out, border-color 0.15s
ease-in-out;
}
.tower-file .tower-file-button:hover:not(:disabled) {
cursor: pointer;
background: #f2f2f2;
border-color: #b8b8b8;
}
.tower-file .tower-file-details {
position: relative;
border-radius: 0.25rem;
margin-top: 0.5rem;
}
.tower-file .tower-file-details .tower-file-list
/*,
.tower-file .tower-file-details img*/
{
border: 1px solid #ddd;
display: inline-block;
}
.tower-file .tower-file-details .tower-file-list {
/*padding: 0.375rem 0.75rem 0.375rem 2.5rem;*/
}
.tower-file .tower-file-details img {
padding: 0.375rem;
max-width: 100%;
}
.tower-file .tower-file-details:before, .tower-file
.tower-file-details:after {
content: "";
position: absolute;
left: 2rem;
height: 0;
width: 0;
}
.tower-file .tower-file-details:before {
top: -0.6rem;
border: 5px solid transparent;
border-bottom-color: #ddd;
}
.tower-file .tower-file-details:after {
top: calc(-0.6rem + 1px);
border: 5px solid transparent;
border-bottom-color: white;
}
.ph-file-upload-thumb {
height: 5em;
width: auto;
}
.ph-file-upload-box {
float: left;
background: #f2f2f2;
width: 7em;
margin: 0.2em;
text-align: center;
border-radius: 3px;
}
.ph-file-upload-name {
width: 6em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: small;
margin: 0 auto;
text-align: center;
}PKᴎ[ނZ��tower/tower-file-input.min.jsnu�[���(function
($) {
$.fn.phFileInput = function (options) {
var settings = $.extend({
fileList: true,
iconClass: null,
fileCount: 5,
fileSizeLimit: 512000,
lang: {}
}, options);
function formatBytes(bytes) {
var decimals = arguments.length > 1 && arguments[1]
!== undefined ? arguments[1] : 2;
if (bytes === 0) return '0 B';
var k = 1024;
var dm = decimals < 0 ? 0 : decimals;
var sizes = ['B', 'KB', 'MB',
'GB', 'TB', 'PB', 'EB',
'ZB', 'YB'];
var i = Math.floor(Math.log(bytes) / Math.log(k));
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) +
' ' + sizes[i];
}
function inputValueChanged(e) {
var input = $(this);
var container = input.closest('.tower-file');
var label = container.find('label');
var clear =
container.find('.tower-file-clear');
var fileList =
container.find('.tower-file-list').empty().hide();
var details =
container.find('.tower-file-details');
if (!details.length) {
container.append('<div
class="tower-file-details"></div>');
details = container.find('.tower-file-details');
}
var files = input[0].files;
var iconHtml = '';
if (settings.iconClass !== null &&
settings.iconClass.length > 0) {
iconHtml = '<span class="'+
settings.iconClass +'"></span>';
}
// Test the file count
if(files.length > settings.fileCount){
alert(
settings.lang["COM_PHOCACART_ERROR_TOO_MANY_FILES_SELECTED"]
+ " \n\n" +
settings.lang["COM_PHOCACART_MAXIMUM_NUMBER_FILES_SELECTED_IS"] +
": " + settings.fileCount
);
files.value = '';
clearInputAndDetails(false, container);
return false;
}
if (files.length > 0) {
if (settings.fileList && settings.fileCount > 0)
{
if (!fileList.length) {
details.append('<div
class="tower-file-list"></div>');
fileList =
container.find('.tower-file-list');
}
for (var i = 0; i < files.length; i++) {
if (files[i].size > 0 && files[i].size
> settings.fileSizeLimit) {
alert(
settings.lang["COM_PHOCACART_ERROR"]
+ ": " + files[i].name
+ " \n\n" +
settings.lang["COM_PHOCACART_WARNFILETOOLARGE"]
+ " \n\n" +
settings.lang["COM_PHOCACART_FILE_SIZE"] + ": " +
formatBytes(files[i].size)
+ " \n" +
settings.lang["COM_PHOCACART_FILE_SIZE_LIMIT"] + ": " +
formatBytes(settings.fileSizeLimit)
);
files.value = '';
clearInputAndDetails(false, container);
return false;
}
var fileId = 'phFileUploadId' + this.id +
i;
fileList.append('<div
class="ph-file-upload-box"><img src=""
alt="" id="'+ fileId + '" /><div
class="ph-file-upload-name">' + files[i].name +
'</div></div>');
var img = $('#' + fileId);
img.attr('class',
'ph-file-upload-thumb');
img.attr('alt', files[i].name);
img.attr('title', files[i].name);
showImgPreview(files[i], img);
}
details.show();
fileList.show();
} else {
fileList.hide();
}
label.html(iconHtml + files.length + ' ' +
settings.lang["COM_PHOCACART_FILES_SELECTED"] );
clear.attr('disabled', null);
} else {
// No Files Selected
details.hide();
label.html(label.data('default-text'));
clear.attr('disabled', '');
}
}
// Read the file data and insert the data URL into the src
function showImgPreview(file, img) {
var reader = new FileReader();
reader.onload = function (e) {
img.attr('src', reader.result).show();
};
reader.readAsDataURL(file);
}
function clearInputAndDetails(event, specificContainer) {
if (event === false) {
var container = specificContainer;
} else {
var container = $(this).closest('.tower-file');
}
container.find('input[type="file"]').val('');
var iconHtml = '';
if (settings.iconClass !== null &&
settings.iconClass.length > 0) {
iconHtml = '<span class="'+
settings.iconClass +'"></span>';
}
var label = container.find('label');
label.html(iconHtml + ' ' +
label.data('default-text'));
container.find('.tower-file-clear').attr('disabled',
'');
var details = container.find('.tower-file-details');
details.hide();
}
this.filter('input[type="file"]').each(function
() {
var container = $(this).closest('.tower-file');
var label = container.find('label');
if (label.length) {
label.attr('data-default-text',
label.text().trim());
}
var clear = container.find('.tower-file-clear');
if (clear.length) {
clear.attr('disabled', '');
clear.on('click', clearInputAndDetails);
}
$(this).on('change', inputValueChanged);
});
};
}(jQuery));PKᴎ[�#o,,ui/images/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[2�}^^%ui/images/ui-icons_444444_256x240.pngnu�[����PNG
IHDR�E�r@gAMA���abKGDD�<��tIME�
6�FmIDATx��{leG}�?g�K�Ɇ^CKd�*�M��&6"�R庅� ���T�*�Id��T��JyT�������[$�Q�Q�Ї%j!�Y�ҦP�R�U���%p��y͜3�sν���w����͜��&x/MƁA�c���px�1A�Ġ���
b�-`�I"�k|��
�s�D'Iʃ�c!�Y��?l�G?�s�І��0�Z
"�o�"`Jy�t�(�P��5RH�&��<��m`����r�:�t
�b�t��<"�t�J�^��ߖwX��)�긏�i�t��ڇ�(wͩ�뛦!HL���2�Wͽ���F��w�)�����f��l�3�
����M���¶�g��δ��b�#�*`�1��(���.��a{4�v��+�
����@������pxh8�4~?@>�˿�(��mG��3a�`�Ξ:�����#%$��Y��M�gФ�k�6��R��}�S�����I(��MO��v�`*�9w{|3�8��s$
�P}����a��e?�����M/>�u�A���2�z�E@��.�y;ޖeƖ6vղE4�S���{m�8lUVύ3��<����A�q�`��xxh8�4^/
����@�᷅�p-��٩��?X/z_a�%�%�n
��@��!
����?@X�RU�?b}`L�.Uc��%T����껜���ȥ
����R��@�?��P�-`��Y�BKl�ub����Z}�n{#=P���oE�
LcJ���*��{���洳ڙ��X��NC��c�"���s��MrI�j���K�6(�˼f*�%��fV�v 6�aS�n*�փl��L"��.�v�T�2�Mu֛��Z�_e�
�-�!LU��i���{Phpt �s�����@������pxh8�4^�ph�,up���'\Z��"Z-��l�k.�� @rr���{����e+�[�\�fָ�ұ��y�:LTn�0WJ@}8�|��Ţ=�x�;Х��B_~���1�;^;Q*vV��w4�p@W>��N�v[�L�m'���t�.��%wsH��Y�趃�sT�C)e��Xg��a�N�U�ǯb
�U5AW�����2�ͽ��{K��:X�I�7+� @��7�6ӥ2Y:��+��'cj2���`�?H����jJ9;�n?/�3��05�<�1U�\8SMi�U�o�R��.��l�Hl�N�
&�n����r����WF�
g�1ıj���"��d��˵5Ց�l�M`���/@Ą�Ƥ��?"�;��h�4^/
����@�1Hsv��`�W�T}����ߨ_����=du/�0�d1w9��X�&��Q�p��xx`=�jg�.�)�![ �岔[4�f����vn�d���Ʒ���:s���h�Du��@=�m:0۫���ʦ���طM�}����OU���lJd
�[������l�ly�Pga꺠���[�:>>��LDkZ�Y���ֺ�c
h���?U!zӋU9��ch�8d���|��K�m�~c��=��^��
s�g��H2(ICT�P����[�
�KUa��t4�ڼk�M�t��x1��_&�>���P~����V����p���2��@���������pxh8�4^���ְ,�6yp�e�L6�U�EwO^��ahP�]��)f�Fy�$B�2���>��^��W�ͫ�I�n�U�@�.����E�<
���O�Us�n>��@d
�{/"���\�1�w�y�U{��w7��MrW�/�(ȧ��>�qHlY��=^�,Y ����;N��Ų�˟lf��#t|$�4�i���&�Q�J���sϗA��X4TR�F�#��M�w0b���Z =��0�H�j��ryz�V�(��5�nO��J&}<�v���!w�@d�O$���HQ�-��������c'���F�����h�/��
��yP
<��asᙴ�>[�Ǟ�@������p��L�+
S}I�
���6u��Hf�[e�rJZ,�6���v�e���ue�Z�q�7��]v��7�"0e-��z\���n� �3�r):r/��+B��l6}>�yM�ٹ�%�h�E�C��BX�Ը���l���%T��8/K�O��0׳��K���cm��y���1D��:�K�$_`M�
���5f�aIS����n���c�N�X"�!�R�LK"0����P�������q��AWN�VP��U���(�iJ�lƟ�6�ȗ��k\�=�ц8d����,�s��9IWl"���E���[�e8�5\e(���Y���"�r������q6�u- |��B���R��ix>��9�W�HD����g�t�K��G�|��2��"�.�t���V������E�u>�b�������f���a?q�h'y'r�y���ԫ�L�M��e�^��-�U=��-���³��K\
|
��_���W�*��*ƸJ�$��J�T=l��~��y��y�v�)��e���1~9�7V(��$�uڴ9@�;�[J�5�?*��pl!��x ���W�a-"T�-Vq�细�6
0�6�}[�S]%����7Q�K�D3"YO��M�6iv�Q�5C��t��/����7 �8�-*�"����_E�U�y0�x�+CxG�3�D��
�W�l�,>�O�l�<xB�+b�e�{�z������a�0b
�u���T����L=�`���yYf�0 ��@0J��
��pxh8�4^F����"��r8����͛n�RZԧ[v�-�P�7��/��E'�Z~�t����O�N�v��O�I����g���آ�4��؛��m�
��p���168,1ŢD/w�obۗ�O�i�ڻsK?�=<��B|W{|�~zOO�������*�t�q���uZt�%c�3�<?�,���֝��X�5Q"�Gִ����W}���
���Q>ʣ��C��b�YV
6=��*��ۿ�M\�����8hs�����������8��'Ϳ,�l������E�b���\Y�e���M6܈��d9u��J�ZĽj���l�}����&8�:s�ךt���yis���Gm�h-�m��k�2�P�J��e%u\j5���n���|���;����δa[�;�Хˎ�p�?�|�y��RaC$�_a�/��� N�uN�e�ƍ��Ȅp��~�Ú�/���k�������n�������3|��(G����".�s��9�J�ۇ��l�������{�6�)X���{�����SDf��<��|��0��a��ƅDP���
~j���gco�gs{;�����'�Z9�Z��.��O�孁���e���U�~?�Ӆ1N3��ڶD�(�� Ws�rW�g��h��0����)=c�9M���!
�Y��;�Qd��[��{.�h�_���5�؋�nF�7��0Q��O����S5�:�'���/��ա���J�r����
�}\�#<,�W���$�<��K��|�L�[�0pI���2��JS�_�݂��`�?��tɦ�'t�w6�1u�V��L�5��A��x���<F�7!�q]�'���~�y5��E��h8�-����pxh8�4���l�QP:�)�z�tt��}�X��i���^u�u�"�l���vW��
b�
��*�9ͻx��W
1��D�K��8�
|������pC!��}E~7C~?C�n1[�C�'I_O�� ,�J͞�D\\I�g�<˴��I6�*Q�����x�]�~�W)�^�~��(�B�y��\�ӑ�����ľ�U��k���:�ͅҍ2�
W�!�B�Ԝ�i�M֘�<�Ŏ�$��l2�&*�j�֞�_er=�M�?�'��OxSI��xj�_+]�t�+1�z
��ӡ;,ĶV��5�S��~'�L2ɏ����<gY�%ݼ�E���2z@wC����X�4�Y�ĺ̝zޞ��!Yg8�˅������O<�*5�>���x�2�Ht!6ɽV�\'�S��3�6����6���N���0����G�.����[PPwB����<����g�}�e)�H��U�C�xW\�~���`�9V8��!ٱ�b�����^�豨vh�M�J�/�!�6<�r�i�/���8��*��c¯y͐�J��>�S��j���c���
@��m���F�?�aֺ��k�b���e��bKT6�U����B�f�*�͘y�w �#q�JԄ�3�(��e>�B���~�d�{��fE����P��8�8�^�����:l�\���Z�nLBdC@�"zIj��o!~�Ħ�"�?ǝ��[��E��ؿfH��|�%�����#tY��Hͪ�!lc9^8<���˅h�:"����MF�eF���5p���f�覊�Yn�Yͣ�n��Fh�M1w8�N<�<�s w�?`[�J!Az^
?�<̯�oɛ�_s[Kg{(e�}�E�~J��,��<ܧ����U����
"&B%�7�~�{�/
G�l�4^���j���ιԒt���cA��0�/�����ܓ{�ܠ�Q�8��YN�Bݞ�?[���R��$�k���\�{�u���~�Q��q�)�8���z:G�G��UK�:�
07��6�-��
WMY<�����
���Ѱ۸(5�&v�}%��8�)#9&)/��K^2�)��B̳�)��V.jRps�n��B��^ߊט�4�m7�.�F�wQ�|餟*��<���m��O�c��&`8���t��۬f+�����6��D������h/��gr�\�2Nl�}��jH��R4�Ȫ��"�����fl׳��98�,˨�)��\Ԧ��27B��jcTf�褿[��1{��2��i�2�{Y���L�A�]~�L7��S�_��\4�ڞr����M���7��ɝA�R�k�9ٮ��Nl!l�
��Y����W� dH ���=Q����sԻ��"N�U�m�O`�;Ip�������+&R�@c�c$ᭁ
����@������pxȣc���@�
@���#��Օ����q�BǺ�a�A�V�B�F&<-m
VcKC�Ղ�ⷨ�/J)�D��P�E
�sg�ˮ�}����k<�\��{�x!�5�����}q�RX�L�]���/���
0�l)'�YT�:�Z����K-��Pxj�0I
:T�PQ)��ꦴ��5f�W9��3$
�!���l�IR�o0}?BQ�*6r��*3���a��!}����O�A���� C y������Q>B6W)Oݗ��<:�Xl��Cxh8�J`������pxh8�4y0���AdЊ]�^�u_����~
�c_"���9�1�J&�����p�D�\����`q��$AgY�|���y�P�9B�:Vg�EW�߲��~�=4��E�Mn��ָD[s;�2��t4�F�T���bw�x�C�!o�u�*8\W�_�ӏh���c�������؋�ڜ(�67��ǘ�����m�7���G�?���pM��6��#�xL��wE^DPk�$�3�eA�Y�~U��RA����A�vX��||hz�6k�)�X�(ONث��K��{J��
�F�alr�;h��1 �
0
���Gd���C�6�E�<��}���px[@������pxh82��P�~+��u��ߠ������K����7��4�2"���U�>���ou�6G�����~���@4d���cS��D��w�W�ޝ��!������5�B�������/��|�
�`�.��.�B͕�Ȼ�U;�������|Azһ�]���W��v��>`��
���_k�/yz/ГCj���bl�d���cu�Ȟ~�L͕���P�}��y5���
��'p�~~*�_�U#�!G��B
|V�:ĵ��>b���%��=A���y�Շ��*^_�b
�T�)}7
b�P��o��h�hh���~��r�M��/d���������.�?,<}T���U�'�_X����~u�% �� .(����?�6��s�'��Q<}R���V�A_U?[��w^U�H�_͕���8�+��Q���{]���n����K{F�w�M��H�k�pS����)\]��|�7iǿ��O ��z��7hze�
!
��6^/
����@�����A'ݣdk�X�mW�.�c�P�nךB���N�CB^l�e�HO�3�`c�Ηw�����C������c�鑇=B�&L��}C�GI���
�ȱ�)��6�( yh���=���T��=*�/5^/
����@����ؿ0��zY꯳�L2�rO��d�sid���
[�ؿ=�b�d؊�[���!\5@�D���?5"���0a����1h��-���ſr�v
���H�s�^A��LY���S��'E!��W���~?�ä<�W
P�ʱBΣ\5�^��]T�s����_�v���� Y���C���k�� ��z^yy^j%tEXtdate:create2016-09-14T13:33:16-04:00!
%tEXtdate:modify2016-07-13T05:26:54-04:000Lm�tEXtSoftwareAdobe
ImageReadyq�e<IEND�B`�PKᴎ[�#o,,
ui/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKᴎ[�.�t��ui/jquery-ui.slider.min.cssnu�[���/*!
jQuery UI - v1.12.1 - 2018-09-03
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
/*z-index: 2;*/
width: 1.2em;
height: 1.2em;
cursor: default;
-ms-touch-action: none;
touch-action: none;
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 0;
font-size: .7em;
display: block;
border: 0;
background-position: 0 0;
}
/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
filter: inherit;
}
.ui-slider-horizontal {
height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
top: -.3em;
margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-slider-vertical {
width: .8em;
height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
top: 0;
}PKᴎ[�O���V�Vui/jquery-ui.slider.min.jsnu�[���/*!
jQuery UI - v1.12.1 - 2018-09-03
* http://jqueryui.com
* Includes: widget.js, keycode.js, widgets/mouse.js, widgets/slider.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof
define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var
e=0,i=Array.prototype.slice;t.cleanData=function(e){return function(i){var
s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var
n,o,a,r={},l=e.split(".")[0];e=e.split(".")[1];var
h=l+"-"+e;return
s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return
this._createWidget?(arguments.length&&this._createWidget(t,e),void
0):new
o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new
i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return
t.isFunction(s)?(r[e]=function(){function t(){return
i.prototype[e].apply(this,arguments)}function n(t){return
i.prototype[e].apply(this,t)}return function(){var
e,i=this._super,o=this._superApply;return
this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void
0):(r[e]=s,void
0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstructors,function(e,i){var
s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete
n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var
s,n,o=i.call(arguments,1),a=0,r=o.length;r>a;a++)for(s in
o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void
0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return
e},t.widget.bridge=function(e,s){var
n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var
a="string"==typeof o,r=i.call(arguments,1),l=this;return
a?this.length||"instance"!==o?this.each(function(){var
i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void
0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void
0):t.error("no such method '"+o+"' for
"+e+" widget instance"):t.error("cannot call methods on
"+e+" prior to initialization; "+"attempted to call
method '"+o+"'")}):l=void
0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var
e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new
s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var
e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return
this.element},option:function(e,i){var
s,n,o,a=e;if(0===arguments.length)return
t.widget.extend({},this.options);if("string"==typeof
e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return
void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void
0===this.options[e]?null:this.options[e];a[e]=i}return
this._setOptions(a),this},_setOptions:function(t){var e;for(e in
t)this._setOption(e,t[e]);return
this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var
i,s,n;for(i in
e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return
this._setOptions({disabled:!1})},disable:function(){return
this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var
a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var
s=[],n=this;return
e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join("
")},_untrackClassesElement:function(e){var
i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return
this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return
this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof
s?s:i;var n="string"==typeof
t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return
o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var
n,o=this;"boolean"!=typeof
e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function
r(){return
e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof
a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof
a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var
l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,u=l[2];u?n.on(h,u,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split("
").join(this.eventNamespace+"
")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function
i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var
s=this;return
setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var
n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n
in o)n in i||(i[n]=o[n]);return
this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof
n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof
n?i:n.effect||i:e;n=n||{},"number"==typeof
n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.ie=!!/msie
[\w.]+/.exec(navigator.userAgent.toLowerCase());var
s=!1;t(document).on("mouseup",function(){s=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input,
textarea, button, select,
option",distance:1,delay:0},_mouseInit:function(){var
e=this;this.element.on("mousedown."+this.widgetName,function(t){return
e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void
0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!s){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var
i=this,n=1===e.which,o="string"==typeof
this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return
n&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return
i._mouseMove(t)},this._mouseUpDelegate=function(t){return
i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),s=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return
this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else
if(!this.ignoreMissingWhich)return
this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete
this._mouseDelayTimer),this.ignoreMissingWhich=!1,s=!1,e.preventDefault()},_mouseDistanceMet:function(t){return
Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return
this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all
ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider
ui-slider-"+this.orientation,"ui-widget
ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var
e,i,s=this.options,n=this.element.find(".ui-slider-handle"),o="<span
tabindex='0'></span>",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var
e=this.options;e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min
ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===e.range||"max"===e.range)&&this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var
i,s,n,o,a,r,l,h,u=this,c=this.options;return
c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var
i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),l=o.offset(),h=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=h?{left:0,top:0}:{left:e.pageX-l.left-o.width()/2,top:e.pageY-l.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var
e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return
this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return
this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var
e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_uiHash:function(t,e,i){var
s={handle:this.handles[t],handleIndex:t,value:void
0!==e?e:this.value()};return
this._hasMultipleValues()&&(s.value=void
0!==e?e:this.values(t),s.values=i||this.values()),s},_hasMultipleValues:function(){return
this.options.values&&this.options.values.length},_start:function(t,e){return
this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var
s,n,o=this.value(),a=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&this.options.range===!0&&(i=0===e?Math.min(n,i):Math.max(n,i)),a[e]=i),i!==o&&(s=this._trigger("slide",t,this._uiHash(e,i,a)),s!==!1&&(this._hasMultipleValues()?this.values(e,i):this.value(i)))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return
arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),void
0):this._value()},values:function(e,i){var
s,n,o;if(arguments.length>1)return
this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),void
0;if(!arguments.length)return
this._values();if(!t.isArray(arguments[0]))return
this._hasMultipleValues()?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var
s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,i),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal
ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(i),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=n-1;s>=0;s--)this._change(null,s);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var
t=this.options.value;return
t=this._trimAlignValue(t)},_values:function(t){var
e,i,s;if(arguments.length)return
e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return
i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return
this._valueMin();if(t>=this._valueMax())return this._valueMax();var
e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return
2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var
t=this.options.max,e=this._valueMin(),i=this.options.step,s=Math.round((t-e)/i)*i;t=s+e,t>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var
t=this._precisionOf(this.options.step);return
null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var
e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return
this.options.min},_valueMax:function(){return
this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var
e,i,s,n,o,a=this.options.range,r=this.options,l=this,h=this._animateOff?!1:r.animate,u={};this._hasMultipleValues()?this.handles.each(function(s){i=100*((l.values(s)-l._valueMin())/(l._valueMax()-l._valueMin())),u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[h?"animate":"css"](u,r.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===s&&l.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&l.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](u,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:100-i+"%"},r.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(e){var
i,s,n,o,a=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case
t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case
t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case
t.ui.keyCode.DOWN:case
t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),i=this._start(e,a),i===!1))return}switch(o=this.options.step,s=n=this._hasMultipleValues()?this.values(a):this.value(),e.keyCode){case
t.ui.keyCode.HOME:n=this._valueMin();break;case
t.ui.keyCode.END:n=this._valueMax();break;case
t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case
t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case
t.ui.keyCode.UP:case
t.ui.keyCode.RIGHT:if(s===this._valueMax())return;n=this._trimAlignValue(s+o);break;case
t.ui.keyCode.DOWN:case
t.ui.keyCode.LEFT:if(s===this._valueMin())return;n=this._trimAlignValue(s-o)}this._slide(e,a,n)},keyup:function(e){var
i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}})});PKᴎ[�������"ui/jquery-ui.slider.tooltip.min.jsnu�[���/*!
jQuery UI - v1.12.1 - 2020-04-04
* http://jqueryui.com
* Includes: widget.js, position.js, keycode.js, unique-id.js,
widgets/mouse.js, widgets/slider.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof
define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var
e=0,i=Array.prototype.slice;t.cleanData=function(e){return function(i){var
s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var
n,o,a,r={},h=e.split(".")[0];e=e.split(".")[1];var
l=h+"-"+e;return
s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][l.toLowerCase()]=function(e){return!!t.data(e,l)},t[h]=t[h]||{},n=t[h][e],o=t[h][e]=function(t,e){return
this._createWidget?(arguments.length&&this._createWidget(t,e),void
0):new
o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new
i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return
t.isFunction(s)?(r[e]=function(){function t(){return
i.prototype[e].apply(this,arguments)}function n(t){return
i.prototype[e].apply(this,t)}return function(){var
e,i=this._super,o=this._superApply;return
this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void
0):(r[e]=s,void
0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:h,widgetName:e,widgetFullName:l}),n?(t.each(n._childConstructors,function(e,i){var
s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete
n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var
s,n,o=i.call(arguments,1),a=0,r=o.length;r>a;a++)for(s in
o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void
0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return
e},t.widget.bridge=function(e,s){var
n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var
a="string"==typeof o,r=i.call(arguments,1),h=this;return
a?this.length||"instance"!==o?this.each(function(){var
i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void
0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void
0):t.error("no such method '"+o+"' for
"+e+" widget instance"):t.error("cannot call methods on
"+e+" prior to initialization; "+"attempted to call
method '"+o+"'")}):h=void
0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var
e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new
s(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var
e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return
this.element},option:function(e,i){var
s,n,o,a=e;if(0===arguments.length)return
t.widget.extend({},this.options);if("string"==typeof
e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return
void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void
0===this.options[e]?null:this.options[e];a[e]=i}return
this._setOptions(a),this},_setOptions:function(t){var e;for(e in
t)this._setOption(e,t[e]);return
this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var
i,s,n;for(i in
e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return
this._setOptions({disabled:!1})},disable:function(){return
this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var
a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var
s=[],n=this;return
e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join("
")},_untrackClassesElement:function(e){var
i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return
this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return
this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof
s?s:i;var n="string"==typeof
t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return
o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var
n,o=this;"boolean"!=typeof
e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function
r(){return
e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof
a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof
a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var
h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split("
").join(this.eventNamespace+"
")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function
i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var
s=this;return
setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var
n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n
in o)n in i||(i[n]=o[n]);return
this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof
n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof
n?i:n.effect||i:e;n=n||{},"number"==typeof
n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function
e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function
i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return
9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var
n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void
0!==n)return n;var e,i,s=t("<div
style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div
style='height:100px;width:auto;'></div></div>"),o=s.children()[0];return
t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var
i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var
i=t(e||window),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType,o=!s&&!n;return{element:i,isWindow:s,isDocument:n,offset:o?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(n){if(!n||!n.of)return
d.apply(this,arguments);n=t.extend({},n);var
u,p,f,m,g,v,_=t(n.of),b=t.position.getWithinInfo(n.within),y=t.position.getScrollInfo(b),w=(n.collision||"flip").split("
"),x={};return v=s(_),_[0].preventDefault&&(n.at="left
top"),p=v.width,f=v.height,m=v.offset,g=t.extend({},m),t.each(["my","at"],function(){var
t,e,i=(n[this]||"").split("
");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):h.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=h.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),x[this]=[t?t[0]:0,e?e[0]:0],n[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===n.at[0]?g.left+=p:"center"===n.at[0]&&(g.left+=p/2),"bottom"===n.at[1]?g.top+=f:"center"===n.at[1]&&(g.top+=f/2),u=e(x.at,p,f),g.left+=u[0],g.top+=u[1],this.each(function(){var
s,r,h=t(this),l=h.outerWidth(),c=h.outerHeight(),d=i(this,"marginLeft"),v=i(this,"marginTop"),k=l+d+i(this,"marginRight")+y.width,C=c+v+i(this,"marginBottom")+y.height,D=t.extend({},g),P=e(x.my,h.outerWidth(),h.outerHeight());"right"===n.my[0]?D.left-=l:"center"===n.my[0]&&(D.left-=l/2),"bottom"===n.my[1]?D.top-=c:"center"===n.my[1]&&(D.top-=c/2),D.left+=P[0],D.top+=P[1],s={marginLeft:d,marginTop:v},t.each(["left","top"],function(e,i){t.ui.position[w[e]]&&t.ui.position[w[e]][i](D,{targetWidth:p,targetHeight:f,elemWidth:l,elemHeight:c,collisionPosition:s,collisionWidth:k,collisionHeight:C,offset:[u[0]+P[0],u[1]+P[1]],my:n.my,at:n.at,within:b,elem:h})}),n.using&&(r=function(t){var
e=m.left-D.left,i=e+p-l,s=m.top-D.top,r=s+f-c,u={target:{element:_,left:m.left,top:m.top,width:p,height:f},element:{element:h,left:D.left,top:D.top,width:l,height:c},horizontal:0>i?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var
i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var
i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var
i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var
i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.extend({uniqueId:function(){var
t=0;return function(){return
this.each(function(){this.id||(this.id="ui-id-"+
++t)})}}(),removeUniqueId:function(){return
this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie
[\w.]+/.exec(navigator.userAgent.toLowerCase());var
s=!1;t(document).on("mouseup",function(){s=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input,
textarea, button, select,
option",distance:1,delay:0},_mouseInit:function(){var
e=this;this.element.on("mousedown."+this.widgetName,function(t){return
e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void
0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!s){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var
i=this,n=1===e.which,o="string"==typeof
this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return
n&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return
i._mouseMove(t)},this._mouseUpDelegate=function(t){return
i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),s=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return
this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else
if(!this.ignoreMissingWhich)return
this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete
this._mouseDelayTimer),this.ignoreMissingWhich=!1,s=!1,e.preventDefault()},_mouseDistanceMet:function(t){return
Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return
this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all
ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider
ui-slider-"+this.orientation,"ui-widget
ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var
e,i,s=this.options,n=this.element.find(".ui-slider-handle"),o="<span
tabindex='0'></span>",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var
e=this.options;e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min
ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===e.range||"max"===e.range)&&this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var
i,s,n,o,a,r,h,l,c=this,u=this.options;return
u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var
i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var
e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return
this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return
this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var
e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_uiHash:function(t,e,i){var
s={handle:this.handles[t],handleIndex:t,value:void
0!==e?e:this.value()};return
this._hasMultipleValues()&&(s.value=void
0!==e?e:this.values(t),s.values=i||this.values()),s},_hasMultipleValues:function(){return
this.options.values&&this.options.values.length},_start:function(t,e){return
this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var
s,n,o=this.value(),a=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&this.options.range===!0&&(i=0===e?Math.min(n,i):Math.max(n,i)),a[e]=i),i!==o&&(s=this._trigger("slide",t,this._uiHash(e,i,a)),s!==!1&&(this._hasMultipleValues()?this.values(e,i):this.value(i)))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return
arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),void
0):this._value()},values:function(e,i){var
s,n,o;if(arguments.length>1)return
this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),void
0;if(!arguments.length)return
this._values();if(!t.isArray(arguments[0]))return
this._hasMultipleValues()?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var
s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,i),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal
ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(i),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=n-1;s>=0;s--)this._change(null,s);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var
t=this.options.value;return
t=this._trimAlignValue(t)},_values:function(t){var
e,i,s;if(arguments.length)return
e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return
i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return
this._valueMin();if(t>=this._valueMax())return this._valueMax();var
e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return
2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var
t=this.options.max,e=this._valueMin(),i=this.options.step,s=Math.round((t-e)/i)*i;t=s+e,t>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var
t=this._precisionOf(this.options.step);return
null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var
e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return
this.options.min},_valueMax:function(){return
this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var
e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this._hasMultipleValues()?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},r.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(e){var
i,s,n,o,a=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case
t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case
t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case
t.ui.keyCode.DOWN:case
t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),i=this._start(e,a),i===!1))return}switch(o=this.options.step,s=n=this._hasMultipleValues()?this.values(a):this.value(),e.keyCode){case
t.ui.keyCode.HOME:n=this._valueMin();break;case
t.ui.keyCode.END:n=this._valueMax();break;case
t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case
t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case
t.ui.keyCode.UP:case
t.ui.keyCode.RIGHT:if(s===this._valueMax())return;n=this._trimAlignValue(s+o);break;case
t.ui.keyCode.DOWN:case
t.ui.keyCode.LEFT:if(s===this._valueMin())return;n=this._trimAlignValue(s-o)}this._slide(e,a,n)},keyup:function(e){var
i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all
ui-widget-shadow"},content:function(){var
e=t(this).attr("title")||"";return
t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left
top+15",at:"left bottom",collision:"flipfit
flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,i){var
s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join("
")))},_removeDescribedBy:function(e){var
i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join("
")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var
s=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var
e=this;t.each(this.tooltips,function(i,s){var
n=t.Event("blur");n.target=n.currentTarget=s.element[0],e.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var
e=t(this);return
e.is("[title]")?e.data("ui-tooltip-title",e.attr("title")).removeAttr("title"):void
0}))},_enable:function(){this.disabledTitles.each(function(){var
e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var
i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var
e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._registerCloseHandlers(e,s),this._updateContent(s,e))},_updateContent:function(t,e){var
i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof
s||s.nodeType||s.jquery?this._open(e,t,s):(i=s.call(t[0],function(i){n._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}),i&&this._open(e,t,i),void
0)},_open:function(e,i,s){function
n(t){l.of=t,a.is(":hidden")||a.position(l)}var
o,a,r,h,l=t.extend({},this.options.position);if(s){if(o=this._find(i))return
o.tooltip.find(".ui-tooltip-content").html(s),void
0;i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),a=o.tooltip,this._addDescribedBy(i,a.attr("id")),a.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),h=t("<div>").html(a.find(".ui-tooltip-content").html()),h.removeAttr("name").find("[name]").removeAttr("name"),h.removeAttr("id").find("[id]").removeAttr("id"),h.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):a.position(t.extend({of:i},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){a.is(":visible")&&(n(l.of),clearInterval(r))},t.fx.interval)),this._trigger("open",e,{tooltip:a})}},_registerCloseHandlers:function(e,i){var
s={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var
s=t.Event(e);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseover"!==e.type||(s.mouseleave="close"),e&&"focusin"!==e.type||(s.focusout="close"),this._on(!0,i,s)},close:function(e){var
i,s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);return
o?(i=o.tooltip,o.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),o.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(t(this))
}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave
focusout
keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete
s.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:i}),o.hiding||(o.closing=!1)),void
0):(n.removeData("ui-tooltip-open"),void
0)},_tooltip:function(e){var
i=t("<div>").attr("role","tooltip"),s=t("<div>").appendTo(i),n=i.uniqueId().attr("id");return
this._addClass(s,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget
ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:i}},_find:function(t){var
e=t.data("ui-tooltip-id");return
e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete
this.tooltips[t.attr("id")]},_appendTo:function(t){var
e=t.closest(".ui-front, dialog");return
e.length||(e=this.document[0].body),e},_destroy:function(){var
e=this;t.each(this.tooltips,function(i,s){var
n=t.Event("blur"),o=s.element;n.target=n.currentTarget=o[0],e.close(n,!0),t("#"+i).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),t.uiBackCompat!==!1&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var
t=this._superApply(arguments);return
this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip});PKى�[yXL~~admin-modules-modal.jsnu�[���/**
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
document.addEventListener('DOMContentLoaded', function() {
"use strict";
/** Get the elements **/
var modulesLinks =
document.querySelectorAll('.js-module-insert'), i,
positionsLinks =
document.querySelectorAll('.js-position-insert');
/** Assign listener for click event (for single module id insertion) **/
for (i= 0; modulesLinks.length > i; i++) {
modulesLinks[i].addEventListener('click', function(event) {
event.preventDefault();
var modid = event.target.getAttribute('data-module'),
editor = event.target.getAttribute('data-editor');
/** Use the API, if editor supports it **/
if (window.parent.Joomla && window.parent.Joomla.editors
&& window.parent.Joomla.editors.instances &&
window.parent.Joomla.editors.instances.hasOwnProperty(editor)) {
window.parent.Joomla.editors.instances[editor].replaceSelection("{loadmoduleid
" + modid + "}")
} else {
window.parent.jInsertEditorText("{loadmoduleid " + modid +
"}", editor);
}
window.parent.jModalClose();
});
}
/** Assign listener for click event (for position insertion) **/
for (i= 0; positionsLinks.length > i; i++) {
positionsLinks[i].addEventListener('click', function(event) {
event.preventDefault();
var position = event.target.getAttribute('data-position'),
editor = event.target.getAttribute('data-editor');
/** Use the API, if editor supports it **/
if (window.Joomla && window.Joomla.editors &&
Joomla.editors.instances &&
Joomla.editors.instances.hasOwnProperty(editor)) {
Joomla.editors.instances[editor].replaceSelection("{loadposition
" + position + "}")
} else {
window.parent.jInsertEditorText("{loadposition " + position +
"}", editor);
}
window.parent.jModalClose();
});
}
});
PKى�[c?�VHHadmin-modules-modal.min.jsnu�[���document.addEventListener('DOMContentLoaded',function(){'use
strict';var
b,a=document.querySelectorAll('.js-module-insert'),c=document.querySelectorAll('.js-position-insert');for(b=0;a.length>b;b++)a[b].addEventListener('click',function(d){d.preventDefault();var
e=d.target.getAttribute('data-module'),f=d.target.getAttribute('data-editor');window.parent.Joomla&&window.parent.Joomla.editors&&window.parent.Joomla.editors.instances&&window.parent.Joomla.editors.instances.hasOwnProperty(f)?window.parent.Joomla.editors.instances[f].replaceSelection('{loadmoduleid
'+e+'}'):window.parent.jInsertEditorText('{loadmoduleid
'+e+'}',f),window.parent.jModalClose()});for(b=0;c.length>b;b++)c[b].addEventListener('click',function(d){d.preventDefault();var
e=d.target.getAttribute('data-position'),f=d.target.getAttribute('data-editor');window.Joomla&&window.Joomla.editors&&Joomla.editors.instances&&Joomla.editors.instances.hasOwnProperty(f)?Joomla.editors.instances[f].replaceSelection('{loadposition
'+e+'}'):window.parent.jInsertEditorText('{loadposition
'+e+'}',f),window.parent.jModalClose()})});
PKli�[/i����privacycheck.jsnu�[���PKfE�[D�;���application.jsnu�[���PKfE�[r�;�tt
classes.jsnu�[���PKfE�[dBu2$.$.�
template.jsnu�[���PKݴ�[��,I� � '!<administrator/admin-phocaitems-modal.jsnu�[���PKݴ�[_�<
��+Fadministrator/admin-phocaitems-modal.min.jsnu�[���PKݴ�[�,(Tz
z
$Kadministrator/bootstrap.typeahead.jsnu�[���PKݴ�[��L
�kadministrator/coordinates.jsnu�[���PKݴ�[@Þͳ:�:/tadministrator/geoxml3.jsnu�[���PKݴ�[Y=�@&&*�administrator/geoxml3.min.jsnu�[���PKݴ�[�#o,,��administrator/index.htmlnu�[���PKݴ�[1���(�administrator/jquery.equalheights.min.jsnu�[���PKݴ�[�,�Bd+d+;�administrator/phocacart.jsnu�[���PKݴ�[0���#�administrator/phocacartbulkprice.jsnu�[���PKݴ�[�^}��A�Aadministrator/phocacartform.jsnu�[���PKݴ�[�#o,,
Badministrator/select2/index.htmlnu�[���PKݴ�[�X����Badministrator/select2/LICENSEnu�[���PKݴ�[[�
99)wFadministrator/select2/select2-spinner.gifnu�[���PKݴ�[K#�=E=E! Nadministrator/select2/select2.cssnu�[���PKݴ�[<��y
y
��administrator/select2/select2.jsnu�[���PKݴ�[2�9�ee!`�administrator/select2/select2.pngnu�[���PKݴ�[Ť-[MM#�administrator/select2/select2x2.pngnu�[���PKݴ�[�#o,,��barrating/img/index.htmlnu�[���PKݴ�[��E��*�barrating/img/star.pngnu�[���PKݴ�[#��^���barrating/img/star.svgnu�[���PKݴ�[����9�barrating/img/star@2x.pngnu�[���PKݴ�[{��?���barrating/img/star@2x.svgnu�[���PKݴ�[�#o,,J�barrating/index.htmlnu�[���PKݴ�[xBJ�<M<M��barrating/jquery.barrating.jsnu�[���PKݴ�["�#�&&!Cbarrating/jquery.barrating.min.jsnu�[���PKݴ�[�C��##�barrating/themes/css-stars.cssnu�[���PKݴ�[�#o,,+barrating/themes/index.htmlnu�[���PKݴ�[�H����base64/base64.jsnu�[���PKݴ�[��wd���*base64/base64.min.jsnu�[���PKݴ�[�#o,,�0base64/index.htmlnu�[���PKݴ�[j�������0chartjs/Chart.min.jsnu�[���PKݴ�[�#o,,�chartjs/index.htmlnu�[���PKݴ�[�e��$$hchartjs/LICENSE.mdnu�[���PKݴ�[+s�b�chosen/chosen-bootstrap.cssnu�[���PKݴ�[�k�`��(chosen/chosen-sprite-white.pngnu�[���PKݴ�[.?LB,chosen/chosen-sprite.pngnu�[���PKݴ�[�5�����.chosen/chosen-sprite@2x.pngnu�[���PKݴ�[����/�/�1chosen/chosen.cssnu�[���PKݴ�[s�^�q�q�achosen/chosen.jquery.min.jsnu�[���PKݴ�[q�L
��chosen/chosen.required.jsnu�[���PKݴ�[�#o,,
�chosen/index.htmlnu�[���PKݴ�[�w��z�chosen/LICENSE.mdnu�[���PKݴ�[�#o,,z�filter/index.htmlnu�[���PKݴ�[�jr1����filter/jquery.ba-bbq.min.jsnu�[���PKݴ�['��I��!��filter/jquery.ba-bbq.min.short.jsnu�[���PKݴ�[�#o,,
��index.htmlnu�[���PKഎ[a)璌�V�jcp/defaultcolor.jpgnu�[���PKഎ[�#o,,&�jcp/index.htmlnu�[���PKഎ[q3 �MEME��jcp/license.txtnu�[���PKഎ[x(�$gg<jcp/picker.cssnu�[���PKഎ[��]]
�?jcp/picker.jsnu�[���PKഎ[�#o,,[Wjeditable/index.htmlnu�[���PKഎ[E���$�Wjeditable/jquery.autogrowtextarea.jsnu�[���PKഎ[������*�cjeditable/jquery.jeditable.autogrow.min.jsnu�[���PKഎ[dδ��(,fjeditable/jquery.jeditable.masked.min.jsnu�[���PKഎ[���..!"ijeditable/jquery.jeditable.min.jsnu�[���PKഎ[�
����#��jeditable/jquery.maskedinput.min.jsnu�[���PKഎ[9
�M��"ɨjeditable/jquery.phocajeditable.jsnu�[���PKഎ[������jeditable/phocajeditable.cssnu�[���PKഎ[�#o,,��jstree/index.htmlnu�[���PKഎ[�0�`��.�jstree/jstree.min.jsnu�[���PKഎ[�#o,,q� jstree/themes/index.htmlnu�[���PKഎ[��N�� jstree/themes/proton/30px.pngnu�[���PKഎ[֧�
I
jstree/themes/proton/32px.pngnu�[���PKഎ[�#o,,�
jstree/themes/proton/index.htmlnu�[���PKഎ[�c�F g g"
jstree/themes/proton/style.min.cssnu�[���PKഎ[JKR��!q~
jstree/themes/proton/throbber.gifnu�[���PKഎ[�#o,,z�
lazyload/index.htmlnu�[���PKഎ[-2����
lazyload/lazyload.min.jsnu�[���PKഎ[�#o,,.�
magnific/index.htmlnu�[���PKഎ[h*^�N�N%��
magnific/jquery.magnific-popup.min.jsnu�[���PKഎ[�Q��''��
magnific/magnific-popup.cssnu�[���PKഎ[�#o,,\
phoca/index.htmlnu�[���PKഎ[;")==�
phoca/jquery.phocaattribute.jsnu�[���PKഎ[�wm��"'Hphoca/jquery.phocaattribute.min.jsnu�[���PKഎ[�>�Ck
k
&^cphoca/jquery.phocaattributerequired.jsnu�[���PKഎ[�!��*qphoca/jquery.phocaattributerequired.min.jsnu�[���PKഎ[G�rC��=yphoca/jquery.phocaswapimage.jsnu�[���PKഎ[Q�/���"d�phoca/jquery.phocaswapimage.min.jsnu�[���PKഎ[��G$��
��phoca/jquery.phocawindowpopup.jsnu�[���PKഎ[��R;��$ʇphoca/jquery.phocawindowpopup.min.jsnu�[���PKഎ[y�+
**�phoca/phocacart.jsnu�[���PKഎ[-��'))Y�phoca/phocacart.min.jsnu�[���PKഎ[]�u�F�F��phoca/phocafilter.jsnu�[���PKഎ[�ߤY���phoca/phocafilter.min.jsnu�[���PKഎ[��/N/N�+phoca/phocapos.jsnu�[���PKഎ[��<N$$:zphoca/phocapos.min.jsnu�[���PKഎ[w��>�$�$�phoca/phocarequest.jsnu�[���PKഎ[�|
o\\��phoca/phocarequest.min.jsnu�[���PKഎ[j��4LL9�plupload/i18n/cs.jsnu�[���PKഎ[���ӧ���plupload/i18n/da.jsnu�[���PKഎ[��(//��plupload/i18n/de.jsnu�[���PKഎ[��2$�plupload/i18n/el.jsnu�[���PKഎ[*�1*66�plupload/i18n/es.jsnu�[���PKഎ[a6�d����plupload/i18n/et.jsnu�[���PKഎ[�oOO��plupload/i18n/fa.jsnu�[���PKഎ[�r��cc`�plupload/i18n/fi.jsnu�[���PKഎ[��R�TT�plupload/i18n/fr-ca.jsnu�[���PKഎ[���TT�
plupload/i18n/fr.jsnu�[���PKഎ[�qp7
plupload/i18n/hr.jsnu�[���PKഎ[fX����
plupload/i18n/hu.jsnu�[���PKഎ[�#o,,�
plupload/i18n/index.htmlnu�[���PKഎ[���
��
plupload/i18n/it.jsnu�[���PKഎ[����6
plupload/i18n/ja.jsnu�[���PKഎ[-��4s
plupload/i18n/ko.jsnu�[���PKഎ[
*�99�&
plupload/i18n/lv.jsnu�[���PKഎ[d���ZZ5.
plupload/i18n/nl.jsnu�[���PKഎ[�wy���1
plupload/i18n/pl.jsnu�[���PKഎ[{�B���5
plupload/i18n/pt-br.jsnu�[���PKഎ[��m �<
plupload/i18n/ro.jsnu�[���PKഎ[N�����@
plupload/i18n/ru.jsnu�[���PKഎ[��Fa�E
plupload/i18n/sk.jsnu�[���PKഎ[u�x66J
plupload/i18n/sr.jsnu�[���PKഎ[�������L
plupload/i18n/sv.jsnu�[���PKഎ[�#o,,�N
plupload/index.htmlnu�[���PKഎ[�#o,,-�N
plupload/jquery.plupload.queue/css/index.htmlnu�[���PKഎ[Iw4�
<�O
plupload/jquery.plupload.queue/css/jquery.plupload.queue.cssnu�[���PKഎ[�����2a
plupload/jquery.plupload.queue/img/backgrounds.gifnu�[���PKഎ[ճ �7m
plupload/jquery.plupload.queue/img/buttons-disabled.pngnu�[���PKഎ[�z�Z��.�r
plupload/jquery.plupload.queue/img/buttons.pngnu�[���PKഎ[
s���-�x
plupload/jquery.plupload.queue/img/delete.gifnu�[���PKഎ[K�b@+�y
plupload/jquery.plupload.queue/img/done.gifnu�[���PKഎ[nQ���,�}
plupload/jquery.plupload.queue/img/error.gifnu�[���PKഎ[�#o,,-,�
plupload/jquery.plupload.queue/img/index.htmlnu�[���PKഎ[�>^ׂ�/��
plupload/jquery.plupload.queue/img/throbber.gifnu�[���PKഎ[b����/��
plupload/jquery.plupload.queue/img/transp50.pngnu�[���PKഎ[�#o,,)��
plupload/jquery.plupload.queue/index.htmlnu�[���PKഎ[*�c��.�.7 �
plupload/jquery.plupload.queue/jquery.plupload.queue.jsnu�[���PKഎ[��'F��%A�
plupload/jquery.plupload.queue.min.jsnu�[���PKഎ[�#o,,*i�
plupload/jquery.ui.plupload/css/index.htmlnu�[���PKഎ[3f8���6��
plupload/jquery.ui.plupload/css/jquery.ui.plupload.cssnu�[���PKഎ[�#o,,*�
plupload/jquery.ui.plupload/img/index.htmlnu�[���PKഎ[��99/��
plupload/jquery.ui.plupload/img/plupload-bw.pngnu�[���PKഎ[/0�99,
�
plupload/jquery.ui.plupload/img/plupload.pngnu�[���PKഎ[�#o,,&��
plupload/jquery.ui.plupload/index.htmlnu�[���PKഎ[?����2�217�
plupload/jquery.ui.plupload/jquery.ui.plupload.jsnu�[���PKᴎ[7^���-plupload/plupload.html4.jsnu�[���PKᴎ[��FFP@plupload/plupload.html5.jsnu�[���PKᴎ[�'SI�.�.��plupload/plupload.jsnu�[���PKᴎ[�#o,,��prettyphoto/css/index.htmlnu�[���PKᴎ[:�"-�M�M�prettyphoto/css/prettyPhoto.cssnu�[���PKᴎ[�#o,,
prettyphoto/images/index.htmlnu�[���PKᴎ[/N��8�prettyphoto/images/prettyPhoto/default/default_thumb.pngnu�[���PKᴎ[�F���1�
prettyphoto/images/prettyPhoto/default/loader.gifnu�[���PKᴎ[��N�1$prettyphoto/images/prettyPhoto/default/sprite.pngnu�[���PKᴎ[T�QNN6�>prettyphoto/images/prettyPhoto/default/sprite_next.pngnu�[���PKᴎ[D��``6:Dprettyphoto/images/prettyPhoto/default/sprite_prev.pngnu�[���PKᴎ[�:�;II3Jprettyphoto/images/prettyPhoto/default/sprite_x.pngnu�[���PKᴎ[����3�Nprettyphoto/images/prettyPhoto/default/sprite_y.pngnu�[���PKᴎ[�#o,,)�Sprettyphoto/images/prettyPhoto/index.htmlnu�[���PKᴎ[�#o,,Tprettyphoto/index.htmlnu�[���PKᴎ[�#o,,�Tprettyphoto/js/index.htmlnu�[���PKᴎ[<��1V1V$Uprettyphoto/js/jquery.prettyPhoto.jsnu�[���PKᴎ[�#o,,��swiper/index.htmlnu�[���PKᴎ[����T�T��swiper/swiper.min.cssnu�[���PKᴎ[�g뽭���!swiper/swiper.min.jsnu�[���PKᴎ[�#o,,�touchspin/index.htmlnu�[���PKᴎ[��&�tt(��touchspin/jquery.bootstrap-touchspin.cssnu�[���PKᴎ[f:�o;Y;Y'N�touchspin/jquery.bootstrap-touchspin.jsnu�[���PKᴎ[F��+++�6touchspin/jquery.bootstrap-touchspin.min.jsnu�[���PKᴎ[�#o,,Obtower/index.htmlnu�[���PKᴎ[��[���btower/tower-file-input.min.cssnu�[���PKᴎ[ނZ���jtower/tower-file-input.min.jsnu�[���PKᴎ[�#o,,҂ui/images/index.htmlnu�[���PKᴎ[2�}^^%B�ui/images/ui-icons_444444_256x240.pngnu�[���PKᴎ[�#o,,
��ui/index.htmlnu�[���PKᴎ[�.�t��^�ui/jquery-ui.slider.min.cssnu�[���PKᴎ[�O���V�V��ui/jquery-ui.slider.min.jsnu�[���PKᴎ[�������"��ui/jquery-ui.slider.tooltip.min.jsnu�[���PKى�[yXL~~��admin-modules-modal.jsnu�[���PKى�[c?�VHH^�admin-modules-modal.min.jsnu�[���PK���?�