Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/joomla4/ |
| [Home] [System Details] [Kill Me] |
PKt��[��,I� � 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);
}
});
}
});
})();PKt��[_�<
��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)})})})();PKt��[�,(Tz
z 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);
PKt��[��L
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 ěščřžýáíé */PKt��[@Þͳ:�:
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();
}
};
PKt��[Y=�@&&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():""};PKt��[�#o,,
index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKt��[1���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);PKt��[�,�Bd+d+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;
}
}
});
}
PKt��[0���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);
})
})PKt��[�^}��A�Aphocacartform.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;
})
})
PKt��[�#o,,select2/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PKt��[�X���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.PKt��[[�
99select2/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$
@)#!;PKt��[K#�=E=Eselect2/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;
}
}
PKt��[<��y
y
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));
PKt��[2�9�eeselect2/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`�PKt��[Ť-[MMselect2/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�d�[gKV�,,phocainstall.cssnu�[���/*
Columns*/
.ph-image {
text-align:center;
width: 10%;
}
.ph-title {
width: 60%;
}
.ph-title-stat {
width: 10%;
}
.ph-filename-stat {
width: 50%;
}
.ph-title-short {
width: 30%;
}
.ph-filename-long {
width: 50%;
}
.ph-count {
width: 5%;
}
.ph-page {
width: 5%;
}
.ph-functions,
.ph-id,
.ph-check,
.ph-ordering {
width: 1%;
}
.ph-right {
text-align: right !important;
}
.ph-center {
text-align: center !important;
}
.ph-uploaduser {
width: 7%;
white-space: nowrap;
}
.ph-owner,
.ph-rating,
.ph-hits,
.ph-language,
.ph-published,
.ph-approved {
width: 5%;
}
.ph-user,
.ph-parentcattitle {
width: 15%;
}
.ph-filename,
.ph-access {
width: 10%;
}
.ph-multiple-table tr td.ph-img-table {
text-align: center;
padding-top: 4px;
}
.ph-icon {
margin: 0;
padding: 5px;
float: left;
margin: 0 auto;
text-align: center;
}
.ph-icon-inside.thumbnail {
width: 100px;
height: 100px;
-webkit-border-radius: 0px;
border-radius: 0px;
background: #fdfdfd;
}
.ph-icon-inside.thumbnail img {
margin-top: 10px;
margin-bottom: -12px;
}
.ph-icon-inside.thumbnail span {
}
.ph-head-form-small,
.ph-head-form {
font-weight: bold;
}
.ph-head-form {
margin-bottom: 10px;
}
.ph-in {
padding: 5px;
}
.ph-w80 {
width: 80%;
}
.dl-horizontal.ph-input dt {
float: left;
clear: left;
margin-right: 20px;
text-align: left;
width: auto;
}
.dl-horizontal.ph-input dd{
}
.ph-cpanel-left {
float: left;
width: 50%;
}
.ph-cpanel-right {
float: right;
width: 50%;
}
#configTabs li a img {
margin-top: -3px;
}
.ph-head-form-small,
.ph-head-form {
font-weight: bold;
}
.ph-head-form {
margin-bottom: 10px;
}
.ph-in {
padding: 5px;
}
.ph-w80 {
width: 80%;
}
.dl-horizontal.ph-input dt {
float: left;
clear: left;
margin-right: 20px;
text-align: left;
width: auto;
}
.dl-horizontal.ph-input dd{
}
.ph-btn-i {
font-size: 28px !important;
}
.ph-btn-i:hover {
}
button.ph-btn-i {
margin:0 !important;
}
button.ph-btn-i[disabled=disabled],
button.ph-btn-i:disabled {
background: #dfdfdf !important;
margin:0 !important;
}
.ph-checkbox-i {
}
/*
div.icon-48-install {
background: url('images/icon-48-pi-install.png') no-repeat left;
}
.phoca-adminform {
border: solid 1px #d5d5d5;
padding:10px;
}
.adminform {
background-color: #f9f9f9;
border: solid 1px #d5d5d5;
padding:10px;
}
fieldset.adminform {
margin: 10px;
overflow: hidden;
}
fieldset.adminform legend {
margin: 0;
padding: 0;
}
ul.adminformlist,
ul.adminformlist li {
margin: 0;
padding: 0;
list-style: none;
}
ul.adminformlist pre {
font-size:1.3em;
}
fieldset.adminform textarea {
width: 355px;
}
fieldset.adminform ul.checklist li {
width: 100%;
margin: 0;
padding:0;
}
fieldset.adminform ul.checklist li label {
width: auto;
}
fieldset.adminform .menu-links label {
width:400px;
}
fieldset.adminform .menu-links input {
margin-top: 1px;
}
table.adminform {
background-color: #fff;
border: solid 1px #d5d5d5;
width: 100%;
border-collapse: collapse;
margin: 8px 0 10px 0;
margin-bottom: 15px;
width: 100%;
}
table.adminform tr.row0 {
background-color: #f9f9f9;
}
table.adminform tr.row1 {
background-color: #eeeeee;
}
table.adminform th {
font-size: 1.091em;
padding: 6px 2px 4px 4px;
text-align: left;
height: 25px;
color: #000;
background-repeat: repeat;
}
table.adminform td {
padding: 5px;
text-align: left;
font-size: 1.091em;
}
table.adminform td.filter {
text-align: left;
}
table.adminform td.helpMenu {
text-align: right;
}
.phoca-adminform {
background-color: #fff;
border: solid 1px #d5d5d5;
padding:10px;
color: #777;
}
.cpanel-right {
color: #777;
}
*/
/* -- CONTROL PANEL STYLES ----------------------------- */
/*
#cpanel div.icon {
text-align: center;
margin-right: 15px;
float: left;
margin-bottom: 15px;
background-color: #fff;
}
#cpanel div.icon a {
display: block;
float: left;
border: 1px solid #eaeaea;
height: 97px;
width: 108px;
color: #565656;
vertical-align: middle;
text-decoration: none;
}
#cpanel div.icon a:hover {
border-left: 1px solid #eee;
border-top: 1px solid #eee;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: #fbfbfb;
color: #025A8D;
}
#cpanel img {
padding: 10px 0;
margin: 0 auto;
}
#cpanel span {
display: block;
text-align: center;
}
div.cpanel-left {
width: 54%;
float: left;
}
div.cpanel-right {
width: 45%;
float: right;
}
*/PK�[�10�ttbg-install.pngnu�[����PNG
IHDR szz�sBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks
CS4�Ӡ�IDATX�ŗ[l\��3sΞ���`�I���F�B�`�&�"DjUZ����U�*�����O�=�J%�!E���iTP���'Nb'&�'��v�3}�]{���jt�fg��o���r�1�����X���x@t�ܴi����]�LtHc�
#�\O
^������4{ͩO���L��,�Zױ���:w576Ⱥ�N,�%��p=�� ��+��ܩ}G���џ�=�����m]��m�G/hR2���Y�
Dk
T�
��ضE\��C���?�̞�|��7c�`��k�?x�νw�S��-��"I\�qT��L��
@d|]ċ�Q��s��|=�:�f�s������L�Mg��|5��{w�s��Ec�r�Y2��$TM
ML%��B�cG,a��E1�e�H�)�6�]j[��9���.?��ʍ*�C4<��C�m�E�n�d�9�d
[&���J���J"��N�!2��H�Yo����������(���3��j����|ӊ���x�KBeP��6�t�D),��5��κ;hNt
�B [:�6 +�z|�eê�m����z��~�s��W>$�s�p G��B��B
�Db��m�[����1�W1?�c��S�J}�E\%�Z���qk��o�{b��Y�rՍ폷�dbr�8*
H��,%���5[��s��dQ�fen&4`�H!��b(�Kss:�ri�w�#d;i�lm�ߵϣ�)uFL�%-V�wQ�̌$�g6�$��@�h��z�
҆��c�
��Nڪ�oټ��6��ˣS���6k�Y8�x�:�n��n+�.�!LYH2�]��&߾~�*����.'��&B��Ơ�uK����0s��xŖ�w���Kxa�P�J���I��斻�bV�S�^�S�層��M�q]��O%^�Ս;X�x/~T$�!��P*�Q��*ibi�&�M�]���.�Ɏ�U>��^������P���A#q�Uo$!ڄ��@��Jsr�4��?��*X�&��+[�
5��d�@{D:(�!��^Nk��H(isb�/�jZ���?r�0�Λ#�2�=R�\.�O0�
��$Z�rU^X8�[��O�}$�w���Я�t��F��[���=S�l0ʁ�d(� w���?��I����G�(��aq�L�:�]�ؽ*w�#�D���E !%�t8ve?���L���F7�IY�
/�� �(F��X��#?tIZiB7��ȱ���k��'=��n!�\B����h2�?�1[:S�D� ���{��T�D�O��.uN�Y��ۯ�T�n>�<�/-A����O��Öq,�`��at�U���Hi#P� "?���5u�����1P
�7�D�٧G��-s�`?*��q�@!��e/�N k������P&�4����"~X$��Vs3cc���?��8������?x�h����+���O1��GF$
i,�a`�r��)m��@������D
���Ч��h�/�Q��ؙ�������f���~�ɷ?��[����]�0�#��C!���������c�w�%�;P�D�u)"E�@BdXV����N?{��G3��nD�s��k��c�CkW?�z:�O���Q��1�B��Rb�CR
��:�si�ϧ��.��|���f_��J&�2Ɯ����~gϦ[v, �C��0Zc�A��H�����U<���Ё��aq�Ʊ�g_8x�?]�+����U���ڎ`�i��;��c݆]�4I+�e�8���U�ֆ�?F1/%������Q��ۇ���^�1g�� �O�^
��"
���y]���ٽf�M[̝GS]=�G�0�PsL�W����a��8��=��9�w�
�
p�����+;���[���qɺd:�*��4A��͞?�{���W���Iz��k��*^0�*�ʔJ�U�W�:��������@hf��o�rnT��o��r-���Tm6�i�!�d,Y�IEND�B`�PK�[�n�Z Z bg-upgrade.pngnu�[����PNG
IHDR szz�sBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks
CS4�Ӡ�IDATX�ŗYlT���.3w�c�m�f���8^���0kBB�
4%!���Viӗ���FmՇ�Q+Ujڪ��Jm�.��D!��IU���0$�����eV��>xl
v�D}ȑ���=��w��wΜJ)>ɡ}���q^bI����;�o��Z����@�K=�xaO_��w_��1�N�|����woY}犯�-m}��z�f�UaY1}�
�������Uu��{����h���/!�+��z�g7��RM}�^Pe���{H2�T�4
ӌ��4JD�������?~����b�ƶ���s�������$1�)K'�05�/�+)8!yG2�)�㔉qz���={RCo��Kg���ʦ/>���wm����2T%M�b:��N,�54"�T<_b��z�����g(���x��i�.R[��Y٘
DM厧��Z����^
H���#�.�L��j��*����T��C._w�t��$�FE���C���k7^�w!>�V�Kc
�n��Ϭ����կ��꤉iLY]��ش,��T�h��h[�ʄϡ�iN�0Ai�`$�rⲠ}��k��<<y�[�U�;��\�����cy]�i�
���8�7T�Pm��4A��l�����
T�F���(0TH�~Ǫ�.^���9�ڒe+�Q��1�~_��yQ����X�ZW���;���j�;lsu�#�¬k��S�hH�MJ,�3���W7DZ�-��b�Ѝ�����C����"��_���,K�gڐ�8ҝ�Z���@^�(��i)caE���q�?���!@)�@.BKsӃoh�
��[X��mkK�S��a�s��l����*��|���Qz�RJ$(�c.�e"�*3ٰ$�_tF�`x¥�l��|�
����������&�;#��ȌI�'�P�z��%(H�rx�T���I�FlL|_!d���$�u5��
5Z�f��3T&2��y��,�������r-�)�EJ��\q8y1O��(�P
B5�R~�G���e�]&���D)�}E����I���=�v�B�E�0T��Sԧ,�L9��
���^�P"��B���L�B�b�K�0
��s9�'|���1�*��"�xD��A��J�TY�5ͥ�oMb�P�,H�\O���$7�?y%C4!�I�28z.����F<�Q3�":n
���/iZ���(��S�(�� F9ҝF
P2ė"?�;�
NЭI���|��K�R�n*ek{%�?]�I:PpB&]��8^H*Nxv�
��v@��-�P�!�B��N�3`���@4� ��/�d
!Mc|���V�7�!b
�v�4!Њ.������R�,[��D'k�$b&���?0t`@�vNfF�E&���P)^>2�иW�Q��@Kk�3Y �BJ�h*��1�<����<��3�y*M�8�Ϣ�(v~��:p�����}==�{��o|�8nH���pxv���r#B@KM���\̥��Yr�ƅ�.I6���9v.�������q^ȩ�{�O]��RJ��~�9{��k�-Iv��vC4��W�8?u/�Jp��h���qI���%i�����O^���9���C�mI�̐w��町�n�5�?�ף�u���T�ڪr����#��'��˜(�!
oL�z'.d��8ޛ#a��&�c��9��|�Λ5g]Ʉ�����ӝKW}����9r��T��I�ҙ_�mq��E1�b��(�tNrf��h�#702a34:I��عf�'��ۯ�V��~!Q�\Tul�����T���vA��":]1�v)����R؞��X����0�v\j�bl^VJ�{����{���@�+�.��;�{�[��s���bp$��,���rK���@)�D���2�=%ַ�X��8�ο{_��#�`�b�p�O�L��dÚ���
woz���IsU RD��2KP�0PJ2��HO�x>h�NLw�:pI>t���#H_�Q�ftoE��i!Ia�ʵw���M555����,�Q�P(�v�x�fll��+W9y������/d.�x�8EqpUQ����H�H�Zo_sϊƖ�Չx���E���|�0�{���:v���@���s����Q��-���S_c�ӷSUt+(>�ߝ�<5���oX�ƴ����1=o��``:hsi�2�R�k�qCp�IEND�B`�PK�[�T����btn.pngnu�[����PNG
IHDR2����tEXtSoftwareAdobe
ImageReadyq�e<)IDATx�b�����8���E#��#���*F�w$�v-2d@�+�IEND�B`�PK�[4�##icon-16-pi-menu.pngnu�[����PNG
IHDR�asBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks CS4�ӠtEXtCreation
Time10/24/09^ �m{IDAT8����oTG�?3���g,��X)"�YV ��Ht�)u*�/�IE�D
��Pp)
��DB��E��ع��{w���P1͎fg>�}G~ܻ�~nkW|�f ���kt������`o4�g�~�����q�L4;����\
���ތ���g����zZ>�E���?�F�D�4�Y^
,�� i�EQ�_9���; ��X
��G�T�i�#R�`��%���#>�|t�ү�?��rt�0`���9���X�h����k��9�}
Kl}v����G/yg�����11����"�(H���T,f�.3��g��ҔbUЖ3�l����Sx
x��9�� ��\
Vs@HMA��g@�9��%"�b}�
ӿ����bE�k�lB[�8���G!�!��bK����_�d<��;��b�hi>gUo"�
�EQ�ǏW��]��fy�ӏ�I�����U����H~�d��
x��-^T�+��z��zho�i�Y�:���X�jo��=T�{�=|��n2�2~�;u~��`����XA�I��_��u@�F�L��9�R�Ո୩R����G��%��CDN.ӬQ��D��mmS%?=�_�zz|�o5ڦJ�ѓ�W=��u)�IEND�B`�PK�[Ѯ�� � icon-48-pi-install.pngnu�[����PNG
IHDR00W��sBIT|d� pHYs��~�tEXtSoftwareAdobe
Fireworks CS4�ӠtEXtCreation
Time10/24/09^ �m 'IDATh�՚K�G�_Uu�>c{���$��(�!�!��$pJ��""�
qG�8 q@�HH�8
��W^�@b��쒍���z��U�q螞���}ĖH>i���U}���W}]=��O������17����G�ι��������?�>8sJݸ�
���*Έ�]����9�w�A6�����SO?�1��g>r�lu�ĥ�������^(v�t���HCz��
Kk�|�$��c̬���|�����È0���A�-�b�Dlu5�.�1��GJy�}Ϝ��i����/[�s
��/b
G�XCH�d��(��k��E0����i�d��bSy��]��*�j����"��
�c�2C��Jk��i�^��E>C5V!V�-2�g��bMk췪�ҚH�7�6=�c���zƪ�@C8���j
� 9{���b�:�B��
b0��\���!�P0�sX"�4��A�/���l�|��X��4�>/T ׇ\�Z�nG�V����@� �K,[��q��96{Gf1���k���_�ƙ���Ơ*8�x��,GL����k�bG�n#у�r��B7&�<����O=���gocb�֖b�/�\[���3��7,ν�]GgH[�DJ�"��+�<��S����a������~A�/�b��VUHc���P���W ˂��Y�ڷI�'��mb�D8|�1N�I�#_e�?�?�~�c�
��8*�� 9q����I�g�xc-�3����'�x��T�r�ʚ�&_4hD����B�
�����"���cLOM��3O0sP�X��/ȳ6y�M��h�<#���sTB���ê
�_�z�j%4D���4z4}�����)�:T��B(�Ҿ�ʑ��Dv����7q5�����C�U:��C��fE�@@C4��I�p���y�84é{�gf�E����6�}_!��k�h���4�Z%
EYHL�=��<����8Ͽ��o�����w?���E����{����QMK��@A�jBݮ�W�m�n�=AQazr��k��5���Ӿ�
&��p+Ik���)��Xd=^�>Y�2}���+��s_��Xd��z'�n%%D�{ec�`��_bӴ�;k�c�e�2��
]�W�3��7�@�1��+o�E��x�)C@��i4x��A";�]Foۛ}�
��؍��x�Θ�&V�����N"G_���2z�Tx��MkE�b��m�@�
�w7�RߩBڰ~O;�H�
�����CN�˷�����h�Zw�>mu(e�X7q��L;�&�*�V�܂7����g9@���b7�EC1�s��*�c'y�*P^�Ú���(g���+'y������fs}�d˥�s��g�f�l"�!�Z�1tc������LdЫ5��o.�s��!&��,����v��뫥p�X^�`��_9Y,���*5
C���Z>�H*��cQ��*r֏<�����;����"�KZ���sܺ�&��䱔ߔѡ�l��>�e;��Bw#s加l��>m?h���F}�$ .I���B.<��ڛ,]�80���3���v�h��3�Ak���k����Fګ*I�✫����
/����_���/,]<C���gP��a�AL�p=�h_���0fD��e+I���K�X[Z��|�;���c�_�"R�P�9��@���)w��.�s.$U�0�o���Ŀ�S&'�8�&��e�/ͱ���X�1�^��#�ի�Fh��!D�ݪPSn�m�����WĀMl��������w(��Q {r`/!4��>��s�Z\2Z�(�#R���B����vA�3O�S�������M���@wz���
�ôO��0$�w�Oü�q{���ᅰ�g�����?���Q��,��5v��K��S���w[�{UqI���!Xl2��E˹#�w唯�s���Q%I[8��(f�0��u��w.�:7�шڔ���ORF�Ce,-�rq�u�g�u�./q4IG�E{�c�;�=�?���y��H喩)ұ
�=T�Ι����!E�*�㓌����:�Tw�
`/$��
�ps�0eL�`�[Y�{'����s�b��>�y^���zV��u8��zz�Z/1{ۅ+���
c�@��]�o��qYh�����YFC�!>�o��z�W�
x��]"lPnUH0�����s�?Bn�Yݍ%�0u�3��)`\�q����Y�<����#H`=ߒk�Ko���w��L�֔��O$IEND�B`�PK�[�"��AAicon-logo-product.pngnu�[����PNG
IHDRd-X���sBIT|d� pHYs5�5��P��tEXtSoftwareAdobe
Fireworks CS4�ӠtEXtCreation
Time04/08/08!�c��IDATx��[ml���}��;�+�VGL��b�-���݇�D���
��ä1@�2 Єi�UHU�U��
��!�&U��D�(cT[CQ�dT˥T�k�.9�ؾ���;��4Q_{���{����8�eY�č���OxQ���
.�L��b������8���0lly�_R��;��zw�V�C�k8$z�LR`y`|��0�e�L7�C�P����ީ�?0�
t�Ԝ6
X��qC�5@��Q%Â�a�̢PK;cA'���bn�'�J�SAvQK�V�H{b���q���8�[4X�P`��ʼq5:L�*�kKT����scEq[I"�jqq�/�)*E�t�I�MǦ)J�߲��������Y4R��M'P+���o`�a���J�2t�E@������h�Pp�S3tF�7�i�(�V�]([1M�4ͯ��DK����0��U�w|�+�A�YJg�>nyWc �E�h����p�,�X!�o�])� .�="���+I��i��d� �"�Ys�x�RU���`"��$�\�M������߈�P���(V&�DXTR���7���E�V�K���w�
�V�@]�o;�G�f��@�^!�Puk)[����,��^��|��q�����?.Z�V���ł~-}��c��J�X�w��'�W�u�.��i x|�;;:������w�_
���M��^o��q�4�7R��Q��wcH��w��c�:]�kY��1���s��0�0C� BQ(�2굩��KF�4��M}U�i�ٲ�ckW����?��R��^��I~�o���o�L�Ӧ��!y�\�wY�����S����NaKg)
�g��-#������^���%�>�<�[
4d4
^����R$M���1����X�P��P�XZ`-�N�����~��c�������Fx��F꿈��P����%: UN�W�`t�:̜�w��_^��ܼkY+B
��lY��B��⦖C��LfrT��J���p�;g���̓ƫ��W���&�~EI�+&,-�<��j�/_����UG�m�}��/�U����:p����gX���D�z9Iyѯ[�8~�~�V�{��9x,k
�\sB�y-�A�aiY��RWO,3�L������0�.
���a:$�.~���|��|M�m�X����>��S��R$�[������Gׅ��@����/���/Ώ�H`uXE[<.XZ�ų���CH$����B�v�0J1�a�.�T5t��B(�{~E����X�X'��g2�A�r<Z���5m�i{-�o߆����#G�82?��(IRLUU�a^Q7۷o������ۧ���[�2~����M�k��E�@��������%��w�lR��l$����W��i6�Xoo���+B��~��,C�e������G�NOO;������oO(�"�"�x�F�B&�YS�\NÙ3gx�/�����OȲ[K���A�j��^��>k�M�
U��:��?:7�n�l���i1��+�V
]���������ޛ���40�P(4��|����S���t:�sss���TV8vH��eY*�ѴG1�R�r��U��eYI�eg��a��U�<�����ɓ'�����"���X�a$]�w�YD"������BII�V+���-F"ezzZԴ\���u*�0L�0J"!��?M[�"�H����p�����Ò��+�`Yǎ�BF��`�,O��]�v
>��)hT�J%���x<��w�}�O>�d���ґHdtǎ�
��/�|�,�����7ޘ$����u��Bc,�a����x;eL0���C===|#�`0(���`Pdf��
��6���3��}��NV�?���Vm�a��-?[M[y!~��xRJ3˶�(�>��FΜ9���x
˲��]c^�Z�a�5lB��i<PQ1===���4��i����V��?�|�+��
@e�k4�-��1�i��� !���YS~�y7����d��[�I^u��u�]
mˆ��v=gW��u;§�%�e��mu}��ok]\�t���4����������U���-$ AӖ"�@
��� H�B�i��/'��dZn�f��|___�|�駼��1�(��i�$Ii��s���.M��l�W^y��zY�Q�>,�۷/��^�
sssՁ7�A���`0�?��4��,��Yث���a��ôk��8nPU�D0��e9f��M˲���ǣO?��,ˢ=δa��#�=F^U�:�q�r�#�z�ڮ���p32j��0:�U�J;`fTU��Sf����������d�s���8�eYI�e��(IJ���h���&� �()4�I�s��ɏ?�����$�I�"��hڝ�y>977������v�[
�D
���ݻ�a�ՂA�v�eY���c�=�8t���:::�����F�!�}}QGֻ�6b���e�ڌ�#�Sq왊7�u�~m������Ul��{��~���T;�⸷
��t�Z�`���'���R�&!M0��CTV�<�����yG�������)��NĖ�C4�g�iwSe�ƽBN�}�Zz�ATvéh{P!��hT4��v���Yn+�a���8M�"P���{��,�{� 4>�ΡB�5eW�&!k�M��>��2�.��.�o�u'���C
����ؽ��7��H��������F������'P!�m��Q���0���̓GQ���!���~7�i�PQk�l����7��z��Ҋ�}?g��&pڞ�
�N�q
g˜@�)8�%�Ӫ
p�~��������T�W�hIEND�B`�PK�[#*�JJicon-logo-seal.pngnu�[����PNG
IHDR�����sBIT��O�oPLTE������������fff���)))��ֹ�����������{{{���JJJ������sss���:::���!!!SSSkkk333ZZZBBB��������������F��� pHYs��~�tEXtSoftwareAdobe
FireworksO�NNIDATx��{�8���0J�m�x������W�4�|G�lw�!�_$˲l����<���=��[%���|�܊��>���b��$W��࿃5�ESZ��n���ݮE��%�+щ��i���4�A�o�n�3�נO��]��
��K�������R �T�R�1��b�a$�G��/FG�JB�ޕ���M�4�4
�m@��:���Bt�h�O�h��3KC��]�i�ᛌ�?����e�H�'�����T|�b��[�%��|5"�@����a�QV�Z��c��~7
DEp0oO]��K9v߹ǟEdžgr�/�q����H=\ـ�`���?�N�^��r�otg�y^�÷�`��ʾ+�tlt>�'Y������Z-���Wū��58��it$�v�R0�܂���� ��G��>��F۫af2���M�v��B��7`���г�E�!�m�r/�����=���'Б�s����4w�w��!<��a]"��H>O�܁�����}��~��4])�F[����V��N��7c�B�lC���Q�g�~��<{�Bb�{�6z{�R�o��ͩ�,vD���t����l��s��|
��g�G��'a�?��Ծ��*' =�g��my2rV�g���X��b�MYE���n49�kK~1�1;����jt]�ob��hq�s"���3;��:f��u�w��5tlv���
�ׁv�vNgqPX�5��)���Ǧf�6r�gv���4��<ӟ����t�q+\�A��q̞��i8��QF;�߅?F����
e�6��;vw����5EH3ZC��~=�'�s��{k������N)������΄�u?�mr�NJS���{bo��,�iL;���_EWe)I���o�=�W�v���-e�(R������a�ѽ{s��V���F���<&�T���s��qL�N���GG�#[����DX�Z5�[�u�(�����������6�W��:�'��twKk�8����xn:�毅_�C�&pr�R�����Q�v��@ϊ��|)|�N�^L����*�#�F�����Kc���$���w_�^e`�am��rn�̟�2��W�Gt����~���-|���:��ڇ�d���tR/��xi���beQ'��e��+�)��;v�|�JG�)&��S�-6��Y���4��ĕ��Cą���>���z6L����whug��ۏoﲛ��[|Dbz{����m7�m�m��'�H)���̟HM�����K���ޫ*����'����&{�Cs��_������v���s�z�i�,1zf��(j�aϓom���R84��^���s�W��n������7ga���X25���0������C|=��a|e�7��v�R�xzz����E({������]�#��@_9�ן��%z��z�r<]E��?O��_kɻu�Õ�3|<�_�ʏ�J���5�Ӣ�~���g� :|q�^��(�V��P����c��U.Q��d��鷈,>������DmP�'��#tY���3u��I~�9r��
t�2�I��E�Ⱦ�I<�S�o��1>B��ގ�h¨^�n��yکu�n���Y-\<��n�@"x�}>����
� ^�ޗ@���U}����ہ]���X\�'}c��Vbt�w
�x/��@�-77m>$���Ԩ3�X�՜e��D�����Iy���6�U��z�F����Oe����_���Q��,��]n(�]*%�~^�;Y5ˏ�ڟ�]��������[�O�:�ؔ����ϑ��d��Zx�x��#��j�"t?������|�^��ѣ
��ű�q�jS1��Q������9���}F��{����N�O�c���gM��uu��8�u%?�?" ��/K�G����t�_�c,+1�{�/Y���d_?L��p+z`��>��-���I��|{6;y�V��w�,�:7W\�n�O�����=�1:������ȹ�d����=f��K�����5�X�{�=;�6���$��rk�w��Eo�Dg��?p�U�.?}&tq�gW�{�\&Ew�i�=���|�:������gi_/]]�\t�l6��Y.���3{����|��)@�I�It��V�.���t7�{;�G
�1���vS��~Һ��:�M!���و��܍��]�
7��k@���mv����A�q�QJ��������vls���Ta�������R�=��[<LP�NL���~�������g�Ӯ� ����Sw�Г�KD�q�V�떌+�#N?�����EWw�7�Z�Q,�!�=NU�����쳢Z������w�֧�EW�N��KPmފ��GD6K�^H�6�bW$^�-c��d��vu�r7o��h1R
0�$?N�.��}�N+�U����u<��-[tu6[��`��1��t)��G~.m][���'IV��O���n�>7:x{�����+R�+��aƞ����r���\Twj�AX���|�^�쭪ĕ�����Ї�vv�=����b�������MFN��ރ�[�W��z���u��tTF*I��U�q��U��z3��ҹ:����`�$X�j�����h�>���R�Ed�*/0xQs���f�<�`��u�ދ-/�#��d� �н)��
:Vڑ��m���b��|W.��y>�vY�6,>�Ց��G���s�9��9�%�L�qg��7���� 7�W9vd����꼟�\�K��*��ǣ�I�F�Hq{�.P<����t��L�۴��xPW�g�i'[h��n�~�����$�k��mrƧ�2���Fo���uz8���^U澬E�.J���5��(��u�*�Y��N���O+U�5��٩��T��]�U����~ �������������|�e-b�abt��x�r����}_���������JJ�����T�u���A�_�[����Nk��>ܵ���z�@%Ip[c��3n��p�6q�VVU��Clj�b�u����m]��ܣ��ȫy�?��4�U�]�}�� �,��I?sש,�
��Cg�0�ٸ��C������qG��b�oڻew��p�����
�b���F���5u惂xm�"��ԓ�LJ&Q�Ɨ��6Wt���Jߴw_yx���﮻k��绀� ���Mm71�J5�XDY��C�b�0�{��m�U�98��{cc�W[��܆+�t3/|��c�١��B�36&���m�ؽ���JXtU�0��]�:����J?=k�O�m��8��G��[2ss���AhS��`�IR�j�9���as
�{$���U����v���^�=Y���}�%����)I�j�*�X�c��z�<���LLy�u�La����)�r���T�B����[�cгq:���W�9D;�d��Ǥ�Wh�����:���8�G�Ycs�L釃�1��r��w��ۇ�d?�Dt����Fh疊���6b��c��n��ݹL%�$��AeTl��b�{xN̵=�����w���}tA�&�����[�;��hk���T����a��
f��~�3�䮮�ug�F_�ޏ��
��w����'�fihV��Z� �ܨ�T��L�{�/�eP�߭�
5Xs�5+�v/�;Z��Q�
�w�}&�Y�4�RwW�����wS���5�Qc,yb�W��y��7~�ot]ɛ���r��l��6�5��Eu��s�*T4�B�[V]6�g���W~}z�g,��l�����T̾���wY��d9"�Z����$��u}��?��G���i[Q�:+��U���I �큼�%g��;��nO,�Y�\�'.^\S�q��St�s��r캑��4���3*Q�j��9��|���·�/�����=/mg�;Ndb���V8���ֵ�;Eճ=��澊���칚*��/Z��F;GǾ�Y���B�c����R�jcxf{Xq��� >���xj���s��;{c���
���
�A5��
��\r�I����}��<��;L}���̤-؇.ԕP9�.�n`Z��2��$�^�1�[�?=L8��W�Y9���_V-�ˑ݂�D�
�ε�����Q9]����ݭ��{��{tJ�u\�M��3��?M��-��P���Nu�<;tx���G�˜RR����9��u�^��1y�.ב��ECE��>�W�H�#�ItU�{�3x��@��ڑc��j�^_����Ln�I*��7
ֵ[r�c�i��n��\+�nZ��;;��vGՈ$Z�����m}H\�y=���{a�����x��3���p�ն��a�V���?*�ځ�V��������Z���J�um�9Y҃4L����e��� ����\%�x�<�@�\wb�)o�W�l~y~�eG7��W�g�[g�
�l�������=Z�k��'�JWg�\|tJV��R�l�{���*�.�B�A:�#���`<Lٱ�
��
�SP���%�IxP;���_{#���_`�Z���S����8g�f�:
Pܯz�'n�U�j�P�|��gv#���QRנ�_u4���ܚMTS]�Q��[�.�)sjW�}�ilT7�:�K��kt���N��<�w�`����v���˳}�`kw��N�/�p��C��<v�X����}�.E���l��ȽF�J���>��&������c���p[�_^_�<�+��ʭsѯ�rw]pM���kָ7�7��1�'���M��f�C���MA%���V��ǯI�ۮyxG�ѫ2�U���-�x�#�ة��,���vb����O;V�`ޱ�s0�����q�}"�#���=oiy
5Z���j}��|�P����a5Xv��*���b���b� }�/bS��Y�M�r�
I�s��
Aue�՞�s}��Vr�$&��y^�\��+�+�n� ��jc_$F��z��nO��Vǽ]��[O+J��ޓ7�_A[疛qh7�.r�Ɏ����� Z~g{��<M2c�;F�Kʾ'�3<�Ы#k!��I�o��?'�aNʯ:��-ۋn��B�`�.�������z�6��y�i�^��_ɮ�$�v�2�����^�S�9[|^%�\�8x�nm�ig��j�1D�S�3�ǬW�:v��O;��P� �~zK=�L��p�ql���N�i��R�(�_Շ|~<��/�{��-�m�]w=��˴�x�O='~`d��N�zc\�T��=x���eIL�{��zB4h��fE�Y;����s^�w1jlx��b??�G<��B�{}�����C�*�>�-|]N���9�'n��M��~b}�Ҙ䕆��D�3R��g�c�S���3��#���Fvt�I�6M��[�����M�+e��k�<9���Z��w�̺�K��G�E#�l��o^�S�e`��-E���}���<���դd�j0���;T;_�+����'{R��w:�c���T�qڽ��=��l���I[�..�����WN�y��[J��X�G�4_���o�0�:��T�y�9Yh7��r��`��{��yW�\�"�KE�
�:�m�s���EYͨ�a:ˤ�@��ނ�}Nz]S�w%ER�y,�8������&6��VD����)��_�0�f\08��璏kFG��ԑ�
�K�s�IM�f�U�µ!�i�q��w����/K�0����yl])�뾇�����k/DȲ(e���V�vHpC�~����u������,#��q�~���>wy)tĮ5��B\�4�;�°���ةs�[o�I�c�gw���R�#j���w���/����D�>��ňr�����;�Q�����,�~�5��e'N��ͮ,�n!�8��`xZ@��
0�ml�R��k�
��/�6ͮ�و�Ru8�t%��_�w�,Q�v�]�M�^��ݖ�G!9r���/+]����=r{1c�3����#��\�d�9M%W�����Г��Tp�Sٸ��2lX�LZv�J�U�G�
]4�|w�ں�ed����6��o�\�}p���cY����8�)��<}E6q��sE>�{���/�����d�IEND�B`�PK�[p���==line.pngnu�[����PNG
IHDR '��sBIT|d� pHYs
�
�B�4�tEXtCreation Time09/20/11���tEXtSoftwareAdobe
Fireworks
CS4�Ӡ�IDATx��!��F��͓�,Y�� X�&{�=��YhȞ
���I��Q`�D�P���od����n�������m�����j�]]�d2�I(�G`m��cV�p2+�1�(��@&�`J`��p�Cz�o��Z���a� d2�6���ь5�e2ӱBf��?j��d2��5�t(�������VZ=�4��d<�(��_1I�2���#_� x�xu�\�X���q�]1i6�$*#�:�9�w�Wױ0/5�ȱ��`i�I���v�:��ˑ7��R�x �w���-�ͷ/@U��hP�À��5�����Z�u�g[*3�Vte�
-}'Q�@�E3�C�����6��rj\.r��,��b��6*D�x���7�I�lT��B3�$��h�`�^�ȗԣ��E5�XwÝ�f���yqF�U�эn��nW��X
ȗ14���M>)�Bl��
��[(��B��d�z���⑪�ij
sћ|�R�[���+Em�k=��o�H9�V�=�(��m�zS(Y����;���:_}�\o��m�n��U;��)��������.�RY��u*$�L�!n��~W_������T���)hD�ÿ���Sa�2�+W���7��hr�uB�L��m���_4�ɔ�}�ڶ��"p2=>C�L�%����Bci�D�U�%
�wv�
�m�ZڍY���ԼT����_��E�Q���\�e�mblD�x�T\v><��I�����<63�jL�oڹ�x��(~���9w*ി�;��yG1�èN�6�,���C{�u;zC��0�Rp��"��Sk�C���]��ʼ�?�{�uP�LkK�ݳٟ�w�J�*!�K�v�G{��=T�{Ǝo/���ؗ�u��r�J�*!�˜���R}J������5���#/�>���[J�SQ�jP�?!`�(3��6�քm�j�'t��%V�/����L?;�~BD�9��ֶ�@Z�~�+�B����Дz��}����^*�3�� -%KIc�p����%p4G*|t��*Z>Y�f�;�^����S��3�!XJ��c�<Q����Mຌ����:��*�d~DPzk�5RH�k���<�G�Q��ek*���6�2�$!�x�b�^*1��v�$L�!��$�5��%�i[I8a)Ԟ�ڊwMڱS�����31��F*i�Q;��)R(���GT���>�6g��oû�Q���ɤC�
f�3̱?��k���f�3���Ǵ�1*��5G4T���R�Mt)g]68�͍Q��x߯9:���9�F���%�S"C3�[���l��?�����_st@��(bފh6хfcFKlY�fe�|���E�Q_C��B�k��b�c�?ϼ��X��py�k��xH�_�%��%����k���1SIEND�B`�PK�[���qv_v_logo-phoca.pngnu�[����PNG
IHDR����sBIT|d� pHYs
�
�B�4�tEXtSoftwareAdobe Fireworks CS4�Ӡ
IDATx��y�U�7����ݗ���^��Nge�A��!�"��3�
�:.�2?^Wt�q�u�W���Q��*�H��IȞ��o�}�������瞮�K�I'���S�{oUݪS��<�s۶�@�@ol���E��(ӝc/̂��7<�E�m��5��f�k�V��g�u�@�)o�A[�
�P�s�Z�u�����@��!8:��(�=�>B�@��>��ƽ{�����/2MӓN�Q(`۶�i��z�`0�R����Fm�N`�t?��
�_��t\st�I
������l�4˲N�m�Ƕ�6MӚ-��t]w��Zaժ
EQ�ZP�e�ʶm�E�[Uխ����N�_���7$�Åʄb�.�~��):���r����~������|>�i�ghVUկ���ry��t]��傮��4
��M�m�U[�\F�T*���eYY۶�^SU�i�4��W���6��:�:ӕm�����(�N_cY֙t]����|�z��x<�x<p��0�apk�&�O��,�e�4ͪO۶a�&L�$�'���H�T�o��C�t��_���w��.p�:f��8�5Tj6�߿��_��_��f�W۶ݣ�z�����B���
�������[Uթ�`��(��0MS�l�F�TB6�E&�If�����r��_��e�5P�9q��]:f��
l�m[p�=�}�я
��X�v���@�h�h�p~��aT�82qk2�(�����@�'NOA�P@6�E*�B&��S(���ۿ�/�͞�
�� �~���f�/���9�3���mT>��O~$��
�7{<�@$ASS���
��v���M@,��U��?+�����P�����K�Y��b��b�(8~�P@&�A*�B*�����ϕJ���_xl����g+c�]�
�/��c
�Nb��7�|����LӼ��v������ֆX,&�s�I�.�J�sp��2�i�I"�@���ҡ�4��ߛ��R�$@_.�Q,�N��L&�N�w��s��w���/�N7&t�~��8@g����m?���_}��O�J�k4M�D"���@kk+"�À�(0M���Z�%��90���9G���ċ�`�K˲P*�P(�8|*�B2�D*�z�T*���|�'��10�݁�@G���XU���7��t:�1�4/�hooGgg'���7M�|^pQ����b#�sp˟��.�:<�ͭ�?�8:M>�i"��bll�t:��d�e2���z���od�}�4�4o@�ƶ�v�����d>����i
���Fkk+��
4M@"� T@F�q��UU�9�kq�pt2��w'���v�N��J�066�L&�!����o�g��T��ega�4�4/@�7T��������¥T*}���`���X�d `�Ѕ���"l���A02�e>[��
��rO� �:���VD�T�=�Ld2���馛�i۶=v���@sAG貨�q}��)ccc�����P(���tvv"���w�;j����0�kqrnA��N^�(G���7U"=7��Q(�H$�ǑJ��{pp���7Fƍt@��P��s_�â���"e�i�Ē��o>/�N��X˖-âE��z�+�ϣT*AQx<�\.GN��zU��L\h�wN���3����d��H��v�%����c.�+��/�&۶w��]GEoW1���'����X��4:*@���o��K���UU]��ֆe˖���
�a���P.�E�j-�sn_j|:}����D\l'�eY"0�^ƩL@:J� )d\��]��_���ն�W�-�vޏ`_�C�#t �
* �o��Kr���4M�utt`���hnn���(�J���B
��'@�8�$�s�8�{6��i�����s<?���4�:�q�_�i�w���o}̶�W�uv������]9����|�3��r��u]�uvvb���hjj"p>�G>���i�x<U
w��s����Ƨ�Z\�tu�8���"LV�ʫ�Z�&��_��w���o}ض흊�xQ
ve��/С��������}�so.�?�u����+V�@ss��\�b.�^�W�d�]��s�ݿ�Qm�D���B#��i�eY�4�*�su۶��\S#Ȳ�i�E��~�;��;�m�o���H��Z��ґ���m�����X,~[Q����,]����B���r(�Jp�\U�g�NVunY7g
��.O\���7��eVI�R�J�0�&;q]��_y]�Z��w�q�m���*U�T�Y��4c:"�5)F�m�|뭷6d2�oxoss3�.]�ŋq=�͢T*�0���*�S6E�9��'�� ��r��;qw�3͊�_.�D�l�XD&�A:��eY������%=��
���]�i�'�o�h&4�@�@�ٶ]���[]�L�Ӷm��� K�.Egg��j��^�.�kR8����g��SdM`�IWdS�e��5���JRL>���p��v����`�lll���mi����踤#t���{�����۶�
�X�b����v�'�
矜�ˑn�D���I4����Us��Y�x^;EѕKeK�X�T2�L6EQ����6�����a�kik���yy�:nhN�.����m�n��J���a��l�2�X��pX$��r9�!tr��ժ�6���\�ܦ�z�QBL��C6�E!_@�\��*�y}����|���un��j}���4&�v�@��������@�X����'�������h�Be���y��y-Q�X$'
����('g���]�n�
�ʚ�6Q,�H�P*�P.�.(�Jx���������r�³��?��.p��}�_��1�]`���x<~���߮��Cww7-ZUU+�L����27w�1O�G~�m�}R3B�s�t\D�GW�+���x1���lj�r�R��w��]�����2PU�mV��p�k�W����٩����@kk+ZZZ�v�ERn9
�ǮO�~,o|R�}�1N��U�j:TM7R�`+@�P��3-�m�P,
�J-��}``p�m�?�����ڵK�=p@����oo�ް4'�����
�J]�v�/lhh@,C$�g�\�T������~��p���i��y
�!k=����,݂b�O"�
U�\ϲ,��y(J%�Gw�m�P(�
�⻲���u]��G����8�}�@�͕��us�3���*]�?��x���f444@UU
��s����j��:�L�i&�>�'�Pn{e�S����E4u"�@QذQ,T�k�/UU˲��b�ͅB�[�n�ɥ�?�����>Z���y�:谁.q�d2��|>�
���G("�mۓ\h2�I\g�?nI�Q;���\̯pw
�j���d���,�B�P��+��[,o�X���7�}�z{������,{z>�e��.��Ep̍7��r]�z���&���CUժ�YT'/�ɏw�s��
�Va�6T{���j�l����:>���m��}E���~CQ���o6�}o2�����۠B��3N�w�zg��4ͅ�N�����~����zD�Q�[��j��L�l�z���`kծ6���J����Ze�P�g�&�(PƋg�q�
�x
Œ'�N]�ɤ���g�yͶ�_D"��p� V�7.�i�pնm��[nYbƻ<���Ѐp8,�9��87��%���u��pd�#@h9G�-��Z��6`[6�fy|R�a[Lذ��m�4
^�~�W/��S�Tc"�X��?��Oޙ��{饗�b�,��C:�� K�Z��j]]"���z��e��QΉ�ۆ=.�˶
�|��W��9��� ð
yW�gE]�ȍ'?�
���rhhhD$����h<�VU�ݏ?��o�����,��9G'n�ضm~���m�4��0�h4�P(�˅T*˲&�ܩ:�ư�OG�|�8g�Pƍp�k���tqn�`W'�Ҷm�\�I�4˰m�eB�tat�\���G8'��S��xO*�����7����+���>[�ãC�2�Du|C:�~��㹔V4�����9qs���o�lIQ�˓g�8��s�SL<��U+��j���Xz�Si媶47�7
��䩣���D�-�=��}�t��W^y��|���蒥]��l�^cF�Dv�ǃB�˲j��A
Q�CUU��i�s�8�P<ǝKU`�ʰL�i�dRA�T�Y.W��U����`ȗL%O���'�q�c�=�`:��ѕW^��zm��Ut�2֧?��E�����x���DL;q�Z���Js�]��L��
���b��<�U^����9�n�,�=�M7t�4aZf�`7�o�&4��K�e[�5��@���p؝L&ϊ�㧻��K}��r��O�ַ�~��u���
*1]���X,�������Dʥ�
;^t`":�^�w�k��'�T%���<>�mw��ad�܉�O��+��]�\�߷2�LX�-M�fZ�te˄mZ�,��{��,��r�v�B�w��hllD(����x<�:�L^�裏�o���\r�#��t84+�KQp�wn�n�;�za���#�;u��%7.��)sI'�`�j�MENq�r j�oךԸ�������N�"�-�H}(����d�,S�j��4�5!%е(���rU���n7b���0�Ĺ�x��d2y��?�{˲~u����@��ò�۶m����mhjj:�0�Ax�^(�"d���I����<�O��i�|=tj+'j_�TҌ�W��K#\����D��dN.K3�=��/S�%#�74���
˶`�64K�T
G�|�o�������E$����y�x��d2y��?�[�4u�E���@��Y}|@V��jll\e�J������-�Syf�PDܑO�O��\�e��v#
9���\�� ��T���g��q��q�J%x<444�\��rY���"�ܷ�6�[�9�y��\=�J�����=y��T�/�Jp��� ����C
@]]FGG/�0�N_��O�122�w���v�L3��ܫR�tB0�
�]�u��r��cO&�A>�Goo/�mۆ��^
��#���'�x"N:�$455��P��#�� 4 e�Y�r9d2�ݻ/��^y�<xP���b1,_�g�y&N8�444��J���:�IL�4$��"��7/���'M`|���}t~�l6+tv�0Ļ��z����Ś��]�~���9����,Ќi���¶��(�G?����蚦���Z\�-��N���d0<<��7����͛14T��|X�d �=�\\}��8�����I����1MD���X�~=��lܸQ���v�q� '�+����v,Y�D���m�4>!8m��t��Кqf�^|����@./
�����$��g
���B~4�N���O~�o�;%��y�C:0
w�i����e�0©�*���2HQ�\.�d2���><��CX�n����(�g�Ylٲ[�l��;���s��a���1-522�|��~;��@
���6�!��(�V(�i�&l߾}}}���?.Ji�g�e��s��䉒�s��i�Gِ�x��å�:�쯗^ڶ-�EQ�B�����GGG����{����ի�����@3�}|0��WTDw�r�)�t]o��TYf���H$��C�'?� ����q����4M��g?��ݻ'���#��""�N?��*�\7��yd�Y�_�?����ׇ���p�
8��ӱn�:�v�m(�JU��d2�����/��/��b�Dj��3�dIEVh��b5<ϊ�lj�����:_O��u���m:�F�T���H�ۍŋ#bpp�T��g�y曖e�;�s��]-��4S�n�"���J�9�\������F"Qɝx�;߉�|�3���>�K/��f���?��?�9FGG��=W$���߿�֭C__��������.��{���t�_��ذaC��n�Iݝlܘ)st��϶?d+=��Z��I�u]G�P@*�B>������(���������[�omܸ��Y5n��fc��
�e��\�(O9�@w��V�x<�x7r��H�������Ɔ
��!��^,�a�lٲE���ǽ�ދM�6��{�E.W;�sll����022"���:���
j�t�͝��H�?�C�
�5s�I&�Ɉ5��{���@{{;���{t]�c�ƍ�}ꩧ�3j�2�TG�1¥`|�EQ:�
`;}�b!�X,����6m��U��.��~���˸��}}}x��gq�W�E
��+�D�7oF:-�?Coo/>�я�����Z�m㥗^B?��ۧ���E�'~]ާ����g:):���2_r�
�sR%��(J��G
@__��D"�UU��g�y�g�}��5l�fM���=��w���{�
1���RTF�T���1<<\��۷㦛n¯~��I:�L�mcϞ=�S8Q�T
�����+��ӂ��7::����I�b�>�~3���\W�E��r�Zm#"�sўs{*
F�ܑ<���v����X^��S.��g�}��;���[��
@�v��?�,�V��r�ݝr">�˃W&۶�N�'E�͖FFF�N��E�C4�u]G>��R4� ��e$�Iqm����8�W�
�N*¡��79q���٣�F�KK�����u�����W?���Y7n����Ξ���嚦up7�8�
�Z�`���8l.���ܘ+��]Xn��p�*a�P��Fy�L׆Z�l���cw0�*��k���(�$Ý�톦i�{A�o���n����Í�a��x<����O笱4=����-H�R+�x}qqQ������F���B.�---�F���sF4`;::���yXm
�hnn���dr�3��$�9�tF�����N�Dn�7�e!��V�|>����D�z���M�<����f"�s�]P����L&�̲,���@���i��O���%�ˬ9���B$�W\�뮻N���ιz4��>��moCCCì��:�/_�%K��i��snN�e?���L2��y�9�r9!����AGG"�<�M����o~����L��bc|�Է���Q�4�y��L�F�d�/Y�g�q8
V��4MC
�E]�w��]8��3���x��i�X�z5�/_�M�6���C=����*1��|>\~��hkk��\M��2�r�O��-r2�Q�m�C`Y�Pi\.Z[[��*���:::�w�y�
�֭[�nݼ<��f�^�K�.����1U��������.��pW]u֯__�Kw"�˅5k���}/V�^�X,����ƛ���4Md˹�n�����N�W\�;��<���l��躎�O?W^y�H����!�@1`g*�m��S��r�\�G�n����x�����8���?
=����6��]חٶ�B/�^$�&r���o*`�q�)��C�����U��9�����
���*tuuU���AJ�$��\.���X�|9�=�\��'?��m��s� '�n@kk+�l�~����9;���D��8�)�NL��>66v�g�QZ�v�����H� ��2�bq�����`��$�G��x<hll�5�\EQ��|gR��ڵk�|g�}6���D��ޑ$�>�'˲��ŵ�^��˗��ný�V�lt�E�S��N;�4x<�)������&�O�8����!��8؛��`۶f������p�<5�������T9UU�O}�S�4MS�L���<`��۶
�ǃ��z����FGG��?��#�������7� �@`Ʈ�#E�n.zF�Q�}��hjjBWW֭[���6����_��K�
�t�m�}�%&�����݉�g'�S���Kn���&X�e��ƍs���٣��㝔�¸�]�m;w��7/*
��,��@ �%K� ����`&X
IDAT�B�z��x<�W�+�Ⱦ_��J����ꫯ"����ODww7�~��܉��d+
���
�n7����E��T������R�d��tY�Ș��:|>B���
�~���j��/rR;x�zJ�*)�H&��L&��>�[��㍦�������\.�ٶ]G5Y�����"1q���z���aѢEPE�c
�w'��������;
������gc��O��w>T-�A������m��O=�T��sϽ}>�<�t����5�۽IJ�&.rբ�4���Vn~�c
�DN�FN3m�,��g��o$��4�S����>����?>�v��{�����\�4W�����@��N4��,�w���0x���
���t��S���(��P(�h4
����o}�Ϛ�4�����N�x4�,z��c�j��N�����ٝ�#�/(�B:�D"������=����+?��O��g����"ݶm\{��&�`R�
�@m� p�����:ߦ�~,P-�:m�W�!��X0�qo��m[�]�4�����_kN8����oSД:��J`ǪU�:�|���VR'��Dl?��Z�
$��,^1�{h�|���r��N��$]���҄69��%��v�\�F�(�˪m����؋{M����u*��Z���CLU���{8���8qltn����켐�|�;>�9m2�
?^Ex`br���{���r���x�Fa��n�Gy�]t����*�4���@�ĝ�|>!���\��
��8<C�_�E�O�-�ˉ�!HT�z��M�v�E�R*Q͗t��1
r�ǹd�'Q�4Q� M����raQ2��~�E����b������-oyb~[~��L�n�m�ͪ� �^�W�µ�q���2>��r���4��,����u�V���kD:��<I
�P������@WW/^,VR���#���l�O��e��n�7G'�`'i�XC�4�A�mo��b_�馛�կ~�o��~L�Lc�M0M�YQ�8e����tv>@�8W':T�ݲ,�.[&�A2�ĦM���/��"z{k/�i�~?"�ZZZ�r�J�u�Y8묳�Ū3��A�"�d@����<�s@��sf���B("c�__v�e�x����أ���-�f���Xp�^�܉�;~6D@���L&�^x?����s�A�u,Y��ea��$�4�L&�L&��~<��x��p�e���QmN�9RT��,��k���7*�wB*3�aY����{�w>��������34�QLHQD��"�gY�X�H/�D�Z��Y�Ieرc��<��s�����ǝwމ�o�7�pZZZ����q�m���>v��M:�Q�T;��N�2ȕbdW�te��D�LIQ���|>x�^x�^ײe˾x뭷.��+4cvu��w�E�� �d̢�9�X�k.�m�F&��#�<���z
@��q�i�a͚5x�އ���_��?�9�^���V���C����7��V����
�9'�!=+���:^f���3��<6���}``
�(���NK������3uM5��Ɂ��
��M���P.���_�җp����6v��9�ΰm���/�u�֪D�#M�,�N�\��e�
�ESY����M�F�M�&=|>�P-Zt�w��+汹�M����o7�˅l�6Hl'���+���z�Y�k
@n��E~rUU144����Ux������P��w�^��{��5M�3�9:_@���)@���}��,$m�EႜO�@��7�r+
��g�����;�'�|25���g�1GO��^۶]���e���(
�٬#����j�Р&���Z.��5\.�~�����HG�9ꑤZ�vZW��+�i��<�\s�P_,�ǫ���/��,����UU�X,v�?���ss�ftM�b���ǿWq���0IJ;�Dv9�F�7N`�m[�в�,��TUEgg':;;�#��^/�Ѩ���
9��p���N�4Љx�:y�j'N~8� ��R)�ٳ�x����p��AQ�>�������'�x�
���'�W;��1�u]oV�O/�W�z��bq��ֲ�.8��k��\.��b߾}�/�Jhii�%�\����9�.�˗/G>����0����l�2S�V6Zr�.�y�'ny���sm}�*���F2�Ė-[���rZ�K\M�y�TqGQ������ϿYQ���u�f���r9��;, ��4
�T�j�Ng��kGK$C2�D<G?6oތ��z
;v����w������3Z[[��w�]]]���x�W�}�v$
��,���o�n8�j��^>��$y�3^�n�8��v]�QWW˲��K/aǎ��&�\�HT�x�����s�'>�湉�F�Qp���2w
�\
���K�P�\��2`"j���yl߾��#öm��q�ݻ}}}����.���~7l��w܁���Y[�5MCSS>����s��ß��gږ�!����-5�zl���'�d�"ߨ���;�霛�Eg�<=���ASSTU���122�U�V!
��L���dI�����i����}�%����n�韾�կf�z#�ft.y�,j��0��,��4�^�J�jx�.��p�݈F�hll�eYX�t)�@6�E}}=<���vx<!����
��#����,Y����gرcǔ*b�����'����8���P,��H$�J�
�D-y���a����U,�ӵ@N�@2�ek;Pmi�
���N�>��DžVGmll������06l�K�b���b�;���d9Sq���awww����?��|����Ͽ��(Ҍ�n���qQ��G\��BC"�@]]]�ۃ:ttccc�,~�mmm��z+u��0v��!fc�4��с��f��yB�4$�Il۶
�D+V��ҥKq�5���o~3~����{�Aoo�$�"����q�g���é���%K���r�T*AUU�b1\|��«@���i0[��L&#T���Ad2��a���MZ��It�H?'�N@��4�L�����r��&U��d;66�W_}}}}X�lEP��$�V�4�B!�\N�D"8��>��@�6l�i�@�m�&�e�P�t��ա���tZ�r�m�P(```�\�XMMM"u��(
���,v���χT*Ue��j#���ضm�<-Z�0�i�/_�O|�X�z5~�ᩧ�V|]���ގk��oy�[�����/�slۮ
7�
�͢���|���hhhR��i�B�B�T*�^x�t.������Uܝ@.O�2���y�l9M�����F�#K^�cccx��������#&��xY��,K�*�vvv^��O~�����|�#G�M�
�蚦y�;r�l����-
�Y:���(\���H:J���0<<�U�Va���U>R�*������G*�BWW�a�^/|>֬Y��K���'���/�EQ��Ӄ3�8'�t��X��K(�M�Hf2�ر{����'�,&0������z�j�*�E�ڵ~�===0C�d���e]�9عqT��ϥ!��.������v#��`ddCCChnnFww7�����0X����](P__��~����۷�U�q��\.��5�� ^�uuu8x�
2��XW���<M48������'�^�W�����҂`0�B��l6�d2)��
��8餓�HF���r�������d2���CGG�h�TL5
�JDkz���²,���c������r9��rYp�P(���^lݺ����|��t
��R�4���";��G�k��?��Ȗj���A&�����������Յ���C������:yJ��n7�,Yr�M����;���S9g'?&q���Q�9i��b�(H:�Ɓ�a���^���"�H`xxX�w�m�+�����&�zꩈD"�|��(n�&����fx<qL���w0��� '��E�*1}}}���8���������î]��f�����x<���477�6qNN���ܜM��;qs9/}�H�e��,Ɠ-���
��ahh���CGG:::�������:��2---o����w?�džo�ӌ���j�4Ͳm�:�p�gw������C*���^(��0�ib�ΝH$hjjBkk�(�D�loo�Ν;EE���al/��"N=�T�|��b0�������3�0�����(].������������OGss3Z[[gPU���زe����|�r$ lذ�pX܃{HOO&��U���v7���� '�\}���pH�����
�`OE>�G*���/���;w��������s�>��ʆc�4���+W�MGG�O,��m�y۶M:ۉ�4���a��i���"
wV&����i����D�&1�����H$044���>����������PF�m*�4�ɠ�����x���k��R�M�ľ}���ۋ��f,Z�H��qww7b�������/�`�����U�
�hX.�˜���ۍss��T�#auw"���b�lCࠧ|q*�k�.�۷�H���hiiޗ�jn>�����?�ᛮ���?ڳ
�8i6}@�p^Η@�Bg6����b���8��$�~?ZZZ��|�
J{{;z�!$ !�����৫��H$�`�ڵx��ކ}��AU�I)��Dp�y�att���صk�-[6)���w�u��.|�CB$�@��
o�2�9ȉ���ǹ%�����r��
&]��DM��f�S,�v�E�N�G����o�.J|q5�p�H�\�q��eD�Q}ٲe]u�U��3�f����żm�a9^�ב���(��8|>l�F0D4����O\���{�n�Tr�P�W�\Np8n���_�}�݇��z\{���C
��-[��f�dIe�Ν�]v��'��r!�H��^����sڸq#^y�\{�F�ؾ}�0���\�v8%�8��kฎ>Ul��&~z��@Jj�iV�4ST!U��b���188�m۶!����
¸9۶�Fcj���COO�e���7�>A��
��h.`r����D"�f�AkkkUd��s˷���ݻ1<<��+W��vc۶mx��j�*D��)�:00�_��x�嗱z�j\y啨��mv��x���Ԅ���m�@��ȷ^WW�ۍ�;w"
������X�~=֬Y���?�B۷o��͛�7�I���*����t��e�osmm�
����O�P<�_(�FKPS�R0�H�px��<����*���V����E�F��g��Hr`�J적i�&�n7�����ߏD"��#�w���UV�|���100���N�]�b��ۇ�{�@�/F,�}>����q�F�s�=رcN9�>;<<�r��d2��������_���z�j�]�MMMB�����MӐ��`�&8������q�Yg��v��vc���ؽ{7�n݊+VL���e��RQ��ɭؤ��2�ɓ�|���-<4���^/l������}Dqcccؿ����ÈF��F��q�\���$�744�---g��խ�>��t�I��L�~����E9+
����H~��@^��j �+����Q��q�b1!�sC
�
lٲX�h���5MC�T���Hr!јJ?�H�D�z��d066�L&#Y>�����Xuuu�b��P($\��B�D�<�����ۍ��&�q�X�b�����+�L��:;;��d&�[^�Dw�t-�-�z��x<"��>�HO���ɣ)��"c<M��p7X�T��]Q�q[�%@���C
@]]����D&�ФB�Q>���[�l��K_���蛣E3���sN�'�����ߜh��n�Q,1<<,��r�,@B3�֭[���$XhV�u�X�p"ᄲ��GA<�5�͊e�\WW'l�\N臽��"d�b�E��N: �{.��
� Ɇ��<Z[[��~�۷
U����:�xd/p��3q�Kĥ7��e�������%����i�/�"����_�p�
���L�Z[[O۱cG;��)����M��LYW'��ve����:
axx���<�������r����Q.�ф@@"�S�PI��>Z'�
���V$�I��i1������G4E"�����J��x<hllD�\�,�r�/qk�x8��k�E�+��4��ǿӘ
�;��5sQ��>���4��$����
_�~��-��ٳg����9�
躮�)�J9˲�S���H�����mxx���"�YQ�E����J�'��8��;����t��\k<�M���lڴ {��+D���˲�v�QWW�B�
��)�]e�+�ล]Nh���#IN�7l%���nO�ȁ@@��r=Z��&S>�����W��a����k_�ڶo��y�#N�����Z,L�윪���^/BA�𣣣Ecc#\.���`Y"�H��E�=�v\4���8MǽgK\��F�Qn�B��Q+%�י*q�O^��s�}&��r���zn��\}�&z^��#��9�e�?�J!�LB�utvv����+��m�m�YӴ�~�ֵk����3�Л��_صkנeY�����<��O~��YYIUU477cdd�HDp��*�ȜKVh�_���u����QU
���
�@U$1�,�Na�2� �r\�L5�<���H�b#�P][����G��<f!�� 1_�����B�R��r�|��Dv
�H��_�m{���s
x���O��q���H3��}�+_���(א�����$�,��;��H$��dDXdgg����E�Cq%�5��p�-�� 芢`�֭0M===b@q�#�g��o���nY�/����Ǫn>�čw���^O��' `b�6r�q�w���Ix|�m{�gUU}NQ�g���JQ�H�t�b��l8i��TU�l����r�E!s(��\�&��0
AUU�@}�j��<y�>�K'�����
���������1::�T*�0&�A-��7�r5ঊ��'���く/�#)�#b�\�a��`8���AϬ�=�R��4ͫ-��kY�ӿ����(��O��=��nWa+�b���Ͷ*�/�(@�P.�{K�R�S5���B��1.�+��`0���d2����&����V|��Eun�.
"���sd���N)����������i�:�C]k�㤃R�.��Sqp'��}#s�Z�AL��x�
P���xT��|�\��:��r'��3M����������m�EEQ<4%�� ݶ�(U�����^�i�f��xJ��s\��&�[��X,�T*�x<�r����f��)��xl;��/�T*axx�'��*
����U���'ā�`�����3!���F�_���Td��`�0iң>⪜�D�o� ��y��f�Uq�d�W�\UUϵm��?��~�N�c�nEQ��ʨ��
��o'����g�������o(�������N�^�H̭��(�m#�N#�CUU455���^�{� ����8'�4��j�e�Ȩr�����&˭��d¹,�LF��:Mv��=1�N#���v#���^q�[M�G��r����*��9�Z(��d�J�D|��D��dٿ��������H���&*�'�[���Y͝;�RnUU5M�=�b����)B�����h�9�J%a�Ɓ������$�Y�B́�A�L&�g�
!���C�'��J%{��A�E1�P�+nt�:
�(�cAG���r9�R)�r9��~D"Z�g.���*
��q�S��e�%��i
��,��r�|�LF�R�:�D���뽨���O|���e˖�{�]w��a��ˀw��N�~���#�IDAT�H@onn~��_�\._I.��d���G�����<8)w}``�T
��͈F���8W
t�D{��A*�B,C}}��tH$�
����(|��x�L��4�nx����d�cD�i������R�V9;�I��e�;W'�D-��r<M2�p��H�$Ck�Pv!��}r�e۶?�ݨi�I�\�k��v��*�7�t��=|��>[:$���/۶���H$"<�|X|�Z�
2�p��Ӷmd2
�\.������"!���H�<Z[[�?��H�.Tc�X,bll�����͛�ꫯ����p�_=�����Yt�z7���㔜A��R-M
�8^����FP買��j�|�)����x�j��&nX垐T*���>���(�]��(��?7ؑ��/=��[�~�V*��n�6�mv\�86�=�sl��eY���SHO�rƔ�}��Q�su_eQ��M��CCChii+��^��~
�����J�$r% <��sx�G��3�`Ϟ=0M---���+�r����_��:EQ��G�4.���Z
����9��k�9�'!�Ω�[�|=O����N��U�3യք1վ���i|�E
a�Ν���CCC��n�$/���-���$���WW\q�7�����?���UT_�>��n���l��(&f��&��N������L�<�P(��Nz�\��V����OYG)�ldd;w��{��ԄH$���1
455���n���a]x�ᇱn�:���u�]���>]]]
/>��aTq���~�87<<�d2 Mӄ�N����ù��I
�}�;������j��@r���T�S�&�z����y[ep�۷۷o�m�hiiA8ٕ�?9�O�$9�L�B�
�f��r����r�Ɨ^zi/�"b<���a2�9�U0�S{�hF@g���o*��i��*��R�����N�R�hf��N��S}�B��0����χ��Alٲ�a���E�^U'�]&
YPqʑ�,Y�7�tV�X����\.d2�۷��|ß�I|�,�|^��N�R�u]���JS��:���������3�W�|����S=�t�@5�e �i\��&j2
�ٳ[�n���Ecc�Xz��3|�w%�&P��څBA��_r�5��R.�?�e˖>T0L焻����'@�9��;M��(�~Z��w�
@SŴm�O��r���b���~�]T4���AO���_9����r�\���33h��t]���
�w��bx��\�|�TJ�I��0��f'���-�i����~:���я,�����oD�|4�wqH\��y�z����W�d�;��.�{�3��t��P��믿��^{
^��X~�_�_�
ѵ���TU�
W&�H5M�駟~J.��x6���]�v%P�S���6&�L��F5��0r`���>%��;Hu�4EQ��S(�4��H�M.1�$��^�v2�QgӌL+���n�8F��#�;E���)Va)�J�d2�_ʏ�N$H��(��"s���M�ܫ�*��rQ/e��,iо�����p�ي�3�Z��:��
�OZbK�u444T�o�5)H�@�Ƕ�?�i��K'�LUU�^����ݿ��/�������r`�pE:�zW�w��`
�+���M�:��7��>��O��x</
*w��p�9G烛l�H���Ea�Tz��-�TU���y-��0��3�J��^z ۷o^zٚ���(���S��t�,^rq}�t4�>��Nm�n�t4���$ܼT*�(�ˈF�UU��]���%ĨD7��y\�:��m����K/�@����I�4kYԁ .MB���5��|�L���>r��o@����;=υ�a�D�w*�䤧��;����q�<u6qm��/f4Sę�竒j
��<R�^y�<���ظq#����r�J\}��hmm�j#=�,���Z�\�\��cd���g
����3�>`��_K���9d,+�J�GNY�4Ψ-�
��`+�Yp��x�b�^$�XW]u�G�����/�#���H\�<'
Փ�,d�''����*;Fl~衇^|�3��M*��g34퓁�
:t�@�
�
�ܜ�o���u�g�eYx����w�}76m�۶��ڊ5k��3�@4E>��
�u1���r>� �Ԯ�t��p�C�l�v�s�4��N�w�uP����t]G0X4��@(B$Q���|o.��}�s��������������{�P�V�uu��C:ƥn���:��5�M���f�{��;������}
���'q&�2�e=��XTȶmQVH�u!=P�GקzA@ŕ�e��}��ظq#�~?������vFGG�L&�zE�k-�n���I�0�c;�|:8�3���g�{Ow�Tט�0�f��ܜ2M�j]�qyCӍ���T/jA.h�4�SO=�-��r��{��}��0aI����`�>r���0'st>3�P��j�ss������}��}���hƪB�P%�ϑ���>�@��s�+�"$"ҳ)���^.Sss3����%�s�^|�E�M�A�ĵ���sɓ���Yk�˓]�'�ũ
\����9]c���L��ܮZ�֘�Ev��|�tZ�C5蹼^�(�"�?ϔj^U�˩�J%444�k֬�t�֭[�o�>�
�(jn*}Ɖ��
�U"�.5P��iS0yV�Gp��!
}��v�@�u�]��N��\n���K$����v����ى|>:::Tf^�h�Y������S��29I3|�NŝUd�����o?�g*���䨿�x�q��d`۶Ȱ��M�R���M0��3�c�V&ξbŊszzz�۾}���$��TV`2�v��mi�@��,![ٝ�u���kϞ=�
6��r�:
�<d
0ض-f69 �9x�������y r�+��,��lV�%�Oe�u�ँ\K'�ؙ�J���L�>�uf����|#���'���F)߀�>>�xL�\��]�*���yD�Q�����W�ׯ�s"�
]����Q�?�8oK���fI�8��� �j��2�>�+����cM�ں������2��7��"#M�I�ޜ�Sǩj%z�Vሙ�YUU!�Quz.u��OTY,��9�G���:g:�NwΡLӁ� ��O��w�Z
Y�ie
j��@T���"�t$[��][*��t�ҿZ�r�7nLb��,�r�j��
�M�>G`z�W�����i�����UU�|^D��9�9�9�S u��fb��E��M����I�59��ס��@��T��h&
�u���e:p��鸷|��y^Yȹ+�3 N<�$�ϋ嵸�Gc�g�)�m<��Ŗ644���;�|���6P
h
�)��������o��}�F�
�e˖!UU�h������7�PH�zB�@�՝su�/���g�\����)qݘ�T�9����*��1YD?�v���Λ�ق{�s�ݝ69
x��/ĭy1N~���xh����͏4qɏbB�������K��st�8^{N�*��̾[��t@��d�A�C�d�� ��8
@p���}�B᳅B!�lٲ뛚�D�唓/sw`"̑�"_��jF����&��X@��!;��|�����\r3�W�N�[�yگ,��X
Q�P(`tt����R��X6��f��b��.��4�m���*��kn����xB�'��x�O<�Dkk�
@!I�B�I�<$K��9�n��](2���r��<�����t��W�,�sps"�R�9��m۶��;w~�k��]�lٿ���G)3���]��[�yڨ�T0�v�LOD}}=���(A�32��m@ѝD����9�s�Óh+O
���N��@���'R��b__�@��T*�7�N��d2��tz,�N�dPI�,`�Ai<�'�"�H��K�.=�K��|�2��B�H$��#��mL��,����2�m�'���K:?&�\�����r�;���_�sdd䟺���444@Q&��R�9��d�@�Ū�����3}�4�,�B*�¾}��k�.lذ���BLloo�ڵk���^x��,|.ҡ����ͧ�,�C�8xeP��[a�#+-�8::����L�����d2�gttt���ض�`@
�������������k/�Ǝa1�H�
8-�I���B�U}�c���y�S��Jy�T)/D*���
)�*��@
�PC���.�3��Ӈ��{�2�^���G�̝{���{�{�=��s;���<��_�u=��zzee%�Ǘ�92���dq�
n��}�mۮ��\<[α)r�U��t=�t���D[�^�t;Y�h�9s����ᛯ���o���~�k鑑d2���e>��yg��*Ei�1����q�K��E��[�p��9\�x����T*p]�L�|�B�d��V�����%����4Q:���\��Z
Լ���$/��W��Q�V����r�^��4�;�Riiyyy ��[����|��uWQg2�������}�����wy*:{4�M(��Q�ę�8L1w��]RE���A@�N������!�{�
>�88e��|a�j�o�A#
Y�TN�:������߿�W?�ю;Fiɧ���s���_ 샃�h�Z���L��|�<6'iyj.��Ν;�y���1::���Q����כk���3JD'zT�[�G���X�_�6O�g�~H�Mu�(�[��Z�Z�^.�k��,7�b�R)�ŢeYE�T�sl��̯ �|>Y�堃�q��؉'�X(�˲���tȯ�m���166��^{���٫^E`S�ѐ�f\����r�-�g��b�ۿ\��<���9��y�pw^X���]��c�������.--]�癙�}{��q6�������d2�l6��f�- ��q��۷�.
�B[�'��\K�;ʃ��d��.���088�L&���It-w�e+�ˇ
D ����Q�7���Ԧd~�_���VUUr�e5
UUU�Z���F��lޯ�j��߿_*�J�{�9u~�&O+@g��n`�$��=����_~�p����;��B����3s�t]��ӧ1;;�7�|��̚�K��$AUU���`bb����a����{�C=^^���8���._��mPzp�=�q�Z�Şfd����|�{ݽg�E
}�WL��������`4����=444�m۶�\./�r^���\���x�q���i�Z�f���c�8p`�
���뇉��B�eayyW�^E�XD&�i�i�-�:5�ۨq^?@���Q�Q�8�A�����s�0�V��)��lT��+�f�R�T�J��j�ZP�ϡ��j.���5U�z�ڙ��&��}��i˲�/���o������m���E|���8x�
����K�:jG4�{��E\�~o��dYnw
�6��g�all�m�Ke�i��u����~��Y�0���
ʉ�ιy[�!a_����y1���E���^>�}:8l*�EUUoݸq#���;�,�tu R�T�r�ȳ�>{(�ϧ��R��+�C��a�ܹ��7o�Z�bhh�-!�
H,�O�(F0���^��se��
g�,vp�*�mD�,��u�h6�j��T5Mk)��@Ӵ�V�Q.���bqŶ�2|�T�sh>��$GG~}s��0�z*4����Ǐ����o���O�����/�y��SSSSx饗`�f{Ko2����.*�
����y��,4Mk���$ �zW�\�$IF�Vk�q������gggϼ��{�Бj����ho��(��v��'��ߪ�C�aa��lQ�t*��$|�g��`�;�s���������,�$r��H[OJ�J��Z�I���T2�l�(Z�qQ6jqJ��@�'vQ�7X~/��GLӴ�0]�uUU5
��MӴ��f˶m��l*�i�t]W�߿_5M�Q.�EQ*�\��I1f�3wA�5&F�����K�`�AC�4|&b��ß|��]�%I���3όg�٧��lv0�N'��x�$�ƍ���þ}��ꫯ�T*u
��;\�p###8|�0J�E����,..^;s��s��]F���4!���A�F�X'Ё��)�y�'�����S{Ti�3�h)Ǐ=����ߓ�d&]��4M
|��M�L�!���RU5!˲�N��CCCD*��'��X*��I��t:�J�� �H����*�0Nρ)����H�g;�v-�rDZ-�rUU5,˲b��mێ�i���m۶��-]�I�,�4�z�ި��5�u͕�EU�*|�р�����7m8
��å�^��G��6P�9�F��~��wq��Ʌ���{�gffv���O
����m�v�r��T*%�رc�X,�n߾���cddD�uຮ�y4M�����w��n��ݻ�.--}s�ĉ�WVVn�/_>'o�:��6�M�g}�@�ʤ�t�"�À%�z�b�n1�0xF�RA�|�@��e9588��d2�x<K$q�qb###�|>?��d��$I�b�,�%IJ�a���d:��SR<O�\��N!n۶gY� �����X,&�b1�u]�q۶m�q�4M��<�(�9�eY�fSk�Z-UU�b�X�4��no$�`��4�r#Њ�\Q��3̢ƻQ��Z����0���ws���$c�X����Os�X��
o�r����D�������/���{��a#�D" �qG����B�p���ӟ^�t�+W��"���A�\�noȁ
zW��"�(�K=�Æ��r1�zi�i�Ν��StM�
(�/ïp�i�cjX2{�D��N�{N�������ԉѼ�hE� iE��K��Di��X�~(*�Ȩ��W��^Zļ9��L�_�=I66���_?�w�����i���
�#�s�СC����o��$�>�;ҨwM�y��
�6�6���~XA�����5Z^a�Sә������o~'�ŧ6��s`����z�NX��9.<�
�ݡ�ԋ�7p%�j�Y/�ܗ���A���y���
����K�pR8n��PDǎ|i*��2�����l4m:л^&(����!���W� b�Q~b#�k�#�����%ꞮE�������q6�D.�V���#
+��N� �����ϷѷD��31L��^n�Jҙh�
�×��cz/��WA�}�h*�(Li#����&��#ꕆS?q����(�K�tV�"��oX�j�YW�H�xb;YM��qy~�$u�aZ���z�,P DTv��DT��zXx?�AX|���þu�(�s��^y�J�E���(���������O�'1�.�}�{�Fv�"�xoZ�Ң���k}�w����>
�QqBA!��˩�pF�RHX�{�(�}-!}��}Q�F�$�W�0㓈��zƁ�N���
&�zI+�**�a�y��?b|����a�zq���$��9��'��/��E��F��k���{.6�~�x�x�p����W�w�j
��=���+[���R�]�������k?��L1~���N�
n>m}�(F���E�|��<���Ǟ�����G��M�ڢG�-�o���q�*ڢ-ڢ��(����IEND�B`�PK�[����logo.pngnu�[����PNG
IHDR�H|Ǝ�sBIT|d� pHYs
�
���
ZtEXtCreation Time09/20/11���tEXtSoftwareAdobe
Fireworks
CS6輲�iIDATx��}yx��;�h�,ɒw;��$�g��I�$$m�pz��{YJZn��r{�^�S(ˁ�h9N�B����
IL
��'��%�-[�%Y�F3��o&�ǒ-�
�����c��̷̼�~�o���8I$1�@@cccd@
@#��5�
;�1?�}���UUUSl6�Т�*�pm<ǝ��S�0,��T|���Z���êՌ����Y��f��ڷ�+V�
��w:m&�Hb�T���'Ns_�J@��';@������E��w�/̷ܲ��g?��K��!�9
��P|��'���B�+�,-x����R�#�KAbj�p^�̝���Q�_���r�#z�8Pe�Y?ѴJO��22��rus�s2�zk�}��ﻗ-�`����@̼s\�c�0��ȼ�����\����<:1����|�����Q,�`�Oܝ���Ba�+���~��7�$���0D�pU�2�`��*�8)*Ӝ��^���/�Q��j
��=�U�>�z����cF���i�p�
���7�7�3���P �Z�
&�$�������y�C�����9�D)K.~�ň\���V��e8�I$�Rr:��a�P�
j?f������k
�D�Hk/� �0%=V3�D�4"�;Q
b���g¹���yA'4
�▜MP��HK@ƥq���`�d�Kb��A��Cמ�ۣ�Fɼpg�9o�#�>t�!pU�9�ބ�vfHP�w�ޗh�V�e�J�jy�}
R3I�Y����Ss��_ �r���\��`A��g���j�v�=7�0==}!�\��WIDE"t���?p�f_�td��>/�,;�G�q@@v):�DtČLj�ȳQ�/D��
�tp�
܂�\�Ԥ��'pi�L
�4���'MS�1�5��/k�s8?�Fx$��td7�p����<K�:b*z{5Y�����M7��1�vY��M11�4�فA=�z���t
�6^�l�{P��7gA}��Yz��_�����
�~zqƟ���3��#@s�Դ�>�
1�Ĝ����v��E�T[czֹ���[|��CE7<�65;�˖�mٵkG�B��^M&/E/�sn@�Lɥ(a���]����(F��v@s��q�[7kl�,ˎ�$1�
�VR����2G䇥Ռ����WW)<���1�w8��7v?��[#+W���'��d���|�Ĝ��j.ι�|�bL�@��g�l^��~�7�
əu�;{�d%.@�e�!�Ҷu�Ƕ�[;kN�*��Θ�*��o�E�%u̹�����I*�������%��xL�!zb���l�l�&��\�ޱ�o;�.��(帚Sj��:6
�����Isn`*vdzmte�X�]��<A��u�>ӧ���D!��0��j:HJ̹��x~��N�r���{{^y�����p$%��@�\�*k��S�$&�BU�O��D�);)�sn
Q��y}H>f�^�e̻s��)c���.�����k�&�?1���s�"f� 7�8�`wn�L�H��d)��IP_&D_y��"��!-��;S��#>R~��]t�z��D���S��Ԙ����c@o��
��I�97
b�ݑ��;�XSE)]~��nɉv���B��I������A
�d|��Ǎ����R��%qi
�R��e~�4�Mz�yF��.f2=�(�UD�F.�B���qfHI��#vL�ċ���y�i�����1( �lj�x��D{���vfg:Y;���Tp6��7�B<�G��!��^M�g?���I֊����NN��&@��[zk�Oz!�i��u`t{�?.$`����}��d��X�ָ��֭[�fii�]*��aF�f�Y�r���Zm�N,���H_� `��JA���Hl
�}����XA�
}|_)�f��R���CNq;��BJA��tȘ|9�����8n��v`������͟��(n��#�����qai��N�X���E���lR
)
#ҥG\c�/�0-
�l)�,����Y__��b����CCCU���%����ҏ=�غ��K���{�����a��N���I<̗G��a�������i�&1Y���������
ҝ!��.t��E)��c*J�v��z��|����b��8�t��d��@(����/?�c�i���G��
�ֆt�D��д܂}��մ���������
7����[[[�8x���Ph!qaddD�---�744"�L�٬y��X7Q:�ί��K�,髬�<\TTt��A6c@����R���еǏ�N___�t�.�ڵk����"mR,Pu�ĉ]---eN�3!q|;�
�<5H�b�۽�̙3[L&Ӽxg���`������D�P*��g�/�����F�l�F����W��G}�p��⮮���~��I }}}Z�
6�ꫯ�M�Ld�ەv�]y��9�����f�w�{�A�E\
��<5
?>z����9h���6www��g�}����$�sƷ�
B�V744����X����R�D_�3�r{
e�[�W�g_v�˿��BXŁWM�c���1���Od��@�K��/������^�����\��x��������_}�{�'?kb���������a��$�����:u�t�mĀ���s��}��>ؕH��G
2e_�o߾_���&���
��#r0!>6/��ټ��r���J�����Lm��\}��8'�I�ryS����lWEJ�����:�������f�}�PSS�Q[[{$�{wr
:�dJ�oݺ�E�F��7j<=�d__�����ݻ@�̜3g�����p�H ��
���ۼ^�E��|���Zz�ĉ[N�>]x1ډfK�6
�6�nÊn�
a!��zL=7[�1�0~u� ��ٳU��h���ꮭ�}d
QE&b�Á�Ё��������>ZWWW�c�Z��pxZ��C��߸qcmII�����Z�rrr�_~y�F��())i��{%i,ٿ�c�
#�(J
����{f�y�>���㨮��i������/�&��v�9��՟|�ɚPh�%M������Z�֡��m,ˆk�i��i���>|x�f1�c�0���l���ب�n2��b�VSSS��v7&&e$�R�|���T��
64�ܹ�Ý;w�����ɤ�8NѪ��(�T*U�������e�#C}}}mIIIk{{�Z1Y������z��
��&�ϡI�m0�K# AQ(��d�>}�TL�����cÆ
�2CmM�����,9u��5n�{�[�x���o|��m.b�<U*X��I���+1g�4.�k��+���F�r1&�£A
]�Tf�:uj�ٳgW���5���Z�fM;��Nl�P�Z�j�ƍ��{�W��W8�����Z"&������Q��
�'����0"�H$��4vww�"OHMM�oذ��X����
�`lmm-��\.g����$�A�HL4��6�kĔ��;����
�ĩNOB���u|2}�����Ǐw˖-����
�!�E���Zm��:va��ѡ����oK����z�iqS�,��aD�'�JAQ����}�����r3��A�u+���F�
��f�)#����t���� �o{��p8�[�����@�)�2�q���d�
���W6�e�=�E��b�(�D
{�
�����z�)�r�V�!�Tg�X�H������4̀\�����e��.1Čb1�/
�A,!d"��h���ff��+((\z11@�����qq�^��aT�K$h1�����|;S���
�q�E���9b��#�����5�z�
���|�(�a�H8~�����P�,��'--mxdd�
����V,P�=��&[��!��X,�Q?���~�s��B��$��@YOO�^\OIII+��4)&��K8�<c"g&��
�l6+�72##c���[E�r
R9���1�ީ�C�x���V�.F}J���JĐLJ1Yv��H�l���/���ƌ{��V�^߁��6��1$f��t`-�
��t�ɓ'�#�+..v��,ˈo0M�F���=�ًbs�Q�r~�BЈZ|�h<�E�"�_|�E�����n
�7�j���\"'{s�������a���������t�A�V�V�q3V�eb��_
��n��9rdջ�[(�VUU�
���(�"9��
��FK����=@��dL�]3���p,�j���ƹ�O�8���ӳv���m
Ĵ�9bvww����'�����ʕ+���K�L$1C�И����E�u�ք��`0��m�K8� �����b��x�^���?��njj�`S<��|>Z���W���m۶yw���
��A�3'G���㎗@v9B����t�(�,!����p
dgd�b�#@.�g��RF�|3��А�O>�ݱc���[K̬�,��={^4��=�\���IL�{@,1�J��q�W�\�&�N��P(��v��8N
�����Zs]]ݘxߍ7~
�}��#�N��_s�5_oٲ�8�7���e��aF,1��
`0�%�T*s�u��t�Mogff��
��s�%>�����v�F����n;�u��3�^��#�\��h���߾}�G
zxp�3�ݲ���l4��M�q����
���:]
���}�/]������r�B�
�@`$--�@Ӳe�^\\\�T*��^�%�R�<%%%ݛ6m:
��I;��6�^��UW]�8%%�@�tB�U�a��Ǯ�j�`����S*��Y&DEE�m�ҥg���ڿ��g�+��|ꩧV������;A�r,��lM�oll,��?��C���瞓����b֘aI��6�
.B!�a*@�y��3
��`4!L��'�q5ո@V�v�<$!�M�ם��CbL$�
����b�N�F��.�
a4�%�%� ̱�>�m*�BN�w���+i�f3
����!�$@Y
�P���(d'N'RHg
"zd2�~��T�����D�m�㲍��~��p
��2d�!`��aA,��!y&yA�p�.v��d`��\Š0�q��Ĝ-�Gcc��S���/�
��/>W�ќ|'���M`:�J�0�Eo�?���r���T�!��;S�����7�%�������,�=������ 1�q%Ib�r-�d*%�$�2�4�U��pڭ�'8W�*
��p���ik��c��b`��J8�Sy
�8@5H�� �)Jx���l��Y��7g
��J��
D*�(SIX�Q��ӆ;�N�dѐ���w�A�Ia��"a3Yn���ы�
ꃜ?F �[��Z�.8$�$ʸZ�:���r��<?f�<d�dY$ʢ�w�X��?��$1g
�IɞΒ݇���SGڞ[��W����X�w�[�tlo�xsW���ג��݊��Q���g��~��P�&�4�*��"���5}������V4����~�.S@���U�3��]ؽ��_M���m�ؒ!����J���?
��e����g9�����Q�W]�ri��v�������?[q����ߺ�nؠ����K:�UIXC�q�$o ڌk�2��d���ԑ���=�ǁ������j~�Wm�R�8�TI��/�4�E�|ΧJ��距>UV��{�ղ�]���g ��[�j�Z��k߲��w���/��ޕ)�GL���Uki&OK3yQ�H�W.��27����?�5���Wj�'WI���.�l8���y}G_/?��>���P��+����Ci��~~ԩ[h���H��e�#}��l9�e}�Z����t�7WhO�Ӷ��V����7mg^6g�S�4<_<�gL�w�Hm8�hQ�#
U� K�^̺-WX���x�M���[����"�ܟ�++��/
��W�qw��h�j|�އ@��s�`�@p�Ȱ���Z�sA�H��jo��I�ʥ�]�q�_�u��g��Y�p�Bt�H�_�u����nMmw@�^�q�[��� �a�ҿ&�K��u�I�v
�"[H��"
3g=)���/Ӹ-���E��ߓo:���eK)`X<�z��D��1k��ۯ�����"8P�fʃ���d��q�k��}�ʝ�ڵ:�!�>��K��x��,Is�`9*������,Y輇���L�u0)�!Yz�,d��
+�Rv̌�!��.X�
��b
�2U��SJX�b£�A��ZWg_@a��d!�B���0�Z��Sܜ5x����l�_wVD4lj��e%�@tĴ�m�]Ϛ���9�@C<q�%E��=�D������ڭٶ�̒{wfX�ܝo�@�$�A��
��',�e!W���R�@I(��26z^�?E�zai�N!A��UK)nҝM�@P#a��T�L�PM��`/S{m��J�|M�R<��:�a�|��צ����,�<�N�+�K�g3~����c�E3N�Fއ6�
��|yC�P��׳KR�Z�d�d����B�r�,�p������\ڟ��Β�w�
<1g�����@
0��}�����/]�����\���$��E�Wml�n8�����U@q�\���ӆu�6{�7��q�I�p�X�뚴�#G���-^���FR��U(��`)P��>��Wk]G��G��}��7��,�����y�Ay*o�W=�p�oܸ���
R���%$˶�d_��Y@Q'o�
�FRo
����r����p�[\^���|�f\n
(VP�PI�cv����-��t��(ʗzg��-$;_�u�>ۗwE�W��J������0�mn<[�}��kߐ6�l�:%���J��.���Y�u�ݙa��Qk�* ܙ9T��S�#��g%Ţ���g%^+CwW�xg�e���
�~�b���(!e�JT��:�Eթ#_�Q�ȗ�и'�Ի���d��{`���N���+מ|�!���̡���{6c�:g�+,u1�-P�Ϛ�W�x՛��;N�8���������s������v>�]�C%a�[��o����9�H�k�����(m
��x�(��$�rq� 68��(�ѵ����$Y1
Q5V�)VB.!{S�G�c���n�JM���
{��l�{M;�^�q_��*_�d#Y�}3����i�d�b����<����I�����w��?~˒q�ke�σĺ��d��5�zQy��Q�_�V�UUU`vKL/����e
!�%��
�@��Ob��'C�����sŷ�ֺ��~eMq#�J��˛�Ϯ�
h�?�!oODY���8B��^M��pT
J9@�����Ĭ��b@H)��$1�J���\���o��D}��a�Zu��Yi?Y����S�\@�צ\*h@r�3@��F�S�A�*�7OT�*��|.1l�0yIEND�B`�PKt��[��,I� � admin-phocaitems-modal.jsnu�[���PKt��[_�<
��� admin-phocaitems-modal.min.jsnu�[���PKt��[�,(Tz
z �bootstrap.typeahead.jsnu�[���PKt��[��L
�/coordinates.jsnu�[���PKt��[@Þͳ:�:
�7geoxml3.jsnu�[���PKt��[Y=�@&&�rgeoxml3.min.jsnu�[���PKt��[�#o,,
'�index.htmlnu�[���PKt��[1�����jquery.equalheights.min.jsnu�[���PKt��[�,�Bd+d+��phocacart.jsnu�[���PKt��[0���J�phocacartbulkprice.jsnu�[���PKt��[�^}��A�Aa�phocacartform.jsnu�[���PKt��[�#o,,Iselect2/index.htmlnu�[���PKt��[�X����select2/LICENSEnu�[���PKt��[[�
99� select2/select2-spinner.gifnu�[���PKt��[K#�=E=E$select2/select2.cssnu�[���PKt��[<��y
y
�Vselect2/select2.jsnu�[���PKt��[2�9�ee_aselect2/select2.pngnu�[���PKt��[Ť-[MMdselect2/select2x2.pngnu�[���PK�d�[gKV�,,�gphocainstall.cssnu�[���PK�[�10�ttybg-install.pngnu�[���PK�[�n�Z Z ��bg-upgrade.pngnu�[���PK�[�T����O�btn.pngnu�[���PK�[4�##
�icon-16-pi-menu.pngnu�[���PK�[Ѯ�� � s�icon-48-pi-install.pngnu�[���PK�[�"��AA��icon-logo-product.pngnu�[���PK�[#*�JJ�icon-logo-seal.pngnu�[���PK�[p���==��line.pngnu�[���PK�[���qv_v_�logo-phoca.pngnu�[���PK�[�����%logo.pngnu�[���PK1 E