webshims-rails 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/MIT_LICENSE.txt +20 -0
  4. data/Rakefile +1 -0
  5. data/lib/webshims-rails.rb +13 -0
  6. data/lib/webshims-rails/version.rb +6 -0
  7. data/readme.textile +26 -0
  8. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +9 -0
  9. data/vendor/assets/javascripts/webshims/minified/extras/modernizr-custom.js +19 -0
  10. data/vendor/assets/javascripts/webshims/minified/extras/mousepress.js +2 -0
  11. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +27 -0
  12. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/README +62 -0
  13. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/canvas2png.js +42 -0
  14. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.js +28 -0
  15. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
  16. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/proxy.php +73 -0
  17. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvas/save.php +49 -0
  18. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/README +82 -0
  19. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/canvas2png.js +42 -0
  20. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
  21. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
  22. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/flashcanvas.js +31 -0
  23. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/proxy.php +73 -0
  24. data/vendor/assets/javascripts/webshims/minified/shims/FlashCanvasPro/save.php +49 -0
  25. data/vendor/assets/javascripts/webshims/minified/shims/combos/1.js +33 -0
  26. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +75 -0
  27. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +39 -0
  28. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +38 -0
  29. data/vendor/assets/javascripts/webshims/minified/shims/combos/13.js +25 -0
  30. data/vendor/assets/javascripts/webshims/minified/shims/combos/14.js +19 -0
  31. data/vendor/assets/javascripts/webshims/minified/shims/combos/15.js +10 -0
  32. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +53 -0
  33. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +62 -0
  34. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +64 -0
  35. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +60 -0
  36. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +61 -0
  37. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +42 -0
  38. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +40 -0
  39. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +56 -0
  40. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +53 -0
  41. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +73 -0
  42. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +80 -0
  43. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +30 -0
  44. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +37 -0
  45. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +56 -0
  46. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +38 -0
  47. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +45 -0
  48. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +33 -0
  49. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +62 -0
  50. data/vendor/assets/javascripts/webshims/minified/shims/details.js +5 -0
  51. data/vendor/assets/javascripts/webshims/minified/shims/dom-extend.js +20 -0
  52. data/vendor/assets/javascripts/webshims/minified/shims/es5.js +14 -0
  53. data/vendor/assets/javascripts/webshims/minified/shims/excanvas.js +35 -0
  54. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +21 -0
  55. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +19 -0
  56. data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +9 -0
  57. data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +7 -0
  58. data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +9 -0
  59. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +12 -0
  60. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +26 -0
  61. data/vendor/assets/javascripts/webshims/minified/shims/form-output.js +5 -0
  62. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +26 -0
  63. data/vendor/assets/javascripts/webshims/minified/shims/geolocation.js +5 -0
  64. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ar.js +7 -0
  65. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ch-ZN.js +3 -0
  66. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-de.txt +33 -0
  67. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-el.js +7 -0
  68. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-en.txt +34 -0
  69. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-es.js +3 -0
  70. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-fr.js +3 -0
  71. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-he.js +6 -0
  72. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hi.js +6 -0
  73. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-hu.js +3 -0
  74. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-it.js +3 -0
  75. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ja.js +4 -0
  76. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-nl.js +3 -0
  77. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-pt-PT.js +3 -0
  78. data/vendor/assets/javascripts/webshims/minified/shims/i18n/errormessages-ru.js +8 -0
  79. data/vendor/assets/javascripts/webshims/minified/shims/json-storage.js +14 -0
  80. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/license.txt +1 -0
  81. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/player.swf +0 -0
  82. data/vendor/assets/javascripts/webshims/minified/shims/jwplayer/readme.html +87 -0
  83. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +13 -0
  84. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-native-fix.js +3 -0
  85. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +29 -0
  86. data/vendor/assets/javascripts/webshims/minified/shims/styles/details-arrows.png +0 -0
  87. data/vendor/assets/javascripts/webshims/minified/shims/styles/forms.png +0 -0
  88. data/vendor/assets/javascripts/webshims/minified/shims/styles/polyfill-loader.gif +0 -0
  89. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +610 -0
  90. data/vendor/assets/javascripts/webshims/minified/shims/swf/jwwebshims.swf +0 -0
  91. data/vendor/assets/javascripts/webshims/minified/shims/swf/localStorage.swf +0 -0
  92. data/webshims-rails.gemspec +26 -0
  93. metadata +149 -0
@@ -0,0 +1,53 @@
1
+ (function(c){if(!Modernizr.genericDOM){var f=document,k,h,n=/<([\w:]+)/,q={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||q[(n.exec(c)||["",""])[1].toLowerCase()])return c;if(!h){k=f.body;if(!k)return c;h=f.createElement("div");h.style.display="none"}var o=h.cloneNode(!1);k.appendChild(o);o.innerHTML=c;k.removeChild(o);return o.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(c,f,k,h,n){var q=f.modules,x=/\s*,\s*/,o={},t={},p={},l={},u={},s=c.fn.val,y=function(b,a,e,g,r){return r?s.call(c(b)):s.call(c(b),e)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?s.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return s.apply(this,arguments);var e=c.isFunction(b);return this.each(function(g){a=this;1===a.nodeType&&(e?(g=b.call(a,g,c.prop(a,"value",n,"val",
3
+ !0)),null==g&&(g=""),c.prop(a,"value",g,"val")):c.prop(a,"value",b,"val"))})};var w="_webshimsLib"+Math.round(1E3*Math.random()),v=function(b,a,e){b=b.jquery?b[0]:b;if(!b)return e||{};var g=c.data(b,w);e!==n&&(g||(g=c.data(b,w,{})),a&&(g[a]=e));return a?g&&g[a]:g};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=v(this,
4
+ "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){o[b]=c[b];c[b]=function(a,e,g,r,d){var j="val"==r,f=!j?o[b]:y;if(!a||!t[e]||1!==a.nodeType||!j&&r&&"attr"==b&&c.attrFn[e])return f(a,e,g,r,d);var z=(a.nodeName||"").toLowerCase(),q=p[z],m="attr"==b&&(!1===g||null===g)?"removeAttr":b,i,h,l;q||(q=p["*"]);q&&(q=q[e]);q&&(i=q[m]);if(i){if("value"==e)h=i.isVal,i.isVal=j;if("removeAttr"===m)return i.value.call(a);if(g===n)return i.get?i.get.call(a):i.value;i.set&&
5
+ ("attr"==b&&!0===g&&(g=e),l=i.set.call(a,g));if("value"==e)i.isVal=h}else l=f(a,e,g,r,d);if((g!==n||"removeAttr"===m)&&u[z]&&u[z][e]){var k;k="removeAttr"==m?!1:"prop"==m?!!g:!0;u[z][e].forEach(function(e){if(!e.only||(e.only="prop"==b)||"attr"==e.only&&"prop"!=b)e.call(a,g,k,j?"val":m,b)})}return l};l[b]=function(a,e,g){p[a]||(p[a]={});p[a][e]||(p[a][e]={});var r=p[a][e][b],d=function(a,c,r){return c&&c[a]?c[a]:r&&r[a]?r[a]:"prop"==b&&"value"==e?function(a){return g.isVal?y(this,e,a,!1,0===arguments.length):
6
+ o[b](this,e,a)}:"prop"==b&&"value"==a&&g.value.apply?function(a){var c=o[b](this,e);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return o[b](this,e,a)}};p[a][e][b]=g;if(g.value===n){if(!g.set)g.set=g.writeable?d("set",g,r):f.cfg.useStrict&&"prop"==e?function(){throw e+" is readonly on "+a;}:c.noop;if(!g.get)g.get=d("get",g,r)}["value","get","set"].forEach(function(a){g[a]&&(g["_sup"+a]=d(a,r))})}});var d=!c.browser.msie||8<parseInt(c.browser.version,10),m=function(){var b=f.getPrototypeOf(h.createElement("foobar")),
7
+ a=Object.prototype.hasOwnProperty;return function(e,c,r){var q=h.createElement(e),m=f.getPrototypeOf(q);if(d&&m&&b!==m&&(!q[c]||!a.call(q,c))){var i=q[c];r._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};m[c]=r.value}else r._supvalue=function(){var a=v(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},j.extendValue(e,c,r.value);r.value._supvalue=r._supvalue}}(),j=function(){var b={};f.addReady(function(a,e){var g={},d=function(b){g[b]||(g[b]=c(a.getElementsByTagName(b)),
8
+ e[0]&&c.nodeName(e[0],b)&&(g[b]=g[b].add(e)))};c.each(b,function(a,b){d(a);!b||!b.forEach?f.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){g[a].each(b)})});g=null});var a,e=c([]),g=function(e,g){b[e]?b[e].push(g):b[e]=[g];c.isDOMReady&&(a||c(h.getElementsByTagName(e))).each(g)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(h.getElementsByTagName(b)));return a||e},flushTmpCache:function(){a=null},content:function(a,b){g(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
9
+ b,a)})},createElement:function(a,b){g(a,b)},extendValue:function(a,b,e){g(a,function(){c(this).each(function(){v(this,"propValue",{})[b]=this[b];this[b]=e})})}}}(),i=function(b,a){if(b.defaultValue===n)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}}};c.extend(f,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),e=a.attr("id");e||(b++,e="ID-"+b,a.attr("id",e));return e}}(),extendUNDEFProp:function(b,
10
+ a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:i,data:v,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,e,g){if((a=(c[b](a,"events")||{})[e])&&1<a.length)e=a.pop(),g||(g="bind"),"bind"==g&&a.delegateCount?a.splice(a.delegateCount,0,e):a.unshift(e)}}(),addShadowDom:function(b,a,e){e=e||{};b.jquery&&(b=b[0]);a.jquery&&(a=a[0]);if(!e.shadowFocusElement)e.shadowFocusElement=a;var g=c.data(b,w)||c.data(b,w,{}),d=c.data(a,w)||c.data(a,w,{});g.hasShadow=a;d.nativeElement=
11
+ b;d.shadowData=g.shadowData={nativeElement:b,shadowElement:a,shadowFocusElement:e.shadowFocusElement};e.shadowChilds&&e.shadowChilds.each(function(){v(this,"shadowData",d.shadowData)});if(e.data)g.shadowData.data=e.data,d.shadowData.data=e.data;e=null},propTypes:{standard:function(b){i(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){i(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,
12
+ ""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(x));a.forEach(function(a){f.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,e){t[a]=!0;if(e.reflect)f.propTypes[e.propType||"standard"](e);["prop","attr","removeAttr"].forEach(function(g){var d=e[g];d&&(d="prop"===g?c.extend({writeable:!0},d):c.extend({},
13
+ d,{writeable:!0}),l[g](b,a,d),"*"!=b&&f.cfg.extendNative&&"prop"==g&&d.value&&c.isFunction(d.value)&&m(b,a,d),e[g]=d)});e.initAttr&&j.content(b,a);return e},defineNodeNameProperties:function(b,a,e,c){for(var d in a)!c&&a[d].initAttr&&j.createTmpCache(b),e&&(a[d][e]?f.log("override: "+b+"["+d+"] for "+e):(a[d][e]={},["value","set","get"].forEach(function(b){b in a[d]&&(a[d][e][b]=a[d][b],delete a[d][b])}))),a[d]=f.defineNodeNameProperty(b,d,a[d]);c||j.flushTmpCache();return a},createElement:function(b,
14
+ a,e){var g;c.isFunction(a)&&(a={after:a});j.createTmpCache(b);a.before&&j.createElement(b,a.before);e&&(g=f.defineNodeNameProperties(b,e,!1,!0));a.after&&j.createElement(b,a.after);j.flushTmpCache();return g},onNodeNamesPropertyModify:function(b,a,e,g){"string"==typeof b&&(b=b.split(x));c.isFunction(e)&&(e={set:e});b.forEach(function(b){u[b]||(u[b]={});"string"==typeof a&&(a=a.split(x));e.initAttr&&j.createTmpCache(b);a.forEach(function(a){u[b][a]||(u[b][a]=[],t[a]=!0);if(e.set){if(g)e.set.only=g;
15
+ u[b][a].push(e.set)}e.initAttr&&j.content(b,a)});j.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,e){e||(e={});if(c.isFunction(e))e.set=e;f.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?n:a}},removeAttr:{value:function(){this.removeAttribute(a);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(b,a,e){if(b.nodeName){if(e===
16
+ n)return e=(b.attributes[a]||{}).value,null==e?n:e;"boolean"==typeof e?e?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,e)}},activeLang:function(){var b=[],a={},e,g,d=/:\/\/|^\.*\//,j=function(a,b,e){return b&&e&&-1!==c.inArray(b,e.availabeLangs||[])?(a.loading=!0,e=e.langSrc,d.test(e)||(e=f.cfg.basePath+e),f.loader.loadScript(e+b+".js",function(){a.langObj[b]?(a.loading=!1,i(a,!0)):c(function(){a.langObj[b]&&i(a,!0);a.loading=!1})}),!0):!1},m=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},
17
+ i=function(a,b){if(a.activeLang!=e&&a.activeLang!==g){var c=q[a.module].options;if(a.langObj[e]||g&&a.langObj[g])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[g],e),m(a.module);else if(!b&&!j(a,e,c)&&!j(a,g,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),m(a.module)}};return function(d){if("string"==typeof d&&d!==e)e=d,g=e.split("-")[0],e==g&&(g=!1),c.each(b,function(a,b){i(b)});else if("object"==typeof d)if(d.register)a[d.register]||(a[d.register]=[]),a[d.register].push(d),
18
+ d.callback();else{if(!d.activeLang)d.activeLang="";b.push(d);i(d)}return e}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){f[b]=function(b,c,d,j){"string"==typeof b&&(b=b.split(x));var i={};b.forEach(function(b){i[b]=f[a](b,c,d,j)});return i}});f.isReady("webshimLocalization",!0)});
19
+ (function(c,f){var k=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<k)&&(!c.browser.msie||12>k&&7<k)){var h={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},n=function(c,f){c.getAttribute("role")||c.setAttribute("role",f)};c.webshims.addReady(function(q,k){c.each(h,function(f,h){for(var t=c(f,q).add(k.filter(f)),p=0,o=t.length;p<o;p++)n(t[p],h)});if(q===f){var o=f.getElementsByTagName("header")[0],t=f.getElementsByTagName("footer"),p=t.length;
20
+ o&&!c(o).closest("section, article")[0]&&n(o,"banner");p&&(o=t[p-1],c(o).closest("section, article")[0]||n(o,"contentinfo"))}})}})(jQuery,document);
21
+ (function(c,f,k){var h=f.audio&&f.video,n=!1;if(h)c=document.createElement("video"),f.videoBuffered="buffered"in c,n="loop"in c,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),f.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,f,k,t,p){var l=f.mediaelement,u=f.cfg.mediaelement,
22
+ s=function(b,a){var b=c(b),e={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!e.src)return e;var d=b.attr("type");if(d)e.type=d,e.container=c.trim(d.split(";")[0]);else if(a||(a=b[0].nodeName.toLowerCase(),"source"==a&&(a=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),d=l.getTypeForSrc(e.src,a))e.type=d,e.container=d,f.warn("you should always provide a proper mime-type using the source element. "+e.src+" detected as: "+d),c.nodeName(b[0],"source")&&b.attr("type",
23
+ d);if(d=b.attr("media"))e.media=d;return e},y=swfobject.hasFlashPlayerVersion("9.0.115"),w=function(){f.ready("mediaelement-swf",function(){if(!l.createSWF)f.modules["mediaelement-swf"].test=c.noop,f.reTest(["mediaelement-swf"],h)})};l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8",
24
+ "m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,a){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
25
+ var b=b.split("?")[0].split("."),b=b[b.length-1],e;c.each(l.mimeTypes[a],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};l.srces=function(b,a){b=c(b);if(a)b.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(a)||(a=[a]),a.forEach(function(a){var c=t.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var a=[],e=b[0].nodeName.toLowerCase(),
26
+ d=s(b,e);d.src?a.push(d):c("source",b).each(function(){d=s(this,e);d.src&&a.push(d)});return a}};c.fn.loadMediaSrc=function(b,a){return this.each(function(){a!==p&&(c(this).removeAttr("poster"),a&&c.attr(this,"poster",a));l.srces(this,b);c(this).mediaLoad()})};l.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
27
+ l.canSwfPlaySrces=function(b,a){var e="";y&&(b=c(b),a=a||l.srces(b),c.each(a,function(a,b){if(b.container&&b.src&&-1!=l.swfMimeTypes.indexOf(b.container))return e=b,!1}));return e};var v={};l.canNativePlaySrces=function(b,a){var e="";if(h){var b=c(b),d=(b[0].nodeName||"").toLowerCase();if(!v[d])return e;a=a||l.srces(b);c.each(a,function(a,c){if(c.type&&v[d].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};l.setError=function(b,a){a||(a="can't play sources");c(b).pause().data("mediaerror",
28
+ a);f.warn("mediaelementError: "+a);setTimeout(function(){c(b).data("mediaerror")&&c(b).trigger("mediaerror")},1)};var d=function(){var b;return function(a,c,g){f.ready("mediaelement-swf",function(){l.createSWF?l.createSWF(a,c,g):b||(b=!0,w(),d(a,c,g))})}}(),m=function(b,a,c,g,f){c||!1!==c&&a&&"flash"==a.isActive?(c=l.canSwfPlaySrces(b,g))?d(b,c,a):f?l.setError(b,!1):m(b,a,!1,g,!0):(c=l.canNativePlaySrces(b,g))?a&&"flash"==a.isActive&&l.setActive(b,"html5",a):f?(l.setError(b,!1),a&&"flash"==a.isActive&&
29
+ l.setActive(b,"html5",a)):m(b,a,!0,g,!0)},j=/^(?:embed|object|datalist)$/i,i=function(b,a){var e=f.data(b,"mediaelementBase")||f.data(b,"mediaelementBase",{}),d=l.srces(b),i=b.parentNode;clearTimeout(e.loadTimer);c.data(b,"mediaerror",!1);if(d.length&&i&&!(1!=i.nodeType||j.test(i.nodeName||"")))a=a||f.data(b,"mediaelement"),m(b,a,u.preferFlash||p,d)};c(t).bind("ended",function(b){var a=f.data(b.target,"mediaelement");(!n||a&&"html5"!=a.isActive||c.prop(b.target,"loop"))&&setTimeout(function(){!c.prop(b.target,
30
+ "paused")&&c.prop(b.target,"loop")&&c(b.target).prop("currentTime",0).play()},1)});n||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var a=f.defineNodeNameProperty(b,"load",{prop:{value:function(){var b=f.data(this,"mediaelement");i(this,b);h&&(!b||"html5"==b.isActive)&&a.prop._supvalue&&a.prop._supvalue.apply(this,arguments)}}});v[b]=f.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(a){var d="";h&&v[b].prop._supvalue&&(d=v[b].prop._supvalue.call(this,
31
+ a),"no"==d&&(d=""));!d&&y&&(a=c.trim((a||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(a)&&(d="maybe"));return d}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=f.data(b,"mediaelementBase")||f.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){i(b);b=null},9)}});h&&f.isReady("mediaelement-core",!0);f.addReady(function(b,a){c("video, audio",b).add(a.filter("video, audio")).each(function(){c.browser.msie&&8<f.browserVersion&&
32
+ c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():i(this);if(h){var a,b,d=this,j=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,g=a.length;e<g;e++)b+=a.end(e);return b}},m=function(){var a=j();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=j());clearTimeout(a);a=setTimeout(m,999)}).bind("emptied stalled mediaerror abort suspend",
33
+ function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})});h&&y&&f.ready("WINDOWLOAD mediaelement",w)})})(jQuery,Modernizr,jQuery.webshims);jQuery.webshims.gcEval=function(c,f){with(f&&f.form||window)with(f||window)return function(c){eval(c)}.call(f||window,c)};
34
+ (function(c){var f=window.Modernizr,k=c.webshims;k.capturingEventPrevented=function(f){if(!f._isPolyfilled){var h=f.isDefaultPrevented,k=f.preventDefault;f.preventDefault=function(){clearTimeout(c.data(f.target,f.type+"DefaultPrevented"));c.data(f.target,f.type+"DefaultPrevented",setTimeout(function(){c.removeData(f.target,f.type+"DefaultPrevented")},30));return k.apply(this,arguments)};f.isDefaultPrevented=function(){return!(!h.apply(this,arguments)&&!c.data(f.target,f.type+"DefaultPrevented"))};
35
+ f._isPolyfilled=!0}};if(f.formvalidation){var h=c('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');f.bugfreeformvalidation=f.requiredSelect=!!("required"in c("select",h)[0]);if(window.opera||c.browser.webkit||window.testGoodWithFix){var n=c("input",h).eq(0),q,x=function(o){var p=["form-extend","form-message","form-native-fix"];o&&(o.preventDefault(),o.stopImmediatePropagation());clearTimeout(q);setTimeout(function(){h&&
36
+ (h.remove(),h=n=null)},9);if(!f.bugfreeformvalidation||!f.requiredSelect)k.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),k.modules["form-extend"].test=c.noop;k.isReady("form-number-date-api")&&p.push("form-number-date-api");k.reTest(p);if(c.browser.opera||window.testGoodWithFix)k.loader.loadList(["dom-extend"]),k.ready("dom-extend",function(){var h=function(c){c.preventDefault()};["form","input","textarea","select"].forEach(function(f){var n=k.defineNodeNameProperty(f,"checkValidity",
37
+ {prop:{value:function(){k.fromSubmit||c(this).bind("invalid.checkvalidity",h);k.fromCheckValidity=!0;var f=n.prop._supvalue.apply(this,arguments);k.fromSubmit||c(this).unbind("invalid.checkvalidity",h);k.fromCheckValidity=!1;return f}}})});f.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&k.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var f=this.options||[];if(!f.length){var h=c("select",this);if(h[0]&&h[0].options&&
38
+ h[0].options.length)f=h[0].options}return f}}})})};h.appendTo("head");if(window.opera||window.testGoodWithFix){k.bugs.validationMessage=!n.prop("validationMessage");if((f.inputtypes||{}).date){try{n.prop("valueAsNumber",0)}catch(o){}k.bugs.valueAsNumberSet="1970-01-01"!=n.prop("value")}n.prop("value","")}h.bind("submit",function(c){f.bugfreeformvalidation=!1;x(c)});q=setTimeout(function(){h&&h.triggerHandler("submit")},9);k.capturingEvents(["input"]);k.capturingEvents(["invalid"],!0);c("input, select",
39
+ h).bind("invalid",x).filter('[type="submit"]').bind("click",function(c){c.stopImmediatePropagation()}).trigger("click")}else k.capturingEvents(["input"]),k.capturingEvents(["invalid"],!0)}})(jQuery);
40
+ jQuery.webshims.register("form-core",function(c,f,k,h,n,q){var x={radio:1},o={checkbox:1,radio:1},t=c([]),p=function(d){var d=c(d),f=d[0].name;return x[d[0].type]&&f?c(d[0].form&&d[0].form[f]||h.getElementsByName(f)).not(d[0]):t},l=f.getContentValidationMessage=function(d,m){var j=d.getAttribute("x-moz-errormessage")||d.getAttribute("data-errormessage")||"";if(j&&-1!=j.indexOf("{")){try{j=jQuery.parseJSON(j)}catch(i){return j}"object"==typeof j&&(m=m||c.prop(d,"validity")||{valid:1},m.valid||c.each(m,
41
+ function(b,a){if(a&&"valid"!=b&&j[b])return j=j[b],!1}));f.data(d,"contentErrorMessage",j);if("object"==typeof j)j=j.defaultMessage}return j||""},u={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};c.extend(c.expr.filters,{"valid-element":function(d){return!(!c.prop(d,"willValidate")||!(c.prop(d,"validity")||{valid:1}).valid)},"invalid-element":function(d){return!(!c.prop(d,"willValidate")||(c.prop(d,"validity")||{valid:1}).valid)},"required-element":function(d){return!(!c.prop(d,
42
+ "willValidate")||!c.prop(d,"required"))},"optional-element":function(d){return!!(c.prop(d,"willValidate")&&!1===c.prop(d,"required"))},"in-range":function(d){if(!u[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||d.rangeOverflow||d.rangeUnderflow)},"out-of-range":function(d){if(!u[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||!d.rangeOverflow&&!d.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(d){c.expr.filters[d]=
43
+ c.expr.filters[d+"-element"]});var s=c.event.customEvent||{},y=c.prop,w={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};c.prop=function(d,f,j){var i=y.apply(this,arguments);if(d&&"form"in d&&w[f]&&j!==n&&c(d).hasClass("form-ui-invalid")&&(c.prop(d,"validity")||{valid:1}).valid)c(d).getShadowElement().removeClass("form-ui-invalid"),"checked"==f&&j&&p(d).removeClass("form-ui-invalid").removeAttr("aria-invalid");return i};var v=function(d,f){var j;c.each(d,function(d,b){if(b)return j="customError"==
44
+ d?c.prop(f,"validationMessage"):d,!1});return j};c(h).bind("focusout change refreshvalidityui",function(d){if(d.target&&"submit"!=d.target.type&&c.prop(d.target,"willValidate")){var f=c.data(d.target,"webshimsswitchvalidityclass");f&&clearTimeout(f);c.data(d.target,"webshimsswitchvalidityclass",setTimeout(function(){var f=c(d.target).getNativeElement()[0],i=c.prop(f,"validity"),b=c(f).getShadowElement(),a,e,g,h;i.valid?b.hasClass("form-ui-valid")||(a="form-ui-valid",e="form-ui-invalid",h="changedvaliditystate",
45
+ g="changedvalid",o[f.type]&&f.checked&&p(f).removeClass(e).addClass(a).removeAttr("aria-invalid"),c.removeData(f,"webshimsinvalidcause")):(i=v(i,f),c.data(f,"webshimsinvalidcause")!=i&&(c.data(f,"webshimsinvalidcause",i),h="changedvaliditystate"),b.hasClass("form-ui-invalid")||(a="form-ui-invalid",e="form-ui-valid",o[f.type]&&!f.checked&&p(f).removeClass(e).addClass(a),g="changedinvalid"));a&&(b.addClass(a).removeClass(e),setTimeout(function(){c(f).trigger(g)},0));h&&setTimeout(function(){c(f).trigger(h)},
46
+ 0);c.removeData(d.target,"webshimsswitchvalidityclass")},9))}});s.changedvaliditystate=!0;s.changedvalid=!0;s.changedinvalid=!0;s.refreshvalidityui=!0;f.triggerInlineForm=function(d,h){d.jquery&&(d=d[0]);var j="on"+h,i=d[j]||d.getAttribute(j)||"",b,a,h=c.Event({type:h,target:d,currentTarget:d});i&&(f.warn(j+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof i&&(a=f.gcEval(i,d),d[j]&&(b=!0,d[j]=!1)));!1===a&&(h.stopPropagation(),
47
+ h.preventDefault());c(d).trigger(h);b&&(d[j]=i);return a};s=function(){f.scrollRoot=c.browser.webkit||"BackCompat"==h.compatMode?c(h.body):c(h.documentElement)};s();f.ready("DOM",s);f.getRelOffset=function(d,f){var d=c(d),h=c(f).offset(),i;c.swap(c(d)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){i=d.offset()});h.top-=i.top;h.left-=i.left;return h};f.validityAlert=function(){var d=!c.browser.msie||7<parseInt(c.browser.version,10)?"span":"label",m,j=!1,i=!1,b,a={hideDelay:5E3,
48
+ showFor:function(e,d,f,h){a._create();var e=c(e),l=c(e).getShadowElement(),n=a.getOffsetFromBody(l);a.clear();h?this.hide():(this.getMessage(e,d),this.position(l,n),m.css({fontSize:e.css("fontSize"),fontFamily:e.css("fontFamily")}),this.show(),this.hideDelay&&(j=setTimeout(b,this.hideDelay)),c(k).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(i);i=setTimeout(function(){a.position(l)},9)}));f||this.setFocus(l,n)},getOffsetFromBody:function(a){return f.getRelOffset(m,
49
+ a)},setFocus:function(a,g){var i=c(a).getShadowFocusElement(),j=f.scrollRoot.scrollTop(),k=(g||i.offset()).top-30,l;f.getID&&"label"==d&&m.attr("for",f.getID(i));j>k&&(f.scrollRoot.animate({scrollTop:k-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(j-k)),80)}),l=!0);try{i[0].focus()}catch(n){}l&&(f.scrollRoot.scrollTop(j),setTimeout(function(){f.scrollRoot.scrollTop(j)},0));setTimeout(function(){c(h).bind("focusout.validityalert",b)},10)},getMessage:function(a,b){c("span.va-box",m).text(b||l(a[0])||
50
+ a.prop("validationMessage"))},position:function(b,d){d=d?c.extend({},d):a.getOffsetFromBody(b);d.top+=b.outerHeight();m.css(d)},show:function(){"none"===m.css("display")&&m.css({opacity:0}).show();m.addClass("va-visible").fadeTo(400,1)},hide:function(){m.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(j);c(h).unbind(".validityalert");c(k).unbind(".validityalert");m.stop().removeAttr("for")},_create:function(){if(!m)m=a.errorBubble=c("<"+d+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
51
+ d+">").css({position:"absolute",display:"none"}),f.ready("DOM",function(){m.appendTo("body");c.fn.bgIframe&&c.browser.msie&&7>parseInt(c.browser.version,10)&&m.bgIframe()})}};b=c.proxy(a,"hide");return a}();(function(){var d,f=[],j;c(h).bind("invalid",function(i){if(!i.wrongWebkitInvalid){var b=c(i.target),a=b.getShadowElement();a.hasClass("form-ui-invalid")||(a.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){c(i.target).trigger("changedinvalid").trigger("changedvaliditystate")},
52
+ 0));if(!d)d=c.Event("firstinvalid"),d.isInvalidUIPrevented=i.isDefaultPrevented,a=c.Event("firstinvalidsystem"),c(h).triggerHandler(a,{element:i.target,form:i.target.form,isInvalidUIPrevented:i.isDefaultPrevented}),b.trigger(d);d&&d.isDefaultPrevented()&&i.preventDefault();f.push(i.target);i.extraData="fix";clearTimeout(j);j=setTimeout(function(){var a={type:"lastinvalid",cancelable:!1,invalidlist:c(f)};d=!1;f=[];c(i.target).trigger(a,a)},9);a=b=null}})})();q.replaceValidationUI&&f.ready("DOM",function(){c(h).bind("firstinvalid",
53
+ function(d){d.isInvalidUIPrevented()||(d.preventDefault(),c.webshims.validityAlert.showFor(d.target,c(d.target).prop("customValidationMessage")))})})});
@@ -0,0 +1,62 @@
1
+ (function(c){if(!Modernizr.genericDOM){var e=document,h,j,o=/<([\w:]+)/,n={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||n[(o.exec(c)||["",""])[1].toLowerCase()])return c;if(!j){h=e.body;if(!h)return c;j=e.createElement("div");j.style.display="none"}var r=j.cloneNode(!1);h.appendChild(r);r.innerHTML=c;h.removeChild(r);return r.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(c,e,h,j,o){var n=e.modules,k=/\s*,\s*/,r={},m={},p={},g={},t={},s=c.fn.val,x=function(b,a,f,i,q){return q?s.call(c(b)):s.call(c(b),f)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?s.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return s.apply(this,arguments);var f=c.isFunction(b);return this.each(function(i){a=this;1===a.nodeType&&(f?(i=b.call(a,i,c.prop(a,"value",o,"val",
3
+ !0)),null==i&&(i=""),c.prop(a,"value",i,"val")):c.prop(a,"value",b,"val"))})};var v="_webshimsLib"+Math.round(1E3*Math.random()),u=function(b,a,f){b=b.jquery?b[0]:b;if(!b)return f||{};var i=c.data(b,v);f!==o&&(i||(i=c.data(b,v,{})),a&&(i[a]=f));return a?i&&i[a]:i};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=u(this,
4
+ "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){r[b]=c[b];c[b]=function(a,f,i,q,d){var e="val"==q,l=!e?r[b]:x;if(!a||!m[f]||1!==a.nodeType||!e&&q&&"attr"==b&&c.attrFn[f])return l(a,f,i,q,d);var z=(a.nodeName||"").toLowerCase(),k=p[z],g="attr"==b&&(!1===i||null===i)?"removeAttr":b,n,y,j;k||(k=p["*"]);k&&(k=k[f]);k&&(n=k[g]);if(n){if("value"==f)y=n.isVal,n.isVal=e;if("removeAttr"===g)return n.value.call(a);if(i===o)return n.get?n.get.call(a):n.value;n.set&&
5
+ ("attr"==b&&!0===i&&(i=f),j=n.set.call(a,i));if("value"==f)n.isVal=y}else j=l(a,f,i,q,d);if((i!==o||"removeAttr"===g)&&t[z]&&t[z][f]){var w;w="removeAttr"==g?!1:"prop"==g?!!i:!0;t[z][f].forEach(function(f){if(!f.only||(f.only="prop"==b)||"attr"==f.only&&"prop"!=b)f.call(a,i,w,e?"val":g,b)})}return j};g[b]=function(a,f,i){p[a]||(p[a]={});p[a][f]||(p[a][f]={});var q=p[a][f][b],d=function(a,c,q){return c&&c[a]?c[a]:q&&q[a]?q[a]:"prop"==b&&"value"==f?function(a){return i.isVal?x(this,f,a,!1,0===arguments.length):
6
+ r[b](this,f,a)}:"prop"==b&&"value"==a&&i.value.apply?function(a){var c=r[b](this,f);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return r[b](this,f,a)}};p[a][f][b]=i;if(i.value===o){if(!i.set)i.set=i.writeable?d("set",i,q):e.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+a;}:c.noop;if(!i.get)i.get=d("get",i,q)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=d(a,q))})}});var d=!c.browser.msie||8<parseInt(c.browser.version,10),y=function(){var b=e.getPrototypeOf(j.createElement("foobar")),
7
+ a=Object.prototype.hasOwnProperty;return function(f,c,q){var n=j.createElement(f),k=e.getPrototypeOf(n);if(d&&k&&b!==k&&(!n[c]||!a.call(n,c))){var g=n[c];q._supvalue=function(){return g&&g.apply?g.apply(this,arguments):g};k[c]=q.value}else q._supvalue=function(){var a=u(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},l.extendValue(f,c,q.value);q.value._supvalue=q._supvalue}}(),l=function(){var b={};e.addReady(function(a,f){var i={},d=function(b){i[b]||(i[b]=c(a.getElementsByTagName(b)),
8
+ f[0]&&c.nodeName(f[0],b)&&(i[b]=i[b].add(f)))};c.each(b,function(a,b){d(a);!b||!b.forEach?e.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){i[a].each(b)})});i=null});var a,f=c([]),i=function(f,i){b[f]?b[f].push(i):b[f]=[i];c.isDOMReady&&(a||c(j.getElementsByTagName(f))).each(i)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(j.getElementsByTagName(b)));return a||f},flushTmpCache:function(){a=null},content:function(a,b){i(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
9
+ b,a)})},createElement:function(a,b){i(a,b)},extendValue:function(a,b,f){i(a,function(){c(this).each(function(){u(this,"propValue",{})[b]=this[b];this[b]=f})})}}}(),w=function(b,a){if(b.defaultValue===o)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}}};c.extend(e,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),f=a.attr("id");f||(b++,f="ID-"+b,a.attr("id",f));return f}}(),extendUNDEFProp:function(b,
10
+ a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:w,data:u,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,f,i){if((a=(c[b](a,"events")||{})[f])&&1<a.length)f=a.pop(),i||(i="bind"),"bind"==i&&a.delegateCount?a.splice(a.delegateCount,0,f):a.unshift(f)}}(),addShadowDom:function(b,a,f){f=f||{};b.jquery&&(b=b[0]);a.jquery&&(a=a[0]);if(!f.shadowFocusElement)f.shadowFocusElement=a;var i=c.data(b,v)||c.data(b,v,{}),d=c.data(a,v)||c.data(a,v,{});i.hasShadow=a;d.nativeElement=
11
+ b;d.shadowData=i.shadowData={nativeElement:b,shadowElement:a,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){u(this,"shadowData",d.shadowData)});if(f.data)i.shadowData.data=f.data,d.shadowData.data=f.data;f=null},propTypes:{standard:function(b){w(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){w(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,
12
+ ""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(k));a.forEach(function(a){e.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,f){m[a]=!0;if(f.reflect)e.propTypes[f.propType||"standard"](f);["prop","attr","removeAttr"].forEach(function(i){var d=f[i];d&&(d="prop"===i?c.extend({writeable:!0},d):c.extend({},
13
+ d,{writeable:!0}),g[i](b,a,d),"*"!=b&&e.cfg.extendNative&&"prop"==i&&d.value&&c.isFunction(d.value)&&y(b,a,d),f[i]=d)});f.initAttr&&l.content(b,a);return f},defineNodeNameProperties:function(b,a,f,c){for(var d in a)!c&&a[d].initAttr&&l.createTmpCache(b),f&&(a[d][f]?e.log("override: "+b+"["+d+"] for "+f):(a[d][f]={},["value","set","get"].forEach(function(b){b in a[d]&&(a[d][f][b]=a[d][b],delete a[d][b])}))),a[d]=e.defineNodeNameProperty(b,d,a[d]);c||l.flushTmpCache();return a},createElement:function(b,
14
+ a,f){var i;c.isFunction(a)&&(a={after:a});l.createTmpCache(b);a.before&&l.createElement(b,a.before);f&&(i=e.defineNodeNameProperties(b,f,!1,!0));a.after&&l.createElement(b,a.after);l.flushTmpCache();return i},onNodeNamesPropertyModify:function(b,a,f,i){"string"==typeof b&&(b=b.split(k));c.isFunction(f)&&(f={set:f});b.forEach(function(b){t[b]||(t[b]={});"string"==typeof a&&(a=a.split(k));f.initAttr&&l.createTmpCache(b);a.forEach(function(a){t[b][a]||(t[b][a]=[],m[a]=!0);if(f.set){if(i)f.set.only=i;
15
+ t[b][a].push(f.set)}f.initAttr&&l.content(b,a)});l.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,f){f||(f={});if(c.isFunction(f))f.set=f;e.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?o:a}},removeAttr:{value:function(){this.removeAttribute(a);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.initAttr||!1})},contentAttr:function(b,a,f){if(b.nodeName){if(f===
16
+ o)return f=(b.attributes[a]||{}).value,null==f?o:f;"boolean"==typeof f?f?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,f)}},activeLang:function(){var b=[],a={},f,i,d=/:\/\/|^\.*\//,l=function(a,b,f){return b&&f&&-1!==c.inArray(b,f.availabeLangs||[])?(a.loading=!0,f=f.langSrc,d.test(f)||(f=e.cfg.basePath+f),e.loader.loadScript(f+b+".js",function(){a.langObj[b]?(a.loading=!1,g(a,!0)):c(function(){a.langObj[b]&&g(a,!0);a.loading=!1})}),!0):!1},k=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},
17
+ g=function(a,b){if(a.activeLang!=f&&a.activeLang!==i){var c=n[a.module].options;if(a.langObj[f]||i&&a.langObj[i])a.activeLang=f,a.callback(a.langObj[f]||a.langObj[i],f),k(a.module);else if(!b&&!l(a,f,c)&&!l(a,i,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],f),k(a.module)}};return function(d){if("string"==typeof d&&d!==f)f=d,i=f.split("-")[0],f==i&&(i=!1),c.each(b,function(a,b){g(b)});else if("object"==typeof d)if(d.register)a[d.register]||(a[d.register]=[]),a[d.register].push(d),
18
+ d.callback();else{if(!d.activeLang)d.activeLang="";b.push(d);g(d)}return f}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){e[b]=function(b,c,d,g){"string"==typeof b&&(b=b.split(k));var l={};b.forEach(function(b){l[b]=e[a](b,c,d,g)});return l}});e.isReady("webshimLocalization",!0)});
19
+ (function(c,e){var h=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<h)&&(!c.browser.msie||12>h&&7<h)){var j={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},o=function(c,e){c.getAttribute("role")||c.setAttribute("role",e)};c.webshims.addReady(function(n,k){c.each(j,function(e,m){for(var h=c(e,n).add(k.filter(e)),j=0,p=h.length;j<p;j++)o(h[j],m)});if(n===e){var h=e.getElementsByTagName("header")[0],m=e.getElementsByTagName("footer"),p=m.length;
20
+ h&&!c(h).closest("section, article")[0]&&o(h,"banner");p&&(h=m[p-1],c(h).closest("section, article")[0]||o(h,"contentinfo"))}})}})(jQuery,document);
21
+ (function(c,e,h){var j=e.audio&&e.video,o=!1;if(j)c=document.createElement("video"),e.videoBuffered="buffered"in c,o="loop"in c,h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),e.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:e.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,e,h,m,p){var g=e.mediaelement,t=e.cfg.mediaelement,
22
+ s=function(b,a){var b=c(b),f={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!f.src)return f;var d=b.attr("type");if(d)f.type=d,f.container=c.trim(d.split(";")[0]);else if(a||(a=b[0].nodeName.toLowerCase(),"source"==a&&(a=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),d=g.getTypeForSrc(f.src,a))f.type=d,f.container=d,e.warn("you should always provide a proper mime-type using the source element. "+f.src+" detected as: "+d),c.nodeName(b[0],"source")&&b.attr("type",
23
+ d);if(d=b.attr("media"))f.media=d;return f},x=swfobject.hasFlashPlayerVersion("9.0.115"),v=function(){e.ready("mediaelement-swf",function(){if(!g.createSWF)e.modules["mediaelement-swf"].test=c.noop,e.reTest(["mediaelement-swf"],j)})};g.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8",
24
+ "m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};g.mimeTypes.source=c.extend({},g.mimeTypes.audio,g.mimeTypes.video);g.getTypeForSrc=function(b,a){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
25
+ var b=b.split("?")[0].split("."),b=b[b.length-1],f;c.each(g.mimeTypes[a],function(a,c){if(-1!==c.indexOf(b))return f=a,!1});return f};g.srces=function(b,a){b=c(b);if(a)b.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(a)||(a=[a]),a.forEach(function(a){var c=m.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var a=[],f=b[0].nodeName.toLowerCase(),
26
+ d=s(b,f);d.src?a.push(d):c("source",b).each(function(){d=s(this,f);d.src&&a.push(d)});return a}};c.fn.loadMediaSrc=function(b,a){return this.each(function(){a!==p&&(c(this).removeAttr("poster"),a&&c.attr(this,"poster",a));g.srces(this,b);c(this).mediaLoad()})};g.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
27
+ g.canSwfPlaySrces=function(b,a){var f="";x&&(b=c(b),a=a||g.srces(b),c.each(a,function(a,b){if(b.container&&b.src&&-1!=g.swfMimeTypes.indexOf(b.container))return f=b,!1}));return f};var u={};g.canNativePlaySrces=function(b,a){var f="";if(j){var b=c(b),d=(b[0].nodeName||"").toLowerCase();if(!u[d])return f;a=a||g.srces(b);c.each(a,function(a,c){if(c.type&&u[d].prop._supvalue.call(b[0],c.type))return f=c,!1})}return f};g.setError=function(b,a){a||(a="can't play sources");c(b).pause().data("mediaerror",
28
+ a);e.warn("mediaelementError: "+a);setTimeout(function(){c(b).data("mediaerror")&&c(b).trigger("mediaerror")},1)};var d=function(){var b;return function(a,c,i){e.ready("mediaelement-swf",function(){g.createSWF?g.createSWF(a,c,i):b||(b=!0,v(),d(a,c,i))})}}(),y=function(b,a,c,i,e){c||!1!==c&&a&&"flash"==a.isActive?(c=g.canSwfPlaySrces(b,i))?d(b,c,a):e?g.setError(b,!1):y(b,a,!1,i,!0):(c=g.canNativePlaySrces(b,i))?a&&"flash"==a.isActive&&g.setActive(b,"html5",a):e?(g.setError(b,!1),a&&"flash"==a.isActive&&
29
+ g.setActive(b,"html5",a)):y(b,a,!0,i,!0)},l=/^(?:embed|object|datalist)$/i,w=function(b,a){var f=e.data(b,"mediaelementBase")||e.data(b,"mediaelementBase",{}),d=g.srces(b),m=b.parentNode;clearTimeout(f.loadTimer);c.data(b,"mediaerror",!1);if(d.length&&m&&!(1!=m.nodeType||l.test(m.nodeName||"")))a=a||e.data(b,"mediaelement"),y(b,a,t.preferFlash||p,d)};c(m).bind("ended",function(b){var a=e.data(b.target,"mediaelement");(!o||a&&"html5"!=a.isActive||c.prop(b.target,"loop"))&&setTimeout(function(){!c.prop(b.target,
30
+ "paused")&&c.prop(b.target,"loop")&&c(b.target).prop("currentTime",0).play()},1)});o||e.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var a=e.defineNodeNameProperty(b,"load",{prop:{value:function(){var b=e.data(this,"mediaelement");w(this,b);j&&(!b||"html5"==b.isActive)&&a.prop._supvalue&&a.prop._supvalue.apply(this,arguments)}}});u[b]=e.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(a){var d="";j&&u[b].prop._supvalue&&(d=u[b].prop._supvalue.call(this,
31
+ a),"no"==d&&(d=""));!d&&x&&(a=c.trim((a||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(a)&&(d="maybe"));return d}}})});e.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=e.data(b,"mediaelementBase")||e.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){w(b);b=null},9)}});j&&e.isReady("mediaelement-core",!0);e.addReady(function(b,a){c("video, audio",b).add(a.filter("video, audio")).each(function(){c.browser.msie&&8<e.browserVersion&&
32
+ c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():w(this);if(j){var a,b,d=this,l=function(){var a=c.prop(d,"buffered");if(a){for(var b="",f=0,e=a.length;f<e;f++)b+=a.end(f);return b}},g=function(){var a=l();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=l());clearTimeout(a);a=setTimeout(g,999)}).bind("emptied stalled mediaerror abort suspend",
33
+ function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})});j&&x&&e.ready("WINDOWLOAD mediaelement",v)})})(jQuery,Modernizr,jQuery.webshims);jQuery.webshims.gcEval=function(c,e){with(e&&e.form||window)with(e||window)return function(c){eval(c)}.call(e||window,c)};
34
+ (function(c){var e=window.Modernizr,h=c.webshims;h.capturingEventPrevented=function(e){if(!e._isPolyfilled){var h=e.isDefaultPrevented,g=e.preventDefault;e.preventDefault=function(){clearTimeout(c.data(e.target,e.type+"DefaultPrevented"));c.data(e.target,e.type+"DefaultPrevented",setTimeout(function(){c.removeData(e.target,e.type+"DefaultPrevented")},30));return g.apply(this,arguments)};e.isDefaultPrevented=function(){return!(!h.apply(this,arguments)&&!c.data(e.target,e.type+"DefaultPrevented"))};
35
+ e._isPolyfilled=!0}};if(e.formvalidation){var j=c('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');e.bugfreeformvalidation=e.requiredSelect=!!("required"in c("select",j)[0]);if(window.opera||c.browser.webkit||window.testGoodWithFix){var o=c("input",j).eq(0),n,k=function(m){var k=["form-extend","form-message","form-native-fix"];m&&(m.preventDefault(),m.stopImmediatePropagation());clearTimeout(n);setTimeout(function(){j&&
36
+ (j.remove(),j=o=null)},9);if(!e.bugfreeformvalidation||!e.requiredSelect)h.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),h.modules["form-extend"].test=c.noop;h.isReady("form-number-date-api")&&k.push("form-number-date-api");h.reTest(k);if(c.browser.opera||window.testGoodWithFix)h.loader.loadList(["dom-extend"]),h.ready("dom-extend",function(){var g=function(c){c.preventDefault()};["form","input","textarea","select"].forEach(function(e){var m=h.defineNodeNameProperty(e,"checkValidity",
37
+ {prop:{value:function(){h.fromSubmit||c(this).bind("invalid.checkvalidity",g);h.fromCheckValidity=!0;var e=m.prop._supvalue.apply(this,arguments);h.fromSubmit||c(this).unbind("invalid.checkvalidity",g);h.fromCheckValidity=!1;return e}}})});e.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&h.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var e=this.options||[];if(!e.length){var g=c("select",this);if(g[0]&&g[0].options&&
38
+ g[0].options.length)e=g[0].options}return e}}})})};j.appendTo("head");if(window.opera||window.testGoodWithFix){h.bugs.validationMessage=!o.prop("validationMessage");if((e.inputtypes||{}).date){try{o.prop("valueAsNumber",0)}catch(r){}h.bugs.valueAsNumberSet="1970-01-01"!=o.prop("value")}o.prop("value","")}j.bind("submit",function(c){e.bugfreeformvalidation=!1;k(c)});n=setTimeout(function(){j&&j.triggerHandler("submit")},9);h.capturingEvents(["input"]);h.capturingEvents(["invalid"],!0);c("input, select",
39
+ j).bind("invalid",k).filter('[type="submit"]').bind("click",function(c){c.stopImmediatePropagation()}).trigger("click")}else h.capturingEvents(["input"]),h.capturingEvents(["invalid"],!0)}})(jQuery);
40
+ jQuery.webshims.register("form-core",function(c,e,h,j,o,n){var k={radio:1},r={checkbox:1,radio:1},m=c([]),p=function(d){var d=c(d),e=d[0].name;return k[d[0].type]&&e?c(d[0].form&&d[0].form[e]||j.getElementsByName(e)).not(d[0]):m},g=e.getContentValidationMessage=function(d,g){var l=d.getAttribute("x-moz-errormessage")||d.getAttribute("data-errormessage")||"";if(l&&-1!=l.indexOf("{")){try{l=jQuery.parseJSON(l)}catch(h){return l}"object"==typeof l&&(g=g||c.prop(d,"validity")||{valid:1},g.valid||c.each(g,
41
+ function(b,a){if(a&&"valid"!=b&&l[b])return l=l[b],!1}));e.data(d,"contentErrorMessage",l);if("object"==typeof l)l=l.defaultMessage}return l||""},t={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};c.extend(c.expr.filters,{"valid-element":function(d){return!(!c.prop(d,"willValidate")||!(c.prop(d,"validity")||{valid:1}).valid)},"invalid-element":function(d){return!(!c.prop(d,"willValidate")||(c.prop(d,"validity")||{valid:1}).valid)},"required-element":function(d){return!(!c.prop(d,
42
+ "willValidate")||!c.prop(d,"required"))},"optional-element":function(d){return!!(c.prop(d,"willValidate")&&!1===c.prop(d,"required"))},"in-range":function(d){if(!t[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||d.rangeOverflow||d.rangeUnderflow)},"out-of-range":function(d){if(!t[c.prop(d,"type")]||!c.prop(d,"willValidate"))return!1;d=c.prop(d,"validity");return!(!d||!d.rangeOverflow&&!d.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(d){c.expr.filters[d]=
43
+ c.expr.filters[d+"-element"]});var s=c.event.customEvent||{},x=c.prop,v={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};c.prop=function(d,e,g){var h=x.apply(this,arguments);if(d&&"form"in d&&v[e]&&g!==o&&c(d).hasClass("form-ui-invalid")&&(c.prop(d,"validity")||{valid:1}).valid)c(d).getShadowElement().removeClass("form-ui-invalid"),"checked"==e&&g&&p(d).removeClass("form-ui-invalid").removeAttr("aria-invalid");return h};var u=function(d,e){var g;c.each(d,function(d,b){if(b)return g="customError"==
44
+ d?c.prop(e,"validationMessage"):d,!1});return g};c(j).bind("focusout change refreshvalidityui",function(d){if(d.target&&"submit"!=d.target.type&&c.prop(d.target,"willValidate")){var e=c.data(d.target,"webshimsswitchvalidityclass");e&&clearTimeout(e);c.data(d.target,"webshimsswitchvalidityclass",setTimeout(function(){var e=c(d.target).getNativeElement()[0],g=c.prop(e,"validity"),b=c(e).getShadowElement(),a,f,i,h;g.valid?b.hasClass("form-ui-valid")||(a="form-ui-valid",f="form-ui-invalid",h="changedvaliditystate",
45
+ i="changedvalid",r[e.type]&&e.checked&&p(e).removeClass(f).addClass(a).removeAttr("aria-invalid"),c.removeData(e,"webshimsinvalidcause")):(g=u(g,e),c.data(e,"webshimsinvalidcause")!=g&&(c.data(e,"webshimsinvalidcause",g),h="changedvaliditystate"),b.hasClass("form-ui-invalid")||(a="form-ui-invalid",f="form-ui-valid",r[e.type]&&!e.checked&&p(e).removeClass(f).addClass(a),i="changedinvalid"));a&&(b.addClass(a).removeClass(f),setTimeout(function(){c(e).trigger(i)},0));h&&setTimeout(function(){c(e).trigger(h)},
46
+ 0);c.removeData(d.target,"webshimsswitchvalidityclass")},9))}});s.changedvaliditystate=!0;s.changedvalid=!0;s.changedinvalid=!0;s.refreshvalidityui=!0;e.triggerInlineForm=function(d,g){d.jquery&&(d=d[0]);var h="on"+g,j=d[h]||d.getAttribute(h)||"",b,a,g=c.Event({type:g,target:d,currentTarget:d});j&&(e.warn(h+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof j&&(a=e.gcEval(j,d),d[h]&&(b=!0,d[h]=!1)));!1===a&&(g.stopPropagation(),
47
+ g.preventDefault());c(d).trigger(g);b&&(d[h]=j);return a};s=function(){e.scrollRoot=c.browser.webkit||"BackCompat"==j.compatMode?c(j.body):c(j.documentElement)};s();e.ready("DOM",s);e.getRelOffset=function(d,e){var d=c(d),g=c(e).offset(),h;c.swap(c(d)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){h=d.offset()});g.top-=h.top;g.left-=h.left;return g};e.validityAlert=function(){var d=!c.browser.msie||7<parseInt(c.browser.version,10)?"span":"label",m,k=!1,n=!1,b,a={hideDelay:5E3,
48
+ showFor:function(f,d,e,g){a._create();var f=c(f),j=c(f).getShadowElement(),p=a.getOffsetFromBody(j);a.clear();g?this.hide():(this.getMessage(f,d),this.position(j,p),m.css({fontSize:f.css("fontSize"),fontFamily:f.css("fontFamily")}),this.show(),this.hideDelay&&(k=setTimeout(b,this.hideDelay)),c(h).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(n);n=setTimeout(function(){a.position(j)},9)}));e||this.setFocus(j,p)},getOffsetFromBody:function(a){return e.getRelOffset(m,
49
+ a)},setFocus:function(a,g){var h=c(a).getShadowFocusElement(),k=e.scrollRoot.scrollTop(),l=(g||h.offset()).top-30,n;e.getID&&"label"==d&&m.attr("for",e.getID(h));k>l&&(e.scrollRoot.animate({scrollTop:l-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(k-l)),80)}),n=!0);try{h[0].focus()}catch(p){}n&&(e.scrollRoot.scrollTop(k),setTimeout(function(){e.scrollRoot.scrollTop(k)},0));setTimeout(function(){c(j).bind("focusout.validityalert",b)},10)},getMessage:function(a,b){c("span.va-box",m).text(b||g(a[0])||
50
+ a.prop("validationMessage"))},position:function(b,d){d=d?c.extend({},d):a.getOffsetFromBody(b);d.top+=b.outerHeight();m.css(d)},show:function(){"none"===m.css("display")&&m.css({opacity:0}).show();m.addClass("va-visible").fadeTo(400,1)},hide:function(){m.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(k);c(j).unbind(".validityalert");c(h).unbind(".validityalert");m.stop().removeAttr("for")},_create:function(){if(!m)m=a.errorBubble=c("<"+d+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
51
+ d+">").css({position:"absolute",display:"none"}),e.ready("DOM",function(){m.appendTo("body");c.fn.bgIframe&&c.browser.msie&&7>parseInt(c.browser.version,10)&&m.bgIframe()})}};b=c.proxy(a,"hide");return a}();(function(){var d,e=[],g;c(j).bind("invalid",function(h){if(!h.wrongWebkitInvalid){var b=c(h.target),a=b.getShadowElement();a.hasClass("form-ui-invalid")||(a.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){c(h.target).trigger("changedinvalid").trigger("changedvaliditystate")},
52
+ 0));if(!d)d=c.Event("firstinvalid"),d.isInvalidUIPrevented=h.isDefaultPrevented,a=c.Event("firstinvalidsystem"),c(j).triggerHandler(a,{element:h.target,form:h.target.form,isInvalidUIPrevented:h.isDefaultPrevented}),b.trigger(d);d&&d.isDefaultPrevented()&&h.preventDefault();e.push(h.target);h.extraData="fix";clearTimeout(g);g=setTimeout(function(){var a={type:"lastinvalid",cancelable:!1,invalidlist:c(e)};d=!1;e=[];c(h.target).trigger(a,a)},9);a=b=null}})})();n.replaceValidationUI&&e.ready("DOM",function(){c(j).bind("firstinvalid",
53
+ function(d){d.isInvalidUIPrevented()||(d.preventDefault(),c.webshims.validityAlert.showFor(d.target,c(d.target).prop("customValidationMessage")))})})});
54
+ jQuery.webshims.register("form-message",function(c,e,h,j,o,n){var k=e.validityMessages,h=n.overrideMessages||n.customMessages?["customValidationMessage"]:[];k.en=k.en||k["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
55
+ stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(c){k.en.valueMissing[c]="Please select an option."});["date","time","datetime-local"].forEach(function(c){k.en.rangeUnderflow[c]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(c){k.en.rangeOverflow[c]=
56
+ "Value must be at or before {%max}."});k["en-US"]=k["en-US"]||k.en;k[""]=k[""]||k["en-US"];k.de=k.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
57
+ rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
58
+ checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(c){k.de.valueMissing[c]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(c){k.de.rangeUnderflow[c]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(c){k.de.rangeOverflow[c]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var r=
59
+ k[""];e.createValidationMessage=function(e,h){var g=r[h];g&&"string"!==typeof g&&(g=g[c.prop(e,"type")]||g[(e.nodeName||"").toLowerCase()]||g.defaultMessage);g&&"value,min,max,title,maxlength,label".split(",").forEach(function(h){if(-1!==g.indexOf("{%"+h)){var j=("label"==h?c.trim(c('label[for="'+e.id+'"]',e.form).text()).replace(/\*$|:$/,""):c.attr(e,h))||"";g=g.replace("{%"+h+"}",j);"value"==h&&(g=g.replace("{%valueLen}",j.length))}});return g||""};(e.bugs.validationMessage||!Modernizr.formvalidation)&&
60
+ h.push("validationMessage");e.activeLang({langObj:k,module:"form-core",callback:function(c){r=c}});Modernizr.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&e.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var e=this.options||[];if(!e.length){var h=c("select",this);if(h[0]&&h[0].options&&h[0].options.length)e=h[0].options}return e}}});h.forEach(function(h){e.defineNodeNamesProperty(["fieldset","output","button"],
61
+ h,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(j){var g=e.defineNodeNameProperty(j,h,{prop:{get:function(){var h=this,j="";if(!c.prop(h,"willValidate"))return j;var k=c.prop(h,"validity")||{valid:1};if(k.valid||(j=e.getContentValidationMessage(h,k)))return j;if(k.customError&&h.nodeName&&(j=Modernizr.formvalidation&&g.prop._supget?g.prop._supget.call(h):e.data(h,"customvalidationMessage")))return j;c.each(k,function(c,g){if("valid"!=c&&g&&(j=e.createValidationMessage(h,
62
+ c)))return!1});return j||""},writeable:!1}})})})});
@@ -0,0 +1,64 @@
1
+ jQuery.webshims.register("form-datalist",function(c,d,j,e,q){d.propTypes.element=function(e){d.createPropDefault(e,"attr");if(!e.prop)e.prop={get:function(){var d=e.attr.get.call(this);d&&(d=c("#"+d)[0])&&e.propNodeName&&!c.nodeName(d,e.propNodeName)&&(d=null);return d||null},writeable:!1}};(function(){if(!Modernizr.input.list){var g=0,k={submit:1,button:1,reset:1,hidden:1,range:1,date:1},n=c.browser.msie&&7>parseInt(c.browser.version,10),o={},l=function(c){if(!c)return[];if(o[c])return o[c];var a;
2
+ try{a=JSON.parse(localStorage.getItem("storedDatalistOptions"+c))}catch(f){}o[c]=a||[];return a||[]},s={_create:function(b){if(!k[c.prop(b.input,"type")]){var a=b.datalist,f=c.data(b.input,"datalistWidget");if(a&&f&&f.datalist!==a)f.datalist=a,f.id=b.id,c(f.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",c.proxy(f,"_resetListCached")),f._resetListCached();else if(a){if(!(f&&f.datalist===a)){g++;var h=this;this.hideList=c.proxy(h,"hideList");this.timedHide=function(){clearTimeout(h.hideTimer);
3
+ h.hideTimer=setTimeout(h.hideList,9)};this.datalist=a;this.id=b.id;this.hasViewableData=!0;this._autocomplete=c.attr(b.input,"autocomplete");c.data(b.input,"datalistWidget",this);this.shadowList=c('<div class="datalist-polyfill" />').appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(a){var b=c("li:not(.hidden-item)",h.shadowList),f="mousedown"==a.type||"click"==a.type;
4
+ h.markItem(b.index(a.currentTarget),f,b);"click"==a.type&&h.hideList();return"mousedown"!=a.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");c(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!h.triggeredByDatalist)h.changedValue=!1,h.showHideOptions()}).bind("keydown.datalistWidget",function(a){var b=a.keyCode;if(40==b&&!h.showList())return h.markItem(h.index+1,!0),!1;if(h.isListVisible){if(38==b)return h.markItem(h.index-1,!0),!1;
5
+ if(!a.shiftKey&&(33==b||36==b))return h.markItem(0,!0),!1;if(!a.shiftKey&&(34==b||35==b))return a=c("li:not(.hidden-item)",h.shadowList),h.markItem(a.length-1,!0,a),!1;if(13==b||27==b)return 13==b&&h.changeValue(c("li.active-item:not(.hidden-item)",h.shadowList)),h.hideList(),!1}}).bind("focus.datalistWidget",function(){c(this).hasClass("list-focus")&&h.showList()}).bind("mousedown.datalistWidget",function(){(this==e.activeElement||c(this).is(":focus"))&&h.showList()}).bind("blur.datalistWidget",
6
+ this.timedHide);c(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",c.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&b.input.id&&c(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){var a=c.prop(b.input,"value"),f=(b.input.name||b.input.id)+c.prop(b.input,"type");if(!h.storedOptions)h.storedOptions=l(f);if(a&&-1==h.storedOptions.indexOf(a)&&(h.storedOptions.push(a),a=h.storedOptions,f)){a=a||[];try{localStorage.setItem("storedDatalistOptions"+
7
+ f,JSON.stringify(a))}catch(d){}}});c(j).bind("unload",function(){h.destroy()})}}else f&&f.destroy()}},destroy:function(){var b=c.attr(this.input,"autocomplete");c(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();c(e).unbind(".datalist"+this.id);this.input.form&&this.input.id&&c(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===q?this.input.removeAttribute("autocomplete"):c(this.input).attr("autocomplete",
8
+ b)},_resetListCached:function(c){var a=this,f;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(j.QUnit||(f=c&&e.activeElement==a.input)?a.updateListOptions(f):d.ready("WINDOWLOAD",function(){a.updateTimer=setTimeout(function(){a.updateListOptions();a=null;g=1},200+100*g)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:c.curCSS(this.input,"fontSize"),fontFamily:c.curCSS(this.input,
9
+ "fontFamily")});var a=[],f=[],h=[],d,e,g,t;for(e=c.prop(this.datalist,"options"),g=0,t=e.length;g<t;g++){d=e[g];if(d.disabled)return;d={value:c(d).val()||"",text:c.trim(c.attr(d,"label")||d.textContent||d.innerText||c.text([d])||""),className:d.className||"",style:c.attr(d,"style")||""};d.text?d.text!=d.value&&(d.className+=" different-label-value"):d.text=d.value;f[g]=d.value;h[g]=d}if(!this.storedOptions)this.storedOptions=l((this.input.name||this.input.id)+c.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==
10
+ f.indexOf(a)&&h.push({value:a,text:a,className:"stored-suggest",style:""})});for(g=0,t=h.length;g<t;g++)e=h[g],a[g]='<li class="'+e.className+'" style="'+e.style+'" tabindex="-1" role="listitem"><span class="option-label">'+e.text+'</span> <span class="option-value">'+e.value+"</span></li>";this.arrayOptions=h;this.shadowList.html('<ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+a.join("\n")+"</ul>");c.fn.bgIframe&&n&&this.shadowList.bgIframe();(b||this.isListVisible)&&
11
+ this.showHideOptions()},showHideOptions:function(b){var a=c.prop(this.input,"value").toLowerCase();if(!(a===this.lastUpdatedValue||this.lastUnfoundValue&&0===a.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=a;var f=!1,d=c("li",this.shadowList);a?this.arrayOptions.forEach(function(b,e){if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.text.toLowerCase()+b.value.toLowerCase():b.text.toLowerCase();-1!==b.lowerText.indexOf(a)?(c(d[e]).removeClass("hidden-item"),f=!0):c(d[e]).addClass("hidden-item")}):
12
+ d.length&&(d.removeClass("hidden-item"),f=!0);this.hasViewableData=f;!b&&f&&this.showList();if(!f)this.lastUnfoundValue=a,this.hideList()}},setPos:function(){var b=d.getRelOffset(this.shadowList,this.input);b.top+=c(this.input).outerHeight();b.width=c(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();
13
+ this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this,a;b.setPos();n&&(b.shadowList.css("height","auto"),250<b.shadowList.height()&&b.shadowList.css("height",220));b.shadowList.addClass("datalist-visible");c(e).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(a){a.target===b.input||b.shadowList[0]===a.target||c.contains(b.shadowList[0],a.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},
14
+ 9)):b.timedHide()});c(j).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+"orientationchange.datalist "+b.id+" emchange.datalist"+b.id,function(){clearTimeout(a);a=setTimeout(function(){b.setPos()},9)});clearTimeout(a);return!0},hideList:function(){if(!this.isListVisible)return!1;var b=this,a=function(){b.changedValue&&c(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");b.index=
15
+ -1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=!0;d.triggerInlineForm&&d.triggerInlineForm(b.input,"input");if(b.input==e.activeElement||c(b.input).is(":focus"))c(b.input).one("blur",a);else a();b.triggeredByDatalist=!1}c(e).unbind(".datalist"+b.id);c(j).unbind(".datalist"+b.id);return!0},scrollIntoView:function(b){var a=c("> ul",this.shadowList),f=b.position();f.top-=(parseInt(a.css("paddingTop"),10)||0)+(parseInt(a.css("marginTop"),10)||0)+(parseInt(a.css("borderTopWidth"),10)||
16
+ 0);0>f.top?this.shadowList.scrollTop(this.shadowList.scrollTop()+f.top-2):(f.top+=b.outerHeight(),b=this.shadowList.height(),f.top>b&&this.shadowList.scrollTop(this.shadowList.scrollTop()+(f.top-b)+2))},changeValue:function(b){if(b[0]){var b=c("span.option-value",b).text(),a=c.prop(this.input,"value");if(b!=a)c(this.input).prop("value",b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,a,f){f=f||c("li:not(.hidden-item)",this.shadowList);if(f.length)0>b?b=f.length-1:b>=f.length&&
17
+ (b=0),f.removeClass("active-item"),this.shadowList.addClass("list-item-active"),f=f.filter(":eq("+b+")").addClass("active-item"),a&&(this.changeValue(f),this.scrollIntoView(f)),this.index=b}};(function(){d.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=c("select",this);b[0]?b=b[0].options:(b=c("option",this).get(),b.length&&d.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});d.defineNodeNameProperties("input",
18
+ {selectedOption:{prop:{writeable:!1,get:function(){var b=c.prop(this,"list"),a=null,f;if(!b)return a;f=c.attr(this,"value");if(!f)return a;b=c.prop(b,"options");if(!b.length)return a;c.each(b,function(b,d){if(f==c.prop(d,"value"))return a=d,!1});return a}}},autocomplete:{attr:{get:function(){var b=c.data(this,"datalistWidget");return b?b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var a=c.data(this,"datalistWidget");a?(a._autocomplete=b,
19
+ "off"==b&&a.hideList()):"autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",b)}}},list:{attr:{get:function(){var c=d.contentAttr(this,"list");return null==c?q:c},set:function(b){d.contentAttr(this,"list",b);d.objectCreate(s,q,{input:this,id:b,datalist:c.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}});if(c.event.customEvent)c.event.customEvent.updateDatalist=!0,c.event.customEvent.updateInput=!0;d.addReady(function(c,a){a.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
20
+ jQuery.webshims.register("form-extend",function(c,d,j,e,q,g){var k=j.Modernizr,j=k.inputtypes;if(k.formvalidation){var n=d.inputTypes,o={};d.addInputType=function(a,c){n[a]=c};d.addValidityRule=function(a,c){o[a]=c};d.addValidityRule("typeMismatch",function(a,c,b,f){if(""===c)return!1;f=f.typeMismatch;if(!("type"in b))b.type=(a[0].getAttribute("type")||"").toLowerCase();n[b.type]&&n[b.type].mismatch&&(f=n[b.type].mismatch(c,a));return f});var l=g.overrideMessages,s=!k.requiredSelect||!j.number||!j.time||
21
+ !j.range||l,b="customError,typeMismatch,rangeUnderflow,rangeOverflow,stepMismatch,tooLong,patternMismatch,valueMissing,valid".split(","),g=l?["value","checked"]:["value"],a=l?["textarea"]:[],f=function(a,b){if(a){var f=(a.getAttribute&&a.getAttribute("type")||a.type||"").toLowerCase();if(l||!(k.requiredSelect||"select-one"!=f)||n[f])l&&!b&&"radio"==f&&a.name?c(e.getElementsByName(a.name)).each(function(){c.prop(this,"validity")}):c.prop(a,"validity")}},h={};["input","textarea","select"].forEach(function(a){var b=
22
+ d.defineNodeNameProperty(a,"setCustomValidity",{prop:{value:function(h){var h=h+"",m="input"==a?c(this).getNativeElement()[0]:this;b.prop._supvalue.call(m,h);d.bugs.validationMessage&&d.data(m,"customvalidationMessage",h);s&&(d.data(m,"hasCustomError",!!h),f(m))}}});h[a]=b.prop._supvalue});if(s||l)g.push("min"),g.push("max"),g.push("step"),a.push("input");if(!k.requiredSelect||l)g.push("required"),a.push("select");if(s){var u;a.forEach(function(a){var f=d.defineNodeNameProperty(a,"validity",{prop:{get:function(){if(!u){var r=
23
+ "input"==a?c(this).getNativeElement()[0]:this,m=f.prop._supget.call(r);if(!m)return m;var i={};b.forEach(function(a){i[a]=m[a]});if(!c.prop(r,"willValidate"))return i;u=!0;var e=c(r),g={type:(r.getAttribute&&r.getAttribute("type")||"").toLowerCase(),nodeName:(r.nodeName||"").toLowerCase()},A=e.val(),k=!!d.data(r,"hasCustomError"),p;u=!1;i.customError=k;if(i.valid&&i.customError)i.valid=!1;else if(!i.valid){var z=!0;c.each(i,function(a,c){if(c)return z=!1});if(z)i.valid=!0}c.each(o,function(c,b){i[c]=
24
+ b(e,A,g,i);if(i[c]&&(i.valid||!p))h[a].call(r,d.createValidationMessage(r,c)),i.valid=!1,p=!0});i.valid?(h[a].call(r,""),d.data(r,"hasCustomError",!1)):l&&!p&&!k&&c.each(i,function(c,b){if("valid"!==c&&b)return h[a].call(r,d.createValidationMessage(r,c)),!1});return i}},writeable:!1}})});g.forEach(function(c){d.onNodeNamesPropertyModify(a,c,function(){f(this)})});if(e.addEventListener){var v;e.addEventListener("change",function(a){clearTimeout(v);f(a.target)},!0);e.addEventListener("input",function(a){clearTimeout(v);
25
+ v=setTimeout(function(){f(a.target)},290)},!0)}var w=a.join(",");d.addReady(function(a,b){c(w,a).add(b.filter(w)).each(function(){c.prop(this,"validity")})});l&&d.ready("DOM form-message",function(){d.activeLang({register:"form-core",callback:function(){c("input, select, textarea").getNativeElement().each(function(){if(!d.data(this,"hasCustomError")){var a=this,b=c.prop(a,"validity")||{valid:!0},f;b.valid||(f=(a.nodeName||"").toLowerCase(),c.each(b,function(c,b){if("valid"!==c&&b)return h[f].call(a,
26
+ d.createValidationMessage(a,c)),!1}))}})}})})}d.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return d.inputTypes[a]?a:this.type}}});k.input.list&&!(c("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&d.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var a=this.options||[];if(!a.length){var b=c("select",this);if(b[0]&&b[0].options&&b[0].options.length)a=b[0].options}return a}}})}});
27
+ jQuery.webshims.register("form-number-date-api",function(c,d){if(!d.getStep)d.getStep=function(a,f){var d=c.attr(a,"step");if("any"===d)return d;f=f||k(a);if(!e[f]||!e[f].step)return d;d=b.number.asNumber(d);return(!isNaN(d)&&0<d?d:e[f].step)*e[f].stepScaleFactor};if(!d.addMinMaxNumberToCache)d.addMinMaxNumberToCache=function(a,c,b){a+"AsNumber"in b||(b[a+"AsNumber"]=e[b.type].asNumber(c.attr(a)),isNaN(b[a+"AsNumber"])&&a+"Default"in e[b.type]&&(b[a+"AsNumber"]=e[b.type][a+"Default"]))};var j=parseInt("NaN",
28
+ 10),e=d.inputTypes,q=function(a){return"number"==typeof a||a&&a==1*a},g=function(a){return c('<input type="'+a+'" />').prop("type")===a},k=function(a){return(a.getAttribute("type")||"").toLowerCase()},n=d.addMinMaxNumberToCache,o=function(a,c){for(var a=""+a,c=c-a.length,b=0;b<c;b++)a="0"+a;return a};d.addValidityRule("stepMismatch",function(a,c,b,g){if(""===c)return!1;if(!("type"in b))b.type=k(a[0]);if("date"==b.type)return!1;g=(g||{}).stepMismatch;if(e[b.type]&&e[b.type].step){if(!("step"in b))b.step=
29
+ d.getStep(a[0],b.type);if("any"==b.step)return!1;if(!("valueAsNumber"in b))b.valueAsNumber=e[b.type].asNumber(c);if(isNaN(b.valueAsNumber))return!1;n("min",a,b);a=b.minAsNumber;isNaN(a)&&(a=e[b.type].stepBase||0);g=Math.abs((b.valueAsNumber-a)%b.step);g=!(1.0E-7>=g||1.0E-7>=Math.abs(g-b.step))}return g});[{name:"rangeOverflow",attr:"max",factor:1},{name:"rangeUnderflow",attr:"min",factor:-1}].forEach(function(a){d.addValidityRule(a.name,function(c,b,d,g){g=(g||{})[a.name]||!1;if(""===b)return g;if(!("type"in
30
+ d))d.type=k(c[0]);if(e[d.type]&&e[d.type].asNumber){if(!("valueAsNumber"in d))d.valueAsNumber=e[d.type].asNumber(b);if(isNaN(d.valueAsNumber))return!1;n(a.attr,c,d);if(isNaN(d[a.attr+"AsNumber"]))return g;g=d[a.attr+"AsNumber"]*a.factor<d.valueAsNumber*a.factor-1.0E-7}return g})});d.reflectProperties(["input"],["max","min","step"]);var l=d.defineNodeNameProperty("input","valueAsNumber",{prop:{get:function(){var a=k(this),a=e[a]&&e[a].asNumber?e[a].asNumber(c.prop(this,"value")):l.prop._supget&&l.prop._supget.apply(this,
31
+ arguments);null==a&&(a=j);return a},set:function(a){var b=k(this);e[b]&&e[b].numberToString?isNaN(a)?c.prop(this,"value",""):(b=e[b].numberToString(a),!1!==b?c.prop(this,"value",b):d.warn("INVALID_STATE_ERR: DOM Exception 11")):l.prop._supset&&l.prop._supset.apply(this,arguments)}}}),s=d.defineNodeNameProperty("input","valueAsDate",{prop:{get:function(){var a=k(this);return e[a]&&e[a].asDate&&!e[a].noAsDate?e[a].asDate(c.prop(this,"value")):s.prop._supget&&s.prop._supget.call(this)||null},set:function(a){var b=
32
+ k(this);if(e[b]&&e[b].dateToString&&!e[b].noAsDate){if(null===a)return c.prop(this,"value",""),"";b=e[b].dateToString(a);if(!1!==b)return c.prop(this,"value",b),b;d.warn("INVALID_STATE_ERR: DOM Exception 11")}else return s.prop._supset&&s.prop._supset.apply(this,arguments)||null}}}),b={number:{mismatch:function(a){return!q(a)},step:1,stepScaleFactor:1,asNumber:function(a){return q(a)?1*a:j},numberToString:function(a){return q(a)?a:!1}},range:{minDefault:0,maxDefault:100},date:{mismatch:function(a){if(!a||
33
+ !a.split||!/\d$/.test(a))return!0;var b=a.split(/\u002D/);if(3!==b.length)return!0;var d=!1;c.each(b,function(a,c){if(!(q(c)||c&&c=="0"+1*c))return d=!0,!1});if(d)return d;if(4!==b[0].length||2!=b[1].length||12<b[1]||2!=b[2].length||33<b[2])d=!0;return a!==this.dateToString(this.asDate(a,!0))},step:1,stepScaleFactor:864E5,asDate:function(a,c){return!c&&this.mismatch(a)?null:new Date(this.asNumber(a,!0))},asNumber:function(a,c){var b=j;if(c||!this.mismatch(a))a=a.split(/\u002D/),b=Date.UTC(a[0],a[1]-
34
+ 1,a[2]);return b},numberToString:function(a){return q(a)?this.dateToString(new Date(1*a)):!1},dateToString:function(a){return a&&a.getFullYear?a.getUTCFullYear()+"-"+o(a.getUTCMonth()+1,2)+"-"+o(a.getUTCDate(),2):!1}},time:{mismatch:function(a,b){if(!a||!a.split||!/\d$/.test(a))return!0;a=a.split(/\u003A/);if(2>a.length||3<a.length)return!0;var d=!1,e;a[2]&&(a[2]=a[2].split(/\u002E/),e=parseInt(a[2][1],10),a[2]=a[2][0]);c.each(a,function(a,c){if(!(q(c)||c&&c=="0"+1*c)||2!==c.length)return d=!0,!1});
35
+ if(d||23<a[0]||0>a[0]||59<a[1]||0>a[1]||a[2]&&(59<a[2]||0>a[2])||e&&isNaN(e))return!0;e&&(100>e?e*=100:10>e&&(e*=10));return!0===b?[a,e]:!1},step:60,stepBase:0,stepScaleFactor:1E3,asDate:function(a){a=new Date(this.asNumber(a));return isNaN(a)?null:a},asNumber:function(a){var c=j,a=this.mismatch(a,!0);!0!==a&&(c=Date.UTC("1970",0,1,a[0][0],a[0][1],a[0][2]||0),a[1]&&(c+=a[1]));return c},dateToString:function(a){if(a&&a.getUTCHours){var c=o(a.getUTCHours(),2)+":"+o(a.getUTCMinutes(),2),b=a.getSeconds();
36
+ "0"!=b&&(c+=":"+o(b,2));b=a.getUTCMilliseconds();"0"!=b&&(c+="."+o(b,3));return c}return!1}},"datetime-local":{mismatch:function(a,c){if(!a||!a.split||2!==(a+"special").split(/\u0054/).length)return!0;a=a.split(/\u0054/);return e.date.mismatch(a[0])||e.time.mismatch(a[1],c)},noAsDate:!0,asDate:function(a){a=new Date(this.asNumber(a));return isNaN(a)?null:a},asNumber:function(a){var c=j,b=this.mismatch(a,!0);!0!==b&&(a=a.split(/\u0054/)[0].split(/\u002D/),c=Date.UTC(a[0],a[1]-1,a[2],b[0][0],b[0][1],
37
+ b[0][2]||0),b[1]&&(c+=b[1]));return c},dateToString:function(a,c){return e.date.dateToString(a)+"T"+e.time.dateToString(a,c)}}};(d.bugs.valueAsNumberSet||!g("number"))&&d.addInputType("number",b.number);(d.bugs.valueAsNumberSet||!g("range"))&&d.addInputType("range",c.extend({},b.number,b.range));(d.bugs.valueAsNumberSet||!g("date"))&&d.addInputType("date",b.date);(d.bugs.valueAsNumberSet||!g("time"))&&d.addInputType("time",c.extend({},b.date,b.time));(d.bugs.valueAsNumberSet||!g("datetime-local"))&&
38
+ d.addInputType("datetime-local",c.extend({},b.date,b.time,b["datetime-local"]))});
39
+ jQuery.webshims.register("form-number-date-ui",function(c,d,j,e,q,g){var k=d.triggerInlineForm,n=Modernizr.inputtypes,o=function(){var a={"padding-box":"innerWidth","border-box":"outerWidth","content-box":"width"},c=Modernizr.prefixed&&Modernizr.prefixed("boxSizing");return function(b,d){var e,f,g;f="width";c&&(f=a[b.css(c)]||f);e=b[f]();f="width"==f;if(e){var p=parseInt(d.css("marginLeft"),10)||0,h=d.outerWidth();(g=parseInt(b.css("marginRight"),10)||0)&&b.css("marginRight",0);p<=-1*h?(d.css("marginRight",
40
+ Math.floor(Math.abs(h+p)+g)),b.css("paddingRight",(parseInt(b.css("paddingRight"),10)||0)+Math.abs(p)),f&&b.css("width",Math.floor(e+p))):(d.css("marginRight",g),b.css("width",Math.floor(e-p-h)))}}}(),l={dateFormat:"yy-mm-dd"},s=c([]),b,a=function(b,m){c("input",b).add(m.filter("input")).each(function(){var b=c.prop(this,"type");if(a[b]&&!d.data(this,"shadowData"))a[b](c(this))})},f=function(a,b){if(g.lazyDate){var d=c.data(a[0],"setDateLazyTimer");d&&clearTimeout(d);c.data(a[0],"setDateLazyTimer",
41
+ setTimeout(function(){a.datepicker("setDate",b);c.removeData(a[0],"setDateLazyTimer");a=null},0))}else a.datepicker("setDate",b)};if(g.lazyDate===q)try{g.lazyDate=c.browser.msie&&9>d.browserVersion||500>c(j).width()&&500>c(j).height()}catch(h){}var u={tabindex:1,tabIndex:1,title:1,"aria-required":1,"aria-invalid":1};if(!g.copyAttrs)g.copyAttrs={};d.extendUNDEFProp(g.copyAttrs,u);a.common=function(a,m,i){Modernizr.formvalidation&&a.bind("firstinvalid",function(c){(d.fromSubmit||!b)&&a.unbind("invalid.replacedwidgetbubble").bind("invalid.replacedwidgetbubble",
42
+ function(b){!c.isInvalidUIPrevented()&&!b.isDefaultPrevented()&&(d.validityAlert.showFor(c.target),c.preventDefault(),b.preventDefault());a.unbind("invalid.replacedwidgetbubble")})});var e,f,h=c("input, span.ui-slider-handle",m),k=a[0].attributes;for(e in g.copyAttrs)if((f=k[e])&&f.specified)u[e]&&h[0]?h.attr(e,f.nodeValue):m[0].setAttribute(e,f.nodeValue);e=a.attr("id");e={css:{marginRight:a.css("marginRight"),marginLeft:a.css("marginLeft")},outerWidth:a.outerWidth(),label:e?c('label[for="'+e+'"]',
43
+ a[0].form):s};f=d.getID(e.label);m.addClass(a[0].className);d.addShadowDom(a,m,{data:i||{},shadowFocusElement:c("input.input-datetime-local-date, span.ui-slider-handle",m)[0],shadowChilds:h});a.after(m).hide();a[0].form&&c(a[0].form).bind("reset",function(c){c.originalEvent&&!c.isDefaultPrevented()&&setTimeout(function(){a.prop("value",a.prop("value"))},0)});1==m.length&&!c("*",m)[0]&&(m.attr("aria-labeledby",f),e.label.bind("click",function(){m.focus();return!1}));return e};Modernizr.formvalidation&&
44
+ ["input","form"].forEach(function(a){var c=d.defineNodeNameProperty(a,"checkValidity",{prop:{value:function(){b=!0;var a=c.prop._supvalue.apply(this,arguments);b=!1;return a}}})});if(!n["datetime-local"]||g.replaceUI){var v=[0.595,0.395],w=[0.565,0.425],t=!c.browser.msie||6<d.browserVersion?0:0.45,x=function(a,b,i,f){var h,k,j=function(){p.dpDiv.unbind("mousedown.webshimsmousedownhandler");k=h=!1},p=b.bind("focusin",function(){j();p.dpDiv.unbind("mousedown.webshimsmousedownhandler").bind("mousedown.webshimsmousedownhandler",
45
+ function(){h=!0})}).bind("focusout blur",function(a){h&&(k=!0,a.stopImmediatePropagation())}).datepicker(c.extend({onClose:function(){k&&e.activeElement!==b[0]?(j(),b.trigger("focusout"),b.triggerHandler("blur")):j()}},l,g.datepicker,a.data("datepicker"))).bind("change",i).data("datepicker");p.dpDiv.addClass("input-date-datepicker-control");f&&d.triggerDomUpdate(f[0]);["disabled","min","max","value","step"].forEach(function(c){var b=a.prop(c);""!==b&&("disabled"!=c||!b)&&a.prop(c,b)});return p};a["datetime-local"]=
46
+ function(b){if(c.fn.datepicker){var d=c('<span role="group" class="input-datetime-local"><input type="text" class="input-datetime-local-date" /><input type="time" class="input-datetime-local-time" /></span>'),i=this.common(b,d,a["datetime-local"].attrs),e=c("input.input-datetime-local-date",d),f=x(b,e,function(i){var f=e.prop("value")||"",h="";if(g.lazyDate){var y=c.data(e[0],"setDateLazyTimer");y&&(clearTimeout(y),c.removeData(e[0],"setDateLazyTimer"))}if(f){h=c("input.input-datetime-local-time",
47
+ d).prop("value")||"00:00";try{f=(f=c.datepicker.parseDate(e.datepicker("option","dateFormat"),f))?c.datepicker.formatDate("yy-mm-dd",f):e.prop("value")}catch(j){f=e.prop("value")}}a["datetime-local"].blockAttr=!0;b.prop("value",!f&&!h?"":f+"T"+h);a["datetime-local"].blockAttr=!1;i.stopImmediatePropagation();k(b[0],"input");k(b[0],"change")},d);c("input.input-datetime-local-time",d).bind("change",function(d){var i=c.prop(this,"value"),f=["",""];if(i){f=b.prop("value").split("T");if(2>f.length||!f[0])f[0]=
48
+ c.datepicker.formatDate("yy-mm-dd",new Date);if(f[1]=i)try{e.prop("value",c.datepicker.formatDate(e.datepicker("option","dateFormat"),c.datepicker.parseDate("yy-mm-dd",f[0])))}catch(m){}}f=!f[0]&&!f[1]?"":f.join("T");a["datetime-local"].blockAttr=!0;b.prop("value",f);a["datetime-local"].blockAttr=!1;d.stopImmediatePropagation();k(b[0],"input");k(b[0],"change")});d.attr("aria-labeledby",i.label.attr("id"));i.label.bind("click",function(){e.focus();return!1});if(i.css&&(d.css(i.css),i.outerWidth)){d.outerWidth(i.outerWidth);
49
+ var i=d.width(),h=f.trigger[0]?v:w;e.outerWidth(Math.floor(i*h[0]-t),!0);c("input.input-datetime-local-time",d).outerWidth(Math.floor(i*h[1]-t),!0);f.trigger[0]&&o(e,f.trigger)}}};a["datetime-local"].attrs={disabled:function(a,b,d){c("input.input-datetime-local-date",b).prop("disabled",!!d);c("input.input-datetime-local-time",b).prop("disabled",!!d)},step:function(a,b,d){c("input.input-datetime-local-time",b).attr("step",d)},min:function(a,b,d){if(d){d=d.split?d.split("T"):[];try{d=c.datepicker.parseDate("yy-mm-dd",
50
+ d[0])}catch(f){d=!1}}d||(d=null);c("input.input-datetime-local-date",b).datepicker("option","minDate",d)},max:function(a,b,d){if(d){d=d.split?d.split("T"):[];try{d=c.datepicker.parseDate("yy-mm-dd",d[0])}catch(f){d=!1}}d||(d=null);c("input.input-datetime-local-date",b).datepicker("option","maxDate",d)},value:function(b,d,e){var g;if(e){e=e.split?e.split("T"):[];try{g=c.datepicker.parseDate("yy-mm-dd",e[0])}catch(h){g=!1}}g?(a["datetime-local"].blockAttr||f(c("input.input-datetime-local-date",d),g),
51
+ c("input.input-datetime-local-time",d).prop("value",e[1]||"00:00")):(c("input.input-datetime-local-date",d).prop("value",e[0]||""),c("input.input-datetime-local-time",d).prop("value",e[1]||""))}};a.date=function(b){if(c.fn.datepicker){var d=c('<input class="input-date" type="text" />'),f=this.common(b,d,a.date.attrs),e=x(b,d,function(f){a.date.blockAttr=!0;var e;if(g.lazyDate){var i=c.data(d[0],"setDateLazyTimer");i&&(clearTimeout(i),c.removeData(d[0],"setDateLazyTimer"))}try{e=(e=c.datepicker.parseDate(d.datepicker("option",
52
+ "dateFormat"),d.prop("value")))?c.datepicker.formatDate("yy-mm-dd",e):d.prop("value")}catch(h){e=d.prop("value")}b.prop("value",e);a.date.blockAttr=!1;f.stopImmediatePropagation();k(b[0],"input");k(b[0],"change")});f.css&&(d.css(f.css),f.outerWidth&&d.outerWidth(f.outerWidth),e.trigger[0]&&o(d,e.trigger))}};a.date.attrs={disabled:function(a,b,d){c.prop(b,"disabled",!!d)},min:function(a,b,d){try{d=c.datepicker.parseDate("yy-mm-dd",d)}catch(e){d=!1}d&&c(b).datepicker("option","minDate",d)},max:function(a,
53
+ b,d){try{d=c.datepicker.parseDate("yy-mm-dd",d)}catch(e){d=!1}d&&c(b).datepicker("option","maxDate",d)},value:function(b,d,e){if(!a.date.blockAttr){try{var g=c.datepicker.parseDate("yy-mm-dd",e)}catch(h){g=!1}g?f(c(d),g):c.prop(d,"value",e)}}}}if(!n.range||g.replaceUI)a.range=function(b){if(c.fn.slider){var d=c('<span class="input-range"><span class="ui-slider-handle" role="slider" tabindex="0" /></span>'),e=this.common(b,d,a.range.attrs);c("span",d).attr("aria-labeledby",e.label.attr("id"));e.label.bind("click",
54
+ function(){c("span",d).focus();return!1});e.css&&(d.css(e.css),e.outerWidth&&d.outerWidth(e.outerWidth));d.slider(c.extend({},g.slider,b.data("slider"),{slide:function(c,d){if(c.originalEvent)a.range.blockAttr=!0,b.prop("value",d.value),a.range.blockAttr=!1,k(b[0],"input"),k(b[0],"change")}}));["disabled","min","max","step","value"].forEach(function(a){var d=b.attr(a),e;"value"==a&&!d&&(e=b.getShadowElement())&&(d=(c(e).slider("option","max")-c(e).slider("option","min"))/2);null!=d&&b.attr(a,d)})}},
55
+ a.range.attrs={disabled:function(a,b,d){d=!!d;c(b).slider("option","disabled",d);c("span",b).attr({"aria-disabled":d+"",tabindex:d?"-1":"0"})},min:function(a,b,d){d=d?1*d||0:0;c(b).slider("option","min",d);c("span",b).attr({"aria-valuemin":d})},max:function(a,b,d){d=d||0===d?1*d||100:100;c(b).slider("option","max",d);c("span",b).attr({"aria-valuemax":d})},value:function(b,d,e){e=c(b).prop("valueAsNumber");isNaN(e)||(a.range.blockAttr||c(d).slider("option","value",e),c("span",d).attr({"aria-valuenow":e,
56
+ "aria-valuetext":e}))},step:function(a,b,d){d=d&&c.trim(d)?1*d||1:1;c(b).slider("option","step",d)}};if(!d.bugs.valueAsNumberSet&&(g.replaceUI||!Modernizr.inputtypes.date||!Modernizr.inputtypes["datetime-local"]||!Modernizr.inputtypes.range))j=function(){d.data(this,"hasShadow")&&c.prop(this,"value",c.prop(this,"value"))},d.onNodeNamesPropertyModify("input","valueAsNumber",j),d.onNodeNamesPropertyModify("input","valueAsDate",j);c.each(["disabled","min","max","value","step"],function(a,b){d.onNodeNamesPropertyModify("input",
57
+ b,function(a){var c=d.data(this,"shadowData");if(c&&c.data&&c.data[b]&&c.nativeElement===this)c.data[b](this,c.shadowElement,a)})});if(!g.availabeLangs)g.availabeLangs="af ar ar-DZ az bg bs ca cs da de el en-AU en-GB en-NZ eo es et eu fa fi fo fr fr-CH gl he hr hu hy id is it ja ko kz lt lv ml ms nl no pl pt-BR rm ro ru sk sl sq sr sr-SR sv ta th tr uk vi zh-CN zh-HK zh-TW".split(" ");j=function(){c.datepicker&&(d.activeLang({langObj:c.datepicker.regional,module:"form-number-date-ui",callback:function(a){c("input.hasDatepicker").filter(".input-date, .input-datetime-local-date").datepicker("option",
58
+ c.extend(l,a,g.datepicker))}}),c(e).unbind("jquery-uiReady.langchange input-widgetsReady.langchange"))};c(e).bind("jquery-uiReady.langchange input-widgetsReady.langchange",j);j();(function(){var a=function(){var a={};return function(b){return b in a?a[b]:a[b]=c('<input type="'+b+'" />')[0].type===b}}();if(!a("number")||!a("time")){var b=d.cfg["forms-ext"],f=d.inputTypes,g=function(a,b,e){e=e||{};if(!("type"in e))e.type=c.prop(a,"type");if(!("step"in e))e.step=d.getStep(a,e.type);if(!("valueAsNumber"in
59
+ e))e.valueAsNumber=f[e.type].asNumber(c.prop(a,"value"));var g="any"==e.step?f[e.type].step*f[e.type].stepScaleFactor:e.step;d.addMinMaxNumberToCache("min",c(a),e);d.addMinMaxNumberToCache("max",c(a),e);if(isNaN(e.valueAsNumber))e.valueAsNumber=f[e.type].stepBase||0;if("any"!==e.step&&(a=Math.round(1E7*((e.valueAsNumber-(e.minAsnumber||0))%e.step))/1E7)&&Math.abs(a)!=e.step)e.valueAsNumber-=a;a=e.valueAsNumber+g*b;return a=!isNaN(e.minAsNumber)&&a<e.minAsNumber?e.valueAsNumber*b<e.minAsNumber?e.minAsNumber:
60
+ isNaN(e.maxAsNumber)?e.valueAsNumber:e.maxAsNumber:!isNaN(e.maxAsNumber)&&a>e.maxAsNumber?e.valueAsNumber*b>e.maxAsNumber?e.maxAsNumber:isNaN(e.minAsNumber)?e.valueAsNumber:e.minAsNumber:Math.round(1E7*a)/1E7};d.modules["form-number-date-ui"].getNextStep=g;var h=function(a,b,d){if(!a.disabled&&!a.readOnly&&!c(d).hasClass("step-controls")&&(c.prop(a,"value",f[b].numberToString(g(a,c(d).hasClass("step-up")?1:-1,{type:b}))),c(a).unbind("blur.stepeventshim"),k(a,"input"),e.activeElement)){if(e.activeElement!==
61
+ a)try{a.focus()}catch(h){}setTimeout(function(){if(e.activeElement!==a)try{a.focus()}catch(b){}c(a).one("blur.stepeventshim",function(){k(a,"change")})},0)}};if(b.stepArrows){var j={set:function(){var a=d.data(this,"step-controls");if(a)a[this.disabled||this.readonly?"addClass":"removeClass"]("disabled-step-control")}};d.onNodeNamesPropertyModify("input","disabled",j);d.onNodeNamesPropertyModify("input","readonly",c.extend({},j))}var l={38:1,40:-1};d.addReady(function(e,j){b.stepArrows&&c("input",
62
+ e).add(j.filter("input")).each(function(){var e=c.prop(this,"type");if(f[e]&&f[e].asNumber&&b.stepArrows&&!(!0!==b.stepArrows&&!b.stepArrows[e]||a(e)||c(this).hasClass("has-step-controls"))){var j=this,n=c('<span class="step-controls" unselectable="on"><span class="step-up" /><span class="step-down" /></span>').insertAfter(this).bind("selectstart dragstart",function(){return!1}).bind("mousedown mousepress",function(a){h(j,e,a.target);return!1}).bind("mousepressstart mousepressend",function(a){c(a.target)["mousepressstart"==
63
+ a.type?"addClass":"removeClass"]("mousepress-ui")}),p=c(this).addClass("has-step-controls").attr({readonly:this.readOnly,disabled:this.disabled,autocomplete:"off",role:"spinbutton"}).bind(c.browser.msie?"keydown":"keypress",function(a){if(!this.disabled&&!this.readOnly&&l[a.keyCode])return c.prop(this,"value",f[e].numberToString(g(this,l[a.keyCode],{type:e}))),k(this,"input"),!1});d.data(this,"step-controls",n);b.calculateWidth&&(o(p,n),n.css("marginTop",(p.outerHeight()-n.outerHeight())/2))}})})}})();
64
+ d.addReady(function(b,f){c(e).bind("jquery-uiReady.initinputui input-widgetsReady.initinputui",function(){(c.datepicker||c.fn.slider)&&a(b,f);c.datepicker&&c.fn.slider?c(e).unbind(".initinputui"):d.modules["input-widgets"].src||d.warn('jQuery UI Widget factory is already included, but not datepicker or slider. configure src of $.webshims.modules["input-widgets"].src')})})});
@@ -0,0 +1,60 @@
1
+ (function(b){if(!Modernizr.genericDOM){var d=document,g,l,n=/<([\w:]+)/,t={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};b.webshims.fixHTML5=function(b){if("string"!=typeof b||t[(n.exec(b)||["",""])[1].toLowerCase()])return b;if(!l){g=d.body;if(!g)return b;l=d.createElement("div");l.style.display="none"}var m=l.cloneNode(!1);g.appendChild(m);m.innerHTML=b;g.removeChild(m);return m.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(b,d,g,l,n){var t=d.modules,s=/\s*,\s*/,m={},u={},p={},w={},a={},e=b.fn.val,q=function(a,k,f,c,v){return v?e.call(b(a)):e.call(b(a),f)};b.fn.val=function(a){var k=this[0];arguments.length&&null==a&&(a="");if(!arguments.length)return!k||1!==k.nodeType?e.call(this):b.prop(k,"value",a,"val",!0);if(b.isArray(a))return e.apply(this,arguments);var f=b.isFunction(a);return this.each(function(c){k=this;1===k.nodeType&&(f?(c=a.call(k,c,b.prop(k,"value",n,"val",
3
+ !0)),null==c&&(c=""),b.prop(k,"value",c,"val")):b.prop(k,"value",a,"val"))})};var h="_webshimsLib"+Math.round(1E3*Math.random()),r=function(a,k,f){a=a.jquery?a[0]:a;if(!a)return f||{};var c=b.data(a,h);f!==n&&(c||(c=b.data(a,h,{})),k&&(c[k]=f));return k?c&&c[k]:c};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(a){b.fn[a.name]=function(){return this.map(function(){var b=r(this,
4
+ "shadowData");return b&&b[a.prop]||this})}});["removeAttr","prop","attr"].forEach(function(c){m[c]=b[c];b[c]=function(k,f,i,v,e){var d="val"==v,o=!d?m[c]:q;if(!k||!u[f]||1!==k.nodeType||!d&&v&&"attr"==c&&b.attrFn[f])return o(k,f,i,v,e);var y=(k.nodeName||"").toLowerCase(),j=p[y],r="attr"==c&&(!1===i||null===i)?"removeAttr":c,h,x,l;j||(j=p["*"]);j&&(j=j[f]);j&&(h=j[r]);if(h){if("value"==f)x=h.isVal,h.isVal=d;if("removeAttr"===r)return h.value.call(k);if(i===n)return h.get?h.get.call(k):h.value;h.set&&
5
+ ("attr"==c&&!0===i&&(i=f),l=h.set.call(k,i));if("value"==f)h.isVal=x}else l=o(k,f,i,v,e);if((i!==n||"removeAttr"===r)&&a[y]&&a[y][f]){var g;g="removeAttr"==r?!1:"prop"==r?!!i:!0;a[y][f].forEach(function(b){if(!b.only||(b.only="prop"==c)||"attr"==b.only&&"prop"!=c)b.call(k,i,g,d?"val":r,c)})}return l};w[c]=function(a,f,i){p[a]||(p[a]={});p[a][f]||(p[a][f]={});var v=p[a][f][c],e=function(b,a,k){return a&&a[b]?a[b]:k&&k[b]?k[b]:"prop"==c&&"value"==f?function(b){return i.isVal?q(this,f,b,!1,0===arguments.length):
6
+ m[c](this,f,b)}:"prop"==c&&"value"==b&&i.value.apply?function(b){var a=m[c](this,f);a&&a.apply&&(a=a.apply(this,arguments));return a}:function(b){return m[c](this,f,b)}};p[a][f][c]=i;if(i.value===n){if(!i.set)i.set=i.writeable?e("set",i,v):d.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+a;}:b.noop;if(!i.get)i.get=e("get",i,v)}["value","get","set"].forEach(function(b){i[b]&&(i["_sup"+b]=e(b,v))})}});var c=!b.browser.msie||8<parseInt(b.browser.version,10),j=function(){var b=d.getPrototypeOf(l.createElement("foobar")),
7
+ a=Object.prototype.hasOwnProperty;return function(f,i,e){var j=l.createElement(f),h=d.getPrototypeOf(j);if(c&&h&&b!==h&&(!j[i]||!a.call(j,i))){var q=j[i];e._supvalue=function(){return q&&q.apply?q.apply(this,arguments):q};h[i]=e.value}else e._supvalue=function(){var b=r(this,"propValue");return b&&b[i]&&b[i].apply?b[i].apply(this,arguments):b&&b[i]},o.extendValue(f,i,e.value);e.value._supvalue=e._supvalue}}(),o=function(){var a={};d.addReady(function(c,f){var k={},i=function(a){k[a]||(k[a]=b(c.getElementsByTagName(a)),
8
+ f[0]&&b.nodeName(f[0],a)&&(k[a]=k[a].add(f)))};b.each(a,function(b,a){i(b);!a||!a.forEach?d.warn("Error: with "+b+"-property. methods: "+a):a.forEach(function(a){k[b].each(a)})});k=null});var c,f=b([]),i=function(f,i){a[f]?a[f].push(i):a[f]=[i];b.isDOMReady&&(c||b(l.getElementsByTagName(f))).each(i)};return{createTmpCache:function(a){b.isDOMReady&&(c=c||b(l.getElementsByTagName(a)));return c||f},flushTmpCache:function(){c=null},content:function(a,c){i(a,function(){var a=b.attr(this,c);null!=a&&b.attr(this,
9
+ c,a)})},createElement:function(b,a){i(b,a)},extendValue:function(a,c,f){i(a,function(){b(this).each(function(){r(this,"propValue",{})[c]=this[c];this[c]=f})})}}}(),x=function(b,a){if(b.defaultValue===n)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}}};b.extend(d,{getID:function(){var a=(new Date).getTime();return function(c){var c=b(c),f=c.attr("id");f||(a++,f="ID-"+a,c.attr("id",f));return f}}(),extendUNDEFProp:function(a,
10
+ c){b.each(c,function(b,c){b in a||(a[b]=c)})},createPropDefault:x,data:r,moveToFirstEvent:function(){var a=b._data?"_data":"data";return function(c,f,i){if((c=(b[a](c,"events")||{})[f])&&1<c.length)f=c.pop(),i||(i="bind"),"bind"==i&&c.delegateCount?c.splice(c.delegateCount,0,f):c.unshift(f)}}(),addShadowDom:function(a,c,f){f=f||{};a.jquery&&(a=a[0]);c.jquery&&(c=c[0]);if(!f.shadowFocusElement)f.shadowFocusElement=c;var i=b.data(a,h)||b.data(a,h,{}),e=b.data(c,h)||b.data(c,h,{});i.hasShadow=c;e.nativeElement=
11
+ a;e.shadowData=i.shadowData={nativeElement:a,shadowElement:c,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){r(this,"shadowData",e.shadowData)});if(f.data)i.shadowData.data=f.data,e.shadowData.data=f.data;f=null},propTypes:{standard:function(b){x(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){x(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,
12
+ ""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}},reflectProperties:function(a,c){"string"==typeof c&&(c=c.split(s));c.forEach(function(c){d.defineNodeNamesProperty(a,c,{prop:{set:function(a){b.attr(this,c,a)},get:function(){return b.attr(this,c)||""}}})})},defineNodeNameProperty:function(a,c,f){u[c]=!0;if(f.reflect)d.propTypes[f.propType||"standard"](f);["prop","attr","removeAttr"].forEach(function(i){var e=f[i];e&&(e="prop"===i?b.extend({writeable:!0},e):b.extend({},
13
+ e,{writeable:!0}),w[i](a,c,e),"*"!=a&&d.cfg.extendNative&&"prop"==i&&e.value&&b.isFunction(e.value)&&j(a,c,e),f[i]=e)});f.initAttr&&o.content(a,c);return f},defineNodeNameProperties:function(b,a,c,e){for(var j in a)!e&&a[j].initAttr&&o.createTmpCache(b),c&&(a[j][c]?d.log("override: "+b+"["+j+"] for "+c):(a[j][c]={},["value","set","get"].forEach(function(b){b in a[j]&&(a[j][c][b]=a[j][b],delete a[j][b])}))),a[j]=d.defineNodeNameProperty(b,j,a[j]);e||o.flushTmpCache();return a},createElement:function(a,
14
+ c,f){var e;b.isFunction(c)&&(c={after:c});o.createTmpCache(a);c.before&&o.createElement(a,c.before);f&&(e=d.defineNodeNameProperties(a,f,!1,!0));c.after&&o.createElement(a,c.after);o.flushTmpCache();return e},onNodeNamesPropertyModify:function(c,e,f,i){"string"==typeof c&&(c=c.split(s));b.isFunction(f)&&(f={set:f});c.forEach(function(b){a[b]||(a[b]={});"string"==typeof e&&(e=e.split(s));f.initAttr&&o.createTmpCache(b);e.forEach(function(c){a[b][c]||(a[b][c]=[],u[c]=!0);if(f.set){if(i)f.set.only=i;
15
+ a[b][c].push(f.set)}f.initAttr&&o.content(b,c)});o.flushTmpCache()})},defineNodeNamesBooleanProperty:function(a,c,f){f||(f={});if(b.isFunction(f))f.set=f;d.defineNodeNamesProperty(a,c,{attr:{set:function(b){this.setAttribute(c,b);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?n:c}},removeAttr:{value:function(){this.removeAttribute(c);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.initAttr||!1})},contentAttr:function(b,a,c){if(b.nodeName){if(c===
16
+ n)return c=(b.attributes[a]||{}).value,null==c?n:c;"boolean"==typeof c?c?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,c)}},activeLang:function(){var a=[],c={},f,e,j=/:\/\/|^\.*\//,o=function(a,c,f){return c&&f&&-1!==b.inArray(c,f.availabeLangs||[])?(a.loading=!0,f=f.langSrc,j.test(f)||(f=d.cfg.basePath+f),d.loader.loadScript(f+c+".js",function(){a.langObj[c]?(a.loading=!1,q(a,!0)):b(function(){a.langObj[c]&&q(a,!0);a.loading=!1})}),!0):!1},h=function(b){c[b]&&c[b].forEach(function(b){b.callback()})},
17
+ q=function(b,a){if(b.activeLang!=f&&b.activeLang!==e){var c=t[b.module].options;if(b.langObj[f]||e&&b.langObj[e])b.activeLang=f,b.callback(b.langObj[f]||b.langObj[e],f),h(b.module);else if(!a&&!o(b,f,c)&&!o(b,e,c)&&b.langObj[""]&&""!==b.activeLang)b.activeLang="",b.callback(b.langObj[""],f),h(b.module)}};return function(j){if("string"==typeof j&&j!==f)f=j,e=f.split("-")[0],f==e&&(e=!1),b.each(a,function(b,a){q(a)});else if("object"==typeof j)if(j.register)c[j.register]||(c[j.register]=[]),c[j.register].push(j),
18
+ j.callback();else{if(!j.activeLang)j.activeLang="";a.push(j);q(j)}return f}}()});b.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){d[b]=function(b,c,e,j){"string"==typeof b&&(b=b.split(s));var o={};b.forEach(function(b){o[b]=d[a](b,c,e,j)});return o}});d.isReady("webshimLocalization",!0)});
19
+ (function(b,d){var g=b.webshims.browserVersion;if(!(b.browser.mozilla&&5<g)&&(!b.browser.msie||12>g&&7<g)){var l={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},n=function(b,d){b.getAttribute("role")||b.setAttribute("role",d)};b.webshims.addReady(function(g,s){b.each(l,function(d,a){for(var e=b(d,g).add(s.filter(d)),q=0,h=e.length;q<h;q++)n(e[q],a)});if(g===d){var m=d.getElementsByTagName("header")[0],u=d.getElementsByTagName("footer"),p=u.length;
20
+ m&&!b(m).closest("section, article")[0]&&n(m,"banner");p&&(m=u[p-1],b(m).closest("section, article")[0]||n(m,"contentinfo"))}})}})(jQuery,document);
21
+ jQuery.webshims.register("form-datalist",function(b,d,g,l,n){d.propTypes.element=function(g){d.createPropDefault(g,"attr");if(!g.prop)g.prop={get:function(){var d=g.attr.get.call(this);d&&(d=b("#"+d)[0])&&g.propNodeName&&!b.nodeName(d,g.propNodeName)&&(d=null);return d||null},writeable:!1}};(function(){if(!Modernizr.input.list){var t=0,s={submit:1,button:1,reset:1,hidden:1,range:1,date:1},m=b.browser.msie&&7>parseInt(b.browser.version,10),u={},p=function(b){if(!b)return[];if(u[b])return u[b];var e;
22
+ try{e=JSON.parse(localStorage.getItem("storedDatalistOptions"+b))}catch(d){}u[b]=e||[];return e||[]},w={_create:function(a){if(!s[b.prop(a.input,"type")]){var e=a.datalist,d=b.data(a.input,"datalistWidget");if(e&&d&&d.datalist!==e)d.datalist=e,d.id=a.id,b(d.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",b.proxy(d,"_resetListCached")),d._resetListCached();else if(e){if(!(d&&d.datalist===e)){t++;var h=this;this.hideList=b.proxy(h,"hideList");this.timedHide=function(){clearTimeout(h.hideTimer);
23
+ h.hideTimer=setTimeout(h.hideList,9)};this.datalist=e;this.id=a.id;this.hasViewableData=!0;this._autocomplete=b.attr(a.input,"autocomplete");b.data(a.input,"datalistWidget",this);this.shadowList=b('<div class="datalist-polyfill" />').appendTo("body");this.index=-1;this.input=a.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(a){var c=b("li:not(.hidden-item)",h.shadowList),e="mousedown"==a.type||"click"==a.type;
24
+ h.markItem(c.index(a.currentTarget),e,c);"click"==a.type&&h.hideList();return"mousedown"!=a.type}).bind("focusout",this.timedHide);a.input.setAttribute("autocomplete","off");b(a.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!h.triggeredByDatalist)h.changedValue=!1,h.showHideOptions()}).bind("keydown.datalistWidget",function(a){var c=a.keyCode;if(40==c&&!h.showList())return h.markItem(h.index+1,!0),!1;if(h.isListVisible){if(38==c)return h.markItem(h.index-1,!0),!1;
25
+ if(!a.shiftKey&&(33==c||36==c))return h.markItem(0,!0),!1;if(!a.shiftKey&&(34==c||35==c))return a=b("li:not(.hidden-item)",h.shadowList),h.markItem(a.length-1,!0,a),!1;if(13==c||27==c)return 13==c&&h.changeValue(b("li.active-item:not(.hidden-item)",h.shadowList)),h.hideList(),!1}}).bind("focus.datalistWidget",function(){b(this).hasClass("list-focus")&&h.showList()}).bind("mousedown.datalistWidget",function(){(this==l.activeElement||b(this).is(":focus"))&&h.showList()}).bind("blur.datalistWidget",
26
+ this.timedHide);b(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",b.proxy(this,"_resetListCached"));this._resetListCached();a.input.form&&a.input.id&&b(a.input.form).bind("submit.datalistWidget"+a.input.id,function(){var e=b.prop(a.input,"value"),c=(a.input.name||a.input.id)+b.prop(a.input,"type");if(!h.storedOptions)h.storedOptions=p(c);if(e&&-1==h.storedOptions.indexOf(e)&&(h.storedOptions.push(e),e=h.storedOptions,c)){e=e||[];try{localStorage.setItem("storedDatalistOptions"+
27
+ c,JSON.stringify(e))}catch(d){}}});b(g).bind("unload",function(){h.destroy()})}}else d&&d.destroy()}},destroy:function(){var a=b.attr(this.input,"autocomplete");b(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();b(l).unbind(".datalist"+this.id);this.input.form&&this.input.id&&b(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");a===n?this.input.removeAttribute("autocomplete"):b(this.input).attr("autocomplete",
28
+ a)},_resetListCached:function(b){var e=this,q;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(g.QUnit||(q=b&&l.activeElement==e.input)?e.updateListOptions(q):d.ready("WINDOWLOAD",function(){e.updateTimer=setTimeout(function(){e.updateListOptions();e=null;t=1},200+100*t)}))},updateListOptions:function(a){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:b.curCSS(this.input,"fontSize"),fontFamily:b.curCSS(this.input,
29
+ "fontFamily")});var e=[],d=[],h=[],g,c,j,o;for(c=b.prop(this.datalist,"options"),j=0,o=c.length;j<o;j++){g=c[j];if(g.disabled)return;g={value:b(g).val()||"",text:b.trim(b.attr(g,"label")||g.textContent||g.innerText||b.text([g])||""),className:g.className||"",style:b.attr(g,"style")||""};g.text?g.text!=g.value&&(g.className+=" different-label-value"):g.text=g.value;d[j]=g.value;h[j]=g}if(!this.storedOptions)this.storedOptions=p((this.input.name||this.input.id)+b.prop(this.input,"type"));this.storedOptions.forEach(function(b){-1==
30
+ d.indexOf(b)&&h.push({value:b,text:b,className:"stored-suggest",style:""})});for(j=0,o=h.length;j<o;j++)c=h[j],e[j]='<li class="'+c.className+'" style="'+c.style+'" tabindex="-1" role="listitem"><span class="option-label">'+c.text+'</span> <span class="option-value">'+c.value+"</span></li>";this.arrayOptions=h;this.shadowList.html('<ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+e.join("\n")+"</ul>");b.fn.bgIframe&&m&&this.shadowList.bgIframe();(a||this.isListVisible)&&
31
+ this.showHideOptions()},showHideOptions:function(a){var e=b.prop(this.input,"value").toLowerCase();if(!(e===this.lastUpdatedValue||this.lastUnfoundValue&&0===e.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=e;var d=!1,g=b("li",this.shadowList);e?this.arrayOptions.forEach(function(a,c){if(!("lowerText"in a))a.lowerText=a.text!=a.value?a.text.toLowerCase()+a.value.toLowerCase():a.text.toLowerCase();-1!==a.lowerText.indexOf(e)?(b(g[c]).removeClass("hidden-item"),d=!0):b(g[c]).addClass("hidden-item")}):
32
+ g.length&&(g.removeClass("hidden-item"),d=!0);this.hasViewableData=d;!a&&d&&this.showList();if(!d)this.lastUnfoundValue=e,this.hideList()}},setPos:function(){var a=d.getRelOffset(this.shadowList,this.input);a.top+=b(this.input).outerHeight();a.width=b(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(a);return a},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();
33
+ this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var a=this,e;a.setPos();m&&(a.shadowList.css("height","auto"),250<a.shadowList.height()&&a.shadowList.css("height",220));a.shadowList.addClass("datalist-visible");b(l).unbind(".datalist"+a.id).bind("mousedown.datalist"+a.id+" focusin.datalist"+a.id,function(e){e.target===a.input||a.shadowList[0]===e.target||b.contains(a.shadowList[0],e.target)?(clearTimeout(a.hideTimer),setTimeout(function(){clearTimeout(a.hideTimer)},
34
+ 9)):a.timedHide()});b(g).unbind(".datalist"+a.id).bind("resize.datalist"+a.id+"orientationchange.datalist "+a.id+" emchange.datalist"+a.id,function(){clearTimeout(e);e=setTimeout(function(){a.setPos()},9)});clearTimeout(e);return!0},hideList:function(){if(!this.isListVisible)return!1;var a=this,e=function(){a.changedValue&&b(a.input).trigger("change");a.changedValue=!1};a.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");a.index=
35
+ -1;a.isListVisible=!1;if(a.changedValue){a.triggeredByDatalist=!0;d.triggerInlineForm&&d.triggerInlineForm(a.input,"input");if(a.input==l.activeElement||b(a.input).is(":focus"))b(a.input).one("blur",e);else e();a.triggeredByDatalist=!1}b(l).unbind(".datalist"+a.id);b(g).unbind(".datalist"+a.id);return!0},scrollIntoView:function(a){var e=b("> ul",this.shadowList),d=a.position();d.top-=(parseInt(e.css("paddingTop"),10)||0)+(parseInt(e.css("marginTop"),10)||0)+(parseInt(e.css("borderTopWidth"),10)||
36
+ 0);0>d.top?this.shadowList.scrollTop(this.shadowList.scrollTop()+d.top-2):(d.top+=a.outerHeight(),a=this.shadowList.height(),d.top>a&&this.shadowList.scrollTop(this.shadowList.scrollTop()+(d.top-a)+2))},changeValue:function(a){if(a[0]){var a=b("span.option-value",a).text(),e=b.prop(this.input,"value");if(a!=e)b(this.input).prop("value",a).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(a,e,d){d=d||b("li:not(.hidden-item)",this.shadowList);if(d.length)0>a?a=d.length-1:a>=d.length&&
37
+ (a=0),d.removeClass("active-item"),this.shadowList.addClass("list-item-active"),d=d.filter(":eq("+a+")").addClass("active-item"),e&&(this.changeValue(d),this.scrollIntoView(d)),this.index=a}};(function(){d.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var a=b("select",this);a[0]?a=a[0].options:(a=b("option",this).get(),a.length&&d.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return a}}});d.defineNodeNameProperties("input",
38
+ {selectedOption:{prop:{writeable:!1,get:function(){var a=b.prop(this,"list"),e=null,d;if(!a)return e;d=b.attr(this,"value");if(!d)return e;a=b.prop(a,"options");if(!a.length)return e;b.each(a,function(a,g){if(d==b.prop(g,"value"))return e=g,!1});return e}}},autocomplete:{attr:{get:function(){var a=b.data(this,"datalistWidget");return a?a._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(a){var e=b.data(this,"datalistWidget");e?(e._autocomplete=a,
39
+ "off"==a&&e.hideList()):"autocomplete"in this?this.autocomplete=a:this.setAttribute("autocomplete",a)}}},list:{attr:{get:function(){var b=d.contentAttr(this,"list");return null==b?n:b},set:function(a){d.contentAttr(this,"list",a);d.objectCreate(w,n,{input:this,id:a,datalist:b.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}});if(b.event.customEvent)b.event.customEvent.updateDatalist=!0,b.event.customEvent.updateInput=!0;d.addReady(function(b,e){e.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
40
+ jQuery.webshims.gcEval=function(b,d){with(d&&d.form||window)with(d||window)return function(b){eval(b)}.call(d||window,b)};
41
+ (function(b){var d=window.Modernizr,g=b.webshims;g.capturingEventPrevented=function(d){if(!d._isPolyfilled){var g=d.isDefaultPrevented,l=d.preventDefault;d.preventDefault=function(){clearTimeout(b.data(d.target,d.type+"DefaultPrevented"));b.data(d.target,d.type+"DefaultPrevented",setTimeout(function(){b.removeData(d.target,d.type+"DefaultPrevented")},30));return l.apply(this,arguments)};d.isDefaultPrevented=function(){return!(!g.apply(this,arguments)&&!b.data(d.target,d.type+"DefaultPrevented"))};
42
+ d._isPolyfilled=!0}};if(d.formvalidation){var l=b('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');d.bugfreeformvalidation=d.requiredSelect=!!("required"in b("select",l)[0]);if(window.opera||b.browser.webkit||window.testGoodWithFix){var n=b("input",l).eq(0),t,s=function(m){var p=["form-extend","form-message","form-native-fix"];m&&(m.preventDefault(),m.stopImmediatePropagation());clearTimeout(t);setTimeout(function(){l&&
43
+ (l.remove(),l=n=null)},9);if(!d.bugfreeformvalidation||!d.requiredSelect)g.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),g.modules["form-extend"].test=b.noop;g.isReady("form-number-date-api")&&p.push("form-number-date-api");g.reTest(p);if(b.browser.opera||window.testGoodWithFix)g.loader.loadList(["dom-extend"]),g.ready("dom-extend",function(){var l=function(b){b.preventDefault()};["form","input","textarea","select"].forEach(function(a){var d=g.defineNodeNameProperty(a,"checkValidity",
44
+ {prop:{value:function(){g.fromSubmit||b(this).bind("invalid.checkvalidity",l);g.fromCheckValidity=!0;var a=d.prop._supvalue.apply(this,arguments);g.fromSubmit||b(this).unbind("invalid.checkvalidity",l);g.fromCheckValidity=!1;return a}}})});d.input.list&&!(b("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&g.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var a=this.options||[];if(!a.length){var d=b("select",this);if(d[0]&&d[0].options&&
45
+ d[0].options.length)a=d[0].options}return a}}})})};l.appendTo("head");if(window.opera||window.testGoodWithFix){g.bugs.validationMessage=!n.prop("validationMessage");if((d.inputtypes||{}).date){try{n.prop("valueAsNumber",0)}catch(m){}g.bugs.valueAsNumberSet="1970-01-01"!=n.prop("value")}n.prop("value","")}l.bind("submit",function(b){d.bugfreeformvalidation=!1;s(b)});t=setTimeout(function(){l&&l.triggerHandler("submit")},9);g.capturingEvents(["input"]);g.capturingEvents(["invalid"],!0);b("input, select",
46
+ l).bind("invalid",s).filter('[type="submit"]').bind("click",function(b){b.stopImmediatePropagation()}).trigger("click")}else g.capturingEvents(["input"]),g.capturingEvents(["invalid"],!0)}})(jQuery);
47
+ jQuery.webshims.register("form-core",function(b,d,g,l,n,t){var s={radio:1},m={checkbox:1,radio:1},u=b([]),p=function(a){var a=b(a),d=a[0].name;return s[a[0].type]&&d?b(a[0].form&&a[0].form[d]||l.getElementsByName(d)).not(a[0]):u},w=d.getContentValidationMessage=function(a,e){var g=a.getAttribute("x-moz-errormessage")||a.getAttribute("data-errormessage")||"";if(g&&-1!=g.indexOf("{")){try{g=jQuery.parseJSON(g)}catch(h){return g}"object"==typeof g&&(e=e||b.prop(a,"validity")||{valid:1},e.valid||b.each(e,
48
+ function(b,a){if(a&&"valid"!=b&&g[b])return g=g[b],!1}));d.data(a,"contentErrorMessage",g);if("object"==typeof g)g=g.defaultMessage}return g||""},a={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};b.extend(b.expr.filters,{"valid-element":function(a){return!(!b.prop(a,"willValidate")||!(b.prop(a,"validity")||{valid:1}).valid)},"invalid-element":function(a){return!(!b.prop(a,"willValidate")||(b.prop(a,"validity")||{valid:1}).valid)},"required-element":function(a){return!(!b.prop(a,
49
+ "willValidate")||!b.prop(a,"required"))},"optional-element":function(a){return!!(b.prop(a,"willValidate")&&!1===b.prop(a,"required"))},"in-range":function(c){if(!a[b.prop(c,"type")]||!b.prop(c,"willValidate"))return!1;c=b.prop(c,"validity");return!(!c||c.rangeOverflow||c.rangeUnderflow)},"out-of-range":function(c){if(!a[b.prop(c,"type")]||!b.prop(c,"willValidate"))return!1;c=b.prop(c,"validity");return!(!c||!c.rangeOverflow&&!c.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(a){b.expr.filters[a]=
50
+ b.expr.filters[a+"-element"]});var e=b.event.customEvent||{},q=b.prop,h={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};b.prop=function(a,d,e){var g=q.apply(this,arguments);if(a&&"form"in a&&h[d]&&e!==n&&b(a).hasClass("form-ui-invalid")&&(b.prop(a,"validity")||{valid:1}).valid)b(a).getShadowElement().removeClass("form-ui-invalid"),"checked"==d&&e&&p(a).removeClass("form-ui-invalid").removeAttr("aria-invalid");return g};var r=function(a,d){var e;b.each(a,function(a,c){if(c)return e="customError"==
51
+ a?b.prop(d,"validationMessage"):a,!1});return e};b(l).bind("focusout change refreshvalidityui",function(a){if(a.target&&"submit"!=a.target.type&&b.prop(a.target,"willValidate")){var d=b.data(a.target,"webshimsswitchvalidityclass");d&&clearTimeout(d);b.data(a.target,"webshimsswitchvalidityclass",setTimeout(function(){var d=b(a.target).getNativeElement()[0],e=b.prop(d,"validity"),g=b(d).getShadowElement(),j,f,i,h;e.valid?g.hasClass("form-ui-valid")||(j="form-ui-valid",f="form-ui-invalid",h="changedvaliditystate",
52
+ i="changedvalid",m[d.type]&&d.checked&&p(d).removeClass(f).addClass(j).removeAttr("aria-invalid"),b.removeData(d,"webshimsinvalidcause")):(e=r(e,d),b.data(d,"webshimsinvalidcause")!=e&&(b.data(d,"webshimsinvalidcause",e),h="changedvaliditystate"),g.hasClass("form-ui-invalid")||(j="form-ui-invalid",f="form-ui-valid",m[d.type]&&!d.checked&&p(d).removeClass(f).addClass(j),i="changedinvalid"));j&&(g.addClass(j).removeClass(f),setTimeout(function(){b(d).trigger(i)},0));h&&setTimeout(function(){b(d).trigger(h)},
53
+ 0);b.removeData(a.target,"webshimsswitchvalidityclass")},9))}});e.changedvaliditystate=!0;e.changedvalid=!0;e.changedinvalid=!0;e.refreshvalidityui=!0;d.triggerInlineForm=function(a,e){a.jquery&&(a=a[0]);var g="on"+e,h=a[g]||a.getAttribute(g)||"",l,k,e=b.Event({type:e,target:a,currentTarget:a});h&&(d.warn(g+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof h&&(k=d.gcEval(h,a),a[g]&&(l=!0,a[g]=!1)));!1===k&&(e.stopPropagation(),
54
+ e.preventDefault());b(a).trigger(e);l&&(a[g]=h);return k};e=function(){d.scrollRoot=b.browser.webkit||"BackCompat"==l.compatMode?b(l.body):b(l.documentElement)};e();d.ready("DOM",e);d.getRelOffset=function(a,d){var a=b(a),e=b(d).offset(),g;b.swap(b(a)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){g=a.offset()});e.top-=g.top;e.left-=g.left;return e};d.validityAlert=function(){var a=!b.browser.msie||7<parseInt(b.browser.version,10)?"span":"label",e,h=!1,m=!1,n,k={hideDelay:5E3,
55
+ showFor:function(a,c,d,l){k._create();var a=b(a),p=b(a).getShadowElement(),q=k.getOffsetFromBody(p);k.clear();l?this.hide():(this.getMessage(a,c),this.position(p,q),e.css({fontSize:a.css("fontSize"),fontFamily:a.css("fontFamily")}),this.show(),this.hideDelay&&(h=setTimeout(n,this.hideDelay)),b(g).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(m);m=setTimeout(function(){k.position(p)},9)}));d||this.setFocus(p,q)},getOffsetFromBody:function(b){return d.getRelOffset(e,
56
+ b)},setFocus:function(f,g){var h=b(f).getShadowFocusElement(),k=d.scrollRoot.scrollTop(),m=(g||h.offset()).top-30,o;d.getID&&"label"==a&&e.attr("for",d.getID(h));k>m&&(d.scrollRoot.animate({scrollTop:m-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(k-m)),80)}),o=!0);try{h[0].focus()}catch(p){}o&&(d.scrollRoot.scrollTop(k),setTimeout(function(){d.scrollRoot.scrollTop(k)},0));setTimeout(function(){b(l).bind("focusout.validityalert",n)},10)},getMessage:function(a,c){b("span.va-box",e).text(c||w(a[0])||
57
+ a.prop("validationMessage"))},position:function(a,c){c=c?b.extend({},c):k.getOffsetFromBody(a);c.top+=a.outerHeight();e.css(c)},show:function(){"none"===e.css("display")&&e.css({opacity:0}).show();e.addClass("va-visible").fadeTo(400,1)},hide:function(){e.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(h);b(l).unbind(".validityalert");b(g).unbind(".validityalert");e.stop().removeAttr("for")},_create:function(){if(!e)e=k.errorBubble=b("<"+a+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
58
+ a+">").css({position:"absolute",display:"none"}),d.ready("DOM",function(){e.appendTo("body");b.fn.bgIframe&&b.browser.msie&&7>parseInt(b.browser.version,10)&&e.bgIframe()})}};n=b.proxy(k,"hide");return k}();(function(){var a,d=[],e;b(l).bind("invalid",function(g){if(!g.wrongWebkitInvalid){var h=b(g.target),k=h.getShadowElement();k.hasClass("form-ui-invalid")||(k.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){b(g.target).trigger("changedinvalid").trigger("changedvaliditystate")},
59
+ 0));if(!a)a=b.Event("firstinvalid"),a.isInvalidUIPrevented=g.isDefaultPrevented,k=b.Event("firstinvalidsystem"),b(l).triggerHandler(k,{element:g.target,form:g.target.form,isInvalidUIPrevented:g.isDefaultPrevented}),h.trigger(a);a&&a.isDefaultPrevented()&&g.preventDefault();d.push(g.target);g.extraData="fix";clearTimeout(e);e=setTimeout(function(){var e={type:"lastinvalid",cancelable:!1,invalidlist:b(d)};a=!1;d=[];b(g.target).trigger(e,e)},9);k=h=null}})})();t.replaceValidationUI&&d.ready("DOM",function(){b(l).bind("firstinvalid",
60
+ function(a){a.isInvalidUIPrevented()||(a.preventDefault(),b.webshims.validityAlert.showFor(a.target,b(a.target).prop("customValidationMessage")))})})});
@@ -0,0 +1,61 @@
1
+ jQuery.webshims.gcEval=function(a,b){with(b&&b.form||window)with(b||window)return function(a){eval(a)}.call(b||window,a)};
2
+ (function(a){var b=window.Modernizr,k=a.webshims;k.capturingEventPrevented=function(b){if(!b._isPolyfilled){var c=b.isDefaultPrevented,f=b.preventDefault;b.preventDefault=function(){clearTimeout(a.data(b.target,b.type+"DefaultPrevented"));a.data(b.target,b.type+"DefaultPrevented",setTimeout(function(){a.removeData(b.target,b.type+"DefaultPrevented")},30));return f.apply(this,arguments)};b.isDefaultPrevented=function(){return!(!c.apply(this,arguments)&&!a.data(b.target,b.type+"DefaultPrevented"))};
3
+ b._isPolyfilled=!0}};if(b.formvalidation){var i=a('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');b.bugfreeformvalidation=b.requiredSelect=!!("required"in a("select",i)[0]);if(window.opera||a.browser.webkit||window.testGoodWithFix){var q=a("input",i).eq(0),f,c=function(c){var j=["form-extend","form-message","form-native-fix"];c&&(c.preventDefault(),c.stopImmediatePropagation());clearTimeout(f);setTimeout(function(){i&&
4
+ (i.remove(),i=q=null)},9);if(!b.bugfreeformvalidation||!b.requiredSelect)k.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),k.modules["form-extend"].test=a.noop;k.isReady("form-number-date-api")&&j.push("form-number-date-api");k.reTest(j);if(a.browser.opera||window.testGoodWithFix)k.loader.loadList(["dom-extend"]),k.ready("dom-extend",function(){var c=function(a){a.preventDefault()};["form","input","textarea","select"].forEach(function(b){var h=k.defineNodeNameProperty(b,"checkValidity",
5
+ {prop:{value:function(){k.fromSubmit||a(this).bind("invalid.checkvalidity",c);k.fromCheckValidity=!0;var b=h.prop._supvalue.apply(this,arguments);k.fromSubmit||a(this).unbind("invalid.checkvalidity",c);k.fromCheckValidity=!1;return b}}})});b.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&k.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var c=a("select",this);if(c[0]&&c[0].options&&
6
+ c[0].options.length)b=c[0].options}return b}}})})};i.appendTo("head");if(window.opera||window.testGoodWithFix){k.bugs.validationMessage=!q.prop("validationMessage");if((b.inputtypes||{}).date){try{q.prop("valueAsNumber",0)}catch(j){}k.bugs.valueAsNumberSet="1970-01-01"!=q.prop("value")}q.prop("value","")}i.bind("submit",function(a){b.bugfreeformvalidation=!1;c(a)});f=setTimeout(function(){i&&i.triggerHandler("submit")},9);k.capturingEvents(["input"]);k.capturingEvents(["invalid"],!0);a("input, select",
7
+ i).bind("invalid",c).filter('[type="submit"]').bind("click",function(a){a.stopImmediatePropagation()}).trigger("click")}else k.capturingEvents(["input"]),k.capturingEvents(["invalid"],!0)}})(jQuery);
8
+ jQuery.webshims.register("form-core",function(a,b,k,i,q,f){var c={radio:1},j={checkbox:1,radio:1},l=a([]),s=function(d){var d=a(d),g=d[0].name;return c[d[0].type]&&g?a(d[0].form&&d[0].form[g]||i.getElementsByName(g)).not(d[0]):l},w=b.getContentValidationMessage=function(d,g){var o=d.getAttribute("x-moz-errormessage")||d.getAttribute("data-errormessage")||"";if(o&&-1!=o.indexOf("{")){try{o=jQuery.parseJSON(o)}catch(c){return o}"object"==typeof o&&(g=g||a.prop(d,"validity")||{valid:1},g.valid||a.each(g,
9
+ function(a,d){if(d&&"valid"!=a&&o[a])return o=o[a],!1}));b.data(d,"contentErrorMessage",o);if("object"==typeof o)o=o.defaultMessage}return o||""},m={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};a.extend(a.expr.filters,{"valid-element":function(d){return!(!a.prop(d,"willValidate")||!(a.prop(d,"validity")||{valid:1}).valid)},"invalid-element":function(d){return!(!a.prop(d,"willValidate")||(a.prop(d,"validity")||{valid:1}).valid)},"required-element":function(d){return!(!a.prop(d,
10
+ "willValidate")||!a.prop(d,"required"))},"optional-element":function(d){return!!(a.prop(d,"willValidate")&&!1===a.prop(d,"required"))},"in-range":function(d){if(!m[a.prop(d,"type")]||!a.prop(d,"willValidate"))return!1;d=a.prop(d,"validity");return!(!d||d.rangeOverflow||d.rangeUnderflow)},"out-of-range":function(d){if(!m[a.prop(d,"type")]||!a.prop(d,"willValidate"))return!1;d=a.prop(d,"validity");return!(!d||!d.rangeOverflow&&!d.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(d){a.expr.filters[d]=
11
+ a.expr.filters[d+"-element"]});var h=a.event.customEvent||{},u=a.prop,p={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};a.prop=function(d,g,b){var c=u.apply(this,arguments);if(d&&"form"in d&&p[g]&&b!==q&&a(d).hasClass("form-ui-invalid")&&(a.prop(d,"validity")||{valid:1}).valid)a(d).getShadowElement().removeClass("form-ui-invalid"),"checked"==g&&b&&s(d).removeClass("form-ui-invalid").removeAttr("aria-invalid");return c};var g=function(d,g){var b;a.each(d,function(d,c){if(c)return b="customError"==
12
+ d?a.prop(g,"validationMessage"):d,!1});return b};a(i).bind("focusout change refreshvalidityui",function(d){if(d.target&&"submit"!=d.target.type&&a.prop(d.target,"willValidate")){var b=a.data(d.target,"webshimsswitchvalidityclass");b&&clearTimeout(b);a.data(d.target,"webshimsswitchvalidityclass",setTimeout(function(){var b=a(d.target).getNativeElement()[0],v=a.prop(b,"validity"),c=a(b).getShadowElement(),h,n,t,r;v.valid?c.hasClass("form-ui-valid")||(h="form-ui-valid",n="form-ui-invalid",r="changedvaliditystate",
13
+ t="changedvalid",j[b.type]&&b.checked&&s(b).removeClass(n).addClass(h).removeAttr("aria-invalid"),a.removeData(b,"webshimsinvalidcause")):(v=g(v,b),a.data(b,"webshimsinvalidcause")!=v&&(a.data(b,"webshimsinvalidcause",v),r="changedvaliditystate"),c.hasClass("form-ui-invalid")||(h="form-ui-invalid",n="form-ui-valid",j[b.type]&&!b.checked&&s(b).removeClass(n).addClass(h),t="changedinvalid"));h&&(c.addClass(h).removeClass(n),setTimeout(function(){a(b).trigger(t)},0));r&&setTimeout(function(){a(b).trigger(r)},
14
+ 0);a.removeData(d.target,"webshimsswitchvalidityclass")},9))}});h.changedvaliditystate=!0;h.changedvalid=!0;h.changedinvalid=!0;h.refreshvalidityui=!0;b.triggerInlineForm=function(d,g){d.jquery&&(d=d[0]);var c="on"+g,h=d[c]||d.getAttribute(c)||"",f,l,g=a.Event({type:g,target:d,currentTarget:d});h&&(b.warn(c+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof h&&(l=b.gcEval(h,d),d[c]&&(f=!0,d[c]=!1)));!1===l&&(g.stopPropagation(),
15
+ g.preventDefault());a(d).trigger(g);f&&(d[c]=h);return l};h=function(){b.scrollRoot=a.browser.webkit||"BackCompat"==i.compatMode?a(i.body):a(i.documentElement)};h();b.ready("DOM",h);b.getRelOffset=function(d,g){var d=a(d),b=a(g).offset(),c;a.swap(a(d)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){c=d.offset()});b.top-=c.top;b.left-=c.left;return b};b.validityAlert=function(){var d=!a.browser.msie||7<parseInt(a.browser.version,10)?"span":"label",g,c=!1,h=!1,l,f={hideDelay:5E3,
16
+ showFor:function(d,b,r,i){f._create();var d=a(d),j=a(d).getShadowElement(),m=f.getOffsetFromBody(j);f.clear();i?this.hide():(this.getMessage(d,b),this.position(j,m),g.css({fontSize:d.css("fontSize"),fontFamily:d.css("fontFamily")}),this.show(),this.hideDelay&&(c=setTimeout(l,this.hideDelay)),a(k).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(h);h=setTimeout(function(){f.position(j)},9)}));r||this.setFocus(j,m)},getOffsetFromBody:function(a){return b.getRelOffset(g,
17
+ a)},setFocus:function(n,c){var r=a(n).getShadowFocusElement(),h=b.scrollRoot.scrollTop(),f=(c||r.offset()).top-30,o;b.getID&&"label"==d&&g.attr("for",b.getID(r));h>f&&(b.scrollRoot.animate({scrollTop:f-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(h-f)),80)}),o=!0);try{r[0].focus()}catch(j){}o&&(b.scrollRoot.scrollTop(h),setTimeout(function(){b.scrollRoot.scrollTop(h)},0));setTimeout(function(){a(i).bind("focusout.validityalert",l)},10)},getMessage:function(d,b){a("span.va-box",g).text(b||w(d[0])||
18
+ d.prop("validationMessage"))},position:function(d,b){b=b?a.extend({},b):f.getOffsetFromBody(d);b.top+=d.outerHeight();g.css(b)},show:function(){"none"===g.css("display")&&g.css({opacity:0}).show();g.addClass("va-visible").fadeTo(400,1)},hide:function(){g.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(c);a(i).unbind(".validityalert");a(k).unbind(".validityalert");g.stop().removeAttr("for")},_create:function(){if(!g)g=f.errorBubble=a("<"+d+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
19
+ d+">").css({position:"absolute",display:"none"}),b.ready("DOM",function(){g.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&g.bgIframe()})}};l=a.proxy(f,"hide");return f}();(function(){var g,b=[],c;a(i).bind("invalid",function(h){if(!h.wrongWebkitInvalid){var f=a(h.target),l=f.getShadowElement();l.hasClass("form-ui-invalid")||(l.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){a(h.target).trigger("changedinvalid").trigger("changedvaliditystate")},
20
+ 0));if(!g)g=a.Event("firstinvalid"),g.isInvalidUIPrevented=h.isDefaultPrevented,l=a.Event("firstinvalidsystem"),a(i).triggerHandler(l,{element:h.target,form:h.target.form,isInvalidUIPrevented:h.isDefaultPrevented}),f.trigger(g);g&&g.isDefaultPrevented()&&h.preventDefault();b.push(h.target);h.extraData="fix";clearTimeout(c);c=setTimeout(function(){var n={type:"lastinvalid",cancelable:!1,invalidlist:a(b)};g=!1;b=[];a(h.target).trigger(n,n)},9);l=f=null}})})();f.replaceValidationUI&&b.ready("DOM",function(){a(i).bind("firstinvalid",
21
+ function(g){g.isInvalidUIPrevented()||(g.preventDefault(),a.webshims.validityAlert.showFor(g.target,a(g.target).prop("customValidationMessage")))})})});
22
+ jQuery.webshims.register("form-message",function(a,b,k,i,q,f){var c=b.validityMessages,k=f.overrideMessages||f.customMessages?["customValidationMessage"]:[];c.en=c.en||c["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
23
+ stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){c.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){c.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){c.en.rangeOverflow[a]=
24
+ "Value must be at or before {%max}."});c["en-US"]=c["en-US"]||c.en;c[""]=c[""]||c["en-US"];c.de=c.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
25
+ rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
26
+ checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){c.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){c.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){c.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var j=
27
+ c[""];b.createValidationMessage=function(b,c){var f=j[c];f&&"string"!==typeof f&&(f=f[a.prop(b,"type")]||f[(b.nodeName||"").toLowerCase()]||f.defaultMessage);f&&"value,min,max,title,maxlength,label".split(",").forEach(function(c){if(-1!==f.indexOf("{%"+c)){var h=("label"==c?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,c))||"";f=f.replace("{%"+c+"}",h);"value"==c&&(f=f.replace("{%valueLen}",h.length))}});return f||""};(b.bugs.validationMessage||!Modernizr.formvalidation)&&
28
+ k.push("validationMessage");b.activeLang({langObj:c,module:"form-core",callback:function(a){j=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var c=a("select",this);if(c[0]&&c[0].options&&c[0].options.length)b=c[0].options}return b}}});k.forEach(function(c){b.defineNodeNamesProperty(["fieldset","output","button"],
29
+ c,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(f){var j=b.defineNodeNameProperty(f,c,{prop:{get:function(){var c=this,f="";if(!a.prop(c,"willValidate"))return f;var i=a.prop(c,"validity")||{valid:1};if(i.valid||(f=b.getContentValidationMessage(c,i)))return f;if(i.customError&&c.nodeName&&(f=Modernizr.formvalidation&&j.prop._supget?j.prop._supget.call(c):b.data(c,"customvalidationMessage")))return f;a.each(i,function(a,g){if("valid"!=a&&g&&(f=b.createValidationMessage(c,
30
+ a)))return!1});return f||""},writeable:!1}})})})});
31
+ Modernizr.formvalidation||jQuery.webshims.register("form-extend",function(a,b,k,i){b.inputTypes=b.inputTypes||{};var q=b.cfg.forms,f,c=b.inputTypes,j={radio:1,checkbox:1};b.addInputType=function(a,b){c[a]=b};var l={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},s={valueMissing:function(g,b,c){if(!g.attr("required"))return!1;var f=!1;if(!("type"in c))c.type=(g[0].getAttribute("type")||g[0].type||"").toLowerCase();
32
+ if("select"==c.nodeName){if(b=!b)if(!(b=0>g[0].selectedIndex))g=g[0],b="select-one"==g.type&&2>g.size?!!a("> option:first-child",g).prop("selected"):!1;g=b}else g=j[c.type]?"checkbox"==c.type?!g.is(":checked"):!a(g[0].form&&g[0].name?g[0].form[g[0].name]:[]).filter(":checked")[0]:!b;return g},tooLong:function(){return!1},typeMismatch:function(a,b,f){if(""===b||"select"==f.nodeName)return!1;var h=!1;if(!("type"in f))f.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();c[f.type]&&c[f.type].mismatch&&
33
+ (h=c[f.type].mismatch(b,a));return h},patternMismatch:function(a,d,c){if(""===d||"select"==c.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(f){b.error('invalid pattern value: "'+a+'" | '+f),a=!1}return!a?!1:!a.test(d)}};b.addValidityRule=function(a,b){s[a]=b};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var g=this.form||this;a.data(g,"invalidEventShim")||(a(g).data("invalidEventShim",!0).bind("submit",
34
+ a.event.special.invalid.handler),b.moveToFirstEvent(g,"submit"))},teardown:a.noop,handler:function(b){if(!("submit"!=b.type||b.testedValidity||!b.originalEvent||!a.nodeName(b.target,"form")||a.prop(b.target,"noValidate"))){f=!0;b.testedValidity=!0;if(!a(b.target).checkValidity())return b.stopImmediatePropagation(),f=!1;f=!1}}};a(i).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var w=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,
35
+ "form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return w.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=q.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});b.addInputType("url",{mismatch:function(){var a=q.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
36
+ return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},l)}}},"prop");var m=function(g){var d,c=a.prop(g,"validity");if(c)a.data(g,"cachedValidity",
37
+ c);else return!0;if(!c.valid){d=a.Event("invalid");var h=a(g).trigger(d);if(f&&!m.unhandledInvalids&&!d.isDefaultPrevented())b.validityAlert.showFor(h),m.unhandledInvalids=!0}a.removeData(g,"cachedValidity");return c.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var g=!0,d=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});m.unhandledInvalids=!1;for(var c=0,f=d.length;c<f;c++)m(d[c])||
38
+ (g=!1);return g}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){m.unhandledInvalids=!1;return m(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(g){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+g)}},willValidate:{set:a.noop,get:function(){var b={button:1,reset:1,hidden:1,image:1};return function(){var d=a(this).getNativeElement()[0];return!(d.disabled||d.readOnly||b[d.type]||d.form&&a.prop(d.form,"noValidate"))}}()},
39
+ validity:{set:a.noop,get:function(){var g=a(this).getNativeElement(),d=g[0],c=a.data(d,"cachedValidity");if(c)return c;c=a.extend({},l);if(!a.prop(d,"willValidate")||"submit"==d.type)return c;var f=g.val(),h={nodeName:d.nodeName.toLowerCase()};c.customError=!!b.data(d,"customvalidationMessage");if(c.customError)c.valid=!1;a.each(s,function(a,b){if(b(g,f,h))c[a]=!0,c.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",c.valid?"false":"true");d=g=null;return c}}},"prop");b.defineNodeNamesBooleanProperty(["input",
40
+ "textarea","select"],"required",{set:function(b){a(this).getShadowFocusElement().attr("aria-required",!!b+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);var h=function(){var b,d=0,c=a([]),f=1E9,h=function(){var a=c.prop("value"),b=a.length;b>d&&b>f&&(b=Math.max(d,f),c.prop("value",a.substr(0,b)));d=b},j=function(){clearTimeout(b);c.unbind(".maxlengthconstraint")};return function(i,n){j();if(-1<n)f=n,d=a.prop(i,"value").length,c=a(i),c.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",
41
+ function(){setTimeout(h,0)}),c.bind("keyup.maxlengthconstraint",h),c.bind("blur.maxlengthconstraint",j),b=setInterval(h,200)}}();h.update=function(b,c){b===i.activeElement&&(null==c&&(c=a.prop(b,"maxlength")),h(e.target,c))};a(i).bind("focusin",function(b){var c;"TEXTAREA"==b.target.nodeName&&-1<(c=a.prop(b.target,"maxlength"))&&h(b.target,c)});b.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);h.update(this)},get:function(){var a=this.getAttribute("maxlength");
42
+ return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);h.update(this,a)}else this.setAttribute("maxlength","0"),h.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}});
43
+ var u={submit:1,button:1,image:1},p={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var c="form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),
44
+ f="form"+b.name,h=b.name,j="click.webshimssubmittermutate"+h,k=function(){if("form"in this&&u[this.type]){var n=a.prop(this,"form");if(n){var t=a.attr(this,f);if(null!=t&&(!b.limitedTo||t.toLowerCase()===a.prop(this,c))){var r=a.attr(n,h);a.attr(n,h,t);setTimeout(function(){if(null!=r)a.attr(n,h,r);else try{a(n).removeAttr(h)}catch(b){n.removeAttribute(h)}},9)}}}};switch(b.proptype){case "url":var l=i.createElement("form");p[c]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var b=a.attr(this,
45
+ f);if(null==b)return"";l.setAttribute("action",b);return l.action}}};break;case "boolean":p[c]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":p[c]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var c=a.attr(this,f);return!c||(c=c.toLowerCase())&&!b.limitedTo[c]?b.defaultProp:c}}};break;default:p[c]={prop:{set:function(b){a.attr(this,f,b)},get:function(){var b=
46
+ a.attr(this,f);return null!=b?b:""}}}}p[f]||(p[f]={});p[f].attr={set:function(b){p[f].attr._supset.call(this,b);a(this).unbind(j).bind(j,k)},get:function(){return p[f].attr._supget.call(this)}};p[f].initAttr=!0;p[f].removeAttr={value:function(){a(this).unbind(j);p[f].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],p);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",
47
+ ""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}});b.defineNodeNameProperty("form","noValidate",{prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(b,c){var f;a("form",b).add(c.filter("form")).bind("invalid",a.noop);try{if(b==i&&!("form"in(i.activeElement||{})))(f=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&
48
+ f.offsetHeight&&f.offsetWidth&&f.focus()}catch(h){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var c="over"==b.cfg.forms.placeholderType,d=["textarea"];Modernizr.input.placeholder||d.push("input");var f=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},h=function(b,
49
+ d,h,j){!1===h&&(h=a.prop(b,"value"));if(!c&&"password"!=b.type){if(!h&&j&&f(b)){var i;a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){b.value=a.prop(b,"value");d.box.removeClass("placeholder-visible");clearTimeout(i);a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){f(b);clearTimeout(i);i=setTimeout(function(){f(b)},9)}).bind("blur.placeholderremove",
50
+ function(){clearTimeout(i);a(b).unbind(".placeholderremove")});return}b.value=h}else if(!h&&j){a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){d.box.removeClass("placeholder-visible");a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}d.box.removeClass("placeholder-visible")},j=function(b,d,f,j,k){if(!j&&(j=a.data(b,"placeHolder"),!j))return;a(b).unbind(".placeholderremove");
51
+ if("focus"==k||!k&&b===i.activeElement)("password"==b.type||c||a(b).hasClass("placeholder-visible"))&&h(b,j,"",!0);else if(!1===d&&(d=a.prop(b,"value")),d)h(b,j,d);else if(!1===f&&(f=a.attr(b,"placeholder")||""),f&&!d){d=j;!1===f&&(f=a.prop(b,"placeholder"));if(!c&&"password"!=b.type)b.value=f;d.box.addClass("placeholder-visible")}else h(b,j,d)},l=function(b){var b=a(b),c=b.prop("id"),d=!(!b.prop("title")&&!b.attr("aria-labeledby"));!d&&c&&(d=!!a('label[for="'+c+'"]',b[0].form)[0]);d||(c||(c=a.webshims.getID(b)),
52
+ d=!!a("label #"+c)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+c+'" class="placeholder-text"></label>')},m=function(){var b={text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var d=a.data(b,"placeHolder");if(d)return d;d=a.data(b,"placeHolder",{text:l(b)});a(b).bind("focus.placeholder blur.placeholder",function(a){j(this,!1,!1,d,a.type);d.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",
53
+ function(a){setTimeout(function(){j(b,!1,!1,d,a.type)},0)});if("password"==b.type||c){d.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+'" />').parent();d.text.insertAfter(b).bind("mousedown.placeholder",function(){j(this,!1,!1,d,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(c,f){var h=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,
54
+ "border"+f+"Width"),10)||0);d.text.css("padding"+f,h)});a.curCSS(b,"lineHeight");var f={width:a(b).width(),height:a(b).height()},i=a.curCSS(b,"float");a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(c,f){var h=a.curCSS(b,f);d.text.css(f)!=h&&d.text.css(f,h)});f.width&&f.height&&d.text.css(f);"none"!==i&&d.box.addClass("placeholder-box-"+i)}else f=function(c){a(b).hasClass("placeholder-visible")&&(h(b,d,""),c&&"submit"==c.type&&setTimeout(function(){c.isDefaultPrevented()&&j(b,
55
+ !1,!1,d)},9))},a.nodeName(d.text[0],"label")&&setTimeout(function(){d.text.hide()[a.browser.msie?"insertBefore":"insertAfter"](b)},9),a(k).bind("beforeunload",f),d.box=a(b),b.form&&a(b.form).submit(f);return d},update:function(c,d){if(b[a.prop(c,"type")]||a.nodeName(c,"textarea")){var f=m.create(c);f.text.text(d);j(c,!1,d,f)}}}}();a.webshims.publicMethods={pHolder:m};d.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);m.update(this,
56
+ a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});d.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var h=b.contentAttr(this,"placeholder");a.removeData(this,"cachedValidity");var g=f[c]._supset.call(this,d);h&&"value"in this&&j(this,d,h);return g},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
57
+ jQuery.webshims.ready("dom-support",function(a,b,k,i){(function(){if(!("value"in i.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var c=a.data(this,"outputShim");c||(c=k(this));c(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,c,j){"removeAttr"!=j&&(c=a.data(this,"outputShim"))&&c(b)});var k=function(f){if(!f.getAttribute("aria-live")){var f=a(f),c=(f.text()||"").trim(),
58
+ j=f.attr("id"),k=f.attr("for"),s=a('<input class="output-shim" type="text" disabled name="'+(f.attr("name")||"")+'" value="'+c+'" style="display: none !important;" />').insertAfter(f),q=s[0].form||i,m=function(a){s[0].value=a;a=s[0].value;f.text(a);b.contentAttr(f[0],"value",a)};f[0].defaultValue=c;b.contentAttr(f[0],"value",c);f.attr({"aria-live":"polite"});j&&(s.attr("id",j),f.attr("aria-labeldby",b.getID(a('label[for="'+j+'"]',q))));k&&(j=b.getID(f),k.split(" ").forEach(function(a){(a=i.getElementById(a))&&
59
+ a.setAttribute("aria-controls",j)}));f.data("outputShim",m);s.data("outputShim",m);return m}};b.addReady(function(b,c){a("output",b).add(c.filter("output")).each(function(){k(this)})})}})();(function(){var k={updateInput:1,input:1},f={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},c=function(a){var c,f=a.prop("value"),i=function(c){if(a){var g=a.prop("value");g!==f&&(f=g,(!c||!k[c.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},m,h=function(){clearTimeout(m);
60
+ m=setTimeout(i,9)},u=function(){a.unbind("focusout",u).unbind("keyup keypress keydown paste cut",h).unbind("input change updateInput",i);clearInterval(c);setTimeout(function(){i();a=null},1)};clearInterval(c);c=setInterval(i,99);h();a.bind("keyup keypress keydown paste cut",h).bind("focusout",u).bind("input updateInput change",i)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(i).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
61
+ "").toLowerCase()&&!f[b.target.type]&&c(a(b.target))})})();b.isReady("form-output",!0)});
@@ -0,0 +1,42 @@
1
+ (function(d,f,p){var l=f.audio&&f.video,r=!1;if(l)d=document.createElement("video"),f.videoBuffered="buffered"in d,r="loop"in d,p.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),f.videoBuffered||(p.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),p.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(d,f,p,t,x){var i=f.mediaelement,B=f.cfg.mediaelement,
2
+ y=function(e,c){var e=d(e),k={src:e.attr("src")||"",elem:e,srcProp:e.prop("src")};if(!k.src)return k;var j=e.attr("type");if(j)k.type=j,k.container=d.trim(j.split(";")[0]);else if(c||(c=e[0].nodeName.toLowerCase(),"source"==c&&(c=(e.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),j=i.getTypeForSrc(k.src,c))k.type=j,k.container=j,f.warn("you should always provide a proper mime-type using the source element. "+k.src+" detected as: "+j),d.nodeName(e[0],"source")&&e.attr("type",
3
+ j);if(j=e.attr("media"))k.media=j;return k},u=swfobject.hasFlashPlayerVersion("9.0.115"),z=function(){f.ready("mediaelement-swf",function(){if(!i.createSWF)f.modules["mediaelement-swf"].test=d.noop,f.reTest(["mediaelement-swf"],l)})};i.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8",
4
+ "m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};i.mimeTypes.source=d.extend({},i.mimeTypes.audio,i.mimeTypes.video);i.getTypeForSrc=function(e,c){if(-1!=e.indexOf("youtube.com/watch?")||-1!=e.indexOf("youtube.com/v/"))return"video/youtube";
5
+ var e=e.split("?")[0].split("."),e=e[e.length-1],f;d.each(i.mimeTypes[c],function(d,c){if(-1!==c.indexOf(e))return f=d,!1});return f};i.srces=function(e,c){e=d(e);if(c)e.removeAttr("src").removeAttr("type").find("source").remove(),d.isArray(c)||(c=[c]),c.forEach(function(d){var c=t.createElement("source");"string"==typeof d&&(d={src:d});c.setAttribute("src",d.src);d.type&&c.setAttribute("type",d.type);d.media&&c.setAttribute("media",d.media);e.append(c)});else{var c=[],f=e[0].nodeName.toLowerCase(),
6
+ j=y(e,f);j.src?c.push(j):d("source",e).each(function(){j=y(this,f);j.src&&c.push(j)});return c}};d.fn.loadMediaSrc=function(e,c){return this.each(function(){c!==x&&(d(this).removeAttr("poster"),c&&d.attr(this,"poster",c));i.srces(this,e);d(this).mediaLoad()})};i.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
7
+ i.canSwfPlaySrces=function(e,c){var f="";u&&(e=d(e),c=c||i.srces(e),d.each(c,function(d,e){if(e.container&&e.src&&-1!=i.swfMimeTypes.indexOf(e.container))return f=e,!1}));return f};var g={};i.canNativePlaySrces=function(e,c){var f="";if(l){var e=d(e),j=(e[0].nodeName||"").toLowerCase();if(!g[j])return f;c=c||i.srces(e);d.each(c,function(d,c){if(c.type&&g[j].prop._supvalue.call(e[0],c.type))return f=c,!1})}return f};i.setError=function(e,c){c||(c="can't play sources");d(e).pause().data("mediaerror",
8
+ c);f.warn("mediaelementError: "+c);setTimeout(function(){d(e).data("mediaerror")&&d(e).trigger("mediaerror")},1)};var o=function(){var d;return function(c,k,j){f.ready("mediaelement-swf",function(){i.createSWF?i.createSWF(c,k,j):d||(d=!0,z(),o(c,k,j))})}}(),h=function(d,c,f,j,g){f||!1!==f&&c&&"flash"==c.isActive?(f=i.canSwfPlaySrces(d,j))?o(d,f,c):g?i.setError(d,!1):h(d,c,!1,j,!0):(f=i.canNativePlaySrces(d,j))?c&&"flash"==c.isActive&&i.setActive(d,"html5",c):g?(i.setError(d,!1),c&&"flash"==c.isActive&&
9
+ i.setActive(d,"html5",c)):h(d,c,!0,j,!0)},C=/^(?:embed|object|datalist)$/i,v=function(e,c){var k=f.data(e,"mediaelementBase")||f.data(e,"mediaelementBase",{}),j=i.srces(e),g=e.parentNode;clearTimeout(k.loadTimer);d.data(e,"mediaerror",!1);if(j.length&&g&&!(1!=g.nodeType||C.test(g.nodeName||"")))c=c||f.data(e,"mediaelement"),h(e,c,B.preferFlash||x,j)};d(t).bind("ended",function(e){var c=f.data(e.target,"mediaelement");(!r||c&&"html5"!=c.isActive||d.prop(e.target,"loop"))&&setTimeout(function(){!d.prop(e.target,
10
+ "paused")&&d.prop(e.target,"loop")&&d(e.target).prop("currentTime",0).play()},1)});r||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(e){var c=f.defineNodeNameProperty(e,"load",{prop:{value:function(){var d=f.data(this,"mediaelement");v(this,d);l&&(!d||"html5"==d.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});g[e]=f.defineNodeNameProperty(e,"canPlayType",{prop:{value:function(c){var f="";l&&g[e].prop._supvalue&&(f=g[e].prop._supvalue.call(this,
11
+ c),"no"==f&&(f=""));!f&&u&&(c=d.trim((c||"").split(";")[0]),-1!=i.swfMimeTypes.indexOf(c)&&(f="maybe"));return f}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var d=this,c=f.data(d,"mediaelementBase")||f.data(d,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){v(d);d=null},9)}});l&&f.isReady("mediaelement-core",!0);f.addReady(function(e,c){d("video, audio",e).add(c.filter("video, audio")).each(function(){d.browser.msie&&8<f.browserVersion&&
12
+ d.prop(this,"paused")&&!d.prop(this,"readyState")&&d(this).is('audio[preload="none"][controls]:not([autoplay])')?d(this).prop("preload","metadata").mediaLoad():v(this);if(l){var c,e,i=this,g=function(){var c=d.prop(i,"buffered");if(c){for(var f="",e=0,j=c.length;e<j;e++)f+=c.end(e);return f}},h=function(){var c=g();c!=e&&(e=c,d(i).triggerHandler("progress"))};d(this).bind("play loadstart progress",function(d){"progress"==d.type&&(e=g());clearTimeout(c);c=setTimeout(h,999)}).bind("emptied stalled mediaerror abort suspend",
13
+ function(d){"emptied"==d.type&&(e=!1);clearTimeout(c)})}})});l&&u&&f.ready("WINDOWLOAD mediaelement",z)})})(jQuery,Modernizr,jQuery.webshims);
14
+ jQuery.webshims.register("mediaelement-swf",function(d,f,p,l,r,m){var q=f.mediaelement,F=p.swfobject,t=Modernizr.audio&&Modernizr.video,x=F.hasFlashPlayerVersion("9.0.115"),i=0,p={paused:!0,ended:!1,currentSrc:"",duration:p.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)f.error("buffered index size error");else return 0},end:function(a){if(a)f.error("buffered index size error");else return 0},length:0}},B=Object.keys(p),y={currentTime:0,volume:1,
15
+ muted:!1};Object.keys(y);var u=d.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:r},p,y),z=/^jwplayer-/,g=function(a){if(a=l.getElementById(a.replace(z,"")))return a=f.data(a,"mediaelement"),"flash"==a.isActive?a:null},o=function(a){return(a=f.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},h=function(a,b){b=d.Event(b);b.preventDefault();d.event.trigger(b,r,a)},C=m.playerPath||f.cfg.basePath+
16
+ "jwplayer/"+(m.playerName||"player.swf"),v=m.pluginPath||f.cfg.basePath+"swf/jwwebshims.swf";f.extendUNDEFProp(m.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});f.extendUNDEFProp(m.jwVars,{screencolor:"ffffffff"});f.extendUNDEFProp(m.jwAttrs,{bgcolor:"#000000"});var e=function(a,b){var c=a.duration;if(!(c&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=c}catch(f){}a.duration&&
17
+ a.duration!=a._lastDuration?(h(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&q.jwEvents.Model.META(d.extend({duration:a.duration},b),a),a._durationCalcs--):a._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,h(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,h(b._elem,"canplaythrough");b.readyState=a};q.jwEvents=
18
+ {View:{PLAY:function(a){var b=g(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;h(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(a){var b=g(a.id);if(b&&"percentage"in a&&b._bufferedEnd!=a.percentage){b.networkState=100==a.percentage?1:2;(isNaN(b.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&e(b,a);if(b.ended)b.ended=!1;if(b.duration){2<a.percentage&&20>a.percentage?c(3,b):20<a.percentage&&c(4,b);if(b._bufferedEnd&&
19
+ b._bufferedEnd>a.percentage)b._bufferedStart=b.currentTime||0;b._bufferedEnd=a.percentage;b.buffered.length=1;if(100==a.percentage)b.networkState=1,c(4,b);d.event.trigger("progress",r,b._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:g(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=
20
+ a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&h(b._elem,"durationchange");h(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=g(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&e(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;h(b._elem,"timeupdate")}},STATE:function(a){var b=g(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);h(b._elem,"waiting");
21
+ break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||e(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;h(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,h(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,h(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=g(a.id);b&&q.setError(b._elem,a.message)},SEEK:function(a){var b=g(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(d){}if(b.currentTime!=
22
+ a.position)b.currentTime=a.position,h(b._elem,"timeupdate")}},VOLUME:function(a){var b=g(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,h(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=g(a.id);if(b&&b.muted!=a.state)b.muted=a.state,h(b._elem,"volumechange")}}}};var k=function(a){d.each(q.jwEvents,function(b,c){d.each(c,function(d){a.jwapi["add"+b+"Listener"](d,"jQuery.webshims.mediaelement.jwEvents."+b+"."+d)})})},j=function(a){a&&(a._ppFlag===r&&d.prop(a._elem,"autoplay")||
23
+ !a.paused)&&setTimeout(function(){if("flash"==a.isActive&&(a._ppFlag===r||!a.paused))try{d(a._elem).play()}catch(b){}},1)},J=function(a){if(a&&"video"==a._elemNodeName){var b,c,f,e,s,n,i,j,g=function(g,h){if(h&&g&&!(1>h||1>g||"flash"!=a.isActive))if(b&&(b.remove(),b=!1),e=g,s=h,clearTimeout(i),c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f){n=n||d(a._elem).getShadowElement();var k;c&&!f?(k=n.height(),g*=k/h,h=k):!c&&f&&(k=n.width(),h*=k/g,g=k);j=!0;setTimeout(function(){j=!1},9);
24
+ n.css({width:g,height:h})}},h=function(){if(!("flash"!=a.isActive||d.prop(a._elem,"readyState")&&d.prop(this,"videoWidth"))){var e=d.prop(a._elem,"poster");if(e&&(c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f))b&&(b.remove(),b=!1),b=d('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),b.bind("load error alreadycomplete",function(){clearTimeout(i);var a=this,c=a.naturalWidth||a.width||a.offsetWidth,f=a.naturalHeight||a.height||
25
+ a.offsetHeight;f&&c?(g(c,f),a=null):setTimeout(function(){c=a.naturalWidth||a.width||a.offsetWidth;f=a.naturalHeight||a.height||a.offsetHeight;g(c,f);b&&(b.remove(),b=!1);a=null},9);d(this).unbind()}).prop("src",e).appendTo("body").each(function(){this.complete||this.error?d(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){d(a._elem).triggerHandler("error")},9999))})}};d(a._elem).bind("loadedmetadata",function(){g(d.prop(this,"videoWidth"),d.prop(this,"videoHeight"))}).bind("emptied",
26
+ h).bind("swfstageresize",function(){j||g(e,s)}).bind("emptied",function(){e=void 0;s=void 0}).triggerHandler("swfstageresize");h();d.prop(a._elem,"readyState")&&g(d.prop(a._elem,"videoWidth"),d.prop(a._elem,"videoHeight"))}};q.playerResize=function(a){a&&(a=l.getElementById(a.replace(z,"")))&&d(a).triggerHandler("swfstageresize")};d(l).bind("emptied",function(a){a=o(a.target);j(a)});var A;q.jwPlayerReady=function(a){var b=g(a.id);if(b&&b.jwapi){clearTimeout(A);b.jwData=a;b.shadowElem.removeClass("flashblocker-assumed");
27
+ b.wasSwfReady?d(b._elem).mediaLoad():(a=parseFloat(a.version,10),(5.6>a||6<=a)&&f.warn("mediaelement-swf is only testet with jwplayer 5.6+"),d.prop(b._elem,"volume",b.volume),d.prop(b._elem,"muted",b.muted),k(b));b.wasSwfReady=!0;var a=b.actionQueue.length,c=0,e;if(a&&"flash"==b.isActive)for(;b.actionQueue.length&&a>c;)c++,e=b.actionQueue.shift(),b.jwapi[e.fn].apply(b.jwapi,e.args);if(b.actionQueue.length)b.actionQueue=[];j(b)}};var D=d.noop;if(t){var K={play:1,playing:1},G="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
28
+ H=G.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(a){var b=f.data(a.target,"mediaelement");b&&(a.originalEvent&&a.originalEvent.type===a.type)==("flash"==b.activating)&&(a.stopImmediatePropagation(),K[a.type]&&b.isActive!=b.activating&&d(a.target).pause())},D=function(a){d(a).unbind(H).bind(H,L);G.forEach(function(b){f.moveToFirstEvent(a,b)})};D(l)}q.setActive=function(a,b,c){c||(c=f.data(a,"mediaelement"));if(c&&c.isActive!=b){"html5"!=b&&"flash"!=b&&f.warn("wrong type for mediaelement activating: "+
29
+ b);var e=f.data(a,"shadowData");c.activating=b;d(a).pause();c.isActive=b;"flash"==b?(e.shadowElement=e.shadowFocusElement=c.shadowElem[0],d(a).hide().getShadowElement().show()):(d(a).show().getShadowElement().hide(),e.shadowElement=e.shadowFocusElement=!1)}};var M=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var f=b,e=d.networkState;
30
+ for(c(0,d);--f;)delete d[a[f]];d.actionQueue=[];d.buffered.length=0;e&&h(d._elem,"emptied")}}}(),I=function(a,b){var c=a._elem,f=a.shadowElem;d(c)[b?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!b?f.css({width:0,height:0}):f.css({width:c.style.width||d(c).width(),height:c.style.height||d(c).height()})};q.createSWF=function(a,b,c){if(x){1>i?i=1:i++;var e=d.extend({},m.jwVars,{image:d.prop(a,"poster")||"",file:b.srcProp}),g=d(a).data("jwvars")||{};if(c&&c.swfCreated)q.setActive(a,
31
+ "flash",c),M(c),c.currentSrc=b.srcProp,d.extend(e,g),m.changeJW(e,a,b,c,"load"),w(a,"sendEvent",["LOAD",e]);else{var s=d.prop(a,"controls"),n="jwplayer-"+f.getID(a),j=d.extend({},m.jwParams,d(a).data("jwparams")),h=a.nodeName.toLowerCase(),k=d.extend({},m.jwAttrs,{name:n,id:n},d(a).data("jwattrs")),l=d('<div class="polyfill-'+h+' polyfill-mediaelement" id="wrapper-'+n+'"><div id="'+n+'"></div>').css({position:"relative",overflow:"hidden"}),c=f.data(a,"mediaelement",f.objectCreate(u,{actionQueue:{value:[]},
32
+ shadowElem:{value:l},_elemNodeName:{value:h},_elem:{value:a},currentSrc:{value:b.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return(c.duration-c._bufferedStart)*c._bufferedEnd/100+c._bufferedStart},length:0}}}));I(c,s);l.insertBefore(a);t&&d.extend(c,{volume:d.prop(a,"volume"),muted:d.prop(a,"muted")});d.extend(e,{id:n,
33
+ controlbar:s?m.jwVars.controlbar||("video"==h?"over":"bottom"):"video"==h?"none":"bottom",icons:""+(s&&"video"==h)},g,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});e.plugins=e.plugins?e.plugins+(","+v):v;f.addShadowDom(a,l);D(a);q.setActive(a,"flash",c);m.changeJW(e,a,b,c,"embed");J(c);F.embedSWF(C,n,"100%","100%","9.0.0",!1,e,j,k,function(b){if(b.success)c.jwapi=b.ref,s||d(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&l[0].parentNode||
34
+ "none"==b.ref.style.display)l.addClass("flashblocker-assumed"),d(a).trigger("flashblocker"),f.warn("flashblocker assumed");d(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),A||(clearTimeout(A),A=setTimeout(function(){var a=d(b.ref);1<a[0].offsetWidth&&1<a[0].offsetHeight&&0===location.protocol.indexOf("file:")?f.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
35
+ (2>a[0].offsetWidth||2>a[0].offsetHeight)&&f.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){d(a).mediaLoad()},1)};var w=function(a,b,d,c){return(c=c||o(a))?(c.jwapi&&c.jwapi[b]?c.jwapi[b].apply(c.jwapi,d||[]):(c.actionQueue.push({fn:b,args:d}),10<c.actionQueue.length&&setTimeout(function(){5<c.actionQueue.length&&c.actionQueue.shift()},99)),c):!1};["audio","video"].forEach(function(a){var b={},c,e=function(d){"audio"==a&&
36
+ ("videoHeight"==d||"videoWidth"==d)||(b[d]={get:function(){var a=o(this);return a?a[d]:t&&c[d].prop._supget?c[d].prop._supget.apply(this):u[d]},writeable:!1})},g=function(a,c){e(a);delete b[a].writeable;b[a].set=c};g("volume",function(a){var b=o(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&f.error("volume greater or less than allowed "+a/100);w(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
37
+ a,h(b._elem,"volumechange")}}else if(c.volume.prop._supset)return c.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=o(this);if(b){if(a=!!a,w(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,h(b._elem,"volumechange")}else if(c.muted.prop._supset)return c.muted.prop._supset.apply(this,arguments)});g("currentTime",function(a){var b=o(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
38
+ !0;b.stopPlayPause=!1},50);w(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,h(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(c.currentTime.prop._supset)return c.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){b[a]={value:function(){var b=o(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),w(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
39
+ !0,b.paused!=("play"!=a)))b.paused="play"!=a,h(b._elem,a)},1);else if(c[a].prop._supvalue)return c[a].prop._supvalue.apply(this,arguments)}}});B.forEach(e);f.onNodeNamesPropertyModify(a,"controls",function(b,c){var e=o(this);d(this)[c?"addClass":"removeClass"]("webshims-controls");if(e){try{w(this,c?"showControls":"hideControls",[a],e)}catch(g){f.warn("you need to generate a crossdomain.xml")}"audio"==a&&I(e,c);d(e.jwapi).attr("tabindex",c?"0":"-1")}});c=f.defineNodeNameProperties(a,b,"prop")});if(x){var N=
40
+ d.cleanData,O=d.browser.msie&&9>f.browserVersion,P={object:1,OBJECT:1};d.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&i)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){i--;try{a[b].sendEvent("play",!1)}catch(e){}}if(O)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return N.apply(this,arguments)}}if(!t){var E=l.createElement("a");["poster","src"].forEach(function(a){f.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{prop:{get:function(){var b=
41
+ this.getAttribute(a);if(null==b)return"";E.setAttribute("href",b+"");return!d.support.hrefNormalized?E.getAttribute("href",4):E.href},set:function(b){d.attr(this,a,b)}}})});["autoplay","controls"].forEach(function(a){f.defineNodeNamesBooleanProperty(["audio","video"],a)});f.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},
42
+ NETWORK_NO_SOURCE:{value:3}},"prop")}});
@@ -0,0 +1,40 @@
1
+ jQuery.webshims.register("form-message",function(a,b,n,k,p,c){var d=b.validityMessages,n=c.overrideMessages||c.customMessages?["customValidationMessage"]:[];d.en=d.en||d["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
2
+ stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){d.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){d.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){d.en.rangeOverflow[a]=
3
+ "Value must be at or before {%max}."});d["en-US"]=d["en-US"]||d.en;d[""]=d[""]||d["en-US"];d.de=d.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
4
+ rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
5
+ checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){d.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){d.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){d.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var g=
6
+ d[""];b.createValidationMessage=function(b,d){var c=g[d];c&&"string"!==typeof c&&(c=c[a.prop(b,"type")]||c[(b.nodeName||"").toLowerCase()]||c.defaultMessage);c&&"value,min,max,title,maxlength,label".split(",").forEach(function(d){if(-1!==c.indexOf("{%"+d)){var i=("label"==d?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,d))||"";c=c.replace("{%"+d+"}",i);"value"==d&&(c=c.replace("{%valueLen}",i.length))}});return c||""};(b.bugs.validationMessage||!Modernizr.formvalidation)&&
7
+ n.push("validationMessage");b.activeLang({langObj:d,module:"form-core",callback:function(a){g=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var d=a("select",this);if(d[0]&&d[0].options&&d[0].options.length)b=d[0].options}return b}}});n.forEach(function(d){b.defineNodeNamesProperty(["fieldset","output","button"],
8
+ d,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(c){var g=b.defineNodeNameProperty(c,d,{prop:{get:function(){var d=this,c="";if(!a.prop(d,"willValidate"))return c;var k=a.prop(d,"validity")||{valid:1};if(k.valid||(c=b.getContentValidationMessage(d,k)))return c;if(k.customError&&d.nodeName&&(c=Modernizr.formvalidation&&g.prop._supget?g.prop._supget.call(d):b.data(d,"customvalidationMessage")))return c;a.each(k,function(a,f){if("valid"!=a&&f&&(c=b.createValidationMessage(d,
9
+ a)))return!1});return c||""},writeable:!1}})})})});
10
+ Modernizr.formvalidation||jQuery.webshims.register("form-extend",function(a,b,n,k){b.inputTypes=b.inputTypes||{};var p=b.cfg.forms,c,d=b.inputTypes,g={radio:1,checkbox:1};b.addInputType=function(a,b){d[a]=b};var r={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},m={valueMissing:function(f,b,h){if(!f.attr("required"))return!1;var d=!1;if(!("type"in h))h.type=(f[0].getAttribute("type")||f[0].type||"").toLowerCase();
11
+ if("select"==h.nodeName){if(b=!b)if(!(b=0>f[0].selectedIndex))f=f[0],b="select-one"==f.type&&2>f.size?!!a("> option:first-child",f).prop("selected"):!1;f=b}else f=g[h.type]?"checkbox"==h.type?!f.is(":checked"):!a(f[0].form&&f[0].name?f[0].form[f[0].name]:[]).filter(":checked")[0]:!b;return f},tooLong:function(){return!1},typeMismatch:function(a,b,h){if(""===b||"select"==h.nodeName)return!1;var c=!1;if(!("type"in h))h.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();d[h.type]&&d[h.type].mismatch&&
12
+ (c=d[h.type].mismatch(b,a));return c},patternMismatch:function(a,d,h){if(""===d||"select"==h.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(c){b.error('invalid pattern value: "'+a+'" | '+c),a=!1}return!a?!1:!a.test(d)}};b.addValidityRule=function(a,b){m[a]=b};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var f=this.form||this;a.data(f,"invalidEventShim")||(a(f).data("invalidEventShim",!0).bind("submit",
13
+ a.event.special.invalid.handler),b.moveToFirstEvent(f,"submit"))},teardown:a.noop,handler:function(f){if(!("submit"!=f.type||f.testedValidity||!f.originalEvent||!a.nodeName(f.target,"form")||a.prop(f.target,"noValidate"))){c=!0;f.testedValidity=!0;if(!a(f.target).checkValidity())return f.stopImmediatePropagation(),c=!1;c=!1}}};a(k).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var s=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,
14
+ "form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return s.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=p.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});b.addInputType("url",{mismatch:function(){var a=p.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
15
+ return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},r)}}},"prop");var l=function(f){var d,h=a.prop(f,"validity");if(h)a.data(f,"cachedValidity",
16
+ h);else return!0;if(!h.valid){d=a.Event("invalid");var g=a(f).trigger(d);if(c&&!l.unhandledInvalids&&!d.isDefaultPrevented())b.validityAlert.showFor(g),l.unhandledInvalids=!0}a.removeData(f,"cachedValidity");return h.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var f=!0,d=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});l.unhandledInvalids=!1;for(var h=0,c=d.length;h<c;h++)l(d[h])||
17
+ (f=!1);return f}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){l.unhandledInvalids=!1;return l(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(f){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+f)}},willValidate:{set:a.noop,get:function(){var f={button:1,reset:1,hidden:1,image:1};return function(){var b=a(this).getNativeElement()[0];return!(b.disabled||b.readOnly||f[b.type]||b.form&&a.prop(b.form,"noValidate"))}}()},
18
+ validity:{set:a.noop,get:function(){var f=a(this).getNativeElement(),d=f[0],h=a.data(d,"cachedValidity");if(h)return h;h=a.extend({},r);if(!a.prop(d,"willValidate")||"submit"==d.type)return h;var c=f.val(),g={nodeName:d.nodeName.toLowerCase()};h.customError=!!b.data(d,"customvalidationMessage");if(h.customError)h.valid=!1;a.each(m,function(a,b){if(b(f,c,g))h[a]=!0,h.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",h.valid?"false":"true");d=f=null;return h}}},"prop");b.defineNodeNamesBooleanProperty(["input",
19
+ "textarea","select"],"required",{set:function(f){a(this).getShadowFocusElement().attr("aria-required",!!f+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);var i=function(){var f,b=0,d=a([]),c=1E9,g=function(){var a=d.prop("value"),f=a.length;f>b&&f>c&&(f=Math.max(b,c),d.prop("value",a.substr(0,f)));b=f},i=function(){clearTimeout(f);d.unbind(".maxlengthconstraint")};return function(k,o){i();if(-1<o)c=o,b=a.prop(k,"value").length,d=a(k),d.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",
20
+ function(){setTimeout(g,0)}),d.bind("keyup.maxlengthconstraint",g),d.bind("blur.maxlengthconstraint",i),f=setInterval(g,200)}}();i.update=function(f,b){f===k.activeElement&&(null==b&&(b=a.prop(f,"maxlength")),i(e.target,b))};a(k).bind("focusin",function(f){var b;"TEXTAREA"==f.target.nodeName&&-1<(b=a.prop(f.target,"maxlength"))&&i(f.target,b)});b.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);i.update(this)},get:function(){var a=this.getAttribute("maxlength");
21
+ return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);i.update(this,a)}else this.setAttribute("maxlength","0"),i.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}});
22
+ var u={submit:1,button:1,image:1},j={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var d="form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),
23
+ c="form"+b.name,g=b.name,i="click.webshimssubmittermutate"+g,l=function(){if("form"in this&&u[this.type]){var o=a.prop(this,"form");if(o){var t=a.attr(this,c);if(null!=t&&(!b.limitedTo||t.toLowerCase()===a.prop(this,d))){var q=a.attr(o,g);a.attr(o,g,t);setTimeout(function(){if(null!=q)a.attr(o,g,q);else try{a(o).removeAttr(g)}catch(b){o.removeAttribute(g)}},9)}}}};switch(b.proptype){case "url":var m=k.createElement("form");j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var b=a.attr(this,
24
+ c);if(null==b)return"";m.setAttribute("action",b);return m.action}}};break;case "boolean":j[d]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var d=a.attr(this,c);return!d||(d=d.toLowerCase())&&!b.limitedTo[d]?b.defaultProp:d}}};break;default:j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var b=
25
+ a.attr(this,c);return null!=b?b:""}}}}j[c]||(j[c]={});j[c].attr={set:function(b){j[c].attr._supset.call(this,b);a(this).unbind(i).bind(i,l)},get:function(){return j[c].attr._supget.call(this)}};j[c].initAttr=!0;j[c].removeAttr={value:function(){a(this).unbind(i);j[c].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],j);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",
26
+ ""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}});b.defineNodeNameProperty("form","noValidate",{prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(b,d){var c;a("form",b).add(d.filter("form")).bind("invalid",a.noop);try{if(b==k&&!("form"in(k.activeElement||{})))(c=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&
27
+ c.offsetHeight&&c.offsetWidth&&c.focus()}catch(g){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var d="over"==b.cfg.forms.placeholderType,c=["textarea"];Modernizr.input.placeholder||c.push("input");var g=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},i=function(b,
28
+ c,q,i){!1===q&&(q=a.prop(b,"value"));if(!d&&"password"!=b.type){if(!q&&i&&g(b)){var j;a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){b.value=a.prop(b,"value");c.box.removeClass("placeholder-visible");clearTimeout(j);a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){g(b);clearTimeout(j);j=setTimeout(function(){g(b)},9)}).bind("blur.placeholderremove",
29
+ function(){clearTimeout(j);a(b).unbind(".placeholderremove")});return}b.value=q}else if(!q&&i){a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){c.box.removeClass("placeholder-visible");a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}c.box.removeClass("placeholder-visible")},j=function(b,c,g,h,j){if(!h&&(h=a.data(b,"placeHolder"),!h))return;a(b).unbind(".placeholderremove");
30
+ if("focus"==j||!j&&b===k.activeElement)("password"==b.type||d||a(b).hasClass("placeholder-visible"))&&i(b,h,"",!0);else if(!1===c&&(c=a.prop(b,"value")),c)i(b,h,c);else if(!1===g&&(g=a.attr(b,"placeholder")||""),g&&!c){c=h;!1===g&&(g=a.prop(b,"placeholder"));if(!d&&"password"!=b.type)b.value=g;c.box.addClass("placeholder-visible")}else i(b,h,c)},l=function(b){var b=a(b),c=b.prop("id"),d=!(!b.prop("title")&&!b.attr("aria-labeledby"));!d&&c&&(d=!!a('label[for="'+c+'"]',b[0].form)[0]);d||(c||(c=a.webshims.getID(b)),
31
+ d=!!a("label #"+c)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+c+'" class="placeholder-text"></label>')},m=function(){var b={text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var c=a.data(b,"placeHolder");if(c)return c;c=a.data(b,"placeHolder",{text:l(b)});a(b).bind("focus.placeholder blur.placeholder",function(a){j(this,!1,!1,c,a.type);c.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",
32
+ function(a){setTimeout(function(){j(b,!1,!1,c,a.type)},0)});if("password"==b.type||d){c.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+'" />').parent();c.text.insertAfter(b).bind("mousedown.placeholder",function(){j(this,!1,!1,c,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(d,f){var g=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,
33
+ "border"+f+"Width"),10)||0);c.text.css("padding"+f,g)});a.curCSS(b,"lineHeight");var g={width:a(b).width(),height:a(b).height()},h=a.curCSS(b,"float");a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(d,f){var g=a.curCSS(b,f);c.text.css(f)!=g&&c.text.css(f,g)});g.width&&g.height&&c.text.css(g);"none"!==h&&c.box.addClass("placeholder-box-"+h)}else g=function(d){a(b).hasClass("placeholder-visible")&&(i(b,c,""),d&&"submit"==d.type&&setTimeout(function(){d.isDefaultPrevented()&&j(b,
34
+ !1,!1,c)},9))},a.nodeName(c.text[0],"label")&&setTimeout(function(){c.text.hide()[a.browser.msie?"insertBefore":"insertAfter"](b)},9),a(n).bind("beforeunload",g),c.box=a(b),b.form&&a(b.form).submit(g);return c},update:function(c,d){if(b[a.prop(c,"type")]||a.nodeName(c,"textarea")){var f=m.create(c);f.text.text(d);j(c,!1,d,f)}}}}();a.webshims.publicMethods={pHolder:m};c.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);m.update(this,
35
+ a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});c.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var g=b.contentAttr(this,"placeholder");a.removeData(this,"cachedValidity");var h=f[c]._supset.call(this,d);g&&"value"in this&&j(this,d,g);return h},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
36
+ jQuery.webshims.ready("dom-support",function(a,b,n,k){(function(){if(!("value"in k.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var d=a.data(this,"outputShim");d||(d=p(this));d(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,d,g){"removeAttr"!=g&&(d=a.data(this,"outputShim"))&&d(b)});var p=function(c){if(!c.getAttribute("aria-live")){var c=a(c),d=(c.text()||"").trim(),
37
+ g=c.attr("id"),r=c.attr("for"),m=a('<input class="output-shim" type="text" disabled name="'+(c.attr("name")||"")+'" value="'+d+'" style="display: none !important;" />').insertAfter(c),s=m[0].form||k,l=function(a){m[0].value=a;a=m[0].value;c.text(a);b.contentAttr(c[0],"value",a)};c[0].defaultValue=d;b.contentAttr(c[0],"value",d);c.attr({"aria-live":"polite"});g&&(m.attr("id",g),c.attr("aria-labeldby",b.getID(a('label[for="'+g+'"]',s))));r&&(g=b.getID(c),r.split(" ").forEach(function(a){(a=k.getElementById(a))&&
38
+ a.setAttribute("aria-controls",g)}));c.data("outputShim",l);m.data("outputShim",l);return l}};b.addReady(function(b,d){a("output",b).add(d.filter("output")).each(function(){p(this)})})}})();(function(){var p={updateInput:1,input:1},c={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},d=function(a){var c,d=a.prop("value"),k=function(c){if(a){var f=a.prop("value");f!==d&&(d=f,(!c||!p[c.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},l,i=function(){clearTimeout(l);
39
+ l=setTimeout(k,9)},n=function(){a.unbind("focusout",n).unbind("keyup keypress keydown paste cut",i).unbind("input change updateInput",k);clearInterval(c);setTimeout(function(){k();a=null},1)};clearInterval(c);c=setInterval(k,99);i();a.bind("keyup keypress keydown paste cut",i).bind("focusout",n).bind("input updateInput change",k)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(k).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
40
+ "").toLowerCase()&&!c[b.target.type]&&d(a(b.target))})})();b.isReady("form-output",!0)});
@@ -0,0 +1,56 @@
1
+ (function(){var a=Function.prototype.call,e=Object.prototype,j=Array.prototype.slice,i,g;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var m=j.call(arguments,1),c=function(){if(this instanceof c){var b=function(){};b.prototype=f.prototype;var b=new b,g=f.apply(b,m.concat(j.call(arguments)));return null!==g&&Object(g)===g?g:b}return f.apply(a,m.concat(j.call(arguments)))};return c};g=a.bind(e.toString);i=a.bind(e.hasOwnProperty);
2
+ if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==g(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,f){var m=q(this),c=0,b=m.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(;c<b;)c in m&&a.call(f,m[c],c,m),c++};if(!Array.prototype.map)Array.prototype.map=function(a,f){var b=q(this),c=b.length>>>0,e=Array(c);if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<c;h++)h in b&&(e[h]=a.call(f,b[h],h,b));return e};if(!Array.prototype.filter)Array.prototype.filter=
3
+ function(a,b){var f=q(this),c=f.length>>>0,e=[];if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<c;h++)h in f&&a.call(b,f[h],h,f)&&e.push(f[h]);return e};if(!Array.prototype.every)Array.prototype.every=function(a,f){var b=q(this),c=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(var e=0;e<c;e++)if(e in b&&!a.call(f,b[e],e,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,f){var b=q(this),c=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;
4
+ for(var e=0;e<c;e++)if(e in b&&a.call(f,b[e],e,b))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=q(this),f=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!f&&1==arguments.length)throw new TypeError;var c=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(c in b){e=b[c++];break}if(++c>=f)throw new TypeError;}while(1)}for(;c<f;c++)c in b&&(e=a.call(void 0,e,b[c],c,b));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
5
+ q(this),f=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!f&&1==arguments.length)throw new TypeError;var c,f=f-1;if(2<=arguments.length)c=arguments[1];else{do{if(f in b){c=b[f--];break}if(0>--f)throw new TypeError;}while(1)}do f in this&&(c=a.call(void 0,c,b[f],f,b));while(f--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=q(this),f=b.length>>>0;if(!f)return-1;var c=0;1<arguments.length&&(c=v(arguments[1]));for(c=0<=c?c:f-Math.abs(c);c<f;c++)if(c in
6
+ b&&b[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(b){var a=q(this),f=a.length>>>0;if(!f)return-1;var c=f-1;1<arguments.length&&(c=v(arguments[1]));for(c=0<=c?c:f-Math.abs(c);0<=c;c--)if(c in a&&b===a[c])return c;return-1};if(!Object.keys){var f=!0,b="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),y=b.length,k;for(k in{toString:null})f=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
+ typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var e=[],g;for(g in a)i(a,g)&&e.push(g);if(f)for(g=0;g<y;g++){var c=b[g];i(a,c)&&e.push(c)}return e}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,f,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(f=a.length;f--;)b=a[f],10>b&&(a[f]="0"+b);return a.slice(0,3).join("-")+"T"+
8
+ a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||a.trim()){var a="["+a+"]",z=RegExp("^"+a+a+"*"),h=
9
+ RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(z,"").replace(h,"")}}var v=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},t="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return t&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
+ (function(a,e){var j=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);j&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});j=!!a.bar}catch(f){j=!1}a=null}();Modernizr.objectAccessor=!(!(j||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=e.browserVersion));Modernizr.advancedObjectProperties=j;
11
+ if(!j||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var i=Function.prototype.call.bind(Object.prototype.hasOwnProperty);e.objectCreate=function(a,f,b,i){var k;k=function(){};k.prototype=a;k=new k;if(!i&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;f&&e.defineProperties(k,f);if(b)k.options=jQuery.extend(!0,{},k.options||{},b),b=k.options;k._create&&jQuery.isFunction(k._create)&&k._create(b);return k};e.defineProperties=function(a,
12
+ f){for(var b in f)i(f,b)&&e.defineProperty(a,b,f[b]);return a};e.defineProperty=function(a,f,b){if("object"!=typeof b||null===b)return a;if(i(b,"value"))return a[f]=b.value,a;a.__defineGetter__&&("function"==typeof b.get&&a.__defineGetter__(f,b.get),"function"==typeof b.set&&a.__defineSetter__(f,b.set));return a};e.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};e.getOwnPropertyDescriptor=function(a,f){if("object"!==
13
+ typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var b;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return b=Object.getOwnPropertyDescriptor(a,f)}catch(e){}b={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(f),j=a.__lookupSetter__&&a.__lookupSetter__(f);if(!k&&!j){if(!i(a,f))return;b.value=a[f];return b}delete b.writable;delete b.value;b.get=b.set=void 0;if(k)b.get=
14
+ k;if(j)b.set=j;return b}}})(jQuery,jQuery.webshims);
15
+ (function(a,e,j){var i=e.audio&&e.video,g=!1;if(i)a=document.createElement("video"),e.videoBuffered="buffered"in a,g="loop"in a,j.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),e.videoBuffered||(j.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:e.videoBuffered,d:["dom-support"]}),j.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,e,k,j){var h=b.mediaelement,v=b.cfg.mediaelement,
16
+ t=function(o,e){var o=a(o),c={src:o.attr("src")||"",elem:o,srcProp:o.prop("src")};if(!c.src)return c;var n=o.attr("type");if(n)c.type=n,c.container=a.trim(n.split(";")[0]);else if(e||(e=o[0].nodeName.toLowerCase(),"source"==e&&(e=(o.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),n=h.getTypeForSrc(c.src,e))c.type=n,c.container=n,b.warn("you should always provide a proper mime-type using the source element. "+c.src+" detected as: "+n),a.nodeName(o[0],"source")&&o.attr("type",
17
+ n);if(n=o.attr("media"))c.media=n;return c},q=swfobject.hasFlashPlayerVersion("9.0.115"),x=function(){b.ready("mediaelement-swf",function(){if(!h.createSWF)b.modules["mediaelement-swf"].test=a.noop,b.reTest(["mediaelement-swf"],i)})};h.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8",
18
+ "m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};h.mimeTypes.source=a.extend({},h.mimeTypes.audio,h.mimeTypes.video);h.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
19
+ var b=b.split("?")[0].split("."),b=b[b.length-1],e;a.each(h.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};h.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(c)||(c=[c]),c.forEach(function(a){var c=k.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var c=[],e=b[0].nodeName.toLowerCase(),
20
+ h=t(b,e);h.src?c.push(h):a("source",b).each(function(){h=t(this,e);h.src&&c.push(h)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==j&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));h.srces(this,b);a(this).mediaLoad()})};h.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
21
+ h.canSwfPlaySrces=function(b,c){var e="";q&&(b=a(b),c=c||h.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=h.swfMimeTypes.indexOf(b.container))return e=b,!1}));return e};var p={};h.canNativePlaySrces=function(b,c){var e="";if(i){var b=a(b),n=(b[0].nodeName||"").toLowerCase();if(!p[n])return e;c=c||h.srces(b);a.each(c,function(a,c){if(c.type&&p[n].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};h.setError=function(c,e){e||(e="can't play sources");a(c).pause().data("mediaerror",
22
+ e);b.warn("mediaelementError: "+e);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var m=function(){var a;return function(c,e,f){b.ready("mediaelement-swf",function(){h.createSWF?h.createSWF(c,e,f):a||(a=!0,x(),m(c,e,f))})}}(),c=function(a,b,e,f,g){e||!1!==e&&b&&"flash"==b.isActive?(e=h.canSwfPlaySrces(a,f))?m(a,e,b):g?h.setError(a,!1):c(a,b,!1,f,!0):(e=h.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&h.setActive(a,"html5",b):g?(h.setError(a,!1),b&&"flash"==b.isActive&&
23
+ h.setActive(a,"html5",b)):c(a,b,!0,f,!0)},C=/^(?:embed|object|datalist)$/i,u=function(e,g){var k=b.data(e,"mediaelementBase")||b.data(e,"mediaelementBase",{}),n=h.srces(e),i=e.parentNode;clearTimeout(k.loadTimer);a.data(e,"mediaerror",!1);if(n.length&&i&&!(1!=i.nodeType||C.test(i.nodeName||"")))g=g||b.data(e,"mediaelement"),c(e,g,v.preferFlash||j,n)};a(k).bind("ended",function(c){var e=b.data(c.target,"mediaelement");(!g||e&&"html5"!=e.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,
24
+ "paused")&&a.prop(c.target,"loop")&&a(c.target).prop("currentTime",0).play()},1)});g||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(c){var e=b.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=b.data(this,"mediaelement");u(this,a);i&&(!a||"html5"==a.isActive)&&e.prop._supvalue&&e.prop._supvalue.apply(this,arguments)}}});p[c]=b.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(b){var e="";i&&p[c].prop._supvalue&&(e=p[c].prop._supvalue.call(this,
25
+ b),"no"==e&&(e=""));!e&&q&&(b=a.trim((b||"").split(";")[0]),-1!=h.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){u(a);a=null},9)}});i&&b.isReady("mediaelement-core",!0);b.addReady(function(c,e){a("video, audio",c).add(e.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&
26
+ a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():u(this);if(i){var c,e,h=this,g=function(){var b=a.prop(h,"buffered");if(b){for(var c="",e=0,g=b.length;e<g;e++)c+=b.end(e);return c}},k=function(){var b=g();b!=e&&(e=b,a(h).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=g());clearTimeout(c);c=setTimeout(k,999)}).bind("emptied stalled mediaerror abort suspend",
27
+ function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})});i&&q&&b.ready("WINDOWLOAD mediaelement",x)})})(jQuery,Modernizr,jQuery.webshims);
28
+ jQuery.webshims.register("mediaelement-swf",function(a,e,j,i,g,f){var b=e.mediaelement,y=j.swfobject,k=Modernizr.audio&&Modernizr.video,z=y.hasFlashPlayerVersion("9.0.115"),h=0,j={paused:!0,ended:!1,currentSrc:"",duration:j.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)e.error("buffered index size error");else return 0},end:function(a){if(a)e.error("buffered index size error");else return 0},length:0}},v=Object.keys(j),t={currentTime:0,volume:1,
29
+ muted:!1};Object.keys(t);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},j,t),x=/^jwplayer-/,p=function(a){if(a=i.getElementById(a.replace(x,"")))return a=e.data(a,"mediaelement"),"flash"==a.isActive?a:null},m=function(a){return(a=e.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},c=function(l,d){d=a.Event(d);d.preventDefault();a.event.trigger(d,g,l)},C=f.playerPath||e.cfg.basePath+
30
+ "jwplayer/"+(f.playerName||"player.swf"),u=f.pluginPath||e.cfg.basePath+"swf/jwwebshims.swf";e.extendUNDEFProp(f.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});e.extendUNDEFProp(f.jwVars,{screencolor:"ffffffff"});e.extendUNDEFProp(f.jwAttrs,{bgcolor:"#000000"});var o=function(l,d){var e=l.duration;if(!(e&&0<l._durationCalcs)){try{if(l.duration=l.jwapi.getPlaylist()[0].duration,!l.duration||0>=l.duration||l.duration===l._lastDuration)l.duration=e}catch(f){}l.duration&&
31
+ l.duration!=l._lastDuration?(c(l._elem,"durationchange"),("audio"==l._elemNodeName||l._callMeta)&&b.jwEvents.Model.META(a.extend({duration:l.duration},d),l),l._durationCalcs--):l._durationCalcs++}},s=function(a,d){3>a&&clearTimeout(d._canplaythroughTimer);if(3<=a&&3>d.readyState)d.readyState=a,c(d._elem,"canplay"),clearTimeout(d._canplaythroughTimer),d._canplaythroughTimer=setTimeout(function(){s(4,d)},4E3);if(4<=a&&4>d.readyState)d.readyState=a,c(d._elem,"canplaythrough");d.readyState=a};b.jwEvents=
32
+ {View:{PLAY:function(a){var d=p(a.id);if(d&&!d.stopPlayPause&&(d._ppFlag=!0,d.paused==a.state)){d.paused=!a.state;if(d.ended)d.ended=!1;c(d._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(l){var d=p(l.id);if(d&&"percentage"in l&&d._bufferedEnd!=l.percentage){d.networkState=100==l.percentage?1:2;(isNaN(d.duration)||5<l.percentage&&25>l.percentage||100===l.percentage)&&o(d,l);if(d.ended)d.ended=!1;if(d.duration){2<l.percentage&&20>l.percentage?s(3,d):20<l.percentage&&s(4,d);if(d._bufferedEnd&&
33
+ d._bufferedEnd>l.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=l.percentage;d.buffered.length=1;if(100==l.percentage)d.networkState=1,s(4,d);a.event.trigger("progress",g,d._elem,!0)}}},META:function(a,d){if(d=d&&d.networkState?d:p(a.id))if("duration"in a){if(!d._metadata||!((!a.height||d.videoHeight==a.height)&&a.duration===d.duration)){d._metadata=!0;var b=d.duration;if(a.duration)d.duration=a.duration;d._lastDuration=d.duration;if(a.height||a.width)d.videoHeight=a.height||0,d.videoWidth=
34
+ a.width||0;if(!d.networkState)d.networkState=2;1>d.readyState&&s(1,d);d.duration&&b!==d.duration&&c(d._elem,"durationchange");c(d._elem,"loadedmetadata")}}else d._callMeta=!0},TIME:function(a){var d=p(a.id);if(d&&d.currentTime!==a.position){d.currentTime=a.position;d.duration&&d.duration<d.currentTime&&o(d,a);2>d.readyState&&s(2,d);if(d.ended)d.ended=!1;c(d._elem,"timeupdate")}},STATE:function(a){var d=p(a.id);if(d)switch(a.newstate){case "BUFFERING":if(d.ended)d.ended=!1;s(1,d);c(d._elem,"waiting");
35
+ break;case "PLAYING":d.paused=!1;d._ppFlag=!0;d.duration||o(d,a);3>d.readyState&&s(3,d);if(d.ended)d.ended=!1;c(d._elem,"playing");break;case "PAUSED":if(!d.paused&&!d.stopPlayPause)d.paused=!0,d._ppFlag=!0,c(d._elem,"pause");break;case "COMPLETED":4>d.readyState&&s(4,d),d.ended=!0,c(d._elem,"ended")}}},Controller:{ERROR:function(a){var d=p(a.id);d&&b.setError(d._elem,a.message)},SEEK:function(a){var d=p(a.id);if(d){if(d.ended)d.ended=!1;if(d.paused)try{d.jwapi.sendEvent("play","false")}catch(b){}if(d.currentTime!=
36
+ a.position)d.currentTime=a.position,c(d._elem,"timeupdate")}},VOLUME:function(a){var d=p(a.id);if(d&&(a=a.percentage/100,d.volume!=a))d.volume=a,c(d._elem,"volumechange")},MUTE:function(a){if(!a.state){var d=p(a.id);if(d&&d.muted!=a.state)d.muted=a.state,c(d._elem,"volumechange")}}}};var I=function(c){a.each(b.jwEvents,function(d,b){a.each(b,function(a){c.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)})})},n=function(b){b&&(b._ppFlag===g&&a.prop(b._elem,"autoplay")||
37
+ !b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===g||!b.paused))try{a(b._elem).play()}catch(d){}},1)},J=function(b){if(b&&"video"==b._elemNodeName){var d,c,e,f,h,r,g,k,i=function(i,j){if(j&&i&&!(1>j||1>i||"flash"!=b.isActive))if(d&&(d.remove(),d=!1),f=i,h=j,clearTimeout(g),c="auto"==b._elem.style.width,e="auto"==b._elem.style.height,c||e){r=r||a(b._elem).getShadowElement();var m;c&&!e?(m=r.height(),i*=m/j,j=m):!c&&e&&(m=r.width(),j*=m/i,i=m);k=!0;setTimeout(function(){k=!1},9);
38
+ r.css({width:i,height:j})}},j=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(c="auto"==b._elem.style.width,e="auto"==b._elem.style.height,c||e))d&&(d.remove(),d=!1),d=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),d.bind("load error alreadycomplete",function(){clearTimeout(g);var b=this,c=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||
39
+ b.offsetHeight;e&&c?(i(c,e),b=null):setTimeout(function(){c=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(c,e);d&&(d.remove(),d=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(g),g=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){i(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",
40
+ j).bind("swfstageresize",function(){k||i(f,h)}).bind("emptied",function(){f=void 0;h=void 0}).triggerHandler("swfstageresize");j();a.prop(b._elem,"readyState")&&i(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};b.playerResize=function(b){b&&(b=i.getElementById(b.replace(x,"")))&&a(b).triggerHandler("swfstageresize")};a(i).bind("emptied",function(a){a=m(a.target);n(a)});var A;b.jwPlayerReady=function(b){var d=p(b.id);if(d&&d.jwapi){clearTimeout(A);d.jwData=b;d.shadowElem.removeClass("flashblocker-assumed");
41
+ d.wasSwfReady?a(d._elem).mediaLoad():(b=parseFloat(b.version,10),(5.6>b||6<=b)&&e.warn("mediaelement-swf is only testet with jwplayer 5.6+"),a.prop(d._elem,"volume",d.volume),a.prop(d._elem,"muted",d.muted),I(d));d.wasSwfReady=!0;var b=d.actionQueue.length,c=0,f;if(b&&"flash"==d.isActive)for(;d.actionQueue.length&&b>c;)c++,f=d.actionQueue.shift(),d.jwapi[f.fn].apply(d.jwapi,f.args);if(d.actionQueue.length)d.actionQueue=[];n(d)}};var D=a.noop;if(k){var K={play:1,playing:1},F="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
42
+ G=F.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(b){var d=e.data(b.target,"mediaelement");d&&(b.originalEvent&&b.originalEvent.type===b.type)==("flash"==d.activating)&&(b.stopImmediatePropagation(),K[b.type]&&d.isActive!=d.activating&&a(b.target).pause())},D=function(b){a(b).unbind(G).bind(G,L);F.forEach(function(a){e.moveToFirstEvent(b,a)})};D(i)}b.setActive=function(b,d,c){c||(c=e.data(b,"mediaelement"));if(c&&c.isActive!=d){"html5"!=d&&"flash"!=d&&e.warn("wrong type for mediaelement activating: "+
43
+ d);var f=e.data(b,"shadowData");c.activating=d;a(b).pause();c.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=c.shadowElem[0],a(b).hide().getShadowElement().show()):(a(b).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var M=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(e){if(e){var f=b,h=e.networkState;
44
+ for(s(0,e);--f;)delete e[a[f]];e.actionQueue=[];e.buffered.length=0;h&&c(e._elem,"emptied")}}}(),H=function(b,d){var c=b._elem,e=b.shadowElem;a(c)[d?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!d?e.css({width:0,height:0}):e.css({width:c.style.width||a(c).width(),height:c.style.height||a(c).height()})};b.createSWF=function(c,d,g){if(z){1>h?h=1:h++;var i=a.extend({},f.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),j=a(c).data("jwvars")||{};if(g&&g.swfCreated)b.setActive(c,
45
+ "flash",g),M(g),g.currentSrc=d.srcProp,a.extend(i,j),f.changeJW(i,c,d,g,"load"),w(c,"sendEvent",["LOAD",i]);else{var B=a.prop(c,"controls"),r="jwplayer-"+e.getID(c),m=a.extend({},f.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),p=a.extend({},f.jwAttrs,{name:r,id:r},a(c).data("jwattrs")),o=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),g=e.data(c,"mediaelement",e.objectCreate(q,{actionQueue:{value:[]},
46
+ shadowElem:{value:o},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return 0},end:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));H(g,B);o.insertBefore(c);k&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:r,
47
+ controlbar:B?f.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(B&&"video"==n)},j,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+u):u;e.addShadowDom(c,o);D(c);b.setActive(c,"flash",g);f.changeJW(i,c,d,g,"embed");J(g);y.embedSWF(C,r,"100%","100%","9.0.0",!1,i,m,p,function(b){if(b.success)g.jwapi=b.ref,B||a(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&o[0].parentNode||
48
+ "none"==b.ref.style.display)o.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),e.warn("flashblocker assumed");a(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),A||(clearTimeout(A),A=setTimeout(function(){var d=a(b.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")?e.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
49
+ (2>d[0].offsetWidth||2>d[0].offsetHeight)&&e.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var w=function(a,b,c,e){return(e=e||m(a))?(e.jwapi&&e.jwapi[b]?e.jwapi[b].apply(e.jwapi,c||[]):(e.actionQueue.push({fn:b,args:c}),10<e.actionQueue.length&&setTimeout(function(){5<e.actionQueue.length&&e.actionQueue.shift()},99)),e):!1};["audio","video"].forEach(function(b){var d={},f,g=function(a){"audio"==b&&
50
+ ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=m(this);return b?b[a]:k&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var b=m(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&e.error("volume greater or less than allowed "+a/100);w(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(g){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
51
+ a,c(b._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=m(this);if(b){if(a=!!a,w(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,c(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=m(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
52
+ !0;b.stopPlayPause=!1},50);w(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,c(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=m(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),w(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
53
+ !0,b.paused!=("play"!=a)))b.paused="play"!=a,c(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});v.forEach(g);e.onNodeNamesPropertyModify(b,"controls",function(d,c){var f=m(this);a(this)[c?"addClass":"removeClass"]("webshims-controls");if(f){try{w(this,c?"showControls":"hideControls",[b],f)}catch(g){e.warn("you need to generate a crossdomain.xml")}"audio"==b&&H(f,c);a(f.jwapi).attr("tabindex",c?"0":"-1")}});f=e.defineNodeNameProperties(b,d,"prop")});if(z){var N=
54
+ a.cleanData,O=a.browser.msie&&9>e.browserVersion,P={object:1,OBJECT:1};a.cleanData=function(a){var b,c,e;if(a&&(c=a.length)&&h)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){h--;try{a[b].sendEvent("play",!1)}catch(f){}}if(O)try{for(e in a[b])"function"==typeof a[b][e]&&(a[b][e]=null)}catch(g){}}return N.apply(this,arguments)}}if(!k){var E=i.createElement("a");["poster","src"].forEach(function(b){e.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],b,{prop:{get:function(){var c=
55
+ this.getAttribute(b);if(null==c)return"";E.setAttribute("href",c+"");return!a.support.hrefNormalized?E.getAttribute("href",4):E.href},set:function(c){a.attr(this,b,c)}}})});["autoplay","controls"].forEach(function(a){e.defineNodeNamesBooleanProperty(["audio","video"],a)});e.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},
56
+ NETWORK_NO_SOURCE:{value:3}},"prop")}});