",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),1===arguments.length)return o[i]===e?null:o[i];o[i]=s}else{if(1===arguments.length)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})})(jQuery);(function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var a,o=Math.max,r=Math.abs,l=Math.round,h=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(a!==e)return a;var i,s,n=t("
"),o=n.children()[0];return t("body").append(n),i=o.offsetWidth,n.css("overflow","scroll"),s=o.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),a=i-s},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width
s?"left":i>0?"right":"center",vertical:0>a?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(l.horizontal="center"),d>g&&g>r(n+a)&&(l.vertical="middle"),l.important=o(r(i),r(s))>o(r(n),r(a))?"horizontal":"vertical",e.using.call(this,t,l)}),c.offset(t.extend(M,{using:h}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,o=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-o-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-o-a,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,o=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-o-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-o-a,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,a,o=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(o?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(a in s)e.style[a]=s[a];e.appendChild(r),i=o||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()})(jQuery);
\ No newline at end of file
diff --git a/resources/share/jquery.transit.min.js b/resources/share/jquery.transit.min.js
index 96458cb..5176d54 100644
--- a/resources/share/jquery.transit.min.js
+++ b/resources/share/jquery.transit.min.js
@@ -1,708 +1,708 @@
-/*!
- * jQuery Transit - CSS3 transitions and transformations
- * (c) 2011-2012 Rico Sta. Cruz
- * MIT Licensed.
- *
- * http://ricostacruz.com/jquery.transit
- * http://github.com/rstacruz/jquery.transit
- */
-
-(function($) {
- $.transit = {
- version: "0.9.9",
-
- // Map of $.css() keys to values for 'transitionProperty'.
- // See https://developer.mozilla.org/en/CSS/CSS_transitions#Properties_that_can_be_animated
- propertyMap: {
- marginLeft : 'margin',
- marginRight : 'margin',
- marginBottom : 'margin',
- marginTop : 'margin',
- paddingLeft : 'padding',
- paddingRight : 'padding',
- paddingBottom : 'padding',
- paddingTop : 'padding'
- },
-
- // Will simply transition "instantly" if false
- enabled: true,
-
- // Set this to false if you don't want to use the transition end property.
- useTransitionEnd: false
- };
-
- var div = document.createElement('div');
- var support = {};
-
- // Helper function to get the proper vendor property name.
- // (`transition` => `WebkitTransition`)
- function getVendorPropertyName(prop) {
- // Handle unprefixed versions (FF16+, for example)
- if (prop in div.style) return prop;
-
- var prefixes = ['Moz', 'Webkit', 'O', 'ms'];
- var prop_ = prop.charAt(0).toUpperCase() + prop.substr(1);
-
- if (prop in div.style) { return prop; }
-
- for (var i=0; i -1;
-
- // Check for the browser's transitions support.
- support.transition = getVendorPropertyName('transition');
- support.transitionDelay = getVendorPropertyName('transitionDelay');
- support.transform = getVendorPropertyName('transform');
- support.transformOrigin = getVendorPropertyName('transformOrigin');
- support.transform3d = checkTransform3dSupport();
-
- var eventNames = {
- 'transition': 'transitionEnd',
- 'MozTransition': 'transitionend',
- 'OTransition': 'oTransitionEnd',
- 'WebkitTransition': 'webkitTransitionEnd',
- 'msTransition': 'MSTransitionEnd'
- };
-
- // Detect the 'transitionend' event needed.
- var transitionEnd = support.transitionEnd = eventNames[support.transition] || null;
-
- // Populate jQuery's `$.support` with the vendor prefixes we know.
- // As per [jQuery's cssHooks documentation](http://api.jquery.com/jQuery.cssHooks/),
- // we set $.support.transition to a string of the actual property name used.
- for (var key in support) {
- if (support.hasOwnProperty(key) && typeof $.support[key] === 'undefined') {
- $.support[key] = support[key];
- }
- }
-
- // Avoid memory leak in IE.
- div = null;
-
- // ## $.cssEase
- // List of easing aliases that you can use with `$.fn.transition`.
- $.cssEase = {
- '_default': 'ease',
- 'in': 'ease-in',
- 'out': 'ease-out',
- 'in-out': 'ease-in-out',
- 'snap': 'cubic-bezier(0,1,.5,1)',
- // Penner equations
- 'easeOutCubic': 'cubic-bezier(.215,.61,.355,1)',
- 'easeInOutCubic': 'cubic-bezier(.645,.045,.355,1)',
- 'easeInCirc': 'cubic-bezier(.6,.04,.98,.335)',
- 'easeOutCirc': 'cubic-bezier(.075,.82,.165,1)',
- 'easeInOutCirc': 'cubic-bezier(.785,.135,.15,.86)',
- 'easeInExpo': 'cubic-bezier(.95,.05,.795,.035)',
- 'easeOutExpo': 'cubic-bezier(.19,1,.22,1)',
- 'easeInOutExpo': 'cubic-bezier(1,0,0,1)',
- 'easeInQuad': 'cubic-bezier(.55,.085,.68,.53)',
- 'easeOutQuad': 'cubic-bezier(.25,.46,.45,.94)',
- 'easeInOutQuad': 'cubic-bezier(.455,.03,.515,.955)',
- 'easeInQuart': 'cubic-bezier(.895,.03,.685,.22)',
- 'easeOutQuart': 'cubic-bezier(.165,.84,.44,1)',
- 'easeInOutQuart': 'cubic-bezier(.77,0,.175,1)',
- 'easeInQuint': 'cubic-bezier(.755,.05,.855,.06)',
- 'easeOutQuint': 'cubic-bezier(.23,1,.32,1)',
- 'easeInOutQuint': 'cubic-bezier(.86,0,.07,1)',
- 'easeInSine': 'cubic-bezier(.47,0,.745,.715)',
- 'easeOutSine': 'cubic-bezier(.39,.575,.565,1)',
- 'easeInOutSine': 'cubic-bezier(.445,.05,.55,.95)',
- 'easeInBack': 'cubic-bezier(.6,-.28,.735,.045)',
- 'easeOutBack': 'cubic-bezier(.175, .885,.32,1.275)',
- 'easeInOutBack': 'cubic-bezier(.68,-.55,.265,1.55)'
- };
-
- // ## 'transform' CSS hook
- // Allows you to use the `transform` property in CSS.
- //
- // $("#hello").css({ transform: "rotate(90deg)" });
- //
- // $("#hello").css('transform');
- // //=> { rotate: '90deg' }
- //
- $.cssHooks['transit:transform'] = {
- // The getter returns a `Transform` object.
- get: function(elem) {
- return $(elem).data('transform') || new Transform();
- },
-
- // The setter accepts a `Transform` object or a string.
- set: function(elem, v) {
- var value = v;
-
- if (!(value instanceof Transform)) {
- value = new Transform(value);
- }
-
- // We've seen the 3D version of Scale() not work in Chrome when the
- // element being scaled extends outside of the viewport. Thus, we're
- // forcing Chrome to not use the 3d transforms as well. Not sure if
- // translate is affectede, but not risking it. Detection code from
- // http://davidwalsh.name/detecting-google-chrome-javascript
- if (support.transform === 'WebkitTransform' && !isChrome) {
- elem.style[support.transform] = value.toString(true);
- } else {
- elem.style[support.transform] = value.toString();
- }
-
- $(elem).data('transform', value);
- }
- };
-
- // Add a CSS hook for `.css({ transform: '...' })`.
- // In jQuery 1.8+, this will intentionally override the default `transform`
- // CSS hook so it'll play well with Transit. (see issue #62)
- $.cssHooks.transform = {
- set: $.cssHooks['transit:transform'].set
- };
-
- // jQuery 1.8+ supports prefix-free transitions, so these polyfills will not
- // be necessary.
- if ($.fn.jquery < "1.8") {
- // ## 'transformOrigin' CSS hook
- // Allows the use for `transformOrigin` to define where scaling and rotation
- // is pivoted.
- //
- // $("#hello").css({ transformOrigin: '0 0' });
- //
- $.cssHooks.transformOrigin = {
- get: function(elem) {
- return elem.style[support.transformOrigin];
- },
- set: function(elem, value) {
- elem.style[support.transformOrigin] = value;
- }
- };
-
- // ## 'transition' CSS hook
- // Allows you to use the `transition` property in CSS.
- //
- // $("#hello").css({ transition: 'all 0 ease 0' });
- //
- $.cssHooks.transition = {
- get: function(elem) {
- return elem.style[support.transition];
- },
- set: function(elem, value) {
- elem.style[support.transition] = value;
- }
- };
- }
-
- // ## Other CSS hooks
- // Allows you to rotate, scale and translate.
- registerCssHook('scale');
- registerCssHook('translate');
- registerCssHook('rotate');
- registerCssHook('rotateX');
- registerCssHook('rotateY');
- registerCssHook('rotate3d');
- registerCssHook('perspective');
- registerCssHook('skewX');
- registerCssHook('skewY');
- registerCssHook('x', true);
- registerCssHook('y', true);
-
- // ## Transform class
- // This is the main class of a transformation property that powers
- // `$.fn.css({ transform: '...' })`.
- //
- // This is, in essence, a dictionary object with key/values as `-transform`
- // properties.
- //
- // var t = new Transform("rotate(90) scale(4)");
- //
- // t.rotate //=> "90deg"
- // t.scale //=> "4,4"
- //
- // Setters are accounted for.
- //
- // t.set('rotate', 4)
- // t.rotate //=> "4deg"
- //
- // Convert it to a CSS string using the `toString()` and `toString(true)` (for WebKit)
- // functions.
- //
- // t.toString() //=> "rotate(90deg) scale(4,4)"
- // t.toString(true) //=> "rotate(90deg) scale3d(4,4,0)" (WebKit version)
- //
- function Transform(str) {
- if (typeof str === 'string') { this.parse(str); }
- return this;
- }
-
- Transform.prototype = {
- // ### setFromString()
- // Sets a property from a string.
- //
- // t.setFromString('scale', '2,4');
- // // Same as set('scale', '2', '4');
- //
- setFromString: function(prop, val) {
- var args =
- (typeof val === 'string') ? val.split(',') :
- (val.constructor === Array) ? val :
- [ val ];
-
- args.unshift(prop);
-
- Transform.prototype.set.apply(this, args);
- },
-
- // ### set()
- // Sets a property.
- //
- // t.set('scale', 2, 4);
- //
- set: function(prop) {
- var args = Array.prototype.slice.apply(arguments, [1]);
- if (this.setter[prop]) {
- this.setter[prop].apply(this, args);
- } else {
- this[prop] = args.join(',');
- }
- },
-
- get: function(prop) {
- if (this.getter[prop]) {
- return this.getter[prop].apply(this);
- } else {
- return this[prop] || 0;
- }
- },
-
- setter: {
- // ### rotate
- //
- // .css({ rotate: 30 })
- // .css({ rotate: "30" })
- // .css({ rotate: "30deg" })
- // .css({ rotate: "30deg" })
- //
- rotate: function(theta) {
- this.rotate = unit(theta, 'deg');
- },
-
- rotateX: function(theta) {
- this.rotateX = unit(theta, 'deg');
- },
-
- rotateY: function(theta) {
- this.rotateY = unit(theta, 'deg');
- },
-
- // ### scale
- //
- // .css({ scale: 9 }) //=> "scale(9,9)"
- // .css({ scale: '3,2' }) //=> "scale(3,2)"
- //
- scale: function(x, y) {
- if (y === undefined) { y = x; }
- this.scale = x + "," + y;
- },
-
- // ### skewX + skewY
- skewX: function(x) {
- this.skewX = unit(x, 'deg');
- },
-
- skewY: function(y) {
- this.skewY = unit(y, 'deg');
- },
-
- // ### perspectvie
- perspective: function(dist) {
- this.perspective = unit(dist, 'px');
- },
-
- // ### x / y
- // Translations. Notice how this keeps the other value.
- //
- // .css({ x: 4 }) //=> "translate(4px, 0)"
- // .css({ y: 10 }) //=> "translate(4px, 10px)"
- //
- x: function(x) {
- this.set('translate', x, null);
- },
-
- y: function(y) {
- this.set('translate', null, y);
- },
-
- // ### translate
- // Notice how this keeps the other value.
- //
- // .css({ translate: '2, 5' }) //=> "translate(2px, 5px)"
- //
- translate: function(x, y) {
- if (this._translateX === undefined) { this._translateX = 0; }
- if (this._translateY === undefined) { this._translateY = 0; }
-
- if (x !== null && x !== undefined) { this._translateX = unit(x, 'px'); }
- if (y !== null && y !== undefined) { this._translateY = unit(y, 'px'); }
-
- this.translate = this._translateX + "," + this._translateY;
- }
- },
-
- getter: {
- x: function() {
- return this._translateX || 0;
- },
-
- y: function() {
- return this._translateY || 0;
- },
-
- scale: function() {
- var s = (this.scale || "1,1").split(',');
- if (s[0]) { s[0] = parseFloat(s[0]); }
- if (s[1]) { s[1] = parseFloat(s[1]); }
-
- // "2.5,2.5" => 2.5
- // "2.5,1" => [2.5,1]
- return (s[0] === s[1]) ? s[0] : s;
- },
-
- rotate3d: function() {
- var s = (this.rotate3d || "0,0,0,0deg").split(',');
- for (var i=0; i<=3; ++i) {
- if (s[i]) { s[i] = parseFloat(s[i]); }
- }
- if (s[3]) { s[3] = unit(s[3], 'deg'); }
-
- return s;
- }
- },
-
- // ### parse()
- // Parses from a string. Called on constructor.
- parse: function(str) {
- var self = this;
- str.replace(/([a-zA-Z0-9]+)\((.*?)\)/g, function(x, prop, val) {
- self.setFromString(prop, val);
- });
- },
-
- // ### toString()
- // Converts to a `transition` CSS property string. If `use3d` is given,
- // it converts to a `-webkit-transition` CSS property string instead.
- toString: function(use3d) {
- var re = [];
-
- for (var i in this) {
- if (this.hasOwnProperty(i)) {
- // Don't use 3D transformations if the browser can't support it.
- if ((!support.transform3d) && (
- (i === 'rotateX') ||
- (i === 'rotateY') ||
- (i === 'perspective') ||
- (i === 'transformOrigin'))) { continue; }
-
- if (i[0] !== '_') {
- if (use3d && (i === 'scale')) {
- re.push(i + "3d(" + this[i] + ",1)");
- } else if (use3d && (i === 'translate')) {
- re.push(i + "3d(" + this[i] + ",0)");
- } else {
- re.push(i + "(" + this[i] + ")");
- }
- }
- }
- }
-
- return re.join(" ");
- }
- };
-
- function callOrQueue(self, queue, fn) {
- if (queue === true) {
- self.queue(fn);
- } else if (queue) {
- self.queue(queue, fn);
- } else {
- fn();
- }
- }
-
- // ### getProperties(dict)
- // Returns properties (for `transition-property`) for dictionary `props`. The
- // value of `props` is what you would expect in `$.css(...)`.
- function getProperties(props) {
- var re = [];
-
- $.each(props, function(key) {
- key = $.camelCase(key); // Convert "text-align" => "textAlign"
- key = $.transit.propertyMap[key] || $.cssProps[key] || key;
- key = uncamel(key); // Convert back to dasherized
-
- if ($.inArray(key, re) === -1) { re.push(key); }
- });
-
- return re;
- }
-
- // ### getTransition()
- // Returns the transition string to be used for the `transition` CSS property.
- //
- // Example:
- //
- // getTransition({ opacity: 1, rotate: 30 }, 500, 'ease');
- // //=> 'opacity 500ms ease, -webkit-transform 500ms ease'
- //
- function getTransition(properties, duration, easing, delay) {
- // Get the CSS properties needed.
- var props = getProperties(properties);
-
- // Account for aliases (`in` => `ease-in`).
- if ($.cssEase[easing]) { easing = $.cssEase[easing]; }
-
- // Build the duration/easing/delay attributes for it.
- var attribs = '' + toMS(duration) + ' ' + easing;
- if (parseInt(delay, 10) > 0) { attribs += ' ' + toMS(delay); }
-
- // For more properties, add them this way:
- // "margin 200ms ease, padding 200ms ease, ..."
- var transitions = [];
- $.each(props, function(i, name) {
- transitions.push(name + ' ' + attribs);
- });
-
- return transitions.join(', ');
- }
-
- // ## $.fn.transition
- // Works like $.fn.animate(), but uses CSS transitions.
- //
- // $("...").transition({ opacity: 0.1, scale: 0.3 });
- //
- // // Specific duration
- // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500);
- //
- // // With duration and easing
- // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500, 'in');
- //
- // // With callback
- // $("...").transition({ opacity: 0.1, scale: 0.3 }, function() { ... });
- //
- // // With everything
- // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500, 'in', function() { ... });
- //
- // // Alternate syntax
- // $("...").transition({
- // opacity: 0.1,
- // duration: 200,
- // delay: 40,
- // easing: 'in',
- // complete: function() { /* ... */ }
- // });
- //
- $.fn.transition = $.fn.transit = function(properties, duration, easing, callback) {
- var self = this;
- var delay = 0;
- var queue = true;
-
- var theseProperties = jQuery.extend(true, {}, properties);
-
- // Account for `.transition(properties, callback)`.
- if (typeof duration === 'function') {
- callback = duration;
- duration = undefined;
- }
-
- // Account for `.transition(properties, options)`.
- if (typeof duration === 'object') {
- easing = duration.easing;
- delay = duration.delay || 0;
- queue = duration.queue || true;
- callback = duration.complete;
- duration = duration.duration;
- }
-
- // Account for `.transition(properties, duration, callback)`.
- if (typeof easing === 'function') {
- callback = easing;
- easing = undefined;
- }
-
- // Alternate syntax.
- if (typeof theseProperties.easing !== 'undefined') {
- easing = theseProperties.easing;
- delete theseProperties.easing;
- }
-
- if (typeof theseProperties.duration !== 'undefined') {
- duration = theseProperties.duration;
- delete theseProperties.duration;
- }
-
- if (typeof theseProperties.complete !== 'undefined') {
- callback = theseProperties.complete;
- delete theseProperties.complete;
- }
-
- if (typeof theseProperties.queue !== 'undefined') {
- queue = theseProperties.queue;
- delete theseProperties.queue;
- }
-
- if (typeof theseProperties.delay !== 'undefined') {
- delay = theseProperties.delay;
- delete theseProperties.delay;
- }
-
- // Set defaults. (`400` duration, `ease` easing)
- if (typeof duration === 'undefined') { duration = $.fx.speeds._default; }
- if (typeof easing === 'undefined') { easing = $.cssEase._default; }
-
- duration = toMS(duration);
-
- // Build the `transition` property.
- var transitionValue = getTransition(theseProperties, duration, easing, delay);
-
- // Compute delay until callback.
- // If this becomes 0, don't bother setting the transition property.
- var work = $.transit.enabled && support.transition;
- var i = work ? (parseInt(duration, 10) + parseInt(delay, 10)) : 0;
-
- // If there's nothing to do...
- if (i === 0) {
- var fn = function(next) {
- self.css(theseProperties);
- if (callback) { callback.apply(self); }
- if (next) { next(); }
- };
-
- callOrQueue(self, queue, fn);
- return self;
- }
-
- // Save the old transitions of each element so we can restore it later.
- var oldTransitions = {};
-
- var run = function(nextCall) {
- var bound = false;
-
- // Prepare the callback.
- var cb = function() {
- if (bound) { self.unbind(transitionEnd, cb); }
-
- if (i > 0) {
- self.each(function() {
- this.style[support.transition] = (oldTransitions[this] || null);
- });
- }
-
- if (typeof callback === 'function') { callback.apply(self); }
- if (typeof nextCall === 'function') { nextCall(); }
- };
-
- if ((i > 0) && (transitionEnd) && ($.transit.useTransitionEnd)) {
- // Use the 'transitionend' event if it's available.
- bound = true;
- self.bind(transitionEnd, cb);
- } else {
- // Fallback to timers if the 'transitionend' event isn't supported.
- window.setTimeout(cb, i);
- }
-
- // Apply transitions.
- self.each(function() {
- if (i > 0) {
- this.style[support.transition] = transitionValue;
- }
- $(this).css(properties);
- });
- };
-
- // Defer running. This allows the browser to paint any pending CSS it hasn't
- // painted yet before doing the transitions.
- var deferredRun = function(next) {
- this.offsetWidth; // force a repaint
- run(next);
- };
-
- // Use jQuery's fx queue.
- callOrQueue(self, queue, deferredRun);
-
- // Chainability.
- return this;
- };
-
- function registerCssHook(prop, isPixels) {
- // For certain properties, the 'px' should not be implied.
- if (!isPixels) { $.cssNumber[prop] = true; }
-
- $.transit.propertyMap[prop] = support.transform;
-
- $.cssHooks[prop] = {
- get: function(elem) {
- var t = $(elem).css('transit:transform');
- return t.get(prop);
- },
-
- set: function(elem, value) {
- var t = $(elem).css('transit:transform');
- t.setFromString(prop, value);
-
- $(elem).css({ 'transit:transform': t });
- }
- };
-
- }
-
- // ### uncamel(str)
- // Converts a camelcase string to a dasherized string.
- // (`marginLeft` => `margin-left`)
- function uncamel(str) {
- return str.replace(/([A-Z])/g, function(letter) { return '-' + letter.toLowerCase(); });
- }
-
- // ### unit(number, unit)
- // Ensures that number `number` has a unit. If no unit is found, assume the
- // default is `unit`.
- //
- // unit(2, 'px') //=> "2px"
- // unit("30deg", 'rad') //=> "30deg"
- //
- function unit(i, units) {
- if ((typeof i === "string") && (!i.match(/^[\-0-9\.]+$/))) {
- return i;
- } else {
- return "" + i + units;
- }
- }
-
- // ### toMS(duration)
- // Converts given `duration` to a millisecond string.
- //
- // toMS('fast') => $.fx.speeds[i] => "200ms"
- // toMS('normal') //=> $.fx.speeds._default => "400ms"
- // toMS(10) //=> '10ms'
- // toMS('100ms') //=> '100ms'
- //
- function toMS(duration) {
- var i = duration;
-
- // Allow string durations like 'fast' and 'slow', without overriding numeric values.
- if (typeof i === 'string' && (!i.match(/^[\-0-9\.]+/))) { i = $.fx.speeds[i] || $.fx.speeds._default; }
-
- return unit(i, 'ms');
- }
-
- // Export some functions for testable-ness.
- $.transit.getTransitionValue = getTransition;
-})(jQuery);
+/*!
+ * jQuery Transit - CSS3 transitions and transformations
+ * (c) 2011-2012 Rico Sta. Cruz
+ * MIT Licensed.
+ *
+ * http://ricostacruz.com/jquery.transit
+ * http://github.com/rstacruz/jquery.transit
+ */
+
+(function($) {
+ $.transit = {
+ version: "0.9.9",
+
+ // Map of $.css() keys to values for 'transitionProperty'.
+ // See https://developer.mozilla.org/en/CSS/CSS_transitions#Properties_that_can_be_animated
+ propertyMap: {
+ marginLeft : 'margin',
+ marginRight : 'margin',
+ marginBottom : 'margin',
+ marginTop : 'margin',
+ paddingLeft : 'padding',
+ paddingRight : 'padding',
+ paddingBottom : 'padding',
+ paddingTop : 'padding'
+ },
+
+ // Will simply transition "instantly" if false
+ enabled: true,
+
+ // Set this to false if you don't want to use the transition end property.
+ useTransitionEnd: false
+ };
+
+ var div = document.createElement('div');
+ var support = {};
+
+ // Helper function to get the proper vendor property name.
+ // (`transition` => `WebkitTransition`)
+ function getVendorPropertyName(prop) {
+ // Handle unprefixed versions (FF16+, for example)
+ if (prop in div.style) return prop;
+
+ var prefixes = ['Moz', 'Webkit', 'O', 'ms'];
+ var prop_ = prop.charAt(0).toUpperCase() + prop.substr(1);
+
+ if (prop in div.style) { return prop; }
+
+ for (var i=0; i -1;
+
+ // Check for the browser's transitions support.
+ support.transition = getVendorPropertyName('transition');
+ support.transitionDelay = getVendorPropertyName('transitionDelay');
+ support.transform = getVendorPropertyName('transform');
+ support.transformOrigin = getVendorPropertyName('transformOrigin');
+ support.transform3d = checkTransform3dSupport();
+
+ var eventNames = {
+ 'transition': 'transitionEnd',
+ 'MozTransition': 'transitionend',
+ 'OTransition': 'oTransitionEnd',
+ 'WebkitTransition': 'webkitTransitionEnd',
+ 'msTransition': 'MSTransitionEnd'
+ };
+
+ // Detect the 'transitionend' event needed.
+ var transitionEnd = support.transitionEnd = eventNames[support.transition] || null;
+
+ // Populate jQuery's `$.support` with the vendor prefixes we know.
+ // As per [jQuery's cssHooks documentation](http://api.jquery.com/jQuery.cssHooks/),
+ // we set $.support.transition to a string of the actual property name used.
+ for (var key in support) {
+ if (support.hasOwnProperty(key) && typeof $.support[key] === 'undefined') {
+ $.support[key] = support[key];
+ }
+ }
+
+ // Avoid memory leak in IE.
+ div = null;
+
+ // ## $.cssEase
+ // List of easing aliases that you can use with `$.fn.transition`.
+ $.cssEase = {
+ '_default': 'ease',
+ 'in': 'ease-in',
+ 'out': 'ease-out',
+ 'in-out': 'ease-in-out',
+ 'snap': 'cubic-bezier(0,1,.5,1)',
+ // Penner equations
+ 'easeOutCubic': 'cubic-bezier(.215,.61,.355,1)',
+ 'easeInOutCubic': 'cubic-bezier(.645,.045,.355,1)',
+ 'easeInCirc': 'cubic-bezier(.6,.04,.98,.335)',
+ 'easeOutCirc': 'cubic-bezier(.075,.82,.165,1)',
+ 'easeInOutCirc': 'cubic-bezier(.785,.135,.15,.86)',
+ 'easeInExpo': 'cubic-bezier(.95,.05,.795,.035)',
+ 'easeOutExpo': 'cubic-bezier(.19,1,.22,1)',
+ 'easeInOutExpo': 'cubic-bezier(1,0,0,1)',
+ 'easeInQuad': 'cubic-bezier(.55,.085,.68,.53)',
+ 'easeOutQuad': 'cubic-bezier(.25,.46,.45,.94)',
+ 'easeInOutQuad': 'cubic-bezier(.455,.03,.515,.955)',
+ 'easeInQuart': 'cubic-bezier(.895,.03,.685,.22)',
+ 'easeOutQuart': 'cubic-bezier(.165,.84,.44,1)',
+ 'easeInOutQuart': 'cubic-bezier(.77,0,.175,1)',
+ 'easeInQuint': 'cubic-bezier(.755,.05,.855,.06)',
+ 'easeOutQuint': 'cubic-bezier(.23,1,.32,1)',
+ 'easeInOutQuint': 'cubic-bezier(.86,0,.07,1)',
+ 'easeInSine': 'cubic-bezier(.47,0,.745,.715)',
+ 'easeOutSine': 'cubic-bezier(.39,.575,.565,1)',
+ 'easeInOutSine': 'cubic-bezier(.445,.05,.55,.95)',
+ 'easeInBack': 'cubic-bezier(.6,-.28,.735,.045)',
+ 'easeOutBack': 'cubic-bezier(.175, .885,.32,1.275)',
+ 'easeInOutBack': 'cubic-bezier(.68,-.55,.265,1.55)'
+ };
+
+ // ## 'transform' CSS hook
+ // Allows you to use the `transform` property in CSS.
+ //
+ // $("#hello").css({ transform: "rotate(90deg)" });
+ //
+ // $("#hello").css('transform');
+ // //=> { rotate: '90deg' }
+ //
+ $.cssHooks['transit:transform'] = {
+ // The getter returns a `Transform` object.
+ get: function(elem) {
+ return $(elem).data('transform') || new Transform();
+ },
+
+ // The setter accepts a `Transform` object or a string.
+ set: function(elem, v) {
+ var value = v;
+
+ if (!(value instanceof Transform)) {
+ value = new Transform(value);
+ }
+
+ // We've seen the 3D version of Scale() not work in Chrome when the
+ // element being scaled extends outside of the viewport. Thus, we're
+ // forcing Chrome to not use the 3d transforms as well. Not sure if
+ // translate is affectede, but not risking it. Detection code from
+ // http://davidwalsh.name/detecting-google-chrome-javascript
+ if (support.transform === 'WebkitTransform' && !isChrome) {
+ elem.style[support.transform] = value.toString(true);
+ } else {
+ elem.style[support.transform] = value.toString();
+ }
+
+ $(elem).data('transform', value);
+ }
+ };
+
+ // Add a CSS hook for `.css({ transform: '...' })`.
+ // In jQuery 1.8+, this will intentionally override the default `transform`
+ // CSS hook so it'll play well with Transit. (see issue #62)
+ $.cssHooks.transform = {
+ set: $.cssHooks['transit:transform'].set
+ };
+
+ // jQuery 1.8+ supports prefix-free transitions, so these polyfills will not
+ // be necessary.
+ if ($.fn.jquery < "1.8") {
+ // ## 'transformOrigin' CSS hook
+ // Allows the use for `transformOrigin` to define where scaling and rotation
+ // is pivoted.
+ //
+ // $("#hello").css({ transformOrigin: '0 0' });
+ //
+ $.cssHooks.transformOrigin = {
+ get: function(elem) {
+ return elem.style[support.transformOrigin];
+ },
+ set: function(elem, value) {
+ elem.style[support.transformOrigin] = value;
+ }
+ };
+
+ // ## 'transition' CSS hook
+ // Allows you to use the `transition` property in CSS.
+ //
+ // $("#hello").css({ transition: 'all 0 ease 0' });
+ //
+ $.cssHooks.transition = {
+ get: function(elem) {
+ return elem.style[support.transition];
+ },
+ set: function(elem, value) {
+ elem.style[support.transition] = value;
+ }
+ };
+ }
+
+ // ## Other CSS hooks
+ // Allows you to rotate, scale and translate.
+ registerCssHook('scale');
+ registerCssHook('translate');
+ registerCssHook('rotate');
+ registerCssHook('rotateX');
+ registerCssHook('rotateY');
+ registerCssHook('rotate3d');
+ registerCssHook('perspective');
+ registerCssHook('skewX');
+ registerCssHook('skewY');
+ registerCssHook('x', true);
+ registerCssHook('y', true);
+
+ // ## Transform class
+ // This is the main class of a transformation property that powers
+ // `$.fn.css({ transform: '...' })`.
+ //
+ // This is, in essence, a dictionary object with key/values as `-transform`
+ // properties.
+ //
+ // var t = new Transform("rotate(90) scale(4)");
+ //
+ // t.rotate //=> "90deg"
+ // t.scale //=> "4,4"
+ //
+ // Setters are accounted for.
+ //
+ // t.set('rotate', 4)
+ // t.rotate //=> "4deg"
+ //
+ // Convert it to a CSS string using the `toString()` and `toString(true)` (for WebKit)
+ // functions.
+ //
+ // t.toString() //=> "rotate(90deg) scale(4,4)"
+ // t.toString(true) //=> "rotate(90deg) scale3d(4,4,0)" (WebKit version)
+ //
+ function Transform(str) {
+ if (typeof str === 'string') { this.parse(str); }
+ return this;
+ }
+
+ Transform.prototype = {
+ // ### setFromString()
+ // Sets a property from a string.
+ //
+ // t.setFromString('scale', '2,4');
+ // // Same as set('scale', '2', '4');
+ //
+ setFromString: function(prop, val) {
+ var args =
+ (typeof val === 'string') ? val.split(',') :
+ (val.constructor === Array) ? val :
+ [ val ];
+
+ args.unshift(prop);
+
+ Transform.prototype.set.apply(this, args);
+ },
+
+ // ### set()
+ // Sets a property.
+ //
+ // t.set('scale', 2, 4);
+ //
+ set: function(prop) {
+ var args = Array.prototype.slice.apply(arguments, [1]);
+ if (this.setter[prop]) {
+ this.setter[prop].apply(this, args);
+ } else {
+ this[prop] = args.join(',');
+ }
+ },
+
+ get: function(prop) {
+ if (this.getter[prop]) {
+ return this.getter[prop].apply(this);
+ } else {
+ return this[prop] || 0;
+ }
+ },
+
+ setter: {
+ // ### rotate
+ //
+ // .css({ rotate: 30 })
+ // .css({ rotate: "30" })
+ // .css({ rotate: "30deg" })
+ // .css({ rotate: "30deg" })
+ //
+ rotate: function(theta) {
+ this.rotate = unit(theta, 'deg');
+ },
+
+ rotateX: function(theta) {
+ this.rotateX = unit(theta, 'deg');
+ },
+
+ rotateY: function(theta) {
+ this.rotateY = unit(theta, 'deg');
+ },
+
+ // ### scale
+ //
+ // .css({ scale: 9 }) //=> "scale(9,9)"
+ // .css({ scale: '3,2' }) //=> "scale(3,2)"
+ //
+ scale: function(x, y) {
+ if (y === undefined) { y = x; }
+ this.scale = x + "," + y;
+ },
+
+ // ### skewX + skewY
+ skewX: function(x) {
+ this.skewX = unit(x, 'deg');
+ },
+
+ skewY: function(y) {
+ this.skewY = unit(y, 'deg');
+ },
+
+ // ### perspectvie
+ perspective: function(dist) {
+ this.perspective = unit(dist, 'px');
+ },
+
+ // ### x / y
+ // Translations. Notice how this keeps the other value.
+ //
+ // .css({ x: 4 }) //=> "translate(4px, 0)"
+ // .css({ y: 10 }) //=> "translate(4px, 10px)"
+ //
+ x: function(x) {
+ this.set('translate', x, null);
+ },
+
+ y: function(y) {
+ this.set('translate', null, y);
+ },
+
+ // ### translate
+ // Notice how this keeps the other value.
+ //
+ // .css({ translate: '2, 5' }) //=> "translate(2px, 5px)"
+ //
+ translate: function(x, y) {
+ if (this._translateX === undefined) { this._translateX = 0; }
+ if (this._translateY === undefined) { this._translateY = 0; }
+
+ if (x !== null && x !== undefined) { this._translateX = unit(x, 'px'); }
+ if (y !== null && y !== undefined) { this._translateY = unit(y, 'px'); }
+
+ this.translate = this._translateX + "," + this._translateY;
+ }
+ },
+
+ getter: {
+ x: function() {
+ return this._translateX || 0;
+ },
+
+ y: function() {
+ return this._translateY || 0;
+ },
+
+ scale: function() {
+ var s = (this.scale || "1,1").split(',');
+ if (s[0]) { s[0] = parseFloat(s[0]); }
+ if (s[1]) { s[1] = parseFloat(s[1]); }
+
+ // "2.5,2.5" => 2.5
+ // "2.5,1" => [2.5,1]
+ return (s[0] === s[1]) ? s[0] : s;
+ },
+
+ rotate3d: function() {
+ var s = (this.rotate3d || "0,0,0,0deg").split(',');
+ for (var i=0; i<=3; ++i) {
+ if (s[i]) { s[i] = parseFloat(s[i]); }
+ }
+ if (s[3]) { s[3] = unit(s[3], 'deg'); }
+
+ return s;
+ }
+ },
+
+ // ### parse()
+ // Parses from a string. Called on constructor.
+ parse: function(str) {
+ var self = this;
+ str.replace(/([a-zA-Z0-9]+)\((.*?)\)/g, function(x, prop, val) {
+ self.setFromString(prop, val);
+ });
+ },
+
+ // ### toString()
+ // Converts to a `transition` CSS property string. If `use3d` is given,
+ // it converts to a `-webkit-transition` CSS property string instead.
+ toString: function(use3d) {
+ var re = [];
+
+ for (var i in this) {
+ if (this.hasOwnProperty(i)) {
+ // Don't use 3D transformations if the browser can't support it.
+ if ((!support.transform3d) && (
+ (i === 'rotateX') ||
+ (i === 'rotateY') ||
+ (i === 'perspective') ||
+ (i === 'transformOrigin'))) { continue; }
+
+ if (i[0] !== '_') {
+ if (use3d && (i === 'scale')) {
+ re.push(i + "3d(" + this[i] + ",1)");
+ } else if (use3d && (i === 'translate')) {
+ re.push(i + "3d(" + this[i] + ",0)");
+ } else {
+ re.push(i + "(" + this[i] + ")");
+ }
+ }
+ }
+ }
+
+ return re.join(" ");
+ }
+ };
+
+ function callOrQueue(self, queue, fn) {
+ if (queue === true) {
+ self.queue(fn);
+ } else if (queue) {
+ self.queue(queue, fn);
+ } else {
+ fn();
+ }
+ }
+
+ // ### getProperties(dict)
+ // Returns properties (for `transition-property`) for dictionary `props`. The
+ // value of `props` is what you would expect in `$.css(...)`.
+ function getProperties(props) {
+ var re = [];
+
+ $.each(props, function(key) {
+ key = $.camelCase(key); // Convert "text-align" => "textAlign"
+ key = $.transit.propertyMap[key] || $.cssProps[key] || key;
+ key = uncamel(key); // Convert back to dasherized
+
+ if ($.inArray(key, re) === -1) { re.push(key); }
+ });
+
+ return re;
+ }
+
+ // ### getTransition()
+ // Returns the transition string to be used for the `transition` CSS property.
+ //
+ // Example:
+ //
+ // getTransition({ opacity: 1, rotate: 30 }, 500, 'ease');
+ // //=> 'opacity 500ms ease, -webkit-transform 500ms ease'
+ //
+ function getTransition(properties, duration, easing, delay) {
+ // Get the CSS properties needed.
+ var props = getProperties(properties);
+
+ // Account for aliases (`in` => `ease-in`).
+ if ($.cssEase[easing]) { easing = $.cssEase[easing]; }
+
+ // Build the duration/easing/delay attributes for it.
+ var attribs = '' + toMS(duration) + ' ' + easing;
+ if (parseInt(delay, 10) > 0) { attribs += ' ' + toMS(delay); }
+
+ // For more properties, add them this way:
+ // "margin 200ms ease, padding 200ms ease, ..."
+ var transitions = [];
+ $.each(props, function(i, name) {
+ transitions.push(name + ' ' + attribs);
+ });
+
+ return transitions.join(', ');
+ }
+
+ // ## $.fn.transition
+ // Works like $.fn.animate(), but uses CSS transitions.
+ //
+ // $("...").transition({ opacity: 0.1, scale: 0.3 });
+ //
+ // // Specific duration
+ // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500);
+ //
+ // // With duration and easing
+ // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500, 'in');
+ //
+ // // With callback
+ // $("...").transition({ opacity: 0.1, scale: 0.3 }, function() { ... });
+ //
+ // // With everything
+ // $("...").transition({ opacity: 0.1, scale: 0.3 }, 500, 'in', function() { ... });
+ //
+ // // Alternate syntax
+ // $("...").transition({
+ // opacity: 0.1,
+ // duration: 200,
+ // delay: 40,
+ // easing: 'in',
+ // complete: function() { /* ... */ }
+ // });
+ //
+ $.fn.transition = $.fn.transit = function(properties, duration, easing, callback) {
+ var self = this;
+ var delay = 0;
+ var queue = true;
+
+ var theseProperties = jQuery.extend(true, {}, properties);
+
+ // Account for `.transition(properties, callback)`.
+ if (typeof duration === 'function') {
+ callback = duration;
+ duration = undefined;
+ }
+
+ // Account for `.transition(properties, options)`.
+ if (typeof duration === 'object') {
+ easing = duration.easing;
+ delay = duration.delay || 0;
+ queue = duration.queue || true;
+ callback = duration.complete;
+ duration = duration.duration;
+ }
+
+ // Account for `.transition(properties, duration, callback)`.
+ if (typeof easing === 'function') {
+ callback = easing;
+ easing = undefined;
+ }
+
+ // Alternate syntax.
+ if (typeof theseProperties.easing !== 'undefined') {
+ easing = theseProperties.easing;
+ delete theseProperties.easing;
+ }
+
+ if (typeof theseProperties.duration !== 'undefined') {
+ duration = theseProperties.duration;
+ delete theseProperties.duration;
+ }
+
+ if (typeof theseProperties.complete !== 'undefined') {
+ callback = theseProperties.complete;
+ delete theseProperties.complete;
+ }
+
+ if (typeof theseProperties.queue !== 'undefined') {
+ queue = theseProperties.queue;
+ delete theseProperties.queue;
+ }
+
+ if (typeof theseProperties.delay !== 'undefined') {
+ delay = theseProperties.delay;
+ delete theseProperties.delay;
+ }
+
+ // Set defaults. (`400` duration, `ease` easing)
+ if (typeof duration === 'undefined') { duration = $.fx.speeds._default; }
+ if (typeof easing === 'undefined') { easing = $.cssEase._default; }
+
+ duration = toMS(duration);
+
+ // Build the `transition` property.
+ var transitionValue = getTransition(theseProperties, duration, easing, delay);
+
+ // Compute delay until callback.
+ // If this becomes 0, don't bother setting the transition property.
+ var work = $.transit.enabled && support.transition;
+ var i = work ? (parseInt(duration, 10) + parseInt(delay, 10)) : 0;
+
+ // If there's nothing to do...
+ if (i === 0) {
+ var fn = function(next) {
+ self.css(theseProperties);
+ if (callback) { callback.apply(self); }
+ if (next) { next(); }
+ };
+
+ callOrQueue(self, queue, fn);
+ return self;
+ }
+
+ // Save the old transitions of each element so we can restore it later.
+ var oldTransitions = {};
+
+ var run = function(nextCall) {
+ var bound = false;
+
+ // Prepare the callback.
+ var cb = function() {
+ if (bound) { self.unbind(transitionEnd, cb); }
+
+ if (i > 0) {
+ self.each(function() {
+ this.style[support.transition] = (oldTransitions[this] || null);
+ });
+ }
+
+ if (typeof callback === 'function') { callback.apply(self); }
+ if (typeof nextCall === 'function') { nextCall(); }
+ };
+
+ if ((i > 0) && (transitionEnd) && ($.transit.useTransitionEnd)) {
+ // Use the 'transitionend' event if it's available.
+ bound = true;
+ self.bind(transitionEnd, cb);
+ } else {
+ // Fallback to timers if the 'transitionend' event isn't supported.
+ window.setTimeout(cb, i);
+ }
+
+ // Apply transitions.
+ self.each(function() {
+ if (i > 0) {
+ this.style[support.transition] = transitionValue;
+ }
+ $(this).css(properties);
+ });
+ };
+
+ // Defer running. This allows the browser to paint any pending CSS it hasn't
+ // painted yet before doing the transitions.
+ var deferredRun = function(next) {
+ this.offsetWidth; // force a repaint
+ run(next);
+ };
+
+ // Use jQuery's fx queue.
+ callOrQueue(self, queue, deferredRun);
+
+ // Chainability.
+ return this;
+ };
+
+ function registerCssHook(prop, isPixels) {
+ // For certain properties, the 'px' should not be implied.
+ if (!isPixels) { $.cssNumber[prop] = true; }
+
+ $.transit.propertyMap[prop] = support.transform;
+
+ $.cssHooks[prop] = {
+ get: function(elem) {
+ var t = $(elem).css('transit:transform');
+ return t.get(prop);
+ },
+
+ set: function(elem, value) {
+ var t = $(elem).css('transit:transform');
+ t.setFromString(prop, value);
+
+ $(elem).css({ 'transit:transform': t });
+ }
+ };
+
+ }
+
+ // ### uncamel(str)
+ // Converts a camelcase string to a dasherized string.
+ // (`marginLeft` => `margin-left`)
+ function uncamel(str) {
+ return str.replace(/([A-Z])/g, function(letter) { return '-' + letter.toLowerCase(); });
+ }
+
+ // ### unit(number, unit)
+ // Ensures that number `number` has a unit. If no unit is found, assume the
+ // default is `unit`.
+ //
+ // unit(2, 'px') //=> "2px"
+ // unit("30deg", 'rad') //=> "30deg"
+ //
+ function unit(i, units) {
+ if ((typeof i === "string") && (!i.match(/^[\-0-9\.]+$/))) {
+ return i;
+ } else {
+ return "" + i + units;
+ }
+ }
+
+ // ### toMS(duration)
+ // Converts given `duration` to a millisecond string.
+ //
+ // toMS('fast') => $.fx.speeds[i] => "200ms"
+ // toMS('normal') //=> $.fx.speeds._default => "400ms"
+ // toMS(10) //=> '10ms'
+ // toMS('100ms') //=> '100ms'
+ //
+ function toMS(duration) {
+ var i = duration;
+
+ // Allow string durations like 'fast' and 'slow', without overriding numeric values.
+ if (typeof i === 'string' && (!i.match(/^[\-0-9\.]+/))) { i = $.fx.speeds[i] || $.fx.speeds._default; }
+
+ return unit(i, 'ms');
+ }
+
+ // Export some functions for testable-ness.
+ $.transit.getTransitionValue = getTransition;
+})(jQuery);
diff --git a/resources/share/jquery.ui.touch-punch.min.js b/resources/share/jquery.ui.touch-punch.min.js
index 33d6f97..cb8c9c7 100644
--- a/resources/share/jquery.ui.touch-punch.min.js
+++ b/resources/share/jquery.ui.touch-punch.min.js
@@ -1,11 +1,11 @@
-/*
- * jQuery UI Touch Punch 0.2.2
- *
- * Copyright 2011, Dave Furfero
- * Dual licensed under the MIT or GPL Version 2 licenses.
- *
- * Depends:
- * jquery.ui.widget.js
- * jquery.ui.mouse.js
- */
+/*
+ * jQuery UI Touch Punch 0.2.2
+ *
+ * Copyright 2011, Dave Furfero
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ *
+ * Depends:
+ * jquery.ui.widget.js
+ * jquery.ui.mouse.js
+ */
(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery);
\ No newline at end of file
diff --git a/resources/share/rainbowvis.js b/resources/share/rainbowvis.js
index b993cce..e7985ce 100644
--- a/resources/share/rainbowvis.js
+++ b/resources/share/rainbowvis.js
@@ -1,176 +1,176 @@
-/*
-RainbowVis-JS
-Released under MIT License
-*/
-
-function Rainbow()
-{
- var gradients = null;
- var minNum = 0;
- var maxNum = 100;
- var colours = ['ff0000', 'ffff00', '00ff00', '0000ff'];
- setColours(colours);
-
- function setColours (spectrum)
- {
- if (spectrum.length < 2) {
- throw new Error('Rainbow must have two or more colours.');
- } else {
- var increment = (maxNum - minNum)/(spectrum.length - 1);
- var firstGradient = new ColourGradient();
- firstGradient.setGradient(spectrum[0], spectrum[1]);
- firstGradient.setNumberRange(minNum, minNum + increment);
- gradients = [ firstGradient ];
-
- for (var i = 1; i < spectrum.length - 1; i++) {
- var colourGradient = new ColourGradient();
- colourGradient.setGradient(spectrum[i], spectrum[i + 1]);
- colourGradient.setNumberRange(minNum + increment * i, minNum + increment * (i + 1));
- gradients[i] = colourGradient;
- }
-
- colours = spectrum;
- return this;
- }
- }
-
- this.setColors = this.setColours;
-
- this.setSpectrum = function ()
- {
- setColours(arguments);
- return this;
- }
-
- this.setSpectrumByArray = function (array)
- {
- setColours(array);
- return this;
- }
-
- this.colourAt = function (number)
- {
- if (isNaN(number)) {
- throw new TypeError(number + ' is not a number');
- } else if (gradients.length === 1) {
- return gradients[0].colourAt(number);
- } else {
- var segment = (maxNum - minNum)/(gradients.length);
- var index = Math.min(Math.floor((Math.max(number, minNum) - minNum)/segment), gradients.length - 1);
- return gradients[index].colourAt(number);
- }
- }
-
- this.colorAt = this.colourAt;
-
- this.setNumberRange = function (minNumber, maxNumber)
- {
- if (maxNumber > minNumber) {
- minNum = minNumber;
- maxNum = maxNumber;
- setColours(colours);
- } else {
- throw new RangeError('maxNumber (' + maxNumber + ') is not greater than minNumber (' + minNumber + ')');
- }
- return this;
- }
-}
-
-function ColourGradient()
-{
- var startColour = 'ff0000';
- var endColour = '0000ff';
- var minNum = 0;
- var maxNum = 100;
-
- this.setGradient = function (colourStart, colourEnd)
- {
- startColour = getHexColour(colourStart);
- endColour = getHexColour(colourEnd);
- }
-
- this.setNumberRange = function (minNumber, maxNumber)
- {
- if (maxNumber > minNumber) {
- minNum = minNumber;
- maxNum = maxNumber;
- } else {
- throw new RangeError('maxNumber (' + maxNumber + ') is not greater than minNumber (' + minNumber + ')');
- }
- }
-
- this.colourAt = function (number)
- {
- return calcHex(number, startColour.substring(0,2), endColour.substring(0,2))
- + calcHex(number, startColour.substring(2,4), endColour.substring(2,4))
- + calcHex(number, startColour.substring(4,6), endColour.substring(4,6));
- }
-
- function calcHex(number, channelStart_Base16, channelEnd_Base16)
- {
- var num = number;
- if (num < minNum) {
- num = minNum;
- }
- if (num > maxNum) {
- num = maxNum;
- }
- var numRange = maxNum - minNum;
- var cStart_Base10 = parseInt(channelStart_Base16, 16);
- var cEnd_Base10 = parseInt(channelEnd_Base16, 16);
- var cPerUnit = (cEnd_Base10 - cStart_Base10)/numRange;
- var c_Base10 = Math.round(cPerUnit * (num - minNum) + cStart_Base10);
- return formatHex(c_Base10.toString(16));
- }
-
- formatHex = function (hex)
- {
- if (hex.length === 1) {
- return '0' + hex;
- } else {
- return hex;
- }
- }
-
- function isHexColour(string)
- {
- var regex = /^#?[0-9a-fA-F]{6}$/i;
- return regex.test(string);
- }
-
- function getHexColour(string)
- {
- if (isHexColour(string)) {
- return string.substring(string.length - 6, string.length);
- } else {
- var colourNames =
- [
- ['red', 'ff0000'],
- ['lime', '00ff00'],
- ['blue', '0000ff'],
- ['yellow', 'ffff00'],
- ['orange', 'ff8000'],
- ['aqua', '00ffff'],
- ['fuchsia', 'ff00ff'],
- ['white', 'ffffff'],
- ['black', '000000'],
- ['gray', '808080'],
- ['grey', '808080'],
- ['silver', 'c0c0c0'],
- ['maroon', '800000'],
- ['olive', '808000'],
- ['green', '008000'],
- ['teal', '008080'],
- ['navy', '000080'],
- ['purple', '800080']
- ];
- for (var i = 0; i < colourNames.length; i++) {
- if (string.toLowerCase() === colourNames[i][0]) {
- return colourNames[i][1];
- }
- }
- throw new Error(string + ' is not a valid colour.');
- }
- }
-}
-
+/*
+RainbowVis-JS
+Released under MIT License
+*/
+
+function Rainbow()
+{
+ var gradients = null;
+ var minNum = 0;
+ var maxNum = 100;
+ var colours = ['ff0000', 'ffff00', '00ff00', '0000ff'];
+ setColours(colours);
+
+ function setColours (spectrum)
+ {
+ if (spectrum.length < 2) {
+ throw new Error('Rainbow must have two or more colours.');
+ } else {
+ var increment = (maxNum - minNum)/(spectrum.length - 1);
+ var firstGradient = new ColourGradient();
+ firstGradient.setGradient(spectrum[0], spectrum[1]);
+ firstGradient.setNumberRange(minNum, minNum + increment);
+ gradients = [ firstGradient ];
+
+ for (var i = 1; i < spectrum.length - 1; i++) {
+ var colourGradient = new ColourGradient();
+ colourGradient.setGradient(spectrum[i], spectrum[i + 1]);
+ colourGradient.setNumberRange(minNum + increment * i, minNum + increment * (i + 1));
+ gradients[i] = colourGradient;
+ }
+
+ colours = spectrum;
+ return this;
+ }
+ }
+
+ this.setColors = this.setColours;
+
+ this.setSpectrum = function ()
+ {
+ setColours(arguments);
+ return this;
+ }
+
+ this.setSpectrumByArray = function (array)
+ {
+ setColours(array);
+ return this;
+ }
+
+ this.colourAt = function (number)
+ {
+ if (isNaN(number)) {
+ throw new TypeError(number + ' is not a number');
+ } else if (gradients.length === 1) {
+ return gradients[0].colourAt(number);
+ } else {
+ var segment = (maxNum - minNum)/(gradients.length);
+ var index = Math.min(Math.floor((Math.max(number, minNum) - minNum)/segment), gradients.length - 1);
+ return gradients[index].colourAt(number);
+ }
+ }
+
+ this.colorAt = this.colourAt;
+
+ this.setNumberRange = function (minNumber, maxNumber)
+ {
+ if (maxNumber > minNumber) {
+ minNum = minNumber;
+ maxNum = maxNumber;
+ setColours(colours);
+ } else {
+ throw new RangeError('maxNumber (' + maxNumber + ') is not greater than minNumber (' + minNumber + ')');
+ }
+ return this;
+ }
+}
+
+function ColourGradient()
+{
+ var startColour = 'ff0000';
+ var endColour = '0000ff';
+ var minNum = 0;
+ var maxNum = 100;
+
+ this.setGradient = function (colourStart, colourEnd)
+ {
+ startColour = getHexColour(colourStart);
+ endColour = getHexColour(colourEnd);
+ }
+
+ this.setNumberRange = function (minNumber, maxNumber)
+ {
+ if (maxNumber > minNumber) {
+ minNum = minNumber;
+ maxNum = maxNumber;
+ } else {
+ throw new RangeError('maxNumber (' + maxNumber + ') is not greater than minNumber (' + minNumber + ')');
+ }
+ }
+
+ this.colourAt = function (number)
+ {
+ return calcHex(number, startColour.substring(0,2), endColour.substring(0,2))
+ + calcHex(number, startColour.substring(2,4), endColour.substring(2,4))
+ + calcHex(number, startColour.substring(4,6), endColour.substring(4,6));
+ }
+
+ function calcHex(number, channelStart_Base16, channelEnd_Base16)
+ {
+ var num = number;
+ if (num < minNum) {
+ num = minNum;
+ }
+ if (num > maxNum) {
+ num = maxNum;
+ }
+ var numRange = maxNum - minNum;
+ var cStart_Base10 = parseInt(channelStart_Base16, 16);
+ var cEnd_Base10 = parseInt(channelEnd_Base16, 16);
+ var cPerUnit = (cEnd_Base10 - cStart_Base10)/numRange;
+ var c_Base10 = Math.round(cPerUnit * (num - minNum) + cStart_Base10);
+ return formatHex(c_Base10.toString(16));
+ }
+
+ formatHex = function (hex)
+ {
+ if (hex.length === 1) {
+ return '0' + hex;
+ } else {
+ return hex;
+ }
+ }
+
+ function isHexColour(string)
+ {
+ var regex = /^#?[0-9a-fA-F]{6}$/i;
+ return regex.test(string);
+ }
+
+ function getHexColour(string)
+ {
+ if (isHexColour(string)) {
+ return string.substring(string.length - 6, string.length);
+ } else {
+ var colourNames =
+ [
+ ['red', 'ff0000'],
+ ['lime', '00ff00'],
+ ['blue', '0000ff'],
+ ['yellow', 'ffff00'],
+ ['orange', 'ff8000'],
+ ['aqua', '00ffff'],
+ ['fuchsia', 'ff00ff'],
+ ['white', 'ffffff'],
+ ['black', '000000'],
+ ['gray', '808080'],
+ ['grey', '808080'],
+ ['silver', 'c0c0c0'],
+ ['maroon', '800000'],
+ ['olive', '808000'],
+ ['green', '008000'],
+ ['teal', '008080'],
+ ['navy', '000080'],
+ ['purple', '800080']
+ ];
+ for (var i = 0; i < colourNames.length; i++) {
+ if (string.toLowerCase() === colourNames[i][0]) {
+ return colourNames[i][1];
+ }
+ }
+ throw new Error(string + ' is not a valid colour.');
+ }
+ }
+}
+
diff --git a/resources/static/PIE.htc b/resources/static/PIE.htc
index dbcca42..a4445a7 100644
--- a/resources/static/PIE.htc
+++ b/resources/static/PIE.htc
@@ -1,21 +1,21 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/static/PIE_IE678.js b/resources/static/PIE_IE678.js
index e12d37d..63c6813 100644
--- a/resources/static/PIE_IE678.js
+++ b/resources/static/PIE_IE678.js
@@ -1,72 +1,72 @@
-(function(O,H){var h=O.PIE||(O.PIE={});h.Fa=function(a){var b,d,e,c,g=arguments;b=1;for(d=g.length;b",d[0];);h.U=a;if(a===6)h.z=h.z.replace(/^-/,"");h.qa=H.documentMode||h.U;b.innerHTML='';a=b.firstChild;a.style.behavior="url(#default#VML)";h.tc=typeof a.adj==="object"})();(function(){var a=0,b={};h.Q={pa:function(d){return d&&d._pieId||(d._pieId="_"+a++)},Ac:function(d,e,c){var g=b[d],i,j;if(g)Object.prototype.toString.call(g)==="[object Array]"?g.push([e,c]):e.call(c,g);else{j=b[d]=[[e,c]];
-i=new Image;i.onload=function(){g=b[d]={f:i.width,e:i.height};for(var f=0,k=j.length;f=180?0:b,a<90||a>270?0:d);e=c[0];c=c[1];b=b-e;d=d-c;return{la:a,
-qd:e,rd:c,ae:b,be:d,Jd:h.nb.ld(b,d,e,c)}},Od:function(a,b,d,e,c){if(d===0||d===180)return[a,c];else if(d===90||d===270)return[e,b];else{d=Math.tan((d-90)*Math.PI/180);a=d*a-b;b=-1/d;e=b*e-c;c=b-d;return[(e-a)/c,(d*e-b*a)/c]}},ld:function(a,b,d,e){a=d-a;b=e-b;return Math.abs(a===0?b:b===0?a:Math.sqrt(a*a+b*b))}};h.ja=function(){this.Eb=[];this.hc={}};h.ja.prototype={ca:function(a){var b=h.Q.pa(a),d=this.hc,e=this.Eb;if(!(b in d)){d[b]=e.length;e.push(a)}},Ka:function(a){a=h.Q.pa(a);var b=this.hc;if(a&&
-a in b){delete this.Eb[b[a]];delete b[a]}},Da:function(){for(var a=this.Eb,b=a.length;b--;)a[b]&&a[b]()}};h.Pa=new h.ja;h.Pa.Ud=function(){var a=this,b;if(!a.Vd){b=H.documentElement.currentStyle.getAttribute(h.z+"poll-interval")||250;(function d(){a.Da();setTimeout(d,b)})();a.Vd=1}};(function(){function a(){h.J.Da();O.detachEvent("onunload",a);O.PIE=null}h.J=new h.ja;O.attachEvent("onunload",a);h.J.za=function(b,d,e){b.attachEvent(d,e);this.ca(function(){b.detachEvent(d,e)})}})();h.Sa=new h.ja;h.J.za(O,
-"onresize",function(){h.Sa.Da()});(function(){function a(){h.pb.Da()}h.pb=new h.ja;h.J.za(O,"onscroll",a);h.Sa.ca(a)})();(function(){function a(){d=h.mb.kd()}function b(){if(d){for(var e=0,c=d.length;e0)return parseFloat(k);else if(f.tagName in h.Tb){m=this;l=f.parentNode;return h.m(k).a(l,function(){return m.yb(l)})}else{f.appendChild(b);k=b.offsetWidth;b.parentNode===f&&f.removeChild(b);return k}}};a.gb=function(f){return f/c.pt};h.m=function(f){return j[f]||(j[f]=new a(f))};return a}();h.kb=function(){function a(c){this.ga=c}var b=h.m("50%"),
-d={top:1,center:1,bottom:1},e={left:1,center:1,right:1};a.prototype={Bd:function(){if(!this.Rb){var c=this.ga,g=c.length,i=h.q,j=i.ya,f=h.m("0");j=j.W;f=["left",f,"top",f];if(g===1){c.push(new i.rb(j,"center"));g++}if(g===2){j&(c[0].h|c[1].h)&&c[0].c in d&&c[1].c in e&&c.push(c.shift());if(c[0].h&j)if(c[0].c==="center")f[1]=b;else f[0]=c[0].c;else if(c[0].G())f[1]=h.m(c[0].c);if(c[1].h&j)if(c[1].c==="center")f[3]=b;else f[2]=c[1].c;else if(c[1].G())f[3]=h.m(c[1].c)}this.Rb=f}return this.Rb},coords:function(c,
-g,i){var j=this.Bd(),f=j[1].a(c,g);c=j[3].a(c,i);return{x:j[0]==="right"?g-f:f,y:j[2]==="bottom"?i-c:c}}};return a}();h.Ma=function(){function a(b,d){this.f=b;this.e=d}a.prototype={a:function(b,d,e,c,g){var i=this.f,j=this.e,f=d/e;c=c/g;if(i==="contain"){i=c>f?d:e*c;j=c>f?d/c:e}else if(i==="cover"){i=c1)l-=1;return 255*(6*l<1?f+(k-f)*l*6:2*l<1?k:3*l<2?f+(k-f)*(2/3-l)*6:f)}function b(f){this.ha=f}var d={};b.Td=/\s*rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;
-b.Fd=/\s*hsla?\(\s*(\d*\.?\d+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;b.db={};for(var e="black|0|navy|3k|darkblue|b|mediumblue|1u|blue|1e|darkgreen|jk1|green|5j4|teal|3k|darkcyan|26j|deepskyblue|ad0|darkturquoise|2xe|mediumspringgreen|8nd|lime|va|springgreen|3j|aqua|3k|cyan|0|midnightblue|xunl|dodgerblue|7ogf|lightseagreen|2zsb|forestgreen|2lbs|seagreen|guut|darkslategray|12pk|limegreen|4wkj|mediumseagreen|dwlb|turquoise|5v8f|royalblue|r2p|steelblue|75qr|darkslateblue|2fh3|mediumturquoise|ta9|indigo|32d2|darkolivegreen|emr1|cadetblue|ebu9|cornflowerblue|6z4d|mediumaquamarine|3459|dimgray|3nwf|slateblue|1bok|olivedrab|1opi|slategray|6y5p|lightslategray|9vk9|mediumslateblue|5g0l|lawngreen|27ma|chartreuse|48ao|aquamarine|5w|maroon|18|purple|3k|olive|p6o|gray|3k|lightslateblue|5j7j|skyblue|4q98|lightskyblue|f|blueviolet|3bhk|darkred|15we|darkmagenta|3v|saddlebrown|djc|darkseagreen|69vg|lightgreen|1og1|mediumpurple|3ivc|darkviolet|sfv|palegreen|6zt1|darkorchid|awk|yellowgreen|292e|sienna|7r3v|brown|6sxp|darkgray|6bgf|lightblue|5vlp|greenyellow|7k9|paleturquoise|2pxb|lightsteelblue|169c|powderblue|5jc|firebrick|1rgc|darkgoldenrod|8z55|mediumorchid|2jm0|rosybrown|34jg|darkkhaki|1mfw|silver|49jp|mediumvioletred|8w5h|indianred|8tef|peru|82r|violetred|3ntd|feldspar|212d|chocolate|16eh|tan|ewe|lightgrey|1kqv|palevioletred|6h8g|metle|fnp|orchid|2dj2|goldenrod|abu|crimson|20ik|gainsboro|13mo|plum|12pt|burlywood|1j8q|lightcyan|3794|lavender|8agr|darksalmon|3rsw|violet|6wz8|palegoldenrod|k3g|lightcoral|28k6|khaki|k5o|aliceblue|3n7|honeydew|1dd|azure|f|sandybrown|5469|wheat|1q37|beige|4kp|whitesmoke|p|mintcream|1z9|ghostwhite|46bp|salmon|25bn|antiquewhite|l7p|linen|zz|lightgoldenrodyellow|1yk|oldlace|46qc|red|1gka|magenta|73|fuchsia|0|deeppink|3v8|orangered|9kd|tomato|5zb|hotpink|19p|coral|49o|darkorange|2i8|lightsalmon|41m|orange|w6|lightpink|3i9|pink|1ze|gold|4dx|peachpuff|qh|navajowhite|s4|moccasin|16w|bisque|f|mistyrose|t|blanchedalmond|1d8|papayawhip|so|lavenderblush|80|seashell|zd|cornsilk|ku|lemonchiffon|dt|floralwhite|z|snow|a|yellow|sm|lightyellow|68|ivory|g|white|f".split("|"),
-c=0,g=e.length,i=0,j;c=this.$a.length)return c();i=this.ch;g=this.$a.substring(this.ch);j=g.charAt(0);switch(j){case "#":if(f=g.match(this.Dd)){this.ch+=f[0].length;return e(b.u,f[0])}break;case '"':case "'":if(f=g.match(this.ce)){this.ch+=f[0].length;return e(b.Nc,
-f[2]||f[3]||"")}break;case "/":case ",":this.ch++;return e(b.xa,j);case "u":if(f=g.match(this.url)){this.ch+=f[0].length;return e(b.URL,f[2]||f[3]||f[4]||"")}}if(f=g.match(this.Nd)){j=f[0];this.ch+=j.length;if(g.charAt(j.length)==="%"){this.ch++;return e(b.Ta,j+"%")}if(f=g.substring(j.length).match(this.gc)){j+=f[0];this.ch+=f[0].length;return e(this.ie[f[0].toLowerCase()]||b.Kc,j)}return e(b.wa,j)}if(f=g.match(this.gc)){j=f[0];this.ch+=j.length;if(j.toLowerCase()in h.Ic.db||j==="currentColor"||j===
-"transparent")return e(b.u,j);if(g.charAt(j.length)==="("){this.ch++;if(j.toLowerCase()in this.cd){g=function(o){return o&&o.h&b.wa};f=function(o){return o&&o.h&(b.wa|b.Ta)};var l=function(o,s){return o&&o.c===s},m=function(){return k.next(1)};if((j.charAt(0)==="r"?f(m()):g(m()))&&l(m(),",")&&f(m())&&l(m(),",")&&f(m())&&(j==="rgb"||j==="hsa"||l(m(),",")&&g(m()))&&l(m(),")"))return e(b.u,this.$a.substring(i,this.ch));return c()}return e(b.Mb,j)}return e(b.W,j)}this.ch++;return e(b.Lb,j)},C:function(){return this.ga[this.Ja-- -
-2]},all:function(){for(;this.next(););return this.ga},va:function(d,e){for(var c=[],g,i;g=this.next();){if(d(g)){i=true;this.C();break}c.push(g)}return e&&!i?null:c}};return a}();h.Kb=function(a){this.d=a};h.Kb.prototype={X:0,oc:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.x!==b.x||a.y!==b.y)},Yd:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.f!==b.f||a.e!==b.e)},cc:function(){var a=this.d,b=a.getBoundingClientRect(),d=h.qa===9,e=h.U===7,c=b.right-b.left;return{x:b.left,y:b.top,f:d||
-e?a.offsetWidth:c,e:d||e?a.offsetHeight:b.bottom-b.top,jc:e&&c?a.offsetWidth/c:1}},n:function(){return this.X?this.Va||(this.Va=this.cc()):this.cc()},Cd:function(){return!!this.ub},cb:function(){++this.X},ib:function(){if(!--this.X){if(this.Va)this.ub=this.Va;this.Va=null}}};(function(){function a(b){var d=h.Q.pa(b);return function(){if(this.X){var e=this.Pb||(this.Pb={});return d in e?e[d]:(e[d]=b.call(this))}else return b.call(this)}}h.p={X:0,ba:function(b){function d(e){this.d=e;this.Ob=this.T()}
-h.Fa(d.prototype,h.p,b);d.Vc={};return d},i:function(){var b=this.T(),d=this.constructor.Vc;return b?b in d?d[b]:(d[b]=this.ea(b)):null},T:a(function(){var b=this.d,d=this.constructor,e=b.style;b=b.currentStyle;var c=this.Aa,g=this.Ia,i=d.Tc||(d.Tc=h.z+c);d=d.Uc||(d.Uc=h.qb+g.charAt(0).toUpperCase()+g.substring(1));return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c)}),j:a(function(){return!!this.i()}),L:a(function(){var b=this.T(),d=b!==this.Ob;this.Ob=b;return d}),oa:a,cb:function(){++this.X},
-ib:function(){--this.X||delete this.Pb}}})();h.Hb=h.p.ba({Aa:h.z+"background",Ia:h.qb+"Background",Yc:{scroll:1,fixed:1,local:1},hb:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},nc:{"padding-box":1,"border-box":1,"content-box":1},Qd:{top:1,right:1,bottom:1,left:1,center:1},Zd:{contain:1,cover:1},fe:{top:1,bottom:1},Kd:{left:1,right:1},fb:{Oa:"backgroundClip",u:"backgroundColor",ia:"backgroundImage",Ra:"backgroundOrigin",P:"backgroundPosition",ka:"backgroundRepeat",Ua:"backgroundSize"},ea:function(a){function b(r){return r&&
-(r.G()&&h.m(r.c)||r.c==="auto"&&"auto")}var d=this.d.currentStyle,e,c,g,i=h.q.ya,j=i.xa,f=i.W,k=i.u,l,m,o=0,s=this.Qd,q,t,n,u,p={R:[]};if(this.xb()){e=new h.q(a);for(g={};c=e.next();){l=c.h;m=c.c;if(!g.V&&l&i.Mb&&m==="linear-gradient"){q={ua:[],V:m};for(t={};c=e.next();){l=c.h;m=c.c;if(l&i.Lb&&m===")"){t.color&&q.ua.push(t);q.ua.length>1&&h.Fa(g,q);break}if(l&k){if(q.la||q.ab){c=e.C();if(c.h!==j)break;e.next()}t={color:h.aa(m)};c=e.next();if(c.G())t.lc=h.m(c.c);else e.C()}else if(l&i.La&&!q.la&&!q.ab&&
-!t.color&&!q.ua.length)q.la=new h.Cc(c.c);else if(l&i.W&&m==="to"&&!q.ab&&!q.la&&!t.color&&!q.ua.length){n=this.fe;u=this.Kd;c=e.va(function(r){return!(r&&r.h&i.W&&(r.c in n||r.c in u))});l=c.length;c=[c[0]&&c[0].c,c[1]&&c[1].c];if(l<1||l>2||l>1&&(c[0]in n&&c[1]in n||c[0]in u&&c[1]in u))break;q.ab=c}else if(l&j&&m===","){if(t.color){q.ua.push(t);t={}}}else break}}else if(!g.V&&l&i.URL){g.Cb=m;g.V="image"}else if((c&&c.G()||c.h&f&&c.c in s)&&!g.ma){e.C();g.ma=new h.kb(e.va(function(r){return!(r&&r.G()||
-r.h&f&&r.c in s)},false))}else if(l&f)if(m in this.hb&&!g.bb)g.bb=m;else if(m in this.nc&&!g.Ya){g.Ya=m;if((c=e.next())&&c.h&f&&c.c in this.nc)g.Xa=c.c;else{g.Xa=m;e.C()}}else if(m in this.Yc&&!g.$c)g.$c=m;else return null;else if(l&k&&!p.color)p.color=h.aa(m);else if(l&j&&m==="/"&&!g.Za&&g.ma){c=e.next();if(c.h&f&&c.c in this.Zd)g.Za=new h.Ma(c.c);else if(q=b(c)){t=b(e.next());if(!t){t=q;e.C()}g.Za=new h.Ma(q,t)}else return null}else if(l&j&&m===","&&g.V){g.mc=a.substring(o,e.ch-1);o=e.ch;p.R.push(g);
-g={}}else return null}if(g.V){g.mc=a.substring(o);p.R.push(g)}p.bd=g.Xa}else this.yc(h.qa<9?function(){var r=this.fb,v=d[r.P+"X"],C=d[r.P+"Y"],y=d[r.ia],B=d[r.u];if(B!=="transparent")p.color=h.aa(B);if(y!=="none")p.R=[{V:"image",Cb:(new h.q(y)).next().c,bb:d[r.ka],ma:new h.kb((new h.q(v+" "+C)).all())}]}:function(){var r=this.fb,v=/\s*,\s*/,C=d[r.ia].split(v),y=d[r.u],B,F,G,K,J,w;if(y!=="transparent")p.color=h.aa(y);if((K=C.length)&&C[0]!=="none"){y=d[r.ka].split(v);B=d[r.P].split(v);F=d[r.Ra].split(v);
-G=d[r.Oa].split(v);r=d[r.Ua].split(v);p.R=[];for(v=0;v8,d=this.fb,e=this.d.runtimeStyle,c=e[d.ia],g=e[d.u],i=e[d.ka],j,f,k,l;if(c)e[d.ia]="";if(g)e[d.u]="";if(i)e[d.ka]="";if(b){j=e[d.Oa];f=e[d.Ra];l=e[d.P];k=
-e[d.Ua];if(j)e[d.Oa]="";if(f)e[d.Ra]="";if(l)e[d.P]="";if(k)e[d.Ua]=""}a=a.call(this);if(c)e[d.ia]=c;if(g)e[d.u]=g;if(i)e[d.ka]=i;if(b){if(j)e[d.Oa]=j;if(f)e[d.Ra]=f;if(l)e[d.P]=l;if(k)e[d.Ua]=k}return a},T:h.p.oa(function(){return this.xb()||this.yc(function(){var a=this.d.currentStyle,b=this.fb;return a[b.u]+" "+a[b.ia]+" "+a[b.ka]+" "+a[b.P+"X"]+" "+a[b.P+"Y"]})}),xb:h.p.oa(function(){var a=this.d;return a.style[this.Ia]||a.currentStyle.getAttribute(this.Aa)}),ud:function(a,b,d,e){var c=this.d,
-g=b.n();b=g.f;g=g.e;if(a!=="border-box")if((d=d.i())&&(d=d.O)){b-=d.l.a(c)+d.l.a(c);g-=d.t.a(c)+d.b.a(c)}if(a==="content-box")if(a=e.i()){b-=a.l.a(c)+a.l.a(c);g-=a.t.a(c)+a.b.a(c)}return{f:b,e:g}},ic:function(){var a=0;if(h.U<7){a=this.d;a=""+(a.style[h.qb+"PngFix"]||a.currentStyle.getAttribute(h.z+"png-fix"))==="true"}return a},j:h.p.oa(function(){return(this.xb()||this.ic())&&!!this.i()})});h.Jb=h.p.ba({sc:["Top","Right","Bottom","Left"],Ld:{thin:"1px",medium:"3px",thick:"5px"},ea:function(){var a=
-{},b={},d={},e=false,c=true,g=true,i=true;this.zc(function(){for(var j=this.d.currentStyle,f=0,k,l,m,o,s,q,t;f<4;f++){m=this.sc[f];t=m.charAt(0).toLowerCase();k=b[t]=j["border"+m+"Style"];l=j["border"+m+"Color"];m=j["border"+m+"Width"];if(f>0){if(k!==o)g=false;if(l!==s)c=false;if(m!==q)i=false}o=k;s=l;q=m;d[t]=h.aa(l);m=a[t]=h.m(b[t]==="none"?"0":this.Ld[m]||m);if(m.a(this.d)>0)e=true}});return e?{O:a,de:b,dd:d,qe:i,ed:c,ee:g}:null},T:h.p.oa(function(){var a=this.d,b=a.currentStyle,d;a.tagName in
-h.uc&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.zc(function(){d=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return d}),zc:function(a){var b=this.d.runtimeStyle,d=b.borderWidth,e=b.borderColor;if(d)b.borderWidth="";if(e)b.borderColor="";a=a.call(this);if(d)b.borderWidth=d;if(e)b.borderColor=e;return a}});(function(){h.lb=h.p.ba({Aa:"border-radius",Ia:"borderRadius",ea:function(b){var d=null,e,c,g,i,j=false;if(b){c=new h.q(b);var f=function(){for(var k=[],l;(g=c.next())&&
-g.G();){i=h.m(g.c);l=i.dc();if(l<0)return null;if(l>0)j=true;k.push(i)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=f()){if(g){if(g.h&h.q.ya.xa&&g.c==="/")e=f()}else e=b;if(j&&b&&e)d={x:b,y:e}}}return d}});var a=h.m("0");a={tl:a,tr:a,br:a,bl:a};h.lb.Bc={x:a,y:a}})();h.Ib=h.p.ba({Aa:"border-image",Ia:"borderImage",hb:{stretch:1,round:1,repeat:1,space:1},ea:function(a){var b=null,d,e,c,g,i,j,f=0,k=h.q.ya,l=k.W,m=k.wa,o=k.Ta;if(a){d=new h.q(a);b=
-{};for(var s=function(n){return n&&n.h&k.xa&&n.c==="/"},q=function(n){return n&&n.h&l&&n.c==="fill"},t=function(){g=d.va(function(n){return!(n.h&(m|o))});if(q(d.next())&&!b.fill)b.fill=true;else d.C();if(s(d.next())){f++;i=d.va(function(n){return!n.G()&&!(n.h&l&&n.c==="auto")});if(s(d.next())){f++;j=d.va(function(n){return!n.Ea()})}}else d.C()};a=d.next();){e=a.h;c=a.c;if(e&(m|o)&&!g){d.C();t()}else if(q(a)&&!b.fill){b.fill=true;t()}else if(e&l&&this.hb[c]&&!b.repeat){b.repeat={e:c};if(a=d.next())if(a.h&
-l&&this.hb[a.c])b.repeat.wc=a.c;else d.C()}else if(e&k.URL&&!b.src)b.src=c;else return null}if(!b.src||!g||g.length<1||g.length>4||i&&i.length>4||f===1&&i.length<1||j&&j.length>4||f===2&&j.length<1)return null;if(!b.repeat)b.repeat={e:"stretch"};if(!b.repeat.wc)b.repeat.wc=b.repeat.e;a=function(n,u){return{t:u(n[0]),r:u(n[1]||n[0]),b:u(n[2]||n[0]),l:u(n[3]||n[1]||n[0])}};b.slice=a(g,function(n){return h.m(n.h&m?n.c+"px":n.c)});if(i&&i[0])b.O=a(i,function(n){return n.G()?h.m(n.c):n.c});if(j&&j[0])b.Ga=
-a(j,function(n){return n.Ea()?h.m(n.c):n.c})}return b}});h.Hc=h.p.ba({Aa:"box-shadow",Ia:"boxShadow",ea:function(a){var b,d=h.m,e=h.q.ya,c;if(a){c=new h.q(a);b={Ga:[],Db:[]};for(a=function(){for(var g,i,j,f,k,l;g=c.next();){j=g.c;i=g.h;if(i&e.xa&&j===",")break;else if(g.Ea()&&!k){c.C();k=c.va(function(m){return!m.Ea()})}else if(i&e.u&&!f)f=j;else if(i&e.W&&j==="inset"&&!l)l=true;else return false}g=k&&k.length;if(g>1&&g<5){(l?b.Db:b.Ga).push({ke:d(k[0].c),le:d(k[1].c),blur:d(k[2]?k[2].c:"0"),$d:d(k[3]?
-k[3].c:"0"),color:h.aa(f||"currentColor")});return true}return false};a(););}return b&&(b.Db.length||b.Ga.length)?b:null}});h.Nb=h.p.ba({ea:function(a){a=new h.q(a);for(var b=[],d;(d=a.next())&&d.G();)b.push(h.m(d.c));return b.length>0&&b.length<5?{t:b[0],r:b[1]||b[0],b:b[2]||b[0],l:b[3]||b[1]||b[0]}:null},T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,d=b.padding;if(d)b.padding="";a=a.currentStyle.padding;if(d)b.padding=d;return a})});h.Oc=h.p.ba({T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,
-d=a.currentStyle;a=b.visibility;b.visibility="";d=d.visibility+"|"+d.display;b.visibility=a;return d}),ea:function(){var a=this.T().split("|");return{xc:a[0]!=="hidden",Vb:a[1]!=="none"}},j:function(){return false}});h.Pc=function(){function a(c){return function(){var g=arguments,i,j=g.length,f,k,l;f=this[d+c]||(this[d+c]={});for(i=0;i';j.kc=1;i=[k,f,' id="',j.Xb,'" style="',j.Ad(),'" ',j.gd];c(j[d]);i.push(">");g("fill");i.push("");return i.join("")},k:function(){var c=this.B(),g=c&&c.parentNode;if(g){g.removeChild(c);delete this.Qb}}};return b}();h.v={sa:function(a){function b(d,e,c,g){this.d=d;this.o=e;this.g=c;this.parent=g}h.Fa(b.prototype,h.v,a);return b},ra:function(){return false},qc:h.pd,Gb:function(){this.j()?this.Ca():this.k()},
-Bb:function(){this.d.runtimeStyle.borderColor="transparent"},k:function(){}};h.Fa(h.v,{B:function(a,b){var d=this.wb||(this.wb={}),e=d[a];if(!e){e=d[a]=new h.Pc(a,b);this.parent.sd(e)}return e},Ba:function(a){var b=this.wb,d=b&&b[a];if(d){d.k();this.parent.Sd(d);delete b[a]}return!!d},zd:function(a){var b=this.d,d=this.o.n(),e=d.f,c=d.e,g,i,j,f,k,l;d=a.x.tl.a(b,e);g=a.y.tl.a(b,c);i=a.x.tr.a(b,e);j=a.y.tr.a(b,c);f=a.x.br.a(b,e);k=a.y.br.a(b,c);l=a.x.bl.a(b,e);a=a.y.bl.a(b,c);e=Math.min(e/(d+i),c/(j+
-k),e/(l+f),c/(g+a));if(e<1){d*=e;g*=e;i*=e;j*=e;f*=e;k*=e;l*=e;a*=e}return{x:{tl:d,tr:i,br:f,bl:l},y:{tl:g,tr:j,br:k,bl:a}}},Z:function(a,b,d,e,c,g){a=this.$(a,b,d,e,c,g);return"m"+a[0]+","+a[1]+"qy"+a[2]+","+a[3]+"l"+a[4]+","+a[5]+"qx"+a[6]+","+a[7]+"l"+a[8]+","+a[9]+"qy"+a[10]+","+a[11]+"l"+a[12]+","+a[13]+"qx"+a[14]+","+a[15]+"x"},$:function(a,b,d,e,c,g){var i=this.o.n(),j=i.f*c,f=i.e*c,k=Math;i=k.floor;var l=k.ceil,m=k.max;k=k.min;a*=c;b*=c;d*=c;e*=c;g||(g=this.g.F.i());if(g){g=this.zd(g);var o=
-g.x.tl*c,s=g.y.tl*c,q=g.x.tr*c,t=g.y.tr*c,n=g.x.br*c,u=g.y.br*c,p=g.x.bl*c;c=g.y.bl*c;e=[i(e),i(k(m(s,a),f-d)),i(k(m(o,e),j-b)),i(a),l(m(e,j-m(q,b))),i(a),l(j-b),i(k(m(t,a),f-d)),l(j-b),l(m(a,f-m(u,d))),l(m(e,j-m(n,b))),l(f-d),i(k(m(p,e),j-b)),l(f-d),i(e),l(m(a,f-m(c,d)))]}else{a=i(a);b=l(j-b);d=l(f-d);e=i(e);e=[e,a,e,a,b,a,b,a,b,d,b,d,e,d,e,d]}return e},Bb:function(){var a=this.d,b=a.currentStyle,d=a.runtimeStyle,e=a.tagName,c=h.U===6,g;if(c&&(e in h.Tb||e==="FIELDSET")||e==="BUTTON"||e==="INPUT"&&
-a.type in h.Hd){d.borderWidth="";e=this.g.s.sc;for(g=e.length;g--;){c=e[g];d["padding"+c]="";d["padding"+c]=h.m(b["padding"+c]).a(a)+h.m(b["border"+c+"Width"]).a(a)+(h.U!==8&&g%2?1:0)}d.borderWidth=0}else if(c){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=H.createElement("ie6-mask");e=b.style;e.visibility="visible";for(e.zoom=1;e=a.firstChild;)b.appendChild(e);a.appendChild(b);d.visibility="hidden"}}else d.borderColor="transparent"},pe:function(){},k:function(){var a=this.wb,b;
-if(a)for(b in a)a.hasOwnProperty(b)&&this.Ba(b)}});h.Mc=h.v.sa({j:function(){var a=this.ad;for(var b in a)if(a.hasOwnProperty(b)&&a[b].j())return true;return false},ac:function(){var a=this.ec(),b=a,d;a=a.currentStyle;var e=a.position,c=0,g=0;g=this.o.n();var i=this.g.jb.i(),j=g.jc;if(e==="fixed"&&h.U>6){c=g.x*j;g=g.y*j;b=e}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){d=b.getBoundingClientRect();b=b.currentStyle;c=(g.x-d.left)*j-(parseFloat(b.borderLeftWidth)||0);g=
-(g.y-d.top)*j-(parseFloat(b.borderTopWidth)||0)}else{b=H.documentElement;c=(g.x+b.scrollLeft-b.clientLeft)*j;g=(g.y+b.scrollTop-b.clientTop)*j}b="absolute"}return"direction:ltr;position:absolute;behavior:none !important;position:"+b+";left:"+c+"px;top:"+g+"px;z-index:"+(e==="static"?-1:a.zIndex)+";display:"+(i.xc&&i.Vb?"block":"none")},vc:function(){var a=this.bc();if(a&&(this.o.oc()||this.g.jb.L()))a.style.cssText=this.ac()},ec:function(){var a=this.d;return a.tagName in h.uc?a.offsetParent:a},bc:function(){var a=
-this.sb;if(!a)a=this.sb=H.getElementById("_pie"+h.Q.pa(this));return a},Gb:function(){var a=this.Wa,b,d,e,c,g,i;if(this.j())if(a)if(b=this.vb){d=0;for(e=a.length;d'];d=0;for(e=a.length;d");this.ec().insertAdjacentHTML("beforeBegin",b.join(""));this.vb=a;this.Wa=0}}else this.vc();else this.k()},Wd:function(a,b){return a.eb-b.eb},sd:function(a){(this.Wa||(this.Wa=[])).push(a)},Sd:function(a){var b=this.vb,d;if(b)for(d=b.length;d--;)if(b[d]===a){b.splice(d,1);break}},k:function(){var a=this.sb,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.sb;delete this.vb}});H.createElement("css3pie");h.Dc=h.v.sa({H:2,ra:function(){var a=this.g;return a.K.L()||a.F.L()},j:function(){var a=
-this.g;return a.D.j()||a.F.j()||a.K.j()||a.na.j()&&a.na.i().Db},Ca:function(){var a=this.o.n();if(a.f&&a.e){this.nd();this.od()}},nd:function(){var a=this.g.K.i(),b=this.o.n(),d=this.d,e=a&&a.color,c;if(e&&e.Y()>0){this.fc();c=this.B("bgColor",this.H);c.ta(b.f,b.e);c.fa("path",this.$b(b,a.bd));c.w("color",e.M(d));a=e.Y();a<1&&c.w("opacity",a)}else this.Ba("bgColor")},od:function(){var a=this.g.K.i(),b=this.o.n();a=a&&a.R;var d,e,c,g,i;if(a){this.fc();c=b.f;g=b.e;for(i=a.length;i--;){d=a[i];e=this.B("bgImage"+
-i,this.H+(0.5-i/1E3));e.fa("path",this.$b(b,d.Xa));e.ta(c,g);if(d.V==="linear-gradient")this.Xc(e,d);else{e.w("type","tile","color","none");this.Pd(e,d.Cb,i)}}}for(i=a?a.length:0;this.Ba("bgImage"+i++););},Pd:function(a,b,d){h.Q.Ac(b,function(e){var c=this.d,g=this.o.n(),i=g.f,j=g.e;if(i&&j){var f=this.g,k=f.K,l=k.i().R[d],m=k.ud(l.Ya,this.o,f.s,f.da);f=(l.Za||h.Ma.Jc).a(this.d,m.f,m.e,e.f,e.e);k=this.vd(l.Ya);c=l.ma?l.ma.coords(c,m.f-f.f,m.e-f.e):{x:0,y:0};l=l.bb;var o=0,s=0,q=i+1,t=j+1,n=h.U===
-8?0:1;m=Math.round(k.x+c.x)+0.5;k=Math.round(k.y+c.y)+0.5;a.w("src",b,"position",m/i+","+k/j,"size",f.f!==e.f||f.e!==e.e||g.jc!==1||screen.logicalXDPI/screen.deviceXDPI!==1?h.Qa.gb(f.f)+"pt,"+h.Qa.gb(f.e)+"pt":"");if(l&&l!=="repeat"){if(l==="repeat-x"||l==="no-repeat"){o=k+1;t=k+f.e+n}if(l==="repeat-y"||l==="no-repeat"){s=m+1;q=m+f.f+n}a.Ha("clip","rect("+o+"px,"+q+"px,"+t+"px,"+s+"px)")}}},this)},$b:function(a,b){var d=0,e=0,c=0,g=0,i=this.d,j=this.g,f;if(b&&b!=="border-box")if((f=j.s.i())&&(f=f.O)){d+=
-f.t.a(i);e+=f.r.a(i);c+=f.b.a(i);g+=f.l.a(i)}if(b==="content-box")if(b=j.da.i()){d+=b.t.a(i);e+=b.r.a(i);c+=b.b.a(i);g+=b.l.a(i)}return"m0,0r0,0m"+a.f*2+","+a.e*2+"r0,0"+this.Z(d,e,c,g,2)},vd:function(a){var b=this.d,d=this.g,e=0,c=0,g;if(a!=="border-box")if((g=d.s.i())&&(g=g.O)){e+=g.l.a(b);c+=g.t.a(b)}if(a==="content-box")if(a=d.da.i()){e+=a.l.a(b);c+=a.t.a(b)}return{x:e,y:c}},Xc:function(a,b){var d=this.d,e=this.o.n(),c=e.f,g=e.e;e=b.ua;var i=e.length,j=Math.PI,f=h.nb.xd(d,c,g,b),k=f.la;b=f.Jd;
-var l,m;for(c=k%90?Math.atan2(f.be-f.rd,(f.qd-f.ae)*c/g)/j*180-90:-k;c<0;)c+=360;c%=360;g=[];j=[];for(f=0;f0){k[0]=this.Z(0,0,0,0,2);p=a.t;if(p==="double")k.push(this.Z(j/3,l/3,m/3,g/3,2)+this.Z(j*2/3,l*2/3,m*2/3,g*2/3,2));else if(p in u){c=this.$(j,l,m,g,2);this.S(k,c[2],c[4],j*2,0,0,a.t);this.S(k,c[7],
-c[9],l*2,(e.f-l)*2,1,a.r);this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,a.b);this.S(k,c[1],c[15],g*2,0,1,a.l)}k.push(this.Z(j,l,m,g,2));b.push(k.join(""),i.t.M(d))}}else{o=this.$(0,0,0,0,2);c=this.$(j,l,m,g,2);for(n in t)if(t.hasOwnProperty(n)&&i[n].Y()>0){p=t[n];var v=p[0],C=p[1],y=p[2],B=p[3],F=p[4],G=p[5],K=p[6],J=p[7],w=p[8],P=n==="t"||n==="l";p=a[n];k[0]="al"+o[v]+","+o[C]+","+f(o[y]-o[v])+","+f(o[B]-o[C])+","+(w+45)*65535+",-2949075ae"+o[F]+","+o[G]+","+f(o[K]-o[F])+","+f(o[J]-o[G])+","+w*65535+",-2949075";
-if(p in this.md){if(!s)if(p==="double"){s=this.$(j/3,l/3,m/3,g/3,2);q=this.$(j*2/3,l*2/3,m*2/3,g*2/3,2)}else s=q=this.$(j/2,l/2,m/2,g/2,2);k.push("ae"+s[F]+","+s[G]+","+f(s[K]-s[F])+","+f(s[J]-s[G])+","+(w-45)*65535+",2949075ae"+s[v]+","+s[C]+","+f(s[y]-s[v])+","+f(s[B]-s[C])+","+w*65535+",2949075x");if(p!=="double"){r=i[n].M(d)+((p==="groove"?P:!P)?" darken(128)":" lighten(128)");b.push(k.join(""),r);k.length=0}k.push("al"+q[v]+","+q[C]+","+f(q[y]-q[v])+","+f(q[B]-q[C])+","+(w+45)*65535+",-2949075ae"+
-q[F]+","+q[G]+","+f(q[K]-q[F])+","+f(q[J]-q[G])+","+w*65535+",-2949075")}k.push("ae"+c[F]+","+c[G]+","+f(c[K]-c[F])+","+f(c[J]-c[G])+","+(w-45)*65535+",2949075ae"+c[v]+","+c[C]+","+f(c[y]-c[v])+","+f(c[B]-c[C])+","+w*65535+",2949075x");if(p in u)n==="t"?this.S(k,c[2],c[4],j*2,0,0,p):n==="r"?this.S(k,c[7],c[9],l*2,(e.f-l)*2,1,p):n==="b"?this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,p):this.S(k,c[1],c[15],g*2,0,1,p);r=i[n].M(d);if(p in this.Ub)r+=(p==="groove"||p==="outset"?P:!P)?" lighten(128)":" darken(128)";
-b.push(k.join(""),r);k.length=0}}}return b},k:function(){if(this.Yb||!this.g.D.j())this.d.runtimeStyle.borderColor="";h.v.k.call(this)}});h.Ec=h.v.sa({H:5,ra:function(){return this.g.D.L()},j:function(){return this.g.D.j()},Ca:function(){var a=this.g.D.i(),b=this.g.s.i(),d=this.o.n(),e=this.d;h.Q.Ac(a.src,function(c){function g(r,v,C,y,B,F,G,K,J){var w=Math.max;if(!u||!p||!y||!B||!K||!J)r.Ha("display","none");else{y=w(y,0);B=w(B,0);r.fa("path","m0,0l"+y*2+",0l"+y*2+","+B*2+"l0,"+B*2+"x");r.w("src",
-n,"type","tile","position","0,0","origin",(F-0.5)/u+","+(G-0.5)/p,"size",h.Qa.gb(y*u/K)+"pt,"+h.Qa.gb(B*p/J)+"pt");r.ta(y,B);r.Ha("left",v+"px","top",C+"px","display","")}}var i=d.f,j=d.e,f=h.m("0"),k=a.O||(b?b.O:{t:f,r:f,b:f,l:f});f=k.t.a(e);var l=k.r.a(e),m=k.b.a(e);k=k.l.a(e);var o=a.slice,s=o.t.a(e),q=o.r.a(e),t=o.b.a(e);o=o.l.a(e);var n=a.src,u=c.f,p=c.e;g(this.N("tl"),0,0,k,f,0,0,o,s);g(this.N("t"),k,0,i-k-l,f,o,0,u-o-q,s);g(this.N("tr"),i-l,0,l,f,u-q,0,q,s);g(this.N("r"),i-l,f,l,j-f-m,u-q,
-s,q,p-s-t);g(this.N("br"),i-l,j-m,l,m,u-q,p-t,q,t);g(this.N("b"),k,j-m,i-k-l,m,o,p-t,u-o-q,t);g(this.N("bl"),0,j-m,k,m,0,p-t,o,t);g(this.N("l"),0,f,k,j-f-m,0,s,o,p-s-t);g(this.N("c"),k,f,i-k-l,j-f-m,o,s,a.fill?u-o-q:0,p-s-t)},this)},N:function(a){return this.B("borderImage_"+a,this.H)},qc:function(){if(this.j()){var a=this.d,b=a.runtimeStyle,d=this.g.D.i().O;b.borderStyle="solid";if(d){b.borderTopWidth=d.t.a(a);b.borderRightWidth=d.r.a(a);b.borderBottomWidth=d.b.a(a);b.borderLeftWidth=d.l.a(a)}this.Bb()}},
-k:function(){var a=this.d.runtimeStyle;a.borderStyle="";if(this.Yb||!this.g.s.j())a.borderColor=a.borderWidth="";h.v.k.call(this)}});h.Gc=h.v.sa({H:1,ra:function(){var a=this.g;return a.na.L()||a.F.L()},j:function(){var a=this.g.na;return a.j()&&a.i().Ga[0]},Ca:function(){var a=this.d,b=this.g,d=b.na.i().Ga;b=b.F.i();var e=d.length,c=e,g=this.o.n(),i=g.f;g=g.e;for(var j,f,k,l,m,o,s,q,t,n;c--;){j=d[c];k=j.ke.a(a);l=j.le.a(a);m=j.$d.a(a);o=j.blur.a(a);j=j.color;s=j.Y();j=j.M(a);f=-m-o;if(!b&&o)b=h.lb.Bc;
-q=this.Z(f,f,f,f,2,b);f=this.B("shadow"+c,this.H+(0.5-c/1E3));if(o){t=(m+o)*2+i;n=(m+o)*2+g;m=t?o*2/t:0;o=n?o*2/n:0;if(m>0.5||o>0.5){t=0.5/Math.max(m,o);m*=t;o*=t;s*=t*t}f.w("type","gradienttitle","color2",j,"focusposition",m+","+o,"focussize",1-m*2+","+(1-o*2),"opacity",0,"o:opacity2",s)}else f.w("type","solid","opacity",s);f.fa("path",q);f.w("color",j);f.Ha("left",k+"px","top",l+"px");f.ta(i,g)}for(;this.Ba("shadow"+e++););}});h.Lc=h.v.sa({H:6,ra:function(){var a=this.g;return this.d.src!==this.Sc||
-a.F.L()},j:function(){var a=this.g;return a.F.j()||a.K.ic()},Ca:function(){this.Sc=g;this.Ed();var a=this.B("img",this.H),b=this.o.n(),d=b.f;b=b.e;var e=this.g.s.i(),c=e&&e.O;e=this.d;var g=e.src,i=Math.round,j=this.g.da.i();if(!c||h.U<7){c=h.m("0");c={t:c,r:c,b:c,l:c}}a.fa("path",this.Z(i(c.t.a(e)+j.t.a(e)),i(c.r.a(e)+j.r.a(e)),i(c.b.a(e)+j.b.a(e)),i(c.l.a(e)+j.l.a(e)),2));a.w("type","frame","src",g,"position",(d?0.5/d:0)+","+(b?0.5/b:0));a.ta(d,b)},Ed:function(){this.d.runtimeStyle.filter="alpha(opacity=0)"},
-k:function(){h.v.k.call(this);this.d.runtimeStyle.filter=""}});h.mb=function(){function a(n,u){n.className+=" "+u}function b(n){var u=t.slice.call(arguments,1),p=u.length;setTimeout(function(){if(n)for(;p--;)a(n,u[p])},0)}function d(n){var u=t.slice.call(arguments,1),p=u.length;setTimeout(function(){if(n)for(;p--;){var r=u[p];r=q[r]||(q[r]=new RegExp("\\b"+r+"\\b","g"));n.className=n.className.replace(r,"")}},0)}function e(n){function u(){if(!T){var x,z,E=h.qa,N=n.currentStyle,I=N.getAttribute(g)===
-"true",Z=N.getAttribute(j)!=="false",$=N.getAttribute(f)!=="false";R=N.getAttribute(i);R=E>7?R!=="false":R==="true";if(!U){U=1;n.runtimeStyle.zoom=1;N=n;for(var aa=1;N=N.previousSibling;)if(N.nodeType===1){aa=0;break}aa&&a(n,o)}D.cb();if(I&&(z=D.n())&&(x=H.documentElement||H.body)&&(z.y>x.clientHeight||z.x>x.clientWidth||z.y+z.e<0||z.x+z.f<0)){if(!X){X=1;h.pb.ca(u)}}else{T=1;X=U=0;h.pb.Ka(u);if(E===9){A={K:new h.Hb(n),D:new h.Ib(n),s:new h.Jb(n),da:new h.Nb(n)};Q=[A.K,A.s,A.D,A.da];L=new h.oe(n,D,
-A);M=[new h.me(n,D,A,L),new h.ne(n,D,A,L)]}else{A={K:new h.Hb(n),s:new h.Jb(n),D:new h.Ib(n),F:new h.lb(n),na:new h.Hc(n),da:new h.Nb(n),jb:new h.Oc(n)};Q=[A.K,A.s,A.D,A.F,A.na,A.da,A.jb];L=new h.Mc(n,D,A);M=[new h.Gc(n,D,A,L),new h.Dc(n,D,A,L),new h.Fc(n,D,A,L),new h.Ec(n,D,A,L)];n.tagName==="IMG"&&M.push(new h.Lc(n,D,A,L));L.ad=M}if(x=n.currentStyle.getAttribute(h.z+"watch-ancestors")){x=parseInt(x,10);z=0;for(I=n.parentNode;I&&(x==="NaN"||z++",d[0];);h.U=a;if(a===6)h.z=h.z.replace(/^-/,"");h.qa=H.documentMode||h.U;b.innerHTML='';a=b.firstChild;a.style.behavior="url(#default#VML)";h.tc=typeof a.adj==="object"})();(function(){var a=0,b={};h.Q={pa:function(d){return d&&d._pieId||(d._pieId="_"+a++)},Ac:function(d,e,c){var g=b[d],i,j;if(g)Object.prototype.toString.call(g)==="[object Array]"?g.push([e,c]):e.call(c,g);else{j=b[d]=[[e,c]];
+i=new Image;i.onload=function(){g=b[d]={f:i.width,e:i.height};for(var f=0,k=j.length;f=180?0:b,a<90||a>270?0:d);e=c[0];c=c[1];b=b-e;d=d-c;return{la:a,
+qd:e,rd:c,ae:b,be:d,Jd:h.nb.ld(b,d,e,c)}},Od:function(a,b,d,e,c){if(d===0||d===180)return[a,c];else if(d===90||d===270)return[e,b];else{d=Math.tan((d-90)*Math.PI/180);a=d*a-b;b=-1/d;e=b*e-c;c=b-d;return[(e-a)/c,(d*e-b*a)/c]}},ld:function(a,b,d,e){a=d-a;b=e-b;return Math.abs(a===0?b:b===0?a:Math.sqrt(a*a+b*b))}};h.ja=function(){this.Eb=[];this.hc={}};h.ja.prototype={ca:function(a){var b=h.Q.pa(a),d=this.hc,e=this.Eb;if(!(b in d)){d[b]=e.length;e.push(a)}},Ka:function(a){a=h.Q.pa(a);var b=this.hc;if(a&&
+a in b){delete this.Eb[b[a]];delete b[a]}},Da:function(){for(var a=this.Eb,b=a.length;b--;)a[b]&&a[b]()}};h.Pa=new h.ja;h.Pa.Ud=function(){var a=this,b;if(!a.Vd){b=H.documentElement.currentStyle.getAttribute(h.z+"poll-interval")||250;(function d(){a.Da();setTimeout(d,b)})();a.Vd=1}};(function(){function a(){h.J.Da();O.detachEvent("onunload",a);O.PIE=null}h.J=new h.ja;O.attachEvent("onunload",a);h.J.za=function(b,d,e){b.attachEvent(d,e);this.ca(function(){b.detachEvent(d,e)})}})();h.Sa=new h.ja;h.J.za(O,
+"onresize",function(){h.Sa.Da()});(function(){function a(){h.pb.Da()}h.pb=new h.ja;h.J.za(O,"onscroll",a);h.Sa.ca(a)})();(function(){function a(){d=h.mb.kd()}function b(){if(d){for(var e=0,c=d.length;e0)return parseFloat(k);else if(f.tagName in h.Tb){m=this;l=f.parentNode;return h.m(k).a(l,function(){return m.yb(l)})}else{f.appendChild(b);k=b.offsetWidth;b.parentNode===f&&f.removeChild(b);return k}}};a.gb=function(f){return f/c.pt};h.m=function(f){return j[f]||(j[f]=new a(f))};return a}();h.kb=function(){function a(c){this.ga=c}var b=h.m("50%"),
+d={top:1,center:1,bottom:1},e={left:1,center:1,right:1};a.prototype={Bd:function(){if(!this.Rb){var c=this.ga,g=c.length,i=h.q,j=i.ya,f=h.m("0");j=j.W;f=["left",f,"top",f];if(g===1){c.push(new i.rb(j,"center"));g++}if(g===2){j&(c[0].h|c[1].h)&&c[0].c in d&&c[1].c in e&&c.push(c.shift());if(c[0].h&j)if(c[0].c==="center")f[1]=b;else f[0]=c[0].c;else if(c[0].G())f[1]=h.m(c[0].c);if(c[1].h&j)if(c[1].c==="center")f[3]=b;else f[2]=c[1].c;else if(c[1].G())f[3]=h.m(c[1].c)}this.Rb=f}return this.Rb},coords:function(c,
+g,i){var j=this.Bd(),f=j[1].a(c,g);c=j[3].a(c,i);return{x:j[0]==="right"?g-f:f,y:j[2]==="bottom"?i-c:c}}};return a}();h.Ma=function(){function a(b,d){this.f=b;this.e=d}a.prototype={a:function(b,d,e,c,g){var i=this.f,j=this.e,f=d/e;c=c/g;if(i==="contain"){i=c>f?d:e*c;j=c>f?d/c:e}else if(i==="cover"){i=c1)l-=1;return 255*(6*l<1?f+(k-f)*l*6:2*l<1?k:3*l<2?f+(k-f)*(2/3-l)*6:f)}function b(f){this.ha=f}var d={};b.Td=/\s*rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;
+b.Fd=/\s*hsla?\(\s*(\d*\.?\d+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;b.db={};for(var e="black|0|navy|3k|darkblue|b|mediumblue|1u|blue|1e|darkgreen|jk1|green|5j4|teal|3k|darkcyan|26j|deepskyblue|ad0|darkturquoise|2xe|mediumspringgreen|8nd|lime|va|springgreen|3j|aqua|3k|cyan|0|midnightblue|xunl|dodgerblue|7ogf|lightseagreen|2zsb|forestgreen|2lbs|seagreen|guut|darkslategray|12pk|limegreen|4wkj|mediumseagreen|dwlb|turquoise|5v8f|royalblue|r2p|steelblue|75qr|darkslateblue|2fh3|mediumturquoise|ta9|indigo|32d2|darkolivegreen|emr1|cadetblue|ebu9|cornflowerblue|6z4d|mediumaquamarine|3459|dimgray|3nwf|slateblue|1bok|olivedrab|1opi|slategray|6y5p|lightslategray|9vk9|mediumslateblue|5g0l|lawngreen|27ma|chartreuse|48ao|aquamarine|5w|maroon|18|purple|3k|olive|p6o|gray|3k|lightslateblue|5j7j|skyblue|4q98|lightskyblue|f|blueviolet|3bhk|darkred|15we|darkmagenta|3v|saddlebrown|djc|darkseagreen|69vg|lightgreen|1og1|mediumpurple|3ivc|darkviolet|sfv|palegreen|6zt1|darkorchid|awk|yellowgreen|292e|sienna|7r3v|brown|6sxp|darkgray|6bgf|lightblue|5vlp|greenyellow|7k9|paleturquoise|2pxb|lightsteelblue|169c|powderblue|5jc|firebrick|1rgc|darkgoldenrod|8z55|mediumorchid|2jm0|rosybrown|34jg|darkkhaki|1mfw|silver|49jp|mediumvioletred|8w5h|indianred|8tef|peru|82r|violetred|3ntd|feldspar|212d|chocolate|16eh|tan|ewe|lightgrey|1kqv|palevioletred|6h8g|metle|fnp|orchid|2dj2|goldenrod|abu|crimson|20ik|gainsboro|13mo|plum|12pt|burlywood|1j8q|lightcyan|3794|lavender|8agr|darksalmon|3rsw|violet|6wz8|palegoldenrod|k3g|lightcoral|28k6|khaki|k5o|aliceblue|3n7|honeydew|1dd|azure|f|sandybrown|5469|wheat|1q37|beige|4kp|whitesmoke|p|mintcream|1z9|ghostwhite|46bp|salmon|25bn|antiquewhite|l7p|linen|zz|lightgoldenrodyellow|1yk|oldlace|46qc|red|1gka|magenta|73|fuchsia|0|deeppink|3v8|orangered|9kd|tomato|5zb|hotpink|19p|coral|49o|darkorange|2i8|lightsalmon|41m|orange|w6|lightpink|3i9|pink|1ze|gold|4dx|peachpuff|qh|navajowhite|s4|moccasin|16w|bisque|f|mistyrose|t|blanchedalmond|1d8|papayawhip|so|lavenderblush|80|seashell|zd|cornsilk|ku|lemonchiffon|dt|floralwhite|z|snow|a|yellow|sm|lightyellow|68|ivory|g|white|f".split("|"),
+c=0,g=e.length,i=0,j;c=this.$a.length)return c();i=this.ch;g=this.$a.substring(this.ch);j=g.charAt(0);switch(j){case "#":if(f=g.match(this.Dd)){this.ch+=f[0].length;return e(b.u,f[0])}break;case '"':case "'":if(f=g.match(this.ce)){this.ch+=f[0].length;return e(b.Nc,
+f[2]||f[3]||"")}break;case "/":case ",":this.ch++;return e(b.xa,j);case "u":if(f=g.match(this.url)){this.ch+=f[0].length;return e(b.URL,f[2]||f[3]||f[4]||"")}}if(f=g.match(this.Nd)){j=f[0];this.ch+=j.length;if(g.charAt(j.length)==="%"){this.ch++;return e(b.Ta,j+"%")}if(f=g.substring(j.length).match(this.gc)){j+=f[0];this.ch+=f[0].length;return e(this.ie[f[0].toLowerCase()]||b.Kc,j)}return e(b.wa,j)}if(f=g.match(this.gc)){j=f[0];this.ch+=j.length;if(j.toLowerCase()in h.Ic.db||j==="currentColor"||j===
+"transparent")return e(b.u,j);if(g.charAt(j.length)==="("){this.ch++;if(j.toLowerCase()in this.cd){g=function(o){return o&&o.h&b.wa};f=function(o){return o&&o.h&(b.wa|b.Ta)};var l=function(o,s){return o&&o.c===s},m=function(){return k.next(1)};if((j.charAt(0)==="r"?f(m()):g(m()))&&l(m(),",")&&f(m())&&l(m(),",")&&f(m())&&(j==="rgb"||j==="hsa"||l(m(),",")&&g(m()))&&l(m(),")"))return e(b.u,this.$a.substring(i,this.ch));return c()}return e(b.Mb,j)}return e(b.W,j)}this.ch++;return e(b.Lb,j)},C:function(){return this.ga[this.Ja-- -
+2]},all:function(){for(;this.next(););return this.ga},va:function(d,e){for(var c=[],g,i;g=this.next();){if(d(g)){i=true;this.C();break}c.push(g)}return e&&!i?null:c}};return a}();h.Kb=function(a){this.d=a};h.Kb.prototype={X:0,oc:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.x!==b.x||a.y!==b.y)},Yd:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.f!==b.f||a.e!==b.e)},cc:function(){var a=this.d,b=a.getBoundingClientRect(),d=h.qa===9,e=h.U===7,c=b.right-b.left;return{x:b.left,y:b.top,f:d||
+e?a.offsetWidth:c,e:d||e?a.offsetHeight:b.bottom-b.top,jc:e&&c?a.offsetWidth/c:1}},n:function(){return this.X?this.Va||(this.Va=this.cc()):this.cc()},Cd:function(){return!!this.ub},cb:function(){++this.X},ib:function(){if(!--this.X){if(this.Va)this.ub=this.Va;this.Va=null}}};(function(){function a(b){var d=h.Q.pa(b);return function(){if(this.X){var e=this.Pb||(this.Pb={});return d in e?e[d]:(e[d]=b.call(this))}else return b.call(this)}}h.p={X:0,ba:function(b){function d(e){this.d=e;this.Ob=this.T()}
+h.Fa(d.prototype,h.p,b);d.Vc={};return d},i:function(){var b=this.T(),d=this.constructor.Vc;return b?b in d?d[b]:(d[b]=this.ea(b)):null},T:a(function(){var b=this.d,d=this.constructor,e=b.style;b=b.currentStyle;var c=this.Aa,g=this.Ia,i=d.Tc||(d.Tc=h.z+c);d=d.Uc||(d.Uc=h.qb+g.charAt(0).toUpperCase()+g.substring(1));return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c)}),j:a(function(){return!!this.i()}),L:a(function(){var b=this.T(),d=b!==this.Ob;this.Ob=b;return d}),oa:a,cb:function(){++this.X},
+ib:function(){--this.X||delete this.Pb}}})();h.Hb=h.p.ba({Aa:h.z+"background",Ia:h.qb+"Background",Yc:{scroll:1,fixed:1,local:1},hb:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},nc:{"padding-box":1,"border-box":1,"content-box":1},Qd:{top:1,right:1,bottom:1,left:1,center:1},Zd:{contain:1,cover:1},fe:{top:1,bottom:1},Kd:{left:1,right:1},fb:{Oa:"backgroundClip",u:"backgroundColor",ia:"backgroundImage",Ra:"backgroundOrigin",P:"backgroundPosition",ka:"backgroundRepeat",Ua:"backgroundSize"},ea:function(a){function b(r){return r&&
+(r.G()&&h.m(r.c)||r.c==="auto"&&"auto")}var d=this.d.currentStyle,e,c,g,i=h.q.ya,j=i.xa,f=i.W,k=i.u,l,m,o=0,s=this.Qd,q,t,n,u,p={R:[]};if(this.xb()){e=new h.q(a);for(g={};c=e.next();){l=c.h;m=c.c;if(!g.V&&l&i.Mb&&m==="linear-gradient"){q={ua:[],V:m};for(t={};c=e.next();){l=c.h;m=c.c;if(l&i.Lb&&m===")"){t.color&&q.ua.push(t);q.ua.length>1&&h.Fa(g,q);break}if(l&k){if(q.la||q.ab){c=e.C();if(c.h!==j)break;e.next()}t={color:h.aa(m)};c=e.next();if(c.G())t.lc=h.m(c.c);else e.C()}else if(l&i.La&&!q.la&&!q.ab&&
+!t.color&&!q.ua.length)q.la=new h.Cc(c.c);else if(l&i.W&&m==="to"&&!q.ab&&!q.la&&!t.color&&!q.ua.length){n=this.fe;u=this.Kd;c=e.va(function(r){return!(r&&r.h&i.W&&(r.c in n||r.c in u))});l=c.length;c=[c[0]&&c[0].c,c[1]&&c[1].c];if(l<1||l>2||l>1&&(c[0]in n&&c[1]in n||c[0]in u&&c[1]in u))break;q.ab=c}else if(l&j&&m===","){if(t.color){q.ua.push(t);t={}}}else break}}else if(!g.V&&l&i.URL){g.Cb=m;g.V="image"}else if((c&&c.G()||c.h&f&&c.c in s)&&!g.ma){e.C();g.ma=new h.kb(e.va(function(r){return!(r&&r.G()||
+r.h&f&&r.c in s)},false))}else if(l&f)if(m in this.hb&&!g.bb)g.bb=m;else if(m in this.nc&&!g.Ya){g.Ya=m;if((c=e.next())&&c.h&f&&c.c in this.nc)g.Xa=c.c;else{g.Xa=m;e.C()}}else if(m in this.Yc&&!g.$c)g.$c=m;else return null;else if(l&k&&!p.color)p.color=h.aa(m);else if(l&j&&m==="/"&&!g.Za&&g.ma){c=e.next();if(c.h&f&&c.c in this.Zd)g.Za=new h.Ma(c.c);else if(q=b(c)){t=b(e.next());if(!t){t=q;e.C()}g.Za=new h.Ma(q,t)}else return null}else if(l&j&&m===","&&g.V){g.mc=a.substring(o,e.ch-1);o=e.ch;p.R.push(g);
+g={}}else return null}if(g.V){g.mc=a.substring(o);p.R.push(g)}p.bd=g.Xa}else this.yc(h.qa<9?function(){var r=this.fb,v=d[r.P+"X"],C=d[r.P+"Y"],y=d[r.ia],B=d[r.u];if(B!=="transparent")p.color=h.aa(B);if(y!=="none")p.R=[{V:"image",Cb:(new h.q(y)).next().c,bb:d[r.ka],ma:new h.kb((new h.q(v+" "+C)).all())}]}:function(){var r=this.fb,v=/\s*,\s*/,C=d[r.ia].split(v),y=d[r.u],B,F,G,K,J,w;if(y!=="transparent")p.color=h.aa(y);if((K=C.length)&&C[0]!=="none"){y=d[r.ka].split(v);B=d[r.P].split(v);F=d[r.Ra].split(v);
+G=d[r.Oa].split(v);r=d[r.Ua].split(v);p.R=[];for(v=0;v8,d=this.fb,e=this.d.runtimeStyle,c=e[d.ia],g=e[d.u],i=e[d.ka],j,f,k,l;if(c)e[d.ia]="";if(g)e[d.u]="";if(i)e[d.ka]="";if(b){j=e[d.Oa];f=e[d.Ra];l=e[d.P];k=
+e[d.Ua];if(j)e[d.Oa]="";if(f)e[d.Ra]="";if(l)e[d.P]="";if(k)e[d.Ua]=""}a=a.call(this);if(c)e[d.ia]=c;if(g)e[d.u]=g;if(i)e[d.ka]=i;if(b){if(j)e[d.Oa]=j;if(f)e[d.Ra]=f;if(l)e[d.P]=l;if(k)e[d.Ua]=k}return a},T:h.p.oa(function(){return this.xb()||this.yc(function(){var a=this.d.currentStyle,b=this.fb;return a[b.u]+" "+a[b.ia]+" "+a[b.ka]+" "+a[b.P+"X"]+" "+a[b.P+"Y"]})}),xb:h.p.oa(function(){var a=this.d;return a.style[this.Ia]||a.currentStyle.getAttribute(this.Aa)}),ud:function(a,b,d,e){var c=this.d,
+g=b.n();b=g.f;g=g.e;if(a!=="border-box")if((d=d.i())&&(d=d.O)){b-=d.l.a(c)+d.l.a(c);g-=d.t.a(c)+d.b.a(c)}if(a==="content-box")if(a=e.i()){b-=a.l.a(c)+a.l.a(c);g-=a.t.a(c)+a.b.a(c)}return{f:b,e:g}},ic:function(){var a=0;if(h.U<7){a=this.d;a=""+(a.style[h.qb+"PngFix"]||a.currentStyle.getAttribute(h.z+"png-fix"))==="true"}return a},j:h.p.oa(function(){return(this.xb()||this.ic())&&!!this.i()})});h.Jb=h.p.ba({sc:["Top","Right","Bottom","Left"],Ld:{thin:"1px",medium:"3px",thick:"5px"},ea:function(){var a=
+{},b={},d={},e=false,c=true,g=true,i=true;this.zc(function(){for(var j=this.d.currentStyle,f=0,k,l,m,o,s,q,t;f<4;f++){m=this.sc[f];t=m.charAt(0).toLowerCase();k=b[t]=j["border"+m+"Style"];l=j["border"+m+"Color"];m=j["border"+m+"Width"];if(f>0){if(k!==o)g=false;if(l!==s)c=false;if(m!==q)i=false}o=k;s=l;q=m;d[t]=h.aa(l);m=a[t]=h.m(b[t]==="none"?"0":this.Ld[m]||m);if(m.a(this.d)>0)e=true}});return e?{O:a,de:b,dd:d,qe:i,ed:c,ee:g}:null},T:h.p.oa(function(){var a=this.d,b=a.currentStyle,d;a.tagName in
+h.uc&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.zc(function(){d=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return d}),zc:function(a){var b=this.d.runtimeStyle,d=b.borderWidth,e=b.borderColor;if(d)b.borderWidth="";if(e)b.borderColor="";a=a.call(this);if(d)b.borderWidth=d;if(e)b.borderColor=e;return a}});(function(){h.lb=h.p.ba({Aa:"border-radius",Ia:"borderRadius",ea:function(b){var d=null,e,c,g,i,j=false;if(b){c=new h.q(b);var f=function(){for(var k=[],l;(g=c.next())&&
+g.G();){i=h.m(g.c);l=i.dc();if(l<0)return null;if(l>0)j=true;k.push(i)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=f()){if(g){if(g.h&h.q.ya.xa&&g.c==="/")e=f()}else e=b;if(j&&b&&e)d={x:b,y:e}}}return d}});var a=h.m("0");a={tl:a,tr:a,br:a,bl:a};h.lb.Bc={x:a,y:a}})();h.Ib=h.p.ba({Aa:"border-image",Ia:"borderImage",hb:{stretch:1,round:1,repeat:1,space:1},ea:function(a){var b=null,d,e,c,g,i,j,f=0,k=h.q.ya,l=k.W,m=k.wa,o=k.Ta;if(a){d=new h.q(a);b=
+{};for(var s=function(n){return n&&n.h&k.xa&&n.c==="/"},q=function(n){return n&&n.h&l&&n.c==="fill"},t=function(){g=d.va(function(n){return!(n.h&(m|o))});if(q(d.next())&&!b.fill)b.fill=true;else d.C();if(s(d.next())){f++;i=d.va(function(n){return!n.G()&&!(n.h&l&&n.c==="auto")});if(s(d.next())){f++;j=d.va(function(n){return!n.Ea()})}}else d.C()};a=d.next();){e=a.h;c=a.c;if(e&(m|o)&&!g){d.C();t()}else if(q(a)&&!b.fill){b.fill=true;t()}else if(e&l&&this.hb[c]&&!b.repeat){b.repeat={e:c};if(a=d.next())if(a.h&
+l&&this.hb[a.c])b.repeat.wc=a.c;else d.C()}else if(e&k.URL&&!b.src)b.src=c;else return null}if(!b.src||!g||g.length<1||g.length>4||i&&i.length>4||f===1&&i.length<1||j&&j.length>4||f===2&&j.length<1)return null;if(!b.repeat)b.repeat={e:"stretch"};if(!b.repeat.wc)b.repeat.wc=b.repeat.e;a=function(n,u){return{t:u(n[0]),r:u(n[1]||n[0]),b:u(n[2]||n[0]),l:u(n[3]||n[1]||n[0])}};b.slice=a(g,function(n){return h.m(n.h&m?n.c+"px":n.c)});if(i&&i[0])b.O=a(i,function(n){return n.G()?h.m(n.c):n.c});if(j&&j[0])b.Ga=
+a(j,function(n){return n.Ea()?h.m(n.c):n.c})}return b}});h.Hc=h.p.ba({Aa:"box-shadow",Ia:"boxShadow",ea:function(a){var b,d=h.m,e=h.q.ya,c;if(a){c=new h.q(a);b={Ga:[],Db:[]};for(a=function(){for(var g,i,j,f,k,l;g=c.next();){j=g.c;i=g.h;if(i&e.xa&&j===",")break;else if(g.Ea()&&!k){c.C();k=c.va(function(m){return!m.Ea()})}else if(i&e.u&&!f)f=j;else if(i&e.W&&j==="inset"&&!l)l=true;else return false}g=k&&k.length;if(g>1&&g<5){(l?b.Db:b.Ga).push({ke:d(k[0].c),le:d(k[1].c),blur:d(k[2]?k[2].c:"0"),$d:d(k[3]?
+k[3].c:"0"),color:h.aa(f||"currentColor")});return true}return false};a(););}return b&&(b.Db.length||b.Ga.length)?b:null}});h.Nb=h.p.ba({ea:function(a){a=new h.q(a);for(var b=[],d;(d=a.next())&&d.G();)b.push(h.m(d.c));return b.length>0&&b.length<5?{t:b[0],r:b[1]||b[0],b:b[2]||b[0],l:b[3]||b[1]||b[0]}:null},T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,d=b.padding;if(d)b.padding="";a=a.currentStyle.padding;if(d)b.padding=d;return a})});h.Oc=h.p.ba({T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,
+d=a.currentStyle;a=b.visibility;b.visibility="";d=d.visibility+"|"+d.display;b.visibility=a;return d}),ea:function(){var a=this.T().split("|");return{xc:a[0]!=="hidden",Vb:a[1]!=="none"}},j:function(){return false}});h.Pc=function(){function a(c){return function(){var g=arguments,i,j=g.length,f,k,l;f=this[d+c]||(this[d+c]={});for(i=0;i';j.kc=1;i=[k,f,' id="',j.Xb,'" style="',j.Ad(),'" ',j.gd];c(j[d]);i.push(">");g("fill");i.push("");return i.join("")},k:function(){var c=this.B(),g=c&&c.parentNode;if(g){g.removeChild(c);delete this.Qb}}};return b}();h.v={sa:function(a){function b(d,e,c,g){this.d=d;this.o=e;this.g=c;this.parent=g}h.Fa(b.prototype,h.v,a);return b},ra:function(){return false},qc:h.pd,Gb:function(){this.j()?this.Ca():this.k()},
+Bb:function(){this.d.runtimeStyle.borderColor="transparent"},k:function(){}};h.Fa(h.v,{B:function(a,b){var d=this.wb||(this.wb={}),e=d[a];if(!e){e=d[a]=new h.Pc(a,b);this.parent.sd(e)}return e},Ba:function(a){var b=this.wb,d=b&&b[a];if(d){d.k();this.parent.Sd(d);delete b[a]}return!!d},zd:function(a){var b=this.d,d=this.o.n(),e=d.f,c=d.e,g,i,j,f,k,l;d=a.x.tl.a(b,e);g=a.y.tl.a(b,c);i=a.x.tr.a(b,e);j=a.y.tr.a(b,c);f=a.x.br.a(b,e);k=a.y.br.a(b,c);l=a.x.bl.a(b,e);a=a.y.bl.a(b,c);e=Math.min(e/(d+i),c/(j+
+k),e/(l+f),c/(g+a));if(e<1){d*=e;g*=e;i*=e;j*=e;f*=e;k*=e;l*=e;a*=e}return{x:{tl:d,tr:i,br:f,bl:l},y:{tl:g,tr:j,br:k,bl:a}}},Z:function(a,b,d,e,c,g){a=this.$(a,b,d,e,c,g);return"m"+a[0]+","+a[1]+"qy"+a[2]+","+a[3]+"l"+a[4]+","+a[5]+"qx"+a[6]+","+a[7]+"l"+a[8]+","+a[9]+"qy"+a[10]+","+a[11]+"l"+a[12]+","+a[13]+"qx"+a[14]+","+a[15]+"x"},$:function(a,b,d,e,c,g){var i=this.o.n(),j=i.f*c,f=i.e*c,k=Math;i=k.floor;var l=k.ceil,m=k.max;k=k.min;a*=c;b*=c;d*=c;e*=c;g||(g=this.g.F.i());if(g){g=this.zd(g);var o=
+g.x.tl*c,s=g.y.tl*c,q=g.x.tr*c,t=g.y.tr*c,n=g.x.br*c,u=g.y.br*c,p=g.x.bl*c;c=g.y.bl*c;e=[i(e),i(k(m(s,a),f-d)),i(k(m(o,e),j-b)),i(a),l(m(e,j-m(q,b))),i(a),l(j-b),i(k(m(t,a),f-d)),l(j-b),l(m(a,f-m(u,d))),l(m(e,j-m(n,b))),l(f-d),i(k(m(p,e),j-b)),l(f-d),i(e),l(m(a,f-m(c,d)))]}else{a=i(a);b=l(j-b);d=l(f-d);e=i(e);e=[e,a,e,a,b,a,b,a,b,d,b,d,e,d,e,d]}return e},Bb:function(){var a=this.d,b=a.currentStyle,d=a.runtimeStyle,e=a.tagName,c=h.U===6,g;if(c&&(e in h.Tb||e==="FIELDSET")||e==="BUTTON"||e==="INPUT"&&
+a.type in h.Hd){d.borderWidth="";e=this.g.s.sc;for(g=e.length;g--;){c=e[g];d["padding"+c]="";d["padding"+c]=h.m(b["padding"+c]).a(a)+h.m(b["border"+c+"Width"]).a(a)+(h.U!==8&&g%2?1:0)}d.borderWidth=0}else if(c){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=H.createElement("ie6-mask");e=b.style;e.visibility="visible";for(e.zoom=1;e=a.firstChild;)b.appendChild(e);a.appendChild(b);d.visibility="hidden"}}else d.borderColor="transparent"},pe:function(){},k:function(){var a=this.wb,b;
+if(a)for(b in a)a.hasOwnProperty(b)&&this.Ba(b)}});h.Mc=h.v.sa({j:function(){var a=this.ad;for(var b in a)if(a.hasOwnProperty(b)&&a[b].j())return true;return false},ac:function(){var a=this.ec(),b=a,d;a=a.currentStyle;var e=a.position,c=0,g=0;g=this.o.n();var i=this.g.jb.i(),j=g.jc;if(e==="fixed"&&h.U>6){c=g.x*j;g=g.y*j;b=e}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){d=b.getBoundingClientRect();b=b.currentStyle;c=(g.x-d.left)*j-(parseFloat(b.borderLeftWidth)||0);g=
+(g.y-d.top)*j-(parseFloat(b.borderTopWidth)||0)}else{b=H.documentElement;c=(g.x+b.scrollLeft-b.clientLeft)*j;g=(g.y+b.scrollTop-b.clientTop)*j}b="absolute"}return"direction:ltr;position:absolute;behavior:none !important;position:"+b+";left:"+c+"px;top:"+g+"px;z-index:"+(e==="static"?-1:a.zIndex)+";display:"+(i.xc&&i.Vb?"block":"none")},vc:function(){var a=this.bc();if(a&&(this.o.oc()||this.g.jb.L()))a.style.cssText=this.ac()},ec:function(){var a=this.d;return a.tagName in h.uc?a.offsetParent:a},bc:function(){var a=
+this.sb;if(!a)a=this.sb=H.getElementById("_pie"+h.Q.pa(this));return a},Gb:function(){var a=this.Wa,b,d,e,c,g,i;if(this.j())if(a)if(b=this.vb){d=0;for(e=a.length;d'];d=0;for(e=a.length;d");this.ec().insertAdjacentHTML("beforeBegin",b.join(""));this.vb=a;this.Wa=0}}else this.vc();else this.k()},Wd:function(a,b){return a.eb-b.eb},sd:function(a){(this.Wa||(this.Wa=[])).push(a)},Sd:function(a){var b=this.vb,d;if(b)for(d=b.length;d--;)if(b[d]===a){b.splice(d,1);break}},k:function(){var a=this.sb,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.sb;delete this.vb}});H.createElement("css3pie");h.Dc=h.v.sa({H:2,ra:function(){var a=this.g;return a.K.L()||a.F.L()},j:function(){var a=
+this.g;return a.D.j()||a.F.j()||a.K.j()||a.na.j()&&a.na.i().Db},Ca:function(){var a=this.o.n();if(a.f&&a.e){this.nd();this.od()}},nd:function(){var a=this.g.K.i(),b=this.o.n(),d=this.d,e=a&&a.color,c;if(e&&e.Y()>0){this.fc();c=this.B("bgColor",this.H);c.ta(b.f,b.e);c.fa("path",this.$b(b,a.bd));c.w("color",e.M(d));a=e.Y();a<1&&c.w("opacity",a)}else this.Ba("bgColor")},od:function(){var a=this.g.K.i(),b=this.o.n();a=a&&a.R;var d,e,c,g,i;if(a){this.fc();c=b.f;g=b.e;for(i=a.length;i--;){d=a[i];e=this.B("bgImage"+
+i,this.H+(0.5-i/1E3));e.fa("path",this.$b(b,d.Xa));e.ta(c,g);if(d.V==="linear-gradient")this.Xc(e,d);else{e.w("type","tile","color","none");this.Pd(e,d.Cb,i)}}}for(i=a?a.length:0;this.Ba("bgImage"+i++););},Pd:function(a,b,d){h.Q.Ac(b,function(e){var c=this.d,g=this.o.n(),i=g.f,j=g.e;if(i&&j){var f=this.g,k=f.K,l=k.i().R[d],m=k.ud(l.Ya,this.o,f.s,f.da);f=(l.Za||h.Ma.Jc).a(this.d,m.f,m.e,e.f,e.e);k=this.vd(l.Ya);c=l.ma?l.ma.coords(c,m.f-f.f,m.e-f.e):{x:0,y:0};l=l.bb;var o=0,s=0,q=i+1,t=j+1,n=h.U===
+8?0:1;m=Math.round(k.x+c.x)+0.5;k=Math.round(k.y+c.y)+0.5;a.w("src",b,"position",m/i+","+k/j,"size",f.f!==e.f||f.e!==e.e||g.jc!==1||screen.logicalXDPI/screen.deviceXDPI!==1?h.Qa.gb(f.f)+"pt,"+h.Qa.gb(f.e)+"pt":"");if(l&&l!=="repeat"){if(l==="repeat-x"||l==="no-repeat"){o=k+1;t=k+f.e+n}if(l==="repeat-y"||l==="no-repeat"){s=m+1;q=m+f.f+n}a.Ha("clip","rect("+o+"px,"+q+"px,"+t+"px,"+s+"px)")}}},this)},$b:function(a,b){var d=0,e=0,c=0,g=0,i=this.d,j=this.g,f;if(b&&b!=="border-box")if((f=j.s.i())&&(f=f.O)){d+=
+f.t.a(i);e+=f.r.a(i);c+=f.b.a(i);g+=f.l.a(i)}if(b==="content-box")if(b=j.da.i()){d+=b.t.a(i);e+=b.r.a(i);c+=b.b.a(i);g+=b.l.a(i)}return"m0,0r0,0m"+a.f*2+","+a.e*2+"r0,0"+this.Z(d,e,c,g,2)},vd:function(a){var b=this.d,d=this.g,e=0,c=0,g;if(a!=="border-box")if((g=d.s.i())&&(g=g.O)){e+=g.l.a(b);c+=g.t.a(b)}if(a==="content-box")if(a=d.da.i()){e+=a.l.a(b);c+=a.t.a(b)}return{x:e,y:c}},Xc:function(a,b){var d=this.d,e=this.o.n(),c=e.f,g=e.e;e=b.ua;var i=e.length,j=Math.PI,f=h.nb.xd(d,c,g,b),k=f.la;b=f.Jd;
+var l,m;for(c=k%90?Math.atan2(f.be-f.rd,(f.qd-f.ae)*c/g)/j*180-90:-k;c<0;)c+=360;c%=360;g=[];j=[];for(f=0;f0){k[0]=this.Z(0,0,0,0,2);p=a.t;if(p==="double")k.push(this.Z(j/3,l/3,m/3,g/3,2)+this.Z(j*2/3,l*2/3,m*2/3,g*2/3,2));else if(p in u){c=this.$(j,l,m,g,2);this.S(k,c[2],c[4],j*2,0,0,a.t);this.S(k,c[7],
+c[9],l*2,(e.f-l)*2,1,a.r);this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,a.b);this.S(k,c[1],c[15],g*2,0,1,a.l)}k.push(this.Z(j,l,m,g,2));b.push(k.join(""),i.t.M(d))}}else{o=this.$(0,0,0,0,2);c=this.$(j,l,m,g,2);for(n in t)if(t.hasOwnProperty(n)&&i[n].Y()>0){p=t[n];var v=p[0],C=p[1],y=p[2],B=p[3],F=p[4],G=p[5],K=p[6],J=p[7],w=p[8],P=n==="t"||n==="l";p=a[n];k[0]="al"+o[v]+","+o[C]+","+f(o[y]-o[v])+","+f(o[B]-o[C])+","+(w+45)*65535+",-2949075ae"+o[F]+","+o[G]+","+f(o[K]-o[F])+","+f(o[J]-o[G])+","+w*65535+",-2949075";
+if(p in this.md){if(!s)if(p==="double"){s=this.$(j/3,l/3,m/3,g/3,2);q=this.$(j*2/3,l*2/3,m*2/3,g*2/3,2)}else s=q=this.$(j/2,l/2,m/2,g/2,2);k.push("ae"+s[F]+","+s[G]+","+f(s[K]-s[F])+","+f(s[J]-s[G])+","+(w-45)*65535+",2949075ae"+s[v]+","+s[C]+","+f(s[y]-s[v])+","+f(s[B]-s[C])+","+w*65535+",2949075x");if(p!=="double"){r=i[n].M(d)+((p==="groove"?P:!P)?" darken(128)":" lighten(128)");b.push(k.join(""),r);k.length=0}k.push("al"+q[v]+","+q[C]+","+f(q[y]-q[v])+","+f(q[B]-q[C])+","+(w+45)*65535+",-2949075ae"+
+q[F]+","+q[G]+","+f(q[K]-q[F])+","+f(q[J]-q[G])+","+w*65535+",-2949075")}k.push("ae"+c[F]+","+c[G]+","+f(c[K]-c[F])+","+f(c[J]-c[G])+","+(w-45)*65535+",2949075ae"+c[v]+","+c[C]+","+f(c[y]-c[v])+","+f(c[B]-c[C])+","+w*65535+",2949075x");if(p in u)n==="t"?this.S(k,c[2],c[4],j*2,0,0,p):n==="r"?this.S(k,c[7],c[9],l*2,(e.f-l)*2,1,p):n==="b"?this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,p):this.S(k,c[1],c[15],g*2,0,1,p);r=i[n].M(d);if(p in this.Ub)r+=(p==="groove"||p==="outset"?P:!P)?" lighten(128)":" darken(128)";
+b.push(k.join(""),r);k.length=0}}}return b},k:function(){if(this.Yb||!this.g.D.j())this.d.runtimeStyle.borderColor="";h.v.k.call(this)}});h.Ec=h.v.sa({H:5,ra:function(){return this.g.D.L()},j:function(){return this.g.D.j()},Ca:function(){var a=this.g.D.i(),b=this.g.s.i(),d=this.o.n(),e=this.d;h.Q.Ac(a.src,function(c){function g(r,v,C,y,B,F,G,K,J){var w=Math.max;if(!u||!p||!y||!B||!K||!J)r.Ha("display","none");else{y=w(y,0);B=w(B,0);r.fa("path","m0,0l"+y*2+",0l"+y*2+","+B*2+"l0,"+B*2+"x");r.w("src",
+n,"type","tile","position","0,0","origin",(F-0.5)/u+","+(G-0.5)/p,"size",h.Qa.gb(y*u/K)+"pt,"+h.Qa.gb(B*p/J)+"pt");r.ta(y,B);r.Ha("left",v+"px","top",C+"px","display","")}}var i=d.f,j=d.e,f=h.m("0"),k=a.O||(b?b.O:{t:f,r:f,b:f,l:f});f=k.t.a(e);var l=k.r.a(e),m=k.b.a(e);k=k.l.a(e);var o=a.slice,s=o.t.a(e),q=o.r.a(e),t=o.b.a(e);o=o.l.a(e);var n=a.src,u=c.f,p=c.e;g(this.N("tl"),0,0,k,f,0,0,o,s);g(this.N("t"),k,0,i-k-l,f,o,0,u-o-q,s);g(this.N("tr"),i-l,0,l,f,u-q,0,q,s);g(this.N("r"),i-l,f,l,j-f-m,u-q,
+s,q,p-s-t);g(this.N("br"),i-l,j-m,l,m,u-q,p-t,q,t);g(this.N("b"),k,j-m,i-k-l,m,o,p-t,u-o-q,t);g(this.N("bl"),0,j-m,k,m,0,p-t,o,t);g(this.N("l"),0,f,k,j-f-m,0,s,o,p-s-t);g(this.N("c"),k,f,i-k-l,j-f-m,o,s,a.fill?u-o-q:0,p-s-t)},this)},N:function(a){return this.B("borderImage_"+a,this.H)},qc:function(){if(this.j()){var a=this.d,b=a.runtimeStyle,d=this.g.D.i().O;b.borderStyle="solid";if(d){b.borderTopWidth=d.t.a(a);b.borderRightWidth=d.r.a(a);b.borderBottomWidth=d.b.a(a);b.borderLeftWidth=d.l.a(a)}this.Bb()}},
+k:function(){var a=this.d.runtimeStyle;a.borderStyle="";if(this.Yb||!this.g.s.j())a.borderColor=a.borderWidth="";h.v.k.call(this)}});h.Gc=h.v.sa({H:1,ra:function(){var a=this.g;return a.na.L()||a.F.L()},j:function(){var a=this.g.na;return a.j()&&a.i().Ga[0]},Ca:function(){var a=this.d,b=this.g,d=b.na.i().Ga;b=b.F.i();var e=d.length,c=e,g=this.o.n(),i=g.f;g=g.e;for(var j,f,k,l,m,o,s,q,t,n;c--;){j=d[c];k=j.ke.a(a);l=j.le.a(a);m=j.$d.a(a);o=j.blur.a(a);j=j.color;s=j.Y();j=j.M(a);f=-m-o;if(!b&&o)b=h.lb.Bc;
+q=this.Z(f,f,f,f,2,b);f=this.B("shadow"+c,this.H+(0.5-c/1E3));if(o){t=(m+o)*2+i;n=(m+o)*2+g;m=t?o*2/t:0;o=n?o*2/n:0;if(m>0.5||o>0.5){t=0.5/Math.max(m,o);m*=t;o*=t;s*=t*t}f.w("type","gradienttitle","color2",j,"focusposition",m+","+o,"focussize",1-m*2+","+(1-o*2),"opacity",0,"o:opacity2",s)}else f.w("type","solid","opacity",s);f.fa("path",q);f.w("color",j);f.Ha("left",k+"px","top",l+"px");f.ta(i,g)}for(;this.Ba("shadow"+e++););}});h.Lc=h.v.sa({H:6,ra:function(){var a=this.g;return this.d.src!==this.Sc||
+a.F.L()},j:function(){var a=this.g;return a.F.j()||a.K.ic()},Ca:function(){this.Sc=g;this.Ed();var a=this.B("img",this.H),b=this.o.n(),d=b.f;b=b.e;var e=this.g.s.i(),c=e&&e.O;e=this.d;var g=e.src,i=Math.round,j=this.g.da.i();if(!c||h.U<7){c=h.m("0");c={t:c,r:c,b:c,l:c}}a.fa("path",this.Z(i(c.t.a(e)+j.t.a(e)),i(c.r.a(e)+j.r.a(e)),i(c.b.a(e)+j.b.a(e)),i(c.l.a(e)+j.l.a(e)),2));a.w("type","frame","src",g,"position",(d?0.5/d:0)+","+(b?0.5/b:0));a.ta(d,b)},Ed:function(){this.d.runtimeStyle.filter="alpha(opacity=0)"},
+k:function(){h.v.k.call(this);this.d.runtimeStyle.filter=""}});h.mb=function(){function a(n,u){n.className+=" "+u}function b(n){var u=t.slice.call(arguments,1),p=u.length;setTimeout(function(){if(n)for(;p--;)a(n,u[p])},0)}function d(n){var u=t.slice.call(arguments,1),p=u.length;setTimeout(function(){if(n)for(;p--;){var r=u[p];r=q[r]||(q[r]=new RegExp("\\b"+r+"\\b","g"));n.className=n.className.replace(r,"")}},0)}function e(n){function u(){if(!T){var x,z,E=h.qa,N=n.currentStyle,I=N.getAttribute(g)===
+"true",Z=N.getAttribute(j)!=="false",$=N.getAttribute(f)!=="false";R=N.getAttribute(i);R=E>7?R!=="false":R==="true";if(!U){U=1;n.runtimeStyle.zoom=1;N=n;for(var aa=1;N=N.previousSibling;)if(N.nodeType===1){aa=0;break}aa&&a(n,o)}D.cb();if(I&&(z=D.n())&&(x=H.documentElement||H.body)&&(z.y>x.clientHeight||z.x>x.clientWidth||z.y+z.e<0||z.x+z.f<0)){if(!X){X=1;h.pb.ca(u)}}else{T=1;X=U=0;h.pb.Ka(u);if(E===9){A={K:new h.Hb(n),D:new h.Ib(n),s:new h.Jb(n),da:new h.Nb(n)};Q=[A.K,A.s,A.D,A.da];L=new h.oe(n,D,
+A);M=[new h.me(n,D,A,L),new h.ne(n,D,A,L)]}else{A={K:new h.Hb(n),s:new h.Jb(n),D:new h.Ib(n),F:new h.lb(n),na:new h.Hc(n),da:new h.Nb(n),jb:new h.Oc(n)};Q=[A.K,A.s,A.D,A.F,A.na,A.da,A.jb];L=new h.Mc(n,D,A);M=[new h.Gc(n,D,A,L),new h.Dc(n,D,A,L),new h.Fc(n,D,A,L),new h.Ec(n,D,A,L)];n.tagName==="IMG"&&M.push(new h.Lc(n,D,A,L));L.ad=M}if(x=n.currentStyle.getAttribute(h.z+"watch-ancestors")){x=parseInt(x,10);z=0;for(I=n.parentNode;I&&(x==="NaN"||z++",c[0];);d.Ua=b;if(b===6)d.i=d.i.replace(/^-/,"");d.P=N.documentMode||d.Ua;a.innerHTML='';b=a.firstChild;b.style.behavior="url(#default#VML)";d.Db=typeof b.adj==="object"})();(function(){var b=0,a={};d.na={Sa:function(c){return c&&c._pieId||(c._pieId="_"+b++)},Zc:function(c,e,f){var h=a[c],l,k;if(h)Object.prototype.toString.call(h)==="[object Array]"?h.push([e,f]):e.call(f,h);else{k=a[c]=[[e,f]];
-l=new Image;l.onload=function(){h=a[c]={g:l.width,f:l.height};for(var g=0,m=k.length;g=180?0:a,b<90||b>270?0:c);e=f[0];f=f[1];a=a-e;c=c-f;return{T:b,
-ic:e,jc:f,Pc:a,Qc:c,zc:d.Ga.fc(a,c,e,f)}},Fc:function(b,a,c,e,f){if(c===0||c===180)return[b,f];else if(c===90||c===270)return[e,a];else{c=Math.tan((c-90)*Math.PI/180);b=c*b-a;a=-1/c;e=a*e-f;f=a-c;return[(e-b)/f,(c*e-a*b)/f]}},fc:function(b,a,c,e){b=c-b;a=e-a;return Math.abs(b===0?a:a===0?b:Math.sqrt(b*b+a*a))}};d.L=function(){this.Za=[];this.yb={}};d.L.prototype={I:function(b){var a=d.na.Sa(b),c=this.yb,e=this.Za;if(!(a in c)){c[a]=e.length;e.push(b)}},aa:function(b){b=d.na.Sa(b);var a=this.yb;if(b&&
-b in a){delete this.Za[a[b]];delete a[b]}},Y:function(){for(var b=this.Za,a=b.length;a--;)b[a]&&b[a]()}};d.ha=new d.L;d.ha.Kc=function(){var b=this,a;if(!b.Lc){a=N.documentElement.currentStyle.getAttribute(d.i+"poll-interval")||250;(function c(){b.Y();setTimeout(c,a)})();b.Lc=1}};(function(){function b(){d.D.Y();V.detachEvent("onunload",b);V.PIE=null}d.D=new d.L;V.attachEvent("onunload",b);d.D.Oa=function(a,c,e){a.attachEvent(c,e);this.I(function(){a.detachEvent(c,e)})}})();d.ja=new d.L;d.D.Oa(V,
-"onresize",function(){d.ja.Y()});(function(){function b(){d.Ja.Y()}d.Ja=new d.L;d.D.Oa(V,"onscroll",b);d.ja.I(b)})();d.Ia=new d.L;d.D.Oa(N,"onmouseup",function(){d.Ia.Y()});d.gd=function(){function b(g){this.q=g}var a=N.createElement("length-calc"),c=N.body||N.documentElement,e=a.style,f={},h=["mm","cm","in","pt","pc"],l=h.length,k={};e.position="absolute";e.top=e.left="-9999px";for(c.appendChild(a);l--;){e.width="100"+h[l];f[h[l]]=a.offsetWidth/100}c.removeChild(a);e.width="1em";b.prototype={bb:/(px|em|ex|mm|cm|in|pt|pc|%)$/,
-qc:function(){var g=this.Cc;if(g===void 0)g=this.Cc=parseFloat(this.q);return g},Ta:function(){var g=this.Vc;if(!g)g=this.Vc=(g=this.q.match(this.bb))&&g[0]||"px";return g},c:function(g,m){var j=this.qc(),n=this.Ta();switch(n){case "px":return j;case "%":return j*(typeof m==="function"?m():m)/100;case "em":return j*this.Ra(g);case "ex":return j*this.Ra(g)/2;default:return j*f[n]}},Ra:function(g){var m=g.currentStyle.fontSize,j,n;if(m.indexOf("px")>0)return parseFloat(m);else if(g.tagName in d.ac){n=
-this;j=g.parentNode;return d.m(m).c(j,function(){return n.Ra(j)})}else{g.appendChild(a);m=a.offsetWidth;a.parentNode===g&&g.removeChild(a);return m}}};b.td=function(g){return g/f.pt};d.m=function(g){return k[g]||(k[g]=new b(g))};return b}();d.Fa=function(){function b(a){this.J=a}d.m("50%");b.prototype={};return b}();d.ea=function(){function b(a,c){this.g=a;this.f=c}b.prototype={c:function(a,c,e,f,h){var l=this.g,k=this.f,g=c/e;f=f/h;if(l==="contain"){l=f>g?c:e*f;k=f>g?c/f:e}else if(l==="cover"){l=
-f1)j-=1;return 255*(6*j<1?g+(m-g)*j*6:2*j<1?m:3*j<2?g+(m-g)*(2/3-j)*6:g)}function a(g){this.q=g}var c={};a.Jc=/\s*rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;a.uc=/\s*hsla?\(\s*(\d*\.?\d+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;a.wa={};for(var e="black|0|navy|3k|darkblue|b|mediumblue|1u|blue|1e|darkgreen|jk1|green|5j4|teal|3k|darkcyan|26j|deepskyblue|ad0|darkturquoise|2xe|mediumspringgreen|8nd|lime|va|springgreen|3j|aqua|3k|cyan|0|midnightblue|xunl|dodgerblue|7ogf|lightseagreen|2zsb|forestgreen|2lbs|seagreen|guut|darkslategray|12pk|limegreen|4wkj|mediumseagreen|dwlb|turquoise|5v8f|royalblue|r2p|steelblue|75qr|darkslateblue|2fh3|mediumturquoise|ta9|indigo|32d2|darkolivegreen|emr1|cadetblue|ebu9|cornflowerblue|6z4d|mediumaquamarine|3459|dimgray|3nwf|slateblue|1bok|olivedrab|1opi|slategray|6y5p|lightslategray|9vk9|mediumslateblue|5g0l|lawngreen|27ma|chartreuse|48ao|aquamarine|5w|maroon|18|purple|3k|olive|p6o|gray|3k|lightslateblue|5j7j|skyblue|4q98|lightskyblue|f|blueviolet|3bhk|darkred|15we|darkmagenta|3v|saddlebrown|djc|darkseagreen|69vg|lightgreen|1og1|mediumpurple|3ivc|darkviolet|sfv|palegreen|6zt1|darkorchid|awk|yellowgreen|292e|sienna|7r3v|brown|6sxp|darkgray|6bgf|lightblue|5vlp|greenyellow|7k9|paleturquoise|2pxb|lightsteelblue|169c|powderblue|5jc|firebrick|1rgc|darkgoldenrod|8z55|mediumorchid|2jm0|rosybrown|34jg|darkkhaki|1mfw|silver|49jp|mediumvioletred|8w5h|indianred|8tef|peru|82r|violetred|3ntd|feldspar|212d|chocolate|16eh|tan|ewe|lightgrey|1kqv|palevioletred|6h8g|metle|fnp|orchid|2dj2|goldenrod|abu|crimson|20ik|gainsboro|13mo|plum|12pt|burlywood|1j8q|lightcyan|3794|lavender|8agr|darksalmon|3rsw|violet|6wz8|palegoldenrod|k3g|lightcoral|28k6|khaki|k5o|aliceblue|3n7|honeydew|1dd|azure|f|sandybrown|5469|wheat|1q37|beige|4kp|whitesmoke|p|mintcream|1z9|ghostwhite|46bp|salmon|25bn|antiquewhite|l7p|linen|zz|lightgoldenrodyellow|1yk|oldlace|46qc|red|1gka|magenta|73|fuchsia|0|deeppink|3v8|orangered|9kd|tomato|5zb|hotpink|19p|coral|49o|darkorange|2i8|lightsalmon|41m|orange|w6|lightpink|3i9|pink|1ze|gold|4dx|peachpuff|qh|navajowhite|s4|moccasin|16w|bisque|f|mistyrose|t|blanchedalmond|1d8|papayawhip|so|lavenderblush|80|seashell|zd|cornsilk|ku|lemonchiffon|dt|floralwhite|z|snow|a|yellow|sm|lightyellow|68|ivory|g|white|f".split("|"),
-f=0,h=e.length,l=0,k;f=this.sa.length)return f();l=this.ch;h=this.sa.substring(this.ch);k=h.charAt(0);switch(k){case "#":if(g=h.match(this.sc)){this.ch+=g[0].length;return e(a.h,g[0])}break;case '"':case "'":if(g=h.match(this.Rc)){this.ch+=g[0].length;return e(a.Pb,g[2]||g[3]||"")}break;case "/":case ",":this.ch++;
-return e(a.Ha,k);case "u":if(g=h.match(this.url)){this.ch+=g[0].length;return e(a.URL,g[2]||g[3]||g[4]||"")}}if(g=h.match(this.Dc)){k=g[0];this.ch+=k.length;if(h.charAt(k.length)==="%"){this.ch++;return e(a.ka,k+"%")}if(g=h.substring(k.length).match(this.wb)){k+=g[0];this.ch+=g[0].length;return e(this.Wc[g[0].toLowerCase()]||a.Jb,k)}return e(a.S,k)}if(g=h.match(this.wb)){k=g[0];this.ch+=k.length;if(k.toLowerCase()in d.Hb.wa||k==="currentColor"||k==="transparent")return e(a.h,k);if(h.charAt(k.length)===
-"("){this.ch++;if(k.toLowerCase()in this.cc){h=function(p){return p&&p.e&a.S};g=function(p){return p&&p.e&(a.S|a.ka)};var j=function(p,y){return p&&p.a===y},n=function(){return m.next(1)};if((k.charAt(0)==="r"?g(n()):h(n()))&&j(n(),",")&&g(n())&&j(n(),",")&&g(n())&&(k==="rgb"||k==="hsa"||j(n(),",")&&h(n()))&&j(n(),")"))return e(a.h,this.sa.substring(l,this.ch));return f()}return e(a.jb,k)}return e(a.R,k)}this.ch++;return e(a.hb,k)},n:function(){return this.J[this.$-- -2]},all:function(){for(;this.next(););
-return this.J},ba:function(c,e){for(var f=[],h,l;h=this.next();){if(c(h)){l=true;this.n();break}f.push(h)}return e&&!l?null:f}};return b}();d.gb=function(b){this.d=b};d.gb.prototype={F:0,Gc:function(){var b=this.Na,a;return!b||(a=this.Z())&&(b.x!==a.x||b.y!==a.y)},Nc:function(){var b=this.Na,a;return!b||(a=this.Z())&&(b.g!==a.g||b.f!==a.f)},vb:function(){var b=this.d,a=b.getBoundingClientRect(),c=d.P===9,e=d.Ua===7,f=a.right-a.left;return{x:a.left,y:a.top,g:c||e?b.offsetWidth:f,f:c||e?b.offsetHeight:
-a.bottom-a.top,rd:e&&f?b.offsetWidth/f:1}},Z:function(){return this.F?this.oa||(this.oa=this.vb()):this.vb()},rc:function(){return!!this.Na},ua:function(){++this.F},Da:function(){if(!--this.F){if(this.oa)this.Na=this.oa;this.oa=null}}};(function(){function b(a){var c=d.na.Sa(a);return function(){if(this.F){var e=this.ob||(this.ob={});return c in e?e[c]:(e[c]=a.call(this))}else return a.call(this)}}d.k={F:0,xa:function(a){function c(e){this.d=e;this.nb=this.O()}d.va(c.prototype,d.k,a);c.Ub={};return c},
-w:function(){var a=this.O(),c=this.constructor.Ub;return a?a in c?c[a]:(c[a]=this.za(a)):null},O:b(function(){var a=this.d,c=this.constructor,e=a.style;a=a.currentStyle;var f=this.Pa,h=this.ab,l=c.Sb||(c.Sb=d.i+f);c=c.Tb||(c.Tb=d.Ka+h.charAt(0).toUpperCase()+h.substring(1));return e[c]||a.getAttribute(l)||e[h]||a.getAttribute(f)}),B:b(function(){return!!this.w()}),rb:b(function(){var a=this.O(),c=a!==this.nb;this.nb=a;return c}),X:b,ua:function(){++this.F},Da:function(){--this.F||delete this.ob}}})();
-d.db=d.k.xa({Pa:d.i+"background",ab:d.Ka+"Background",Wb:{scroll:1,fixed:1,local:1},Ba:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},Ab:{"padding-box":1,"border-box":1,"content-box":1},Hc:{top:1,right:1,bottom:1,left:1,center:1},Oc:{contain:1,cover:1},Tc:{top:1,bottom:1},Ac:{left:1,right:1},Aa:{ga:"backgroundClip",h:"backgroundColor",K:"backgroundImage",ia:"backgroundOrigin",s:"backgroundPosition",u:"backgroundRepeat",ma:"backgroundSize"},za:function(b){function a(o){return o&&(o.H()&&d.m(o.a)||
-o.a==="auto"&&"auto")}var c=this.d.currentStyle,e,f,h,l=d.p.mb,k=l.Ha,g=l.R,m=l.h,j,n,p=0,y=this.Hc,s,v,i,q,u={G:[]};if(this.Qa()){e=new d.p(b);for(h={};f=e.next();){j=f.e;n=f.a;if(!h.z&&j&l.jb&&n==="linear-gradient"){s={Q:[],z:n};for(v={};f=e.next();){j=f.e;n=f.a;if(j&l.hb&&n===")"){v.color&&s.Q.push(v);s.Q.length>1&&d.va(h,s);break}if(j&m){if(s.T||s.ta){f=e.n();if(f.e!==k)break;e.next()}v={color:d.N(n)};f=e.next();if(f.H())v.zb=d.m(f.a);else e.n()}else if(j&l.da&&!s.T&&!s.ta&&!v.color&&!s.Q.length)s.T=
-new d.Gb(f.a);else if(j&l.R&&n==="to"&&!s.ta&&!s.T&&!v.color&&!s.Q.length){i=this.Tc;q=this.Ac;f=e.ba(function(o){return!(o&&o.e&l.R&&(o.a in i||o.a in q))});j=f.length;f=[f[0]&&f[0].a,f[1]&&f[1].a];if(j<1||j>2||j>1&&(f[0]in i&&f[1]in i||f[0]in q&&f[1]in q))break;s.ta=f}else if(j&k&&n===","){if(v.color){s.Q.push(v);v={}}}else break}}else if(!h.z&&j&l.URL){h.xb=n;h.z="image"}else if((f&&f.H()||f.e&g&&f.a in y)&&!h.V){e.n();h.V=new d.Fa(e.ba(function(o){return!(o&&o.H()||o.e&g&&o.a in y)},false))}else if(j&
-g)if(n in this.Ba&&!h.Va)h.Va=n;else if(n in this.Ab&&!h.qa){h.qa=n;if((f=e.next())&&f.e&g&&f.a in this.Ab)h.pa=f.a;else{h.pa=n;e.n()}}else if(n in this.Wb&&!h.pb)h.pb=n;else return null;else if(j&m&&!u.color)u.color=d.N(n);else if(j&k&&n==="/"&&!h.ra&&h.V){f=e.next();if(f.e&g&&f.a in this.Oc)h.ra=new d.ea(f.a);else if(s=a(f)){v=a(e.next());if(!v){v=s;e.n()}h.ra=new d.ea(s,v)}else return null}else if(j&k&&n===","&&h.z){h.$a=b.substring(p,e.ch-1);p=e.ch;u.G.push(h);h={}}else return null}if(h.z){h.$a=
-b.substring(p);u.G.push(h)}u.bc=h.pa}else this.Eb(d.P<9?function(){var o=this.Aa,r=c[o.s+"X"],G=c[o.s+"Y"],A=c[o.K],B=c[o.h];if(B!=="transparent")u.color=d.N(B);if(A!=="none")u.G=[{z:"image",xb:(new d.p(A)).next().a,Va:c[o.u],V:new d.Fa((new d.p(r+" "+G)).all())}]}:function(){var o=this.Aa,r=/\s*,\s*/,G=c[o.K].split(r),A=c[o.h],B,I,J,L,H,w;if(A!=="transparent")u.color=d.N(A);if((L=G.length)&&G[0]!=="none"){A=c[o.u].split(r);B=c[o.s].split(r);I=c[o.ia].split(r);J=c[o.ga].split(r);o=c[o.ma].split(r);
-u.G=[];for(r=0;r8,c=this.Aa,e=this.d.runtimeStyle,f=e[c.K],h=e[c.h],l=e[c.u],k,g,m,j;if(f)e[c.K]="";if(h)e[c.h]="";if(l)e[c.u]="";if(a){k=e[c.ga];g=e[c.ia];j=e[c.s];m=e[c.ma];if(k)e[c.ga]="";if(g)e[c.ia]="";if(j)e[c.s]=
-"";if(m)e[c.ma]=""}b=b.call(this);if(f)e[c.K]=f;if(h)e[c.h]=h;if(l)e[c.u]=l;if(a){if(k)e[c.ga]=k;if(g)e[c.ia]=g;if(j)e[c.s]=j;if(m)e[c.ma]=m}return b},O:d.k.X(function(){return this.Qa()||this.Eb(function(){var b=this.d.currentStyle,a=this.Aa;return b[a.h]+" "+b[a.K]+" "+b[a.u]+" "+b[a.s+"X"]+" "+b[a.s+"Y"]})}),Qa:d.k.X(function(){var b=this.d;return b.style[this.ab]||b.currentStyle.getAttribute(this.Pa)}),lc:function(b,a,c,e){var f=this.d,h=a.Z();a=h.g;h=h.f;if(b!=="border-box")if((c=c.w())&&(c=
-c.ca)){a-=c.l.c(f)+c.l.c(f);h-=c.t.c(f)+c.b.c(f)}if(b==="content-box")if(b=e.w()){a-=b.l.c(f)+b.l.c(f);h-=b.t.c(f)+b.b.c(f)}return{g:a,f:h}},yc:function(){var b=0;if(d.Ua<7){b=this.d;b=""+(b.style[d.Ka+"PngFix"]||b.currentStyle.getAttribute(d.i+"png-fix"))==="true"}return b},B:d.k.X(function(){return(this.Qa()||this.yc())&&!!this.w()})});d.fb=d.k.xa({Mc:["Top","Right","Bottom","Left"],Bc:{thin:"1px",medium:"3px",thick:"5px"},za:function(){var b={},a={},c={},e=false,f=true,h=true,l=true;this.Fb(function(){for(var k=
-this.d.currentStyle,g=0,m,j,n,p,y,s,v;g<4;g++){n=this.Mc[g];v=n.charAt(0).toLowerCase();m=a[v]=k["border"+n+"Style"];j=k["border"+n+"Color"];n=k["border"+n+"Width"];if(g>0){if(m!==p)h=false;if(j!==y)f=false;if(n!==s)l=false}p=m;y=j;s=n;c[v]=d.N(j);n=b[v]=d.m(a[v]==="none"?"0":this.Bc[n]||n);if(n.c(this.d)>0)e=true}});return e?{ca:b,ud:a,md:c,wd:l,nd:f,vd:h}:null},O:d.k.X(function(){var b=this.d,a=b.currentStyle,c;b.tagName in d.Sc&&b.offsetParent.currentStyle.borderCollapse==="collapse"||this.Fb(function(){c=
-a.borderWidth+"|"+a.borderStyle+"|"+a.borderColor});return c}),Fb:function(b){var a=this.d.runtimeStyle,c=a.borderWidth,e=a.borderColor;if(c)a.borderWidth="";if(e)a.borderColor="";b=b.call(this);if(c)a.borderWidth=c;if(e)a.borderColor=e;return b}});d.eb=d.k.xa({Pa:"border-image",ab:"borderImage",Ba:{stretch:1,round:1,repeat:1,space:1},za:function(b){var a=null,c,e,f,h,l,k,g=0,m=d.p.mb,j=m.R,n=m.S,p=m.ka;if(b){c=new d.p(b);a={};for(var y=function(i){return i&&i.e&m.Ha&&i.a==="/"},s=function(i){return i&&
-i.e&j&&i.a==="fill"},v=function(){h=c.ba(function(i){return!(i.e&(n|p))});if(s(c.next())&&!a.fill)a.fill=true;else c.n();if(y(c.next())){g++;l=c.ba(function(i){return!i.H()&&!(i.e&j&&i.a==="auto")});if(y(c.next())){g++;k=c.ba(function(i){return!i.Wa()})}}else c.n()};b=c.next();){e=b.e;f=b.a;if(e&(n|p)&&!h){c.n();v()}else if(s(b)&&!a.fill){a.fill=true;v()}else if(e&j&&this.Ba[f]&&!a.repeat){a.repeat={f:f};if(b=c.next())if(b.e&j&&this.Ba[b.a])a.repeat.cb=b.a;else c.n()}else if(e&m.URL&&!a.src)a.src=
-f;else return null}if(!a.src||!h||h.length<1||h.length>4||l&&l.length>4||g===1&&l.length<1||k&&k.length>4||g===2&&k.length<1)return null;if(!a.repeat)a.repeat={f:"stretch"};if(!a.repeat.cb)a.repeat.cb=a.repeat.f;b=function(i,q){return{t:q(i[0]),r:q(i[1]||i[0]),b:q(i[2]||i[0]),l:q(i[3]||i[1]||i[0])}};a.slice=b(h,function(i){return d.m(i.e&n?i.a+"px":i.a)});if(l&&l[0])a.ca=b(l,function(i){return i.H()?d.m(i.a):i.a});if(k&&k[0])a.sd=b(k,function(i){return i.Wa()?d.m(i.a):i.a})}return a}});d.kb=d.k.xa({za:function(b){b=
-new d.p(b);for(var a=[],c;(c=b.next())&&c.H();)a.push(d.m(c.a));return a.length>0&&a.length<5?{t:a[0],r:a[1]||a[0],b:a[2]||a[0],l:a[3]||a[1]||a[0]}:null},O:d.k.X(function(){var b=this.d,a=b.runtimeStyle,c=a.padding;if(c)a.padding="";b=b.currentStyle.padding;if(c)a.padding=c;return b})});d.la={Ya:function(b){function a(c,e,f,h){this.d=c;this.qb=e;this.C=f;this.parent=h}d.va(a.prototype,d.la,b);return a},Xa:function(){return false},Bb:d.hc,Ea:function(){this.B()?this.sb():this.j()},tc:function(){this.d.runtimeStyle.borderColor=
-"transparent"},j:function(){}};d.Mb=d.la.Ya({Ec:/^,+|,+$/g,xc:/,+/g,Ca:function(b,a){(this.La||(this.La=[]))[b]=a||void 0},Ea:function(){var b=this.La,a;if(b&&(a=b.join(",").replace(this.Ec,"").replace(this.xc,","))!==this.Rb)this.Rb=this.d.runtimeStyle.background=a},j:function(){this.d.runtimeStyle.background="";delete this.La}});d.Kb=d.la.Ya({gc:N.createElement("canvas"),U:1,Xa:function(){return this.C.M.rb()},B:function(){var b=this.C;return b.M.B()||b.v.B()},sb:function(){var b=this.C,a=b.M,c=
-a.w(),e,f,h=0,l,k;if(c){e=[];if(f=c.G)for(;l=f[h++];)if(l.z==="linear-gradient"){k=a.lc(e.qa,this.qb,b.W,b.ya);k=(l.ra||d.ea.Ib).c(this.d,k.g,k.f,k.g,k.f);e.push("url("+this.mc(l,k.g,k.f)+") "+this.Yb(l.V)+" / "+k.g+"px "+k.f+"px "+(l.pb||"")+" "+(l.qa||"")+" "+(l.pa||""))}else e.push(l.$a);if(c.color)e.push(c.color.q+" "+(c.bc||""));this.parent.Ca(this.U,e.join(","))}},Yb:function(b){return b?b.J.map(function(a){return a.a}).join(" "):"0 0"},mc:function(b,a,c){var e=this.d,f=b.Q,h=f.length,l=d.Ga.nc(e,
-a,c,b);b=l.zc;var k=this.gc,g=k.getContext("2d");l=g.createLinearGradient(l.Pc,l.Qc,l.ic,l.jc);var m=[],j,n,p;for(j=0;j');
-z.push('');O++}var n=e.g,p=e.f,y=m.g,s=m.f,v=b.vc(a.src,y,s),i=b.u,q=b.Ob;m=b.Nb;var u=Math.ceil,o=d.m("0"),r=a.ca||(c?c.ca:{t:o,r:o,b:o,l:o});o=r.t.c(k);var G=r.r.c(k),A=r.b.c(k);r=r.l.c(k);var B=a.slice,I=B.t.c(k),J=B.r.c(k),L=B.b.c(k);B=B.l.c(k);var H=n-r-G,w=p-o-A,Q=y-B-J,U=s-I-L,M=h===q?H:Q*o/I,E=l===q?w:U*G/J,F=h===q?H:Q*A/L;q=l===q?w:U*r/B;var D=[],z=[],O=0;if(h===m){M-=(M-(H%M||M))/u(H/M);F-=(F-(H%F||F))/u(H/
-F)}if(l===m){E-=(E-(w%E||E))/u(w/E);q-=(q-(w%q||q))/u(w/q)}m=['");b.parent.Ca(b.U,
-"url(data:image/svg+xml,"+escape(m.join(""))+") no-repeat border-box border-box");g&&b.parent.Ea()},b);g=1},vc:function(){var b={};return function(a,c,e){var f=b[a],h;if(!f){f=new Image;h=N.createElement("canvas");f.src=a;h.width=c;h.height=e;h.getContext("2d").drawImage(f,0,0);f=b[a]=h.toDataURL()}return f}}(),Bb:function(){if(this.B()){var b=this.d,a=b.runtimeStyle,c=this.C.v.w().ca;a.borderStyle="solid";if(c){a.borderTopWidth=c.t.c(b)+"px";a.borderRightWidth=c.r.c(b)+"px";a.borderBottomWidth=c.b.c(b)+
-"px";a.borderLeftWidth=c.l.c(b)+"px"}this.tc()}},j:function(){var b=this.d.runtimeStyle;this.parent.Ca(this.U);b.borderColor=b.borderStyle=b.borderWidth=""}});d.ib=function(){function b(i,q){i.className+=" "+q}function a(i){var q=v.slice.call(arguments,1),u=q.length;setTimeout(function(){if(i)for(;u--;)b(i,q[u])},0)}function c(i){var q=v.slice.call(arguments,1),u=q.length;setTimeout(function(){if(i)for(;u--;){var o=q[u];o=s[o]||(s[o]=new RegExp("\\b"+o+"\\b","g"));i.className=i.className.replace(o,
-"")}},0)}function e(i){function q(){if(!S){var t,x,C=d.P,P=i.currentStyle,K=P.getAttribute(h)==="true",$=P.getAttribute(k)!=="false",aa=P.getAttribute(g)!=="false";T=P.getAttribute(l);T=C>7?T!=="false":T==="true";if(!R){R=1;i.runtimeStyle.zoom=1;P=i;for(var ba=1;P=P.previousSibling;)if(P.nodeType===1){ba=0;break}ba&&b(i,p)}D.ua();if(K&&(x=D.Z())&&(t=N.documentElement||N.body)&&(x.y>t.clientHeight||x.x>t.clientWidth||x.y+x.f<0||x.x+x.g<0)){if(!Y){Y=1;d.Ja.I(q)}}else{S=1;Y=R=0;d.Ja.aa(q);if(C===9){z=
-{M:new d.db(i),v:new d.eb(i),W:new d.fb(i),ya:new d.kb(i)};O=[z.M,z.W,z.v,z.ya];F=new d.Mb(i,D,z);E=[new d.Kb(i,D,z,F),new d.Lb(i,D,z,F)]}else{z={M:new d.db(i),W:new d.fb(i),v:new d.eb(i),Zb:new d.bd(i),$b:new d.ed(i),ya:new d.kb(i),Xc:new d.jd(i)};O=[z.M,z.W,z.v,z.Zb,z.$b,z.ya,z.Xc];F=new d.hd(i,D,z);E=[new d.dd(i,D,z,F),new d.$c(i,D,z,F),new d.cd(i,D,z,F),new d.ad(i,D,z,F)];i.tagName==="IMG"&&E.push(new d.fd(i,D,z,F));F.ld=E}if(t=i.currentStyle.getAttribute(d.i+"watch-ancestors")){t=parseInt(t,
-10);x=0;for(K=i.parentNode;K&&(t==="NaN"||x++",c[0];);d.Ua=b;if(b===6)d.i=d.i.replace(/^-/,"");d.P=N.documentMode||d.Ua;a.innerHTML='';b=a.firstChild;b.style.behavior="url(#default#VML)";d.Db=typeof b.adj==="object"})();(function(){var b=0,a={};d.na={Sa:function(c){return c&&c._pieId||(c._pieId="_"+b++)},Zc:function(c,e,f){var h=a[c],l,k;if(h)Object.prototype.toString.call(h)==="[object Array]"?h.push([e,f]):e.call(f,h);else{k=a[c]=[[e,f]];
+l=new Image;l.onload=function(){h=a[c]={g:l.width,f:l.height};for(var g=0,m=k.length;g=180?0:a,b<90||b>270?0:c);e=f[0];f=f[1];a=a-e;c=c-f;return{T:b,
+ic:e,jc:f,Pc:a,Qc:c,zc:d.Ga.fc(a,c,e,f)}},Fc:function(b,a,c,e,f){if(c===0||c===180)return[b,f];else if(c===90||c===270)return[e,a];else{c=Math.tan((c-90)*Math.PI/180);b=c*b-a;a=-1/c;e=a*e-f;f=a-c;return[(e-b)/f,(c*e-a*b)/f]}},fc:function(b,a,c,e){b=c-b;a=e-a;return Math.abs(b===0?a:a===0?b:Math.sqrt(b*b+a*a))}};d.L=function(){this.Za=[];this.yb={}};d.L.prototype={I:function(b){var a=d.na.Sa(b),c=this.yb,e=this.Za;if(!(a in c)){c[a]=e.length;e.push(b)}},aa:function(b){b=d.na.Sa(b);var a=this.yb;if(b&&
+b in a){delete this.Za[a[b]];delete a[b]}},Y:function(){for(var b=this.Za,a=b.length;a--;)b[a]&&b[a]()}};d.ha=new d.L;d.ha.Kc=function(){var b=this,a;if(!b.Lc){a=N.documentElement.currentStyle.getAttribute(d.i+"poll-interval")||250;(function c(){b.Y();setTimeout(c,a)})();b.Lc=1}};(function(){function b(){d.D.Y();V.detachEvent("onunload",b);V.PIE=null}d.D=new d.L;V.attachEvent("onunload",b);d.D.Oa=function(a,c,e){a.attachEvent(c,e);this.I(function(){a.detachEvent(c,e)})}})();d.ja=new d.L;d.D.Oa(V,
+"onresize",function(){d.ja.Y()});(function(){function b(){d.Ja.Y()}d.Ja=new d.L;d.D.Oa(V,"onscroll",b);d.ja.I(b)})();d.Ia=new d.L;d.D.Oa(N,"onmouseup",function(){d.Ia.Y()});d.gd=function(){function b(g){this.q=g}var a=N.createElement("length-calc"),c=N.body||N.documentElement,e=a.style,f={},h=["mm","cm","in","pt","pc"],l=h.length,k={};e.position="absolute";e.top=e.left="-9999px";for(c.appendChild(a);l--;){e.width="100"+h[l];f[h[l]]=a.offsetWidth/100}c.removeChild(a);e.width="1em";b.prototype={bb:/(px|em|ex|mm|cm|in|pt|pc|%)$/,
+qc:function(){var g=this.Cc;if(g===void 0)g=this.Cc=parseFloat(this.q);return g},Ta:function(){var g=this.Vc;if(!g)g=this.Vc=(g=this.q.match(this.bb))&&g[0]||"px";return g},c:function(g,m){var j=this.qc(),n=this.Ta();switch(n){case "px":return j;case "%":return j*(typeof m==="function"?m():m)/100;case "em":return j*this.Ra(g);case "ex":return j*this.Ra(g)/2;default:return j*f[n]}},Ra:function(g){var m=g.currentStyle.fontSize,j,n;if(m.indexOf("px")>0)return parseFloat(m);else if(g.tagName in d.ac){n=
+this;j=g.parentNode;return d.m(m).c(j,function(){return n.Ra(j)})}else{g.appendChild(a);m=a.offsetWidth;a.parentNode===g&&g.removeChild(a);return m}}};b.td=function(g){return g/f.pt};d.m=function(g){return k[g]||(k[g]=new b(g))};return b}();d.Fa=function(){function b(a){this.J=a}d.m("50%");b.prototype={};return b}();d.ea=function(){function b(a,c){this.g=a;this.f=c}b.prototype={c:function(a,c,e,f,h){var l=this.g,k=this.f,g=c/e;f=f/h;if(l==="contain"){l=f>g?c:e*f;k=f>g?c/f:e}else if(l==="cover"){l=
+f1)j-=1;return 255*(6*j<1?g+(m-g)*j*6:2*j<1?m:3*j<2?g+(m-g)*(2/3-j)*6:g)}function a(g){this.q=g}var c={};a.Jc=/\s*rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;a.uc=/\s*hsla?\(\s*(\d*\.?\d+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;a.wa={};for(var e="black|0|navy|3k|darkblue|b|mediumblue|1u|blue|1e|darkgreen|jk1|green|5j4|teal|3k|darkcyan|26j|deepskyblue|ad0|darkturquoise|2xe|mediumspringgreen|8nd|lime|va|springgreen|3j|aqua|3k|cyan|0|midnightblue|xunl|dodgerblue|7ogf|lightseagreen|2zsb|forestgreen|2lbs|seagreen|guut|darkslategray|12pk|limegreen|4wkj|mediumseagreen|dwlb|turquoise|5v8f|royalblue|r2p|steelblue|75qr|darkslateblue|2fh3|mediumturquoise|ta9|indigo|32d2|darkolivegreen|emr1|cadetblue|ebu9|cornflowerblue|6z4d|mediumaquamarine|3459|dimgray|3nwf|slateblue|1bok|olivedrab|1opi|slategray|6y5p|lightslategray|9vk9|mediumslateblue|5g0l|lawngreen|27ma|chartreuse|48ao|aquamarine|5w|maroon|18|purple|3k|olive|p6o|gray|3k|lightslateblue|5j7j|skyblue|4q98|lightskyblue|f|blueviolet|3bhk|darkred|15we|darkmagenta|3v|saddlebrown|djc|darkseagreen|69vg|lightgreen|1og1|mediumpurple|3ivc|darkviolet|sfv|palegreen|6zt1|darkorchid|awk|yellowgreen|292e|sienna|7r3v|brown|6sxp|darkgray|6bgf|lightblue|5vlp|greenyellow|7k9|paleturquoise|2pxb|lightsteelblue|169c|powderblue|5jc|firebrick|1rgc|darkgoldenrod|8z55|mediumorchid|2jm0|rosybrown|34jg|darkkhaki|1mfw|silver|49jp|mediumvioletred|8w5h|indianred|8tef|peru|82r|violetred|3ntd|feldspar|212d|chocolate|16eh|tan|ewe|lightgrey|1kqv|palevioletred|6h8g|metle|fnp|orchid|2dj2|goldenrod|abu|crimson|20ik|gainsboro|13mo|plum|12pt|burlywood|1j8q|lightcyan|3794|lavender|8agr|darksalmon|3rsw|violet|6wz8|palegoldenrod|k3g|lightcoral|28k6|khaki|k5o|aliceblue|3n7|honeydew|1dd|azure|f|sandybrown|5469|wheat|1q37|beige|4kp|whitesmoke|p|mintcream|1z9|ghostwhite|46bp|salmon|25bn|antiquewhite|l7p|linen|zz|lightgoldenrodyellow|1yk|oldlace|46qc|red|1gka|magenta|73|fuchsia|0|deeppink|3v8|orangered|9kd|tomato|5zb|hotpink|19p|coral|49o|darkorange|2i8|lightsalmon|41m|orange|w6|lightpink|3i9|pink|1ze|gold|4dx|peachpuff|qh|navajowhite|s4|moccasin|16w|bisque|f|mistyrose|t|blanchedalmond|1d8|papayawhip|so|lavenderblush|80|seashell|zd|cornsilk|ku|lemonchiffon|dt|floralwhite|z|snow|a|yellow|sm|lightyellow|68|ivory|g|white|f".split("|"),
+f=0,h=e.length,l=0,k;f=this.sa.length)return f();l=this.ch;h=this.sa.substring(this.ch);k=h.charAt(0);switch(k){case "#":if(g=h.match(this.sc)){this.ch+=g[0].length;return e(a.h,g[0])}break;case '"':case "'":if(g=h.match(this.Rc)){this.ch+=g[0].length;return e(a.Pb,g[2]||g[3]||"")}break;case "/":case ",":this.ch++;
+return e(a.Ha,k);case "u":if(g=h.match(this.url)){this.ch+=g[0].length;return e(a.URL,g[2]||g[3]||g[4]||"")}}if(g=h.match(this.Dc)){k=g[0];this.ch+=k.length;if(h.charAt(k.length)==="%"){this.ch++;return e(a.ka,k+"%")}if(g=h.substring(k.length).match(this.wb)){k+=g[0];this.ch+=g[0].length;return e(this.Wc[g[0].toLowerCase()]||a.Jb,k)}return e(a.S,k)}if(g=h.match(this.wb)){k=g[0];this.ch+=k.length;if(k.toLowerCase()in d.Hb.wa||k==="currentColor"||k==="transparent")return e(a.h,k);if(h.charAt(k.length)===
+"("){this.ch++;if(k.toLowerCase()in this.cc){h=function(p){return p&&p.e&a.S};g=function(p){return p&&p.e&(a.S|a.ka)};var j=function(p,y){return p&&p.a===y},n=function(){return m.next(1)};if((k.charAt(0)==="r"?g(n()):h(n()))&&j(n(),",")&&g(n())&&j(n(),",")&&g(n())&&(k==="rgb"||k==="hsa"||j(n(),",")&&h(n()))&&j(n(),")"))return e(a.h,this.sa.substring(l,this.ch));return f()}return e(a.jb,k)}return e(a.R,k)}this.ch++;return e(a.hb,k)},n:function(){return this.J[this.$-- -2]},all:function(){for(;this.next(););
+return this.J},ba:function(c,e){for(var f=[],h,l;h=this.next();){if(c(h)){l=true;this.n();break}f.push(h)}return e&&!l?null:f}};return b}();d.gb=function(b){this.d=b};d.gb.prototype={F:0,Gc:function(){var b=this.Na,a;return!b||(a=this.Z())&&(b.x!==a.x||b.y!==a.y)},Nc:function(){var b=this.Na,a;return!b||(a=this.Z())&&(b.g!==a.g||b.f!==a.f)},vb:function(){var b=this.d,a=b.getBoundingClientRect(),c=d.P===9,e=d.Ua===7,f=a.right-a.left;return{x:a.left,y:a.top,g:c||e?b.offsetWidth:f,f:c||e?b.offsetHeight:
+a.bottom-a.top,rd:e&&f?b.offsetWidth/f:1}},Z:function(){return this.F?this.oa||(this.oa=this.vb()):this.vb()},rc:function(){return!!this.Na},ua:function(){++this.F},Da:function(){if(!--this.F){if(this.oa)this.Na=this.oa;this.oa=null}}};(function(){function b(a){var c=d.na.Sa(a);return function(){if(this.F){var e=this.ob||(this.ob={});return c in e?e[c]:(e[c]=a.call(this))}else return a.call(this)}}d.k={F:0,xa:function(a){function c(e){this.d=e;this.nb=this.O()}d.va(c.prototype,d.k,a);c.Ub={};return c},
+w:function(){var a=this.O(),c=this.constructor.Ub;return a?a in c?c[a]:(c[a]=this.za(a)):null},O:b(function(){var a=this.d,c=this.constructor,e=a.style;a=a.currentStyle;var f=this.Pa,h=this.ab,l=c.Sb||(c.Sb=d.i+f);c=c.Tb||(c.Tb=d.Ka+h.charAt(0).toUpperCase()+h.substring(1));return e[c]||a.getAttribute(l)||e[h]||a.getAttribute(f)}),B:b(function(){return!!this.w()}),rb:b(function(){var a=this.O(),c=a!==this.nb;this.nb=a;return c}),X:b,ua:function(){++this.F},Da:function(){--this.F||delete this.ob}}})();
+d.db=d.k.xa({Pa:d.i+"background",ab:d.Ka+"Background",Wb:{scroll:1,fixed:1,local:1},Ba:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},Ab:{"padding-box":1,"border-box":1,"content-box":1},Hc:{top:1,right:1,bottom:1,left:1,center:1},Oc:{contain:1,cover:1},Tc:{top:1,bottom:1},Ac:{left:1,right:1},Aa:{ga:"backgroundClip",h:"backgroundColor",K:"backgroundImage",ia:"backgroundOrigin",s:"backgroundPosition",u:"backgroundRepeat",ma:"backgroundSize"},za:function(b){function a(o){return o&&(o.H()&&d.m(o.a)||
+o.a==="auto"&&"auto")}var c=this.d.currentStyle,e,f,h,l=d.p.mb,k=l.Ha,g=l.R,m=l.h,j,n,p=0,y=this.Hc,s,v,i,q,u={G:[]};if(this.Qa()){e=new d.p(b);for(h={};f=e.next();){j=f.e;n=f.a;if(!h.z&&j&l.jb&&n==="linear-gradient"){s={Q:[],z:n};for(v={};f=e.next();){j=f.e;n=f.a;if(j&l.hb&&n===")"){v.color&&s.Q.push(v);s.Q.length>1&&d.va(h,s);break}if(j&m){if(s.T||s.ta){f=e.n();if(f.e!==k)break;e.next()}v={color:d.N(n)};f=e.next();if(f.H())v.zb=d.m(f.a);else e.n()}else if(j&l.da&&!s.T&&!s.ta&&!v.color&&!s.Q.length)s.T=
+new d.Gb(f.a);else if(j&l.R&&n==="to"&&!s.ta&&!s.T&&!v.color&&!s.Q.length){i=this.Tc;q=this.Ac;f=e.ba(function(o){return!(o&&o.e&l.R&&(o.a in i||o.a in q))});j=f.length;f=[f[0]&&f[0].a,f[1]&&f[1].a];if(j<1||j>2||j>1&&(f[0]in i&&f[1]in i||f[0]in q&&f[1]in q))break;s.ta=f}else if(j&k&&n===","){if(v.color){s.Q.push(v);v={}}}else break}}else if(!h.z&&j&l.URL){h.xb=n;h.z="image"}else if((f&&f.H()||f.e&g&&f.a in y)&&!h.V){e.n();h.V=new d.Fa(e.ba(function(o){return!(o&&o.H()||o.e&g&&o.a in y)},false))}else if(j&
+g)if(n in this.Ba&&!h.Va)h.Va=n;else if(n in this.Ab&&!h.qa){h.qa=n;if((f=e.next())&&f.e&g&&f.a in this.Ab)h.pa=f.a;else{h.pa=n;e.n()}}else if(n in this.Wb&&!h.pb)h.pb=n;else return null;else if(j&m&&!u.color)u.color=d.N(n);else if(j&k&&n==="/"&&!h.ra&&h.V){f=e.next();if(f.e&g&&f.a in this.Oc)h.ra=new d.ea(f.a);else if(s=a(f)){v=a(e.next());if(!v){v=s;e.n()}h.ra=new d.ea(s,v)}else return null}else if(j&k&&n===","&&h.z){h.$a=b.substring(p,e.ch-1);p=e.ch;u.G.push(h);h={}}else return null}if(h.z){h.$a=
+b.substring(p);u.G.push(h)}u.bc=h.pa}else this.Eb(d.P<9?function(){var o=this.Aa,r=c[o.s+"X"],G=c[o.s+"Y"],A=c[o.K],B=c[o.h];if(B!=="transparent")u.color=d.N(B);if(A!=="none")u.G=[{z:"image",xb:(new d.p(A)).next().a,Va:c[o.u],V:new d.Fa((new d.p(r+" "+G)).all())}]}:function(){var o=this.Aa,r=/\s*,\s*/,G=c[o.K].split(r),A=c[o.h],B,I,J,L,H,w;if(A!=="transparent")u.color=d.N(A);if((L=G.length)&&G[0]!=="none"){A=c[o.u].split(r);B=c[o.s].split(r);I=c[o.ia].split(r);J=c[o.ga].split(r);o=c[o.ma].split(r);
+u.G=[];for(r=0;r8,c=this.Aa,e=this.d.runtimeStyle,f=e[c.K],h=e[c.h],l=e[c.u],k,g,m,j;if(f)e[c.K]="";if(h)e[c.h]="";if(l)e[c.u]="";if(a){k=e[c.ga];g=e[c.ia];j=e[c.s];m=e[c.ma];if(k)e[c.ga]="";if(g)e[c.ia]="";if(j)e[c.s]=
+"";if(m)e[c.ma]=""}b=b.call(this);if(f)e[c.K]=f;if(h)e[c.h]=h;if(l)e[c.u]=l;if(a){if(k)e[c.ga]=k;if(g)e[c.ia]=g;if(j)e[c.s]=j;if(m)e[c.ma]=m}return b},O:d.k.X(function(){return this.Qa()||this.Eb(function(){var b=this.d.currentStyle,a=this.Aa;return b[a.h]+" "+b[a.K]+" "+b[a.u]+" "+b[a.s+"X"]+" "+b[a.s+"Y"]})}),Qa:d.k.X(function(){var b=this.d;return b.style[this.ab]||b.currentStyle.getAttribute(this.Pa)}),lc:function(b,a,c,e){var f=this.d,h=a.Z();a=h.g;h=h.f;if(b!=="border-box")if((c=c.w())&&(c=
+c.ca)){a-=c.l.c(f)+c.l.c(f);h-=c.t.c(f)+c.b.c(f)}if(b==="content-box")if(b=e.w()){a-=b.l.c(f)+b.l.c(f);h-=b.t.c(f)+b.b.c(f)}return{g:a,f:h}},yc:function(){var b=0;if(d.Ua<7){b=this.d;b=""+(b.style[d.Ka+"PngFix"]||b.currentStyle.getAttribute(d.i+"png-fix"))==="true"}return b},B:d.k.X(function(){return(this.Qa()||this.yc())&&!!this.w()})});d.fb=d.k.xa({Mc:["Top","Right","Bottom","Left"],Bc:{thin:"1px",medium:"3px",thick:"5px"},za:function(){var b={},a={},c={},e=false,f=true,h=true,l=true;this.Fb(function(){for(var k=
+this.d.currentStyle,g=0,m,j,n,p,y,s,v;g<4;g++){n=this.Mc[g];v=n.charAt(0).toLowerCase();m=a[v]=k["border"+n+"Style"];j=k["border"+n+"Color"];n=k["border"+n+"Width"];if(g>0){if(m!==p)h=false;if(j!==y)f=false;if(n!==s)l=false}p=m;y=j;s=n;c[v]=d.N(j);n=b[v]=d.m(a[v]==="none"?"0":this.Bc[n]||n);if(n.c(this.d)>0)e=true}});return e?{ca:b,ud:a,md:c,wd:l,nd:f,vd:h}:null},O:d.k.X(function(){var b=this.d,a=b.currentStyle,c;b.tagName in d.Sc&&b.offsetParent.currentStyle.borderCollapse==="collapse"||this.Fb(function(){c=
+a.borderWidth+"|"+a.borderStyle+"|"+a.borderColor});return c}),Fb:function(b){var a=this.d.runtimeStyle,c=a.borderWidth,e=a.borderColor;if(c)a.borderWidth="";if(e)a.borderColor="";b=b.call(this);if(c)a.borderWidth=c;if(e)a.borderColor=e;return b}});d.eb=d.k.xa({Pa:"border-image",ab:"borderImage",Ba:{stretch:1,round:1,repeat:1,space:1},za:function(b){var a=null,c,e,f,h,l,k,g=0,m=d.p.mb,j=m.R,n=m.S,p=m.ka;if(b){c=new d.p(b);a={};for(var y=function(i){return i&&i.e&m.Ha&&i.a==="/"},s=function(i){return i&&
+i.e&j&&i.a==="fill"},v=function(){h=c.ba(function(i){return!(i.e&(n|p))});if(s(c.next())&&!a.fill)a.fill=true;else c.n();if(y(c.next())){g++;l=c.ba(function(i){return!i.H()&&!(i.e&j&&i.a==="auto")});if(y(c.next())){g++;k=c.ba(function(i){return!i.Wa()})}}else c.n()};b=c.next();){e=b.e;f=b.a;if(e&(n|p)&&!h){c.n();v()}else if(s(b)&&!a.fill){a.fill=true;v()}else if(e&j&&this.Ba[f]&&!a.repeat){a.repeat={f:f};if(b=c.next())if(b.e&j&&this.Ba[b.a])a.repeat.cb=b.a;else c.n()}else if(e&m.URL&&!a.src)a.src=
+f;else return null}if(!a.src||!h||h.length<1||h.length>4||l&&l.length>4||g===1&&l.length<1||k&&k.length>4||g===2&&k.length<1)return null;if(!a.repeat)a.repeat={f:"stretch"};if(!a.repeat.cb)a.repeat.cb=a.repeat.f;b=function(i,q){return{t:q(i[0]),r:q(i[1]||i[0]),b:q(i[2]||i[0]),l:q(i[3]||i[1]||i[0])}};a.slice=b(h,function(i){return d.m(i.e&n?i.a+"px":i.a)});if(l&&l[0])a.ca=b(l,function(i){return i.H()?d.m(i.a):i.a});if(k&&k[0])a.sd=b(k,function(i){return i.Wa()?d.m(i.a):i.a})}return a}});d.kb=d.k.xa({za:function(b){b=
+new d.p(b);for(var a=[],c;(c=b.next())&&c.H();)a.push(d.m(c.a));return a.length>0&&a.length<5?{t:a[0],r:a[1]||a[0],b:a[2]||a[0],l:a[3]||a[1]||a[0]}:null},O:d.k.X(function(){var b=this.d,a=b.runtimeStyle,c=a.padding;if(c)a.padding="";b=b.currentStyle.padding;if(c)a.padding=c;return b})});d.la={Ya:function(b){function a(c,e,f,h){this.d=c;this.qb=e;this.C=f;this.parent=h}d.va(a.prototype,d.la,b);return a},Xa:function(){return false},Bb:d.hc,Ea:function(){this.B()?this.sb():this.j()},tc:function(){this.d.runtimeStyle.borderColor=
+"transparent"},j:function(){}};d.Mb=d.la.Ya({Ec:/^,+|,+$/g,xc:/,+/g,Ca:function(b,a){(this.La||(this.La=[]))[b]=a||void 0},Ea:function(){var b=this.La,a;if(b&&(a=b.join(",").replace(this.Ec,"").replace(this.xc,","))!==this.Rb)this.Rb=this.d.runtimeStyle.background=a},j:function(){this.d.runtimeStyle.background="";delete this.La}});d.Kb=d.la.Ya({gc:N.createElement("canvas"),U:1,Xa:function(){return this.C.M.rb()},B:function(){var b=this.C;return b.M.B()||b.v.B()},sb:function(){var b=this.C,a=b.M,c=
+a.w(),e,f,h=0,l,k;if(c){e=[];if(f=c.G)for(;l=f[h++];)if(l.z==="linear-gradient"){k=a.lc(e.qa,this.qb,b.W,b.ya);k=(l.ra||d.ea.Ib).c(this.d,k.g,k.f,k.g,k.f);e.push("url("+this.mc(l,k.g,k.f)+") "+this.Yb(l.V)+" / "+k.g+"px "+k.f+"px "+(l.pb||"")+" "+(l.qa||"")+" "+(l.pa||""))}else e.push(l.$a);if(c.color)e.push(c.color.q+" "+(c.bc||""));this.parent.Ca(this.U,e.join(","))}},Yb:function(b){return b?b.J.map(function(a){return a.a}).join(" "):"0 0"},mc:function(b,a,c){var e=this.d,f=b.Q,h=f.length,l=d.Ga.nc(e,
+a,c,b);b=l.zc;var k=this.gc,g=k.getContext("2d");l=g.createLinearGradient(l.Pc,l.Qc,l.ic,l.jc);var m=[],j,n,p;for(j=0;j');
+z.push('');O++}var n=e.g,p=e.f,y=m.g,s=m.f,v=b.vc(a.src,y,s),i=b.u,q=b.Ob;m=b.Nb;var u=Math.ceil,o=d.m("0"),r=a.ca||(c?c.ca:{t:o,r:o,b:o,l:o});o=r.t.c(k);var G=r.r.c(k),A=r.b.c(k);r=r.l.c(k);var B=a.slice,I=B.t.c(k),J=B.r.c(k),L=B.b.c(k);B=B.l.c(k);var H=n-r-G,w=p-o-A,Q=y-B-J,U=s-I-L,M=h===q?H:Q*o/I,E=l===q?w:U*G/J,F=h===q?H:Q*A/L;q=l===q?w:U*r/B;var D=[],z=[],O=0;if(h===m){M-=(M-(H%M||M))/u(H/M);F-=(F-(H%F||F))/u(H/
+F)}if(l===m){E-=(E-(w%E||E))/u(w/E);q-=(q-(w%q||q))/u(w/q)}m=['");b.parent.Ca(b.U,
+"url(data:image/svg+xml,"+escape(m.join(""))+") no-repeat border-box border-box");g&&b.parent.Ea()},b);g=1},vc:function(){var b={};return function(a,c,e){var f=b[a],h;if(!f){f=new Image;h=N.createElement("canvas");f.src=a;h.width=c;h.height=e;h.getContext("2d").drawImage(f,0,0);f=b[a]=h.toDataURL()}return f}}(),Bb:function(){if(this.B()){var b=this.d,a=b.runtimeStyle,c=this.C.v.w().ca;a.borderStyle="solid";if(c){a.borderTopWidth=c.t.c(b)+"px";a.borderRightWidth=c.r.c(b)+"px";a.borderBottomWidth=c.b.c(b)+
+"px";a.borderLeftWidth=c.l.c(b)+"px"}this.tc()}},j:function(){var b=this.d.runtimeStyle;this.parent.Ca(this.U);b.borderColor=b.borderStyle=b.borderWidth=""}});d.ib=function(){function b(i,q){i.className+=" "+q}function a(i){var q=v.slice.call(arguments,1),u=q.length;setTimeout(function(){if(i)for(;u--;)b(i,q[u])},0)}function c(i){var q=v.slice.call(arguments,1),u=q.length;setTimeout(function(){if(i)for(;u--;){var o=q[u];o=s[o]||(s[o]=new RegExp("\\b"+o+"\\b","g"));i.className=i.className.replace(o,
+"")}},0)}function e(i){function q(){if(!S){var t,x,C=d.P,P=i.currentStyle,K=P.getAttribute(h)==="true",$=P.getAttribute(k)!=="false",aa=P.getAttribute(g)!=="false";T=P.getAttribute(l);T=C>7?T!=="false":T==="true";if(!R){R=1;i.runtimeStyle.zoom=1;P=i;for(var ba=1;P=P.previousSibling;)if(P.nodeType===1){ba=0;break}ba&&b(i,p)}D.ua();if(K&&(x=D.Z())&&(t=N.documentElement||N.body)&&(x.y>t.clientHeight||x.x>t.clientWidth||x.y+x.f<0||x.x+x.g<0)){if(!Y){Y=1;d.Ja.I(q)}}else{S=1;Y=R=0;d.Ja.aa(q);if(C===9){z=
+{M:new d.db(i),v:new d.eb(i),W:new d.fb(i),ya:new d.kb(i)};O=[z.M,z.W,z.v,z.ya];F=new d.Mb(i,D,z);E=[new d.Kb(i,D,z,F),new d.Lb(i,D,z,F)]}else{z={M:new d.db(i),W:new d.fb(i),v:new d.eb(i),Zb:new d.bd(i),$b:new d.ed(i),ya:new d.kb(i),Xc:new d.jd(i)};O=[z.M,z.W,z.v,z.Zb,z.$b,z.ya,z.Xc];F=new d.hd(i,D,z);E=[new d.dd(i,D,z,F),new d.$c(i,D,z,F),new d.cd(i,D,z,F),new d.ad(i,D,z,F)];i.tagName==="IMG"&&E.push(new d.fd(i,D,z,F));F.ld=E}if(t=i.currentStyle.getAttribute(d.i+"watch-ancestors")){t=parseInt(t,
+10);x=0;for(K=i.parentNode;K&&(t==="NaN"||x++= 1) {
- $('.responseItem').filter(function() {
+ $container.find('.responseItem').filter(function() {
return $(this).data("value") == result[0].inputValue;
}).trigger('click');
}
diff --git a/resources/static/statements.css b/resources/static/statements.css
index 6da8985..973bbd8 100644
--- a/resources/static/statements.css
+++ b/resources/static/statements.css
@@ -1,67 +1,84 @@
-@charset "utf-8";
-/* CSS Document */
-.background-mask {
- background-color: #000000;
- opacity: 0.8;
- text-align:center;
-}
-
-/* Reponses */
-.adc-statements .responseItem
-{
- /* Element */
- display:block;
- margin:0 0 5px 0;
- vertical-align:middle;
- cursor:pointer;
- behavior:url(PIE.htc);
-
- /* Decoration */
- border: 1px solid #000;
- background: #fff;
- background: -webkit-gradient(linear, 0 0, 0 100%, from( #fff ) to( #cecece ));
- background: -webkit-linear-gradient( #fff , #cecece );
- background: -moz-linear-gradient( #fff , #cecece );
- background: -ms-linear-gradient( #fff , #cecece );
- background: -o-linear-gradient( #fff , #cecece );
- background: linear-gradient( #fff , #cecece );
- -pie-background: linear-gradient( #fff , #cecece );
-
- /* Effects */
- -webkit-border-radius: 5px 5px 5px 5px;
- -moz-border-radius: 5px 5px 5px 5px;
- -khtml-border-radius: 5px 5px 5px 5px;
- border-radius: 5px 5px 5px 5px;
-
- -webkit-transform: translate3d(0, 0, 0);
- -webkit-backface-visibility: hidden;
- -webkit-perspective: 1000;
-
- /* disable highlight text */
- -moz-user-select: none;
- -webkit-user-select: none;
- -ms-user-select:none;
- user-select:none;
-
- position:relative;
-}
-
-.adc-statements .response_text
-{
- display:block;
- padding:10px;
- line-height:140%;
- font-size:12px;
- color:#000;
-}
-.adc-statements .responseItem img
-{
- display:inline-block;
- margin:5px 20px 5px 5px;
- float:right;
-}
-
-.adc-statements .responseItem.selected .response_text
-{
- color:#fff;
-}
+@charset "utf-8";
+/* CSS Document */
+.background-mask {
+ background-color: #000000;
+ opacity: 0.8;
+ text-align:center;
+}
+
+/* Reponses */
+.adc-statements .responseItem
+{
+ /* Element */
+ display:block;
+ margin:0 0 5px 0;
+ vertical-align:middle;
+ cursor:pointer;
+ behavior:url(PIE.htc);
+
+ /* Decoration */
+ border: 1px solid #000;
+ background: #fff;
+ background: -webkit-gradient(linear, 0 0, 0 100%, from( #fff ) to( #cecece ));
+ background: -webkit-linear-gradient( #fff , #cecece );
+ background: -moz-linear-gradient( #fff , #cecece );
+ background: -ms-linear-gradient( #fff , #cecece );
+ background: -o-linear-gradient( #fff , #cecece );
+ background: linear-gradient( #fff , #cecece );
+ -pie-background: linear-gradient( #fff , #cecece );
+
+ /* Effects */
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+ -khtml-border-radius: 5px 5px 5px 5px;
+ border-radius: 5px 5px 5px 5px;
+
+ -webkit-transform: translate3d(0, 0, 0);
+ -webkit-backface-visibility: hidden;
+ -webkit-perspective: 1000;
+
+
+ position:relative;
+}
+
+.adc-statements .response_text
+{
+ display:block;
+ padding:10px;
+ line-height:140%;
+ font-size:12px;
+ color:#000;
+}
+.adc-statements .responseItem img
+{
+ display:inline-block;
+ margin:5px 20px 5px 5px;
+ float:right;
+}
+
+.adc-statements .responseItem.selected .response_text
+{
+ color:#fff;
+}
+
+.adc-statements .otherText {
+ display:block;
+ margin:10px;
+ line-height:140%;
+ font-size:12px;
+ color:#000;
+ border:2px solid #666;
+ /* Effects */
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+ -khtml-border-radius: 5px 5px 5px 5px;
+ border-radius: 5px 5px 5px 5px;
+ padding:5px;
+
+ /* disable highlight text */
+ -moz-user-select: text !important;
+ -khtml-user-select: text !important;
+ -webkit-user-select: text !important;
+ -ms-user-select: text !important;
+ user-select: text !important;
+}
\ No newline at end of file
diff --git a/resources/static/statements.js b/resources/static/statements.js
index be32095..f726cc8 100644
--- a/resources/static/statements.js
+++ b/resources/static/statements.js
@@ -1,294 +1,406 @@
-(function ($) {
- "use strict";
-
- $.fn.adcStatements = function adcStatements(options) {
-
- (options.responseWidth = options.responseWidth || "auto");
- (options.responseHeight = options.responseHeight || "auto");
- (options.isSingle = Boolean(options.isSingle));
- (options.isMultiple = Boolean(options.isMultiple));
- (options.animate = Boolean(options.animate));
- (options.autoForward = Boolean(options.autoForward));
- (options.useRange = Boolean(options.useRange));
-
- // Delegate .transition() calls to .animate() if the browser can't do CSS transitions.
- if (!$.support.transition) $.fn.transition = $.fn.animate;
-
- $(this).css({'max-width':options.maxWidth,'width':options.controlWidth});
- $(this).parents('.controlContainer').css({'width':'100%','overflow':'hidden'});
-
- if ( options.controlAlign === "center" ) {
- $(this).parents('.controlContainer').css({'text-align':'center'});
- $(this).css({'margin':'0px auto'});
- } else if ( options.controlAlign === "right" ) {
- $(this).css({'margin':'0 0 0 auto'});
- }
-
- if ( options.columns > 1 ) {
- /*$('.column').width( (100/options.columns) + '%' ).css('float','left')*/
- $('.column').css({'display':'block','width':'100%'});
- $('.responseItem').css({'display':'block','float':'left'});
- }
-
- // Global variables
- var $container = $(this),
- items = options.items,
- isMultiple = options.isMultiple;
-
- // Convert RGB to hex
- function trim(arg) {
- return arg.replace(/^\s+|\s+$/g, "");
- }
- function isNumeric(arg) {
- return !isNaN(parseFloat(arg)) && isFinite(arg);
- }
- function isRgb(arg) {
- arg = trim(arg);
- return isNumeric(arg) && arg >= 0 && arg <= 255;
- }
- function rgbToHex(arg) {
- arg = parseInt(arg, 10).toString(16);
- return arg.length === 1 ? '0' + arg : arg;
- }
- function processRgb(arg) {
- arg = arg.split(',');
-
- if ( (arg.length === 3 || arg.length === 4) && isRgb(arg[0]) && isRgb(arg[1]) && isRgb(arg[2]) ) {
- if (arg.length === 4 && !isNumeric(arg[3])) { return null; }
- return '#' + rgbToHex(arg[0]).toUpperCase() + rgbToHex(arg[1]).toUpperCase() + rgbToHex(arg[2]).toUpperCase();
- }
- else {
- return null;
- }
- }
-
- // For multi-coded question
- // Add the @valueToAdd in @currentValue (without duplicate)
- // and return the new value
- function addValue(currentValue, valueToAdd) {
- if (currentValue == '') {
- return valueToAdd;
- }
-
- var arr = String(currentValue).split(','), i, l, wasFound = false;
-
- for (i = 0, l = arr.length; i < l; i += 1) {
- if (arr[i] == valueToAdd) {
- wasFound = true;
- break;
- }
- }
-
- if (!wasFound) {
- currentValue += ',' + valueToAdd;
- }
- return currentValue;
- }
-
- // For multi-coded question
- // Remove the @valueToRemove from the @currentValue
- // and return the new value
- function removeValue(currentValue, valueToRemove) {
- if (currentValue === '') {
- return currentValue;
- }
- var arr = String(currentValue).split(','),
- i, l,
- newArray = [];
- for (i = 0, l = arr.length; i < l; i += 1) {
- if (arr[i] != valueToRemove) {
- newArray.push(arr[i]);
- }
- }
- currentValue = newArray.join(',');
- return currentValue;
- }
-
- // Select a statement
- // @this = target node
- function selectStatementSingle() {
-
- var $input = items[0].element,
- $target = $(this),
- value = $target.data('value');
-
- $container.find('.selected').removeClass('selected');
- $target.addClass('selected');
- $input.val(value);
-
- // if auto forward do something
- if ( options.autoForward ) $(':input[name=Next]:last').click();
- }
-
- // Select a statement for multiple
- // @this = target node
- function selectStatementMulitple() {
-
- var $target = $(this),
- value = $target.data('value'),
- $input = items[$target.data('id')].element,
- isExclusive = Boolean(items[$target.data('id')].isExclusive),
- currentValue = $input.val();
-
- if ($target.hasClass('selected')) {
- // Un-select
-
- $target.removeClass('selected');
- //$input.prop('checked', false);
- currentValue = removeValue(currentValue, value);
- } else {
-
- // Select
-
- if (!isExclusive) {
-
- // Check if any exclusive
- currentValue = addValue(currentValue, value);
-
- // Un-select all exclusives
- $container.find('.exclusive').each(function forEachExclusives() {
- $(this).removeClass('selected');
- currentValue = removeValue(currentValue, $(this).data('value'));
- });
-
- } else {
-
- // When exclusive un-select all others
- $container.find('.selected').removeClass('selected');
- currentValue = value;
-
- }
- $target.addClass('selected');
- }
-
- // Update the value
- $input.val(currentValue);
- }
-
- // Check for missing images and resize
- $container.find('.responseItem img').each(function forEachImage() {
- var size = {
- width: $(this).width(),
- height: $(this).height()
- };
-
- if (options.forceImageSize === "height" ) {
- if ( size.height > parseInt(options.maxImageHeight,10) ) {
- var ratio = ( parseInt(options.maxImageHeight,10) / size.height);
- size.height *= ratio,
- size.width *= ratio;
- }
- } else if (options.forceImageSize === "width" ) {
- if ( size.width > parseInt(options.maxImageWidth,10) ) {
- var ratio = ( parseInt(options.maxImageWidth,10) / size.width);
- size.width *= ratio,
- size.height *= ratio;
- }
-
- } else if (options.forceImageSize === "both" ) {
- if ( parseInt(options.maxImageHeight,10) > 0 && size.height > parseInt(options.maxImageHeight,10) ) {
- var ratio = ( parseInt(options.maxImageHeight,10) / size.height);
- size.height *= ratio,
- size.width *= ratio;
- }
-
- if ( parseInt(options.maxImageWidth,10) > 0 && size.width > parseInt(options.maxImageWidth,10) ) {
- var ratio = ( parseInt(options.maxImageWidth,10) / size.width);
- size.width *= ratio,
- size.height *= ratio;
- }
-
- }
- $(this).css(size);
- });
-
- // If image align is center
- if (options.imageAlign === "center") {
- $('.responseItem img').css({'margin-left':'auto','margin-right':'auto'});
- $('.responseItem').css({'text-align':'center'});
- }
-
- // add ns to last x items
- if ( options.numberNS > 0 ) $('.responseItem').slice(-options.numberNS).addClass('ns');
-
- // Use range if on
- if ( options.useRange ) {
- var maxNumber = $('.responseItem').size() - options.numberNS;
- var rangeArray = options.range.split(';');
-
- var rainbow1 = new Rainbow();
- rainbow1.setSpectrum(processRgb(rangeArray[0]), processRgb(rangeArray[2]));
- rainbow1.setNumberRange(0, maxNumber);
- var rainbow2 = new Rainbow();
- rainbow2.setSpectrum(processRgb(rangeArray[1]), processRgb(rangeArray[3]));
- rainbow2.setNumberRange(0, maxNumber);
- $('.responseItem').slice(0,(options.numberNS > 0)?0-options.numberNS:$('.responseItem').size()).each(function( index ) {
- $(this).css({ 'background': '#'+rainbow1.colourAt(index) });
- $(this).css({ 'background': '-webkit-gradient(linear, 0 0, 0 100%, from(#'+rainbow1.colourAt(index)+') to(#'+rainbow2.colourAt(index)+'))' });
- $(this).css({ 'background': '-webkit-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).css({ 'background': '-moz-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).css({ 'background': '-ms-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).css({ 'background': '-o-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).css({ 'background': 'linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).css({ '-pie-background': 'linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
- $(this).addClass('active').removeClass('active');
- });
- }
-
- // Retrieve previous selection
- if ( !isMultiple ) {
-
- var $input = items[0].element;
- var currentValue = $input.val();
-
- $container.find('.responseItem').each(function () {
- var value = $(this).data('value'),
- isSelected = $(this).data('value') == currentValue ? true : false;
- if (isSelected) {
- $(this).addClass('selected');
- } else {
- $(this).removeClass('selected');
- }
- });
-
- } else if ( isMultiple ) {
-
- var $input = items[0].element;
- var currentValues = String($input.val()).split(","),
- currentValue;
-
- for ( var i=0; i 1 ) {
+ // Try to make all the repsonses the same height
+ $(this).find('.responseItem').css('height','');
+ $(this).find('.column').css({'display':'block','width':'100%'});
+ $(this).find('.responseItem').css({'display':'block','float':'left'}).width( (100/options.columns) + '%');
+ var widthDiff = $(this).find('.responseItem').outerWidth(true) - $(this).find('.responseItem').innerWidth();
+ $(this).find('.responseItem').width( (($(this).find('.column').outerWidth() - (widthDiff * options.columns))/options.columns) + "px" );
+ var maxResponseHeight = Math.max.apply( null, $(this).find('.responseItem').map( function () {
+ var thisHeight = $( this ).outerHeight();
+ if ( $(this).find('.otherText').size() > 0 ) thisHeight -= $(this).find('.otherText').outerHeight(true);
+ return thisHeight;
+ }).get() );
+
+ $(this).find('.responseItem').each(function() {
+ if ( $(this).find('.otherText').size() > 0 ) $(this).css({'height':'auto', 'min-height':maxResponseHeight+'px'});
+ else $(this).css({'height':maxResponseHeight+'px'});
+ });
+ }
+
+ // Other
+ $(this).parents('.controlContainer').find('.otherText').width( $(this).find('.responseItem').innerWidth() - 30 ).hide();
+ //OLD if ( $( '#'+options.otherQID ).val() !== '' ) $(this).parents('.controlContainer').find('.otherText').val( $( '#'+options.otherQID ).val() );
+ //OLD $( '#'+options.otherQID ).hide();
+ var i;
+ for (i = 0; i < otherQIDarray.length; ++i) {
+ if ( $( '#'+otherQIDarray[i] ).val() !== '' )
+ $(this).parents('.controlContainer').find('.responseItem[data-index="'+otherRIDarray[i]+'"] .otherText').val( $( '#'+otherQIDarray[i] ).val() );
+ $( '#'+otherQIDarray[i] ).hide();
+ }
+
+ // Global variables
+ var $container = $(this),
+ items = options.items,
+ isMultiple = options.isMultiple;
+
+ // Fix column width
+ if ( parseInt(options.columns) > 1 && ( ($(this).find('.responseItem').eq(0).outerWidth(true) * parseInt(options.columns)) >= $(this).find('.column').eq(0).width() ) ) {
+ var colWidthDiff = Math.ceil(($(this).find('.column').eq(0).width() - ($(this).find('.responseItem').eq(0).outerWidth(true) * parseInt(options.columns)))*0.5);
+ $(this).find('.responseItem').width( $(this).find('.responseItem').eq(0).width() - (colWidthDiff + 1));
+ }
+
+ // Convert RGB to hex
+ function trim(arg) {
+ return arg.replace(/^\s+|\s+$/g, "");
+ }
+ function isNumeric(arg) {
+ return !isNaN(parseFloat(arg)) && isFinite(arg);
+ }
+ function isRgb(arg) {
+ arg = trim(arg);
+ return isNumeric(arg) && arg >= 0 && arg <= 255;
+ }
+ function rgbToHex(arg) {
+ arg = parseInt(arg, 10).toString(16);
+ return arg.length === 1 ? '0' + arg : arg;
+ }
+ function processRgb(arg) {
+ arg = arg.split(',');
+
+ if ( (arg.length === 3 || arg.length === 4) && isRgb(arg[0]) && isRgb(arg[1]) && isRgb(arg[2]) ) {
+ if (arg.length === 4 && !isNumeric(arg[3])) { return null; }
+ return '#' + rgbToHex(arg[0]).toUpperCase() + rgbToHex(arg[1]).toUpperCase() + rgbToHex(arg[2]).toUpperCase();
+ }
+ else {
+ return null;
+ }
+ }
+
+ // For multi-coded question
+ // Add the @valueToAdd in @currentValue (without duplicate)
+ // and return the new value
+ function addValue(currentValue, valueToAdd) {
+ if (currentValue == '') {
+ return valueToAdd;
+ }
+
+ var arr = String(currentValue).split(','), i, l, wasFound = false;
+
+ for (i = 0, l = arr.length; i < l; i += 1) {
+ if (arr[i] == valueToAdd) {
+ wasFound = true;
+ break;
+ }
+ }
+
+ if (!wasFound) {
+ currentValue += ',' + valueToAdd;
+ }
+ return currentValue;
+ }
+
+ // For multi-coded question
+ // Remove the @valueToRemove from the @currentValue
+ // and return the new value
+ function removeValue(currentValue, valueToRemove) {
+ if (currentValue === '') {
+ return currentValue;
+ }
+ var arr = String(currentValue).split(','),
+ i, l,
+ newArray = [];
+ for (i = 0, l = arr.length; i < l; i += 1) {
+ if (arr[i] != valueToRemove) {
+ newArray.push(arr[i]);
+ }
+ }
+ currentValue = newArray.join(',');
+ return currentValue;
+ }
+
+ // Select a statement
+ // @this = target node
+ function selectStatementSingle() {
+
+ var $input = items[0].element,
+ $target = $(this),
+ value = $target.data('value');
+
+ $container.find('.selected').removeClass('selected');
+ $target.addClass('selected');
+ $input.val(value);
+
+ $(this).parents('.controlContainer').find('.otherText').val('');
+ for (i = 0; i < otherQIDarray.length; ++i) {
+ $( '#'+otherQIDarray[i] ).val('');
+ }
+ $(this).parents('.controlContainer').find('.otherText').hide();
+
+ if ( $.inArray( String(parseInt($target.data('index'))), otherRIDarray ) != -1 ) {
+ var otherID = $.inArray( String(parseInt($target.data('index'))), otherRIDarray );
+ $(this).find('.otherText').show();
+ }
+
+ // if auto forward do something
+ if ( options.autoForward && $.inArray( String(parseInt($target.data('index'))), otherRIDarray ) == -1 ) $(':input[name=Next]:last').click();
+ }
+
+ // Select a statement for multiple
+ // @this = target node
+ function selectStatementMulitple() {
+
+ var $target = $(this),
+ value = $target.data('value'),
+ $input = items[$target.data('id')].element,
+ isExclusive = Boolean(items[$target.data('id')].isExclusive),
+ currentValue = $input.val();
+
+ if ($target.hasClass('selected')) {
+ // Un-select
+
+ $target.removeClass('selected');
+ //$input.prop('checked', false);
+ currentValue = removeValue(currentValue, value);
+
+ if ( $.inArray( String(parseInt($target.data('index'))), otherRIDarray ) != -1 ) {
+
+ //FIX
+ var otherID = $.inArray( String(parseInt($target.data('index'))), otherRIDarray );
+ $(this).find('.otherText').hide();
+ $(this).find('.otherText').val('');
+ $( '#'+otherQIDarray[otherID] ).val('');
+ }
+
+ } else {
+
+ // Select
+
+ if (!isExclusive) {
+
+ // Check if any exclusive
+ currentValue = addValue(currentValue, value);
+ var otherID = $.inArray( String(parseInt($(this).data('index'))), otherRIDarray );
+ if ( $.inArray( String(parseInt($target.data('index'))), otherRIDarray ) != -1 )
+ $(this).find('.otherText').show();
+
+ // Un-select all exclusives
+ $container.find('.exclusive').each(function forEachExclusives() {
+ $(this).removeClass('selected');
+ currentValue = removeValue(currentValue, $(this).data('value'));
+
+ if ( $.inArray( String(parseInt($(this).data('index'))), otherRIDarray ) != -1 ) {
+ //FIX
+ var otherID = $.inArray( String(parseInt($(this).data('index'))), otherRIDarray );
+ $(this).find('.otherText').val('');
+ $( '#'+otherQIDarray[otherID] ).val('');
+ $(this).find('.otherText').hide();
+ }
+ });
+
+ } else {
+
+ // When exclusive un-select all others
+ $container.find('.selected').removeClass('selected');
+ currentValue = value;
+
+ if ( $.inArray( String(parseInt($target.data('index'))), otherRIDarray ) == -1 ) {
+ //FIX
+ $(this).parents('.controlContainer').find('.otherText').val('');
+ for (i = 0; i < otherQIDarray.length; ++i) {
+ $( '#'+otherQIDarray[i] ).val('');
+ }
+ $(this).parents('.controlContainer').find('.otherText').hide();
+ } else $(this).parents('.controlContainer').find('.otherText').show();
+
+ }
+ $target.addClass('selected');
+ }
+
+ // Update the value
+ $input.val(currentValue);
+ }
+
+ function writeText() {
+ $( '#'+otherQIDarray[parseInt($(this).data('id'))-1] ).val( $(this).val() );
+
+ }
+
+ $( '.otherText' ).focus(function(srcc) {
+ if ($(this).val() == $(this)[0].title) {
+ $(this).removeClass("defaultTextActive");
+ $(this).val("");
+ }
+ });
+
+ $( '.otherText' ).blur(function() {
+ if ($(this).val() == "") {
+ $(this).addClass("defaultTextActive");
+ $(this).val($(this)[0].title);
+ }
+ });
+
+ $(this).parents('.controlContainer').find( '.otherText' ).blur();
+
+
+ $(this).parents('.controlContainer').find( '.otherText' ).keyup(writeText).click(function(e) {
+ e.stopPropagation();
+ });
+
+ // Check for missing images and resize
+ $container.find('.responseItem img').each(function forEachImage() {
+ var size = {
+ width: $(this).width(),
+ height: $(this).height()
+ };
+
+ if (options.forceImageSize === "height" ) {
+ if ( size.height > parseInt(options.maxImageHeight,10) ) {
+ var ratio = ( parseInt(options.maxImageHeight,10) / size.height);
+ size.height *= ratio,
+ size.width *= ratio;
+ }
+ } else if (options.forceImageSize === "width" ) {
+ if ( size.width > parseInt(options.maxImageWidth,10) ) {
+ var ratio = ( parseInt(options.maxImageWidth,10) / size.width);
+ size.width *= ratio,
+ size.height *= ratio;
+ }
+
+ } else if (options.forceImageSize === "both" ) {
+ if ( parseInt(options.maxImageHeight,10) > 0 && size.height > parseInt(options.maxImageHeight,10) ) {
+ var ratio = ( parseInt(options.maxImageHeight,10) / size.height);
+ size.height *= ratio,
+ size.width *= ratio;
+ }
+
+ if ( parseInt(options.maxImageWidth,10) > 0 && size.width > parseInt(options.maxImageWidth,10) ) {
+ var ratio = ( parseInt(options.maxImageWidth,10) / size.width);
+ size.width *= ratio,
+ size.height *= ratio;
+ }
+
+ }
+ $(this).css(size);
+ });
+
+ // If image align is center
+ if (options.imageAlign === "center") {
+ $('.responseItem img').css({'margin-left':'auto','margin-right':'auto'});
+ $('.responseItem').css({'text-align':'center'});
+ }
+
+ // add ns to last x items
+ if ( options.numberNS > 0 ) $('.responseItem').slice(-options.numberNS).addClass('ns');
+
+ // Use range if on
+ if ( options.useRange ) {
+ var maxNumber = $('.responseItem').size() - options.numberNS;
+ var rangeArray = options.range.split(';');
+
+ var rainbow1 = new Rainbow();
+ rainbow1.setSpectrum(processRgb(rangeArray[0]), processRgb(rangeArray[2]));
+ rainbow1.setNumberRange(0, maxNumber);
+ var rainbow2 = new Rainbow();
+ rainbow2.setSpectrum(processRgb(rangeArray[1]), processRgb(rangeArray[3]));
+ rainbow2.setNumberRange(0, maxNumber);
+ $('.responseItem').slice(0,(options.numberNS > 0)?0-options.numberNS:$('.responseItem').size()).each(function( index ) {
+ $(this).css({ 'background': '#'+rainbow1.colourAt(index) });
+ $(this).css({ 'background': '-webkit-gradient(linear, 0 0, 0 100%, from(#'+rainbow1.colourAt(index)+') to(#'+rainbow2.colourAt(index)+'))' });
+ $(this).css({ 'background': '-webkit-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).css({ 'background': '-moz-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).css({ 'background': '-ms-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).css({ 'background': '-o-linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).css({ 'background': 'linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).css({ '-pie-background': 'linear-gradient(#'+rainbow1.colourAt(index)+',#'+rainbow2.colourAt(index)+')' });
+ $(this).addClass('active').removeClass('active');
+ });
+ }
+
+ // Retrieve previous selection
+ if ( !isMultiple ) {
+
+ var $input = items[0].element;
+ var currentValue = $input.val();
+
+ $container.find('.responseItem').each(function () {
+ var value = $(this).data('value'),
+ isSelected = $(this).data('value') == currentValue ? true : false;
+ if (isSelected) {
+ $(this).addClass('selected');
+
+ if ( $.inArray( String(parseInt($(this).data('index'))), otherRIDarray ) != -1 ) {
+ var otherID = $.inArray( String(parseInt($(this).data('index'))), otherRIDarray );
+ $(this).parents('.controlContainer').find('.otherText').eq(otherID);
+ }
+
+ } else {
+ $(this).removeClass('selected');
+ }
+ });
+
+ } else if ( isMultiple ) {
+
+ var $input = items[0].element;
+ var currentValues = String($input.val()).split(","),
+ currentValue;
+
+ for ( var i=0; i
+
+
+
+
+
+
+
+
+ chapter
+
+
+
+
+
+
+
+
+
+
+
+ ../Scripts/
+
+
+
+
+
+
diff --git a/tests/fixtures/date.xml b/tests/fixtures/date.xml
new file mode 100755
index 0000000..8837eb0
--- /dev/null
+++ b/tests/fixtures/date.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ date_only
+
+
+
+
+
+
+
diff --git a/tests/fixtures/datetime.xml b/tests/fixtures/datetime.xml
new file mode 100755
index 0000000..8f32288
--- /dev/null
+++ b/tests/fixtures/datetime.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ datetime
+
+
+
+
+
+
+
diff --git a/tests/fixtures/multiple.xml b/tests/fixtures/multiple.xml
new file mode 100755
index 0000000..24d3b7e
--- /dev/null
+++ b/tests/fixtures/multiple.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ multiple
+
+
+ A
+
+
+ B
+
+
+ C
+
+
+ D
+
+
+ E
+
+
+
+
+
+
+
+
+
diff --git a/tests/fixtures/numeric.xml b/tests/fixtures/numeric.xml
new file mode 100755
index 0000000..0386e2b
--- /dev/null
+++ b/tests/fixtures/numeric.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ numeric
+
+
+
+
+
+
+
diff --git a/tests/fixtures/open.xml b/tests/fixtures/open.xml
new file mode 100755
index 0000000..cc648f3
--- /dev/null
+++ b/tests/fixtures/open.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ open
+
+
+
+
+
+
+
diff --git a/tests/fixtures/single.xml b/tests/fixtures/single.xml
new file mode 100755
index 0000000..088a6b3
--- /dev/null
+++ b/tests/fixtures/single.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ single
+
+
+ A
+
+
+ B
+
+
+ C
+
+
+ D
+
+
+ E
+
+
+
+
+
+
+
+
+
diff --git a/tests/fixtures/time.xml b/tests/fixtures/time.xml
new file mode 100755
index 0000000..e716e87
--- /dev/null
+++ b/tests/fixtures/time.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+ loop
+
+
+ Iteration 1
+
+
+ Iteration 2
+
+
+ Iteration 3
+
+
+
+
+ time_only
+
+
+
+
+
+
+