From 82fdaaebbaf0a71717dc9d1220738d0018f0883f Mon Sep 17 00:00:00 2001 From: Kthulu120 Date: Tue, 5 Sep 2017 03:05:09 -0500 Subject: [PATCH] 1st Prod build, Wget and Soundcloud-dl fully integrated and working Created the redux settings for wget and global settings such as server_ip and port that liquid_dl is running on. Made WgetForm reactive to it different status changes. Signed-off-by: Kthulu120 --- assets/distro/newest_prod_build.js | 61 ++++++++++ assets/js/App.js | 8 +- assets/js/Components/Api.js | 64 ---------- .../AppContainers/FfmpegConverter/FF.js | 3 +- .../FfmpegConverter/FfmpegContainer.js | 14 ++- .../FfmpegConverter/FfmpegForm.js | 11 +- .../FfmpegConverter/FfmpegValidation.js | 17 ++- .../AppContainers/Home/HomeComponent.js | 20 ++-- .../ImgurScraper/ImgurScraperForm.js | 11 +- .../Soundcloud/SoundCloudValidation.js | 14 +-- .../Soundcloud/SoundcloudContainer.js | 12 +- .../Soundcloud/SoundcloudForm.js | 8 +- .../AppContainers/Wget/AcceptValueForm.js | 44 +++++++ .../AppContainers/Wget/RejectValueForm.js | 42 +++++++ .../AppContainers/Wget/WgetContainer.js | 23 +++- .../Components/AppContainers/Wget/WgetForm.js | 112 +++++++++--------- .../AppContainers/Wget/WgetFormValidation.js | 51 +++++++- .../Youtube-dl/YoutubeDLContainer.js | 18 +++ .../AppContainers/Youtube-dl/YoutubeDLForm.js | 12 ++ assets/js/Components/Apps/FFMPEG.js | 11 +- assets/js/Components/Apps/Imgur.js | 11 +- assets/js/Components/Apps/Settings.js | 3 - assets/js/Components/Apps/Soundcloud.js | 11 +- assets/js/Components/Apps/Wget.js | 8 +- assets/js/Components/Contact.js | 26 ---- assets/js/Components/Header.js | 7 +- assets/js/Components/Main.js | 13 +- assets/js/Components/Player.js | 19 --- assets/js/Components/Roster.js | 15 --- assets/js/actions/ffmpeg/ffmpeg.js | 7 +- assets/js/actions/global/global.js | 3 +- assets/js/actions/wget/wget.js | 16 ++- assets/js/index.js | 21 ++-- assets/js/reducers/ffmpeg.js | 3 - assets/js/reducers/imgurscraper.js | 16 +-- assets/js/reducers/wget.js | 10 +- assets/js/utility/ListValidation.js | 13 +- assets/js/utility/NotificationFactories.js | 7 +- assets/js/utility/QuestionsAndAnswers.js | 7 +- assets/js/utility/util.js | 34 +++--- liquid/__tests__/api_test.py | 69 +++++++++-- liquid/__tests__/test_workers.py | 17 +-- liquid/views.py | 16 ++- liquid/windows.py | 11 +- liquid/workers/wget.py | 11 +- templates/base.html | 1 - templates/home.html | 2 +- webpack-stats.json | 12 +- 48 files changed, 544 insertions(+), 401 deletions(-) create mode 100644 assets/distro/newest_prod_build.js delete mode 100644 assets/js/Components/Api.js create mode 100644 assets/js/Components/AppContainers/Wget/AcceptValueForm.js create mode 100644 assets/js/Components/AppContainers/Wget/RejectValueForm.js create mode 100644 assets/js/Components/AppContainers/Youtube-dl/YoutubeDLContainer.js create mode 100644 assets/js/Components/AppContainers/Youtube-dl/YoutubeDLForm.js delete mode 100644 assets/js/Components/Contact.js delete mode 100644 assets/js/Components/Player.js delete mode 100644 assets/js/Components/Roster.js diff --git a/assets/distro/newest_prod_build.js b/assets/distro/newest_prod_build.js new file mode 100644 index 00000000..51f11699 --- /dev/null +++ b/assets/distro/newest_prod_build.js @@ -0,0 +1,61 @@ +!function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=305)}([function(e,t,o){"use strict";e.exports=o(65)},function(e,t,o){e.exports=o(553)()},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,o){"use strict";t.__esModule=!0;var n=o(106),r=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(){function e(e,t){for(var o=0;o=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}},function(e,t,o){"use strict";function n(e,t,o,n,i,a,l,s){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[o,n,i,a,l,s],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var r=function(e){};e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,o,n){if(n=n||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var r="",i=0;io?o:e}function r(e){var t=e.type,o=e.values;if(t.indexOf("rgb")>-1)for(var n=0;n<3;n++)o[n]=parseInt(o[n]);var r=void 0;return r=t.indexOf("hsl")>-1?e.type+"("+o[0]+", "+o[1]+"%, "+o[2]+"%":e.type+"("+o[0]+", "+o[1]+", "+o[2],4===o.length?r+=", "+e.values[3]+")":r+=")",r}function i(e){if(4===e.length){for(var t="#",o=1;o-1){var t=e.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?d(e,t):p(e,t)}function c(e,t){return e=a(e),t=n(t,0,1),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,r(e)}function d(e,t){if(e=a(e),t=n(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var o=0;o<3;o++)e.values[o]*=1-t;return r(e)}function p(e,t){if(e=a(e),t=n(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var o=0;o<3;o++)e.values[o]+=(255-e.values[o])*t;return r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=r,t.convertHexToRGB=i,t.decomposeColor=a,t.getContrastRatio=l,t.getLuminance=s,t.emphasize=u,t.fade=c,t.darken=d,t.lighten=p;var f=o(16);!function(e){e&&e.__esModule}(f)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(659),r=o(257),i=o(660);o.d(t,"Provider",function(){return n.a}),o.d(t,"createProvider",function(){return n.b}),o.d(t,"connectAdvanced",function(){return r.a}),o.d(t,"connect",function(){return i.a})},function(e,t,o){var n=o(70);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,o){e.exports=!o(51)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,o){var n=o(175),r=o(111);e.exports=function(e){return n(r(e))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,o){e[t]=o}}},function(e,t,o){"use strict";var n=o(14),r=(o(10),function(e){var t=this;if(t.instancePool.length){var o=t.instancePool.pop();return t.call(o,e),o}return new t(e)}),i=function(e,t){var o=this;if(o.instancePool.length){var n=o.instancePool.pop();return o.call(n,e,t),n}return new o(e,t)},a=function(e,t,o){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t,o),r}return new n(e,t,o)},l=function(e,t,o,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,o,n),i}return new r(e,t,o,n)},s=function(e){var t=this;e instanceof t||n("25"),e.destructor(),t.instancePool.lengthwindow.innerHeight||e.left<0||e.left>window.innerWidth)&&this.requestClose("offScreen")}},{key:"getOverlapMode",value:function(e,t,o){return[e,t].indexOf(o)>=0?"auto":e===t?"inclusive":"exclusive"}},{key:"getPositions",value:function(e,t){var o=(0,i.default)({},e),n=(0,i.default)({},t),r={x:["left","right"].filter(function(e){return e!==n.horizontal}),y:["top","bottom"].filter(function(e){return e!==n.vertical})},a={x:this.getOverlapMode(o.horizontal,n.horizontal,"middle"),y:this.getOverlapMode(o.vertical,n.vertical,"center")};return r.x.splice("auto"===a.x?0:1,0,"middle"),r.y.splice("auto"===a.y?0:1,0,"center"),"auto"!==a.y&&(o.vertical="top"===o.vertical?"bottom":"top","inclusive"===a.y&&(n.vertical=n.vertical)),"auto"!==a.x&&(o.horizontal="left"===o.horizontal?"right":"left","inclusive"===a.y&&(n.horizontal=n.horizontal)),{positions:r,anchorPos:o}}},{key:"applyAutoPositionIfNeeded",value:function(e,t,o,n,r){var i=this.getPositions(n,o),a=i.positions,l=i.anchorPos;if(r.top<0||r.top+t.bottom>window.innerHeight){var s=e[l.vertical]-t[a.y[0]];s+t.bottom<=window.innerHeight?r.top=Math.max(0,s):(s=e[l.vertical]-t[a.y[1]])+t.bottom<=window.innerHeight&&(r.top=Math.max(0,s))}if(r.left<0||r.left+t.right>window.innerWidth){var u=e[l.horizontal]-t[a.x[0]];u+t.right<=window.innerWidth?r.left=Math.max(0,u):(u=e[l.horizontal]-t[a.x[1]])+t.right<=window.innerWidth&&(r.left=Math.max(0,u))}return r}},{key:"render",value:function(){return w.default.createElement("div",{style:F.root},w.default.createElement(S.default,{target:this.props.scrollableContainer,onScroll:this.handleScroll,onResize:this.handleResize}),w.default.createElement(M.default,{ref:"layer",open:this.state.open,componentClickAway:this.componentClickAway,useLayerForClickAway:this.props.useLayerForClickAway,render:this.renderLayer}))}}]),t}(x.Component);L.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"left"},animated:!0,autoCloseWhenOffScreen:!0,canAutoPosition:!0,onRequestClose:function(){},open:!1,scrollableContainer:"window",style:{overflowY:"auto"},targetOrigin:{vertical:"top",horizontal:"left"},useLayerForClickAway:!0,zDepth:1},L.contextTypes={muiTheme:_.default.object.isRequired},L.propTypes={},t.default=L},function(e,t,o){"use strict";function n(e){if(h){var t=e.node,o=e.children;if(o.length)for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1){for(var h=Array(f),b=0;b1){for(var g=Array(m),v=0;v=0&&y.splice(t,1)}function l(e){var t=document.createElement("style");return e.attrs.type="text/css",u(t,e.attrs),i(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",u(t,e.attrs),i(e,t),t}function u(e,t){Object.keys(t).forEach(function(o){e.setAttribute(o,t[o])})}function c(e,t){var o,n,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var u=v++;o=g||(g=l(t)),n=d.bind(null,o,u,!1),r=d.bind(null,o,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=s(t),n=f.bind(null,o,t),r=function(){a(o),o.href&&URL.revokeObjectURL(o.href)}):(o=l(t),n=p.bind(null,o),r=function(){a(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}function d(e,t,o,n){var r=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=w(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function f(e,t,o){var n=o.css,r=o.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(n=x(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([n],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(a),l&&URL.revokeObjectURL(l)}var h={},b=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var t={};return function(o){return void 0===t[o]&&(t[o]=e.call(this,o)),t[o]}}(function(e){return document.querySelector(e)}),g=null,v=0,y=[],x=o(734);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=b()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=r(e,t);return n(o,t),function(e){for(var i=[],a=0;a0&&e.getDay()===t&&(l(i),i=[]),i.push(e),o.indexOf(e)===o.length-1&&l(i)}),r}function b(e,t,o,n){var r=new e(t,{weekday:"narrow"}),i=f();return r.format(a(i,o+n))}function m(e){return new Date(e.toDateString()+" 12:00:00 +0000").toISOString().substring(0,10)}function g(e,t){return e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function v(e,t){var o=c(e),n=c(t);return o.getTime()n.getTime()}function x(e,t,o){return!v(e,t)&&!y(e,o)}function w(e,t){var o=void 0;return o=12*(e.getFullYear()-t.getFullYear()),o+=e.getMonth(),o-=t.getMonth()}function k(e,t){return~~(w(e,t)/12)}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultUtils=void 0,t.dateTimeFormat=n,t.getYear=r,t.setYear=i,t.addDays=a,t.addMonths=l,t.addYears=s,t.cloneDate=u,t.cloneAsDate=c,t.getDaysInMonth=d,t.getFirstDayOfMonth=p,t.getFirstDayOfWeek=f,t.getWeekArray=h,t.localizedWeekday=b,t.formatIso=m,t.isEqualDate=g,t.isBeforeDate=v,t.isAfterDate=y,t.isBetweenDates=x,t.monthDiff=w,t.yearDiff=k;var _=o(16),T=(function(e){e&&e.__esModule}(_),["S","M","T","W","T","F","S"]),C=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],S=["January","February","March","April","May","June","July","August","September","October","November","December"];t.defaultUtils={getYear:r,setYear:i,addDays:a,addMonths:l,addYears:s,getFirstDayOfMonth:p,getWeekArray:h,monthDiff:w}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(501),r=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=r.default},function(e,t,o){"use strict";function n(e,t){var o=a(e);return o.setHours(e.getHours()+t),o}function r(e,t){var o=a(e);return o.setMinutes(e.getMinutes()+t),o}function i(e,t){var o=a(e);return o.setSeconds(e.getMinutes()+t),o}function a(e){return new Date(e.getTime())}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ampm",o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return"";var n=e.getHours(),r=e.getMinutes().toString();if("ampm"===t){var i=n<12;n%=12;var a=i?" am":" pm";return n=(n||12).toString(),r.length<2&&(r="0"+r),o&&"12"===n&&"00"===r?" pm"===a?"12 noon":"12 midnight":n+("00"===r?"":":"+r)+a}return n=n.toString(),n.length<2&&(n="0"+n),r.length<2&&(r="0"+r),n+":"+r}function s(e){return 57.29577951308232*e}function u(e){var t=e.target,o=t.getBoundingClientRect();return{offsetX:e.clientX-o.left,offsetY:e.clientY-o.top}}function c(e){return"hour"===e.type&&(e.value<1||e.value>12)}Object.defineProperty(t,"__esModule",{value:!0}),t.addHours=n,t.addMinutes=r,t.addSeconds=i,t.formatTime=l,t.rad2deg=s,t.getTouchEventOffsetValues=u,t.isInner=c},function(e,t,o){"use strict";function n(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function r(e,t,o){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!o.disabled||!n(t));default:return!1}}var i=o(14),a=o(146),l=o(147),s=o(151),u=o(244),c=o(245),d=(o(10),{}),p=null,f=function(e,t){e&&(l.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return f(e,!0)},b=function(e){return f(e,!1)},m=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,o){"function"!=typeof o&&i("94",t,typeof o);var n=m(e);(d[t]||(d[t]={}))[n]=o;var r=a.registrationNameModules[t];r&&r.didPutListener&&r.didPutListener(e,t,o)},getListener:function(e,t){var o=d[t];if(r(t,e._currentElement.type,e._currentElement.props))return null;var n=m(e);return o&&o[n]},deleteListener:function(e,t){var o=a.registrationNameModules[t];o&&o.willDeleteListener&&o.willDeleteListener(e,t);var n=d[t];if(n){delete n[m(e)]}},deleteAllListeners:function(e){var t=m(e);for(var o in d)if(d.hasOwnProperty(o)&&d[o][t]){var n=a.registrationNameModules[o];n&&n.willDeleteListener&&n.willDeleteListener(e,o),delete d[o][t]}},extractEvents:function(e,t,o,n){for(var r,i=a.plugins,l=0;l=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e){var t=typeof e;return"string"===t?e:"object"===t?JSON.stringify(e):"number"===t||"boolean"===t?String(e):""}/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/react-select +*/ +Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;ta.bottom||i.topt.offsetHeight&&!(t.scrollHeight-t.offsetHeight-t.scrollTop)&&this.props.onMenuScrollToBottom()}},handleRequired:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},getOptionLabel:function(e){return e[this.props.labelKey]},getValueArray:function(e,t){var o=this,n="object"==typeof t?t:this.props;if(n.multi){if("string"==typeof e&&(e=e.split(n.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return o.expandValue(e,n)}).filter(function(e){return e})}var r=this.expandValue(e,n);return r?[r]:[]},expandValue:function(e,t){var o=typeof e;if("string"!==o&&"number"!==o&&"boolean"!==o)return e;var n=t.options,r=t.valueKey;if(n)for(var i=0;in&&this.focusOption(o[n+1])},popValue:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(e.slice(0,e.length-1))},removeValue:function(e){var t=this.getValueArray(this.props.value);this.setValue(t.filter(function(t){return t!==e})),this.focus()},clearValue:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:""},this.focus))},getResetValue:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusPageUpOption:function(){this.focusAdjacentOption("page_up")},focusPageDownOption:function(){this.focusAdjacentOption("page_down")},focusStartOption:function(){this.focusAdjacentOption("start")},focusEndOption:function(){this.focusAdjacentOption("end")},focusAdjacentOption:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)});if(t.length){for(var o=-1,n=0;n0?o-=1:o=t.length-1;else if("start"===e)o=0;else if("end"===e)o=t.length-1;else if("page_up"===e){var r=o-this.props.pageSize;o=r<0?0:r}else if("page_down"===e){var r=o+this.props.pageSize;o=r>t.length-1?t.length-1:r}-1===o&&(o=0),this.setState({focusedIndex:t[o].index,focusedOption:t[o].option})}},getFocusedOption:function(){return this._focusedOption},getInputValue:function(){return this.state.inputValue},selectFocusedOption:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)},renderLoading:function(){if(this.props.isLoading)return u.default.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},u.default.createElement("span",{className:"Select-loading"}))},renderValue:function(e,t){var o=this,n=this.props.valueRenderer||this.getOptionLabel,r=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:u.default.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return u.default.createElement(r,{id:o._instancePrefix+"-value-"+t,instancePrefix:o._instancePrefix,disabled:o.props.disabled||!1===e.clearableValue,key:"value-"+t+"-"+e[o.props.valueKey],onClick:i,onRemove:o.removeValue,value:e},n(e,t),u.default.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(t&&(i=null),u.default.createElement(r,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:i,value:e[0]},n(e[0])))},renderInput:function(e,t){var o,n=this,a=(0,y.default)("Select-input",this.props.inputProps.className),s=!!this.state.isOpen,c=(0,y.default)((o={},i(o,this._instancePrefix+"-list",s),i(o,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),o)),d=l({},this.props.inputProps,{role:"combobox","aria-expanded":""+s,"aria-owns":c,"aria-haspopup":""+s,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:a,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return n.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(d);if(this.props.disabled||!this.props.searchable){var p=this.props.inputProps,f=(p.inputClassName,r(p,["inputClassName"])),h=(0,y.default)(i({},this._instancePrefix+"-list",s));return u.default.createElement("div",l({},f,{role:"combobox","aria-expanded":s,"aria-owns":h,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value",className:a,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return n.input=e},"aria-readonly":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?u.default.createElement(g.default,l({},d,{minWidth:"5"})):u.default.createElement("div",{className:a},u.default.createElement("input",d))},renderClear:function(){if(!(!this.props.clearable||void 0===this.props.value||null===this.props.value||this.props.multi&&!this.props.value.length||this.props.disabled||this.props.isLoading)){var e=this.props.clearRenderer();return u.default.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}},renderArrow:function(){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,o=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return u.default.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},o)},filterOptions:function(e){var t=this.state.inputValue,o=this.props.options||[];if(this.props.filterOptions){return("function"==typeof this.props.filterOptions?this.props.filterOptions:_.default)(o,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey})}return o},onOptionRef:function(e,t){t&&(this.focused=e)},renderMenu:function(e,t,o){return e&&e.length?this.props.menuRenderer({focusedOption:o,focusOption:this.focusOption,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?u.default.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null},renderHiddenField:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var o=e.map(function(e){return a(e[t.props.valueKey])}).join(this.props.delimiter);return u.default.createElement("input",{type:"hidden",ref:function(e){return t.value=e},name:this.props.name,value:o,disabled:this.props.disabled})}return e.map(function(e,o){return u.default.createElement("input",{key:"hidden."+o,type:"hidden",ref:"value"+o,name:t.props.name,value:a(e[t.props.valueKey]),disabled:t.props.disabled})})}},getFocusableOptionIndex:function(e){var t=this._visibleOptions;if(!t.length)return null;var o=this.props.valueKey,n=this.state.focusedOption||e;if(n&&!n.disabled){var r=-1;if(t.some(function(e,t){var i=e[o]===n[o];return i&&(r=t),i}),-1!==r)return r}for(var i=0;i=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})})},function(e,t,o){"use strict";var n={};e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(457),r=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=r.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o=e.desktop,n=e.maxHeight,r=e.width,i=t.muiTheme;return{root:{zIndex:i.zIndex.menu,maxHeight:n,overflowY:n?"auto":null},divider:{marginTop:7,marginBottom:8},list:{display:"table-cell",paddingBottom:o?16:8,paddingTop:o?16:8,userSelect:"none",width:r},selectedMenuItem:{color:i.menuItem.selectedTextColor}}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(8),a=n(i),l=o(9),s=n(l),u=o(171),c=n(u),d=o(4),p=n(d),f=o(2),h=n(f),b=o(3),m=n(b),g=o(6),v=n(g),y=o(5),x=n(y),w=o(7),k=n(w),_=o(0),T=n(_),C=o(1),E=n(C),S=o(15),O=n(S),M=o(49),P=n(M),D=o(139),j=n(D),N=o(27),R=n(N),A=o(24),I=(n(A),o(133)),F=n(I),L=o(471),z=function(e){function t(e,o){(0,h.default)(this,t);var n=(0,v.default)(this,(t.__proto__||(0,p.default)(t)).call(this,e,o));W.call(n);var r=n.getFilteredChildren(e.children),i=n.getLastSelectedIndex(e,r),a=e.disableAutoFocus?-1:i>=0?i:0;return-1!==a&&e.onMenuItemFocusChange&&e.onMenuItemFocusChange(null,a),n.state={focusIndex:a,isKeyboardFocused:e.initiallyKeyboardFocused,keyWidth:e.desktop?64:56},n.hotKeyHolder=new L.HotKeyHolder,n}return(0,x.default)(t,e),(0,m.default)(t,[{key:"componentDidMount",value:function(){this.props.autoWidth&&this.setWidth(),this.setScollPosition()}},{key:"componentWillReceiveProps",value:function(e){var t=void 0,o=this.getFilteredChildren(e.children);t=!0!==this.props.multiple?this.getLastSelectedIndex(e,o):this.state.focusIndex;var n=e.disableAutoFocus?-1:t>=0?t:0;n!==this.state.focusIndex&&this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(null,n),this.setState({focusIndex:n,keyWidth:e.desktop?64:56})}},{key:"shouldComponentUpdate",value:function(e,t,o){return!(0,P.default)(this.props,e)||!(0,P.default)(this.state,t)||!(0,P.default)(this.context,o)}},{key:"componentDidUpdate",value:function(){this.props.autoWidth&&this.setWidth()}},{key:"getValueLink",value:function(e){return e.valueLink||{value:e.value,requestChange:e.onChange}}},{key:"setKeyboardFocused",value:function(e){this.setState({isKeyboardFocused:e})}},{key:"getFilteredChildren",value:function(e){var t=[];return T.default.Children.forEach(e,function(e){e&&t.push(e)}),t}},{key:"cloneMenuItem",value:function(e,t,o,n){var r=this,i=e.props.disabled,a={};if(!i){this.isChildSelected(e,this.props)&&(0,k.default)(a,o.selectedMenuItem,this.props.selectedMenuItemStyle)}var l=(0,k.default)({},e.props.style,this.props.menuItemStyle,a),s={desktop:this.props.desktop,style:l};if(!i){var u=t===this.state.focusIndex,c="none";u&&(c=this.state.isKeyboardFocused?"keyboard-focused":"focused"),(0,k.default)(s,{focusState:c,onTouchTap:function(t){r.handleMenuItemTouchTap(t,e,n),e.props.onTouchTap&&e.props.onTouchTap(t)},ref:u?"focusedMenuItem":null})}return T.default.cloneElement(e,s)}},{key:"decrementKeyboardFocusIndex",value:function(e){var t=this.state.focusIndex;t--,t<0&&(t=0),this.setFocusIndex(e,t,!0)}},{key:"getMenuItemCount",value:function(e){var t=0;return e.forEach(function(e){var o=e.type&&"Divider"===e.type.muiName,n=e.props.disabled;o||n||t++}),t}},{key:"getLastSelectedIndex",value:function(e,t){var o=this,n=-1,r=0;return t.forEach(function(t){var i=t.type&&"Divider"===t.type.muiName;o.isChildSelected(t,e)&&(n=r),i||r++}),n}},{key:"setFocusIndexStartsWith",value:function(e,t){var o=-1;return T.default.Children.forEach(this.props.children,function(e,n){if(!(o>=0)){var r=e.props.primaryText;"string"==typeof r&&r.substr(0,t.length).toLowerCase()===t.toLowerCase()&&(o=n)}}),o>=0&&(this.setFocusIndex(e,o,!0),!0)}},{key:"handleMenuItemTouchTap",value:function(e,t,o){var n=this.props.children,r=this.props.multiple,i=this.getValueLink(this.props),a=i.value,l=t.props.value,s=T.default.isValidElement(n)?0:n.indexOf(t);if(this.setFocusIndex(e,s,!1),r){a=a||[];var u=a.indexOf(l),d=a,p=(0,c.default)(d),f=p.slice(0);-1===u?f.push(l):f.splice(u,1),i.requestChange(e,f)}else r||l===a||i.requestChange(e,l);this.props.onItemTouchTap(e,t,o)}},{key:"incrementKeyboardFocusIndex",value:function(e,t){var o=this.state.focusIndex,n=this.getMenuItemCount(t)-1;o++,o>n&&(o=n),this.setFocusIndex(e,o,!0)}},{key:"isChildSelected",value:function(e,t){var o=this.getValueLink(t).value,n=e.props.value;return t.multiple?o&&o.length&&-1!==o.indexOf(n):e.props.hasOwnProperty("value")&&o===n}},{key:"setFocusIndex",value:function(e,t,o){this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(e,t),this.setState({focusIndex:t,isKeyboardFocused:o})}},{key:"setScollPosition",value:function(){var e=this.props.desktop,t=this.refs.focusedMenuItem,o=e?32:48;if(t){var n=O.default.findDOMNode(t).offsetTop,r=n-o;r0;return l&&a>r-i-n?(o.scrollTop=r,e.cancelScrollEvent(t)):!l&&-a>n?(o.scrollTop=0,e.cancelScrollEvent(t)):void 0}}};z.propTypes={},t.default=z},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o=t.muiTheme.tableRowColumn,n={root:{paddingLeft:o.spacing,paddingRight:o.spacing,height:o.height,textAlign:"left",fontSize:13,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}};return 1!==k.default.Children.count(e.children)||isNaN(e.children)||(n.textAlign="right"),n}Object.defineProperty(t,"__esModule",{value:!0});var i=o(8),a=n(i),l=o(9),s=n(l),u=o(4),c=n(u),d=o(2),p=n(d),f=o(3),h=n(f),b=o(6),m=n(b),g=o(5),v=n(g),y=o(7),x=n(y),w=o(0),k=n(w),_=o(1),T=n(_),C=function(e){function t(){var e,o,n,r;(0,p.default)(this,t);for(var i=arguments.length,a=Array(i),l=0;l=0;i--)this.on(e,n[i],r)},on:function(e,t,o){e.addEventListener?e.addEventListener(t,o):e.attachEvent("on"+t,function(){o.call(e)})},off:function(e,t,o){e.removeEventListener?e.removeEventListener(t,o):e.detachEvent("on"+t,o)},isKeyboard:function(e){return-1!==["keydown","keypress","keyup"].indexOf(e.type)}}},function(e,t,o){"use strict";function n(e){return Object.prototype.hasOwnProperty.call(e,b)||(e[b]=f++,d[e[b]]={}),d[e[b]]}var r,i=o(17),a=o(146),l=o(583),s=o(243),u=o(615),c=o(157),d={},p=!1,f=0,h={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},b="_reactListenersID"+String(Math.random()).slice(2),m=i({},l,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var o=t,r=n(o),i=a.registrationNameDependencies[e],l=0;l]/;e.exports=r},function(e,t,o){"use strict";var n,r=o(22),i=o(145),a=/^[ \r\n\t\f]/,l=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=o(153),u=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{n=n||document.createElement("div"),n.innerHTML=""+t+"";for(var o=n.firstChild;o.firstChild;)e.appendChild(o.firstChild)}});if(r.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&l.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var o=e.firstChild;1===o.data.length?e.removeChild(o):o.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;tdocument.F=Object<\/script>"),e.close(),s=e.F;n--;)delete s.prototype[i[n]];return s()};e.exports=Object.create||function(e,t){var o;return null!==e?(l.prototype=n(e),o=new l,l.prototype=null,o[a]=e):o=s(),void 0===t?o:r(o,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,o){var n=o(38).f,r=o(44),i=o(28)("toStringTag");e.exports=function(e,t,o){e&&!r(e=o?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,o){var n=o(118)("keys"),r=o(90);e.exports=function(e){return n[e]||(n[e]=r(e))}},function(e,t,o){var n=o(37),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t){var o=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:o)(e)}},function(e,t,o){var n=o(70);e.exports=function(e,t){if(!n(e))return e;var o,r;if(t&&"function"==typeof(o=e.toString)&&!n(r=o.call(e)))return r;if("function"==typeof(o=e.valueOf)&&!n(r=o.call(e)))return r;if(!t&&"function"==typeof(o=e.toString)&&!n(r=o.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,o){var n=o(37),r=o(21),i=o(113),a=o(122),l=o(38).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},function(e,t,o){t.f=o(28)},function(e,t,o){o(353);for(var n=o(37),r=o(52),i=o(53),a=o(28)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s0&&t-1 in e)}function s(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,o){return ve.isFunction(t)?ve.grep(e,function(e,n){return!!t.call(e,n,e)!==o}):t.nodeType?ve.grep(e,function(e){return e===t!==o}):"string"!=typeof t?ve.grep(e,function(e){return de.call(t,e)>-1!==o}):Oe.test(t)?ve.filter(t,e,o):(t=ve.filter(t,e),ve.grep(e,function(e){return de.call(t,e)>-1!==o&&1===e.nodeType}))}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return ve.each(e.match(Ne)||[],function(e,o){t[o]=!0}),t}function p(e){return e}function f(e){throw e}function h(e,t,o,n){var r;try{e&&ve.isFunction(r=e.promise)?r.call(e).done(t).fail(o):e&&ve.isFunction(r=e.then)?r.call(e,t,o):t.apply(void 0,[e].slice(n))}catch(e){o.apply(void 0,[e])}}function b(){ae.removeEventListener("DOMContentLoaded",b),o.removeEventListener("load",b),ve.ready()}function m(){this.expando=ve.expando+m.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function v(e,t,o){var n;if(void 0===o&&1===e.nodeType)if(n="data-"+t.replace(Be,"-$&").toLowerCase(),"string"==typeof(o=e.getAttribute(n))){try{o=g(o)}catch(e){}ze.set(e,t,o)}else o=void 0;return o}function y(e,t,o,n){var r,i=1,a=20,l=n?function(){return n.cur()}:function(){return ve.css(e,t,"")},s=l(),u=o&&o[3]||(ve.cssNumber[t]?"":"px"),c=(ve.cssNumber[t]||"px"!==u&&+s)&&He.exec(ve.css(e,t));if(c&&c[3]!==u){u=u||c[3],o=o||[],c=+s||1;do{i=i||".5",c/=i,ve.style(e,t,c+u)}while(i!==(i=l()/s)&&1!==i&&--a)}return o&&(c=+c||+s||0,r=o[1]?c+(o[1]+1)*o[2]:+o[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function x(e){var t,o=e.ownerDocument,n=e.nodeName,r=Ye[n];return r||(t=o.body.appendChild(o.createElement(n)),r=ve.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ye[n]=r,r)}function w(e,t){for(var o,n,r=[],i=0,a=e.length;i-1)r&&r.push(i);else if(u=ve.contains(i.ownerDocument,i),a=k(d.appendChild(i),"script"),u&&_(a),o)for(c=0;i=a[c++];)Xe.test(i.type||"")&&o.push(i);return d}function C(){return!0}function E(){return!1}function S(){try{return ae.activeElement}catch(e){}}function O(e,t,o,n,r,i){var a,l;if("object"==typeof t){"string"!=typeof o&&(n=n||o,o=void 0);for(l in t)O(e,l,o,n,t[l],i);return e}if(null==n&&null==r?(r=o,n=o=void 0):null==r&&("string"==typeof o?(r=n,n=void 0):(r=n,n=o,o=void 0)),!1===r)r=E;else if(!r)return e;return 1===i&&(a=r,r=function(e){return ve().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=ve.guid++)),e.each(function(){ve.event.add(this,t,r,n,o)})}function M(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")?ve(">tbody",e)[0]||e:e}function P(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){var t=at.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function j(e,t){var o,n,r,i,a,l,s,u;if(1===t.nodeType){if(Le.hasData(e)&&(i=Le.access(e),a=Le.set(t,i),u=i.events)){delete a.handle,a.events={};for(r in u)for(o=0,n=u[r].length;o1&&"string"==typeof h&&!ge.checkClone&&it.test(h))return e.each(function(r){var i=e.eq(r);b&&(t[0]=h.call(this,r,i.html())),R(i,t,o,n)});if(p&&(r=T(t,e[0].ownerDocument,!1,e,n),i=r.firstChild,1===r.childNodes.length&&(r=i),i||n)){for(l=ve.map(k(r,"script"),P),s=l.length;d=0&&ow.cacheLength&&delete e[t.shift()],e[o+" "]=n}var t=[];return e}function n(e){return e[L]=!0,e}function r(e){var t=D.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var o=e.split("|"),n=o.length;n--;)w.attrHandle[o[n]]=t}function a(e,t){var o=t&&e,n=o&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(o)for(;o=o.nextSibling;)if(o===t)return-1;return e?1:-1}function l(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function s(e){return n(function(t){return t=+t,n(function(o,n){for(var r,i=e([],o.length,t),a=i.length;a--;)o[r=i[a]]&&(o[r]=!(n[r]=o[r]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function d(e){for(var t=0,o=e.length,n="";t1?function(t,o,n){for(var r=e.length;r--;)if(!e[r](t,o,n))return!1;return!0}:e[0]}function h(e,o,n){for(var r=0,i=o.length;r-1&&(n[u]=!(a[u]=d))}}else y=b(y===a?y.splice(m,y.length):y),i?i(null,a,y,s):X.apply(a,y)})}function g(e){for(var t,o,n,r=e.length,i=w.relative[e[0].type],a=i||w.relative[" "],l=i?1:0,s=p(function(e){return e===t},a,!0),u=p(function(e){return J(t,e)>-1},a,!0),c=[function(e,o,n){var r=!i&&(n||o!==S)||((t=o).nodeType?s(e,o,n):u(e,o,n));return t=null,r}];l1&&f(c),l>1&&d(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(ie,"$1"),o,l0,i=e.length>0,a=function(n,a,l,s,u){var c,d,p,f=0,h="0",m=n&&[],g=[],v=S,y=n||i&&w.find.TAG("*",u),x=W+=null==v?1:Math.random()||.1,k=y.length;for(u&&(S=a===D||a||u);h!==k&&null!=(c=y[h]);h++){if(i&&c){for(d=0,a||c.ownerDocument===D||(P(c),l=!N);p=e[d++];)if(p(c,a||D,l)){s.push(c);break}u&&(W=x)}r&&((c=!p&&c)&&f--,n&&m.push(c))}if(f+=h,r&&h!==f){for(d=0;p=o[d++];)p(m,g,a,l);if(n){if(f>0)for(;h--;)m[h]||g[h]||(g[h]=G.call(s));g=b(g)}X.apply(s,g),u&&!n&&g.length>0&&f+o.length>1&&t.uniqueSort(s)}return u&&(W=x,S=v),m};return r?n(a):a}var y,x,w,k,_,T,C,E,S,O,M,P,D,j,N,R,A,I,F,L="sizzle"+1*new Date,z=e.document,W=0,B=0,U=o(),H=o(),q=o(),V=function(e,t){return e===t&&(M=!0),0},K={}.hasOwnProperty,Y=[],G=Y.pop,Z=Y.push,X=Y.push,Q=Y.slice,J=function(e,t){for(var o=0,n=e.length;o+~]|"+ee+")"+ee+"*"),se=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(ne),ce=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ne),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+$+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,fe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ge=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ve=function(e,t,o){var n="0x"+t-65536;return n!==n||o?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){P()},ke=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{X.apply(Y=Q.call(z.childNodes),z.childNodes),Y[z.childNodes.length].nodeType}catch(e){X={apply:Y.length?function(e,t){Z.apply(e,Q.call(t))}:function(e,t){for(var o=e.length,n=0;e[o++]=t[n++];);e.length=o-1}}}x=t.support={},_=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,o,n=e?e.ownerDocument||e:z;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,j=D.documentElement,N=!_(D),z!==D&&(o=D.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",we,!1):o.attachEvent&&o.attachEvent("onunload",we)),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=he.test(D.getElementsByClassName),x.getById=r(function(e){return j.appendChild(e).id=L,!D.getElementsByName||!D.getElementsByName(L).length}),x.getById?(w.filter.ID=function(e){var t=e.replace(ge,ve);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&N){var o=t.getElementById(e);return o?[o]:[]}}):(w.filter.ID=function(e){var t=e.replace(ge,ve);return function(e){var o=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return o&&o.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&N){var o,n,r,i=t.getElementById(e);if(i){if((o=i.getAttributeNode("id"))&&o.value===e)return[i];for(r=t.getElementsByName(e),n=0;i=r[n++];)if((o=i.getAttributeNode("id"))&&o.value===e)return[i]}return[]}}),w.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var o,n=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;o=i[r++];)1===o.nodeType&&n.push(o);return n}return i},w.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&N)return t.getElementsByClassName(e)},A=[],R=[],(x.qsa=he.test(D.querySelectorAll))&&(r(function(e){j.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ee+"*(?:value|"+$+")"),e.querySelectorAll("[id~="+L+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+L+"+*").length||R.push(".#.+[+~]")}),r(function(e){e.innerHTML="";var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),j.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=he.test(I=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(e){x.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),A.push("!=",ne)}),R=R.length&&new RegExp(R.join("|")),A=A.length&&new RegExp(A.join("|")),t=he.test(j.compareDocumentPosition),F=t||he.test(j.contains)?function(e,t){var o=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(o.contains?o.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=t?function(e,t){if(e===t)return M=!0,0;var o=!e.compareDocumentPosition-!t.compareDocumentPosition;return o||(o=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&o||!x.sortDetached&&t.compareDocumentPosition(e)===o?e===D||e.ownerDocument===z&&F(z,e)?-1:t===D||t.ownerDocument===z&&F(z,t)?1:O?J(O,e)-J(O,t):0:4&o?-1:1)}:function(e,t){if(e===t)return M=!0,0;var o,n=0,r=e.parentNode,i=t.parentNode,l=[e],s=[t];if(!r||!i)return e===D?-1:t===D?1:r?-1:i?1:O?J(O,e)-J(O,t):0;if(r===i)return a(e,t);for(o=e;o=o.parentNode;)l.unshift(o);for(o=t;o=o.parentNode;)s.unshift(o);for(;l[n]===s[n];)n++;return n?a(l[n],s[n]):l[n]===z?-1:s[n]===z?1:0},D):D},t.matches=function(e,o){return t(e,null,null,o)},t.matchesSelector=function(e,o){if((e.ownerDocument||e)!==D&&P(e),o=o.replace(se,"='$1']"),x.matchesSelector&&N&&!q[o+" "]&&(!A||!A.test(o))&&(!R||!R.test(o)))try{var n=I.call(e,o);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return t(o,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&P(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&P(e);var o=w.attrHandle[t.toLowerCase()],n=o&&K.call(w.attrHandle,t.toLowerCase())?o(e,t,!N):void 0;return void 0!==n?n:x.attributes||!N?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.escape=function(e){return(e+"").replace(ye,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,o=[],n=0,r=0;if(M=!x.detectDuplicates,O=!x.sortStable&&e.slice(0),e.sort(V),M){for(;t=e[r++];)t===e[r]&&(n=o.push(r));for(;n--;)e.splice(o[n],1)}return O=null,e},k=t.getText=function(e){var t,o="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)o+=k(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)o+=k(t);return o},w=t.selectors={cacheLength:50,createPseudo:n,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ge,ve),e[3]=(e[3]||e[4]||e[5]||"").replace(ge,ve),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,o=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":o&&ue.test(o)&&(t=T(o,!0))&&(t=o.indexOf(")",o.length-t)-o.length)&&(e[0]=e[0].slice(0,t),e[2]=o.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ge,ve).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,o,n){return function(r){var i=t.attr(r,e);return null==i?"!="===o:!o||(i+="","="===o?i===n:"!="===o?i!==n:"^="===o?n&&0===i.indexOf(n):"*="===o?n&&i.indexOf(n)>-1:"$="===o?n&&i.slice(-n.length)===n:"~="===o?(" "+i.replace(re," ")+" ").indexOf(n)>-1:"|="===o&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,o,n,r){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,o,s){var u,c,d,p,f,h,b=i!==a?"nextSibling":"previousSibling",m=t.parentNode,g=l&&t.nodeName.toLowerCase(),v=!s&&!l,y=!1;if(m){if(i){for(;b;){for(p=t;p=p[b];)if(l?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=b="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(p=m,d=p[L]||(p[L]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===W&&u[1],y=f&&u[2],p=f&&m.childNodes[f];p=++f&&p&&p[b]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){c[e]=[W,f,y];break}}else if(v&&(p=t,d=p[L]||(p[L]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===W&&u[1],y=f),!1===y)for(;(p=++f&&p&&p[b]||(y=f=0)||h.pop())&&((l?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(v&&(d=p[L]||(p[L]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),c[e]=[W,y]),p!==t)););return(y-=r)===n||y%n==0&&y/n>=0}}},PSEUDO:function(e,o){var r,i=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[L]?i(o):i.length>1?(r=[e,e,"",o],w.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,r=i(e,o),a=r.length;a--;)n=J(e,r[a]),e[n]=!(t[n]=r[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:n(function(e){var t=[],o=[],r=C(e.replace(ie,"$1"));return r[L]?n(function(e,t,o,n){for(var i,a=r(e,null,n,[]),l=e.length;l--;)(i=a[l])&&(e[l]=!(t[l]=i))}):function(e,n,i){return t[0]=e,r(t,null,i,o),t[0]=null,!o.pop()}}),has:n(function(e){return function(o){return t(e,o).length>0}}),contains:n(function(e){return e=e.replace(ge,ve),function(t){return(t.textContent||t.innerText||k(t)).indexOf(e)>-1}}),lang:n(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ge,ve).toLowerCase(),function(t){var o;do{if(o=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(o=o.toLowerCase())===e||0===o.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var o=e.location&&e.location.hash;return o&&o.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return fe.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,o){return[o<0?o+t:o]}),even:s(function(e,t){for(var o=0;o=0;)e.push(n);return e}),gt:s(function(e,t,o){for(var n=o<0?o+t:o;++n2&&"ID"===(a=i[0]).type&&9===t.nodeType&&N&&w.relative[i[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ge,ve),t)||[])[0]))return o;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(r=de.needsContext.test(e)?0:i.length;r--&&(a=i[r],!w.relative[l=a.type]);)if((s=w.find[l])&&(n=s(a.matches[0].replace(ge,ve),me.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(r,1),!(e=n.length&&d(i)))return X.apply(o,n),o;break}}return(c||C(e,p))(n,t,!N,o,!t||me.test(e)&&u(t.parentNode)||t),o},x.sortStable=L.split("").sort(V).join("")===L,x.detectDuplicates=!!M,P(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(D.createElement("fieldset"))}),r(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,o){if(!o)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,o){if(!o&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||i($,function(e,t,o){var n;if(!o)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),t}(o);ve.find=_e,ve.expr=_e.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=_e.uniqueSort,ve.text=_e.getText,ve.isXMLDoc=_e.isXML,ve.contains=_e.contains,ve.escapeSelector=_e.escape;var Te=function(e,t,o){for(var n=[],r=void 0!==o;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&ve(e).is(o))break;n.push(e)}return n},Ce=function(e,t){for(var o=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&o.push(e);return o},Ee=ve.expr.match.needsContext,Se=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Oe=/^.[^:#\[\.,]*$/;ve.filter=function(e,t,o){var n=t[0];return o&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?ve.find.matchesSelector(n,e)?[n]:[]:ve.find.matches(e,ve.grep(t,function(e){return 1===e.nodeType}))},ve.fn.extend({find:function(e){var t,o,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(ve(e).filter(function(){for(t=0;t1?ve.uniqueSort(o):o},filter:function(e){return this.pushStack(u(this,e||[],!1))},not:function(e){return this.pushStack(u(this,e||[],!0))},is:function(e){return!!u(this,"string"==typeof e&&Ee.test(e)?ve(e):e||[],!1).length}});var Me,Pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ve.fn.init=function(e,t,o){var n,r;if(!e)return this;if(o=o||Me,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Pe.exec(e))||!n[1]&&t)return!t||t.jquery?(t||o).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ve?t[0]:t,ve.merge(this,ve.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Se.test(n[1])&&ve.isPlainObject(t))for(n in t)ve.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return r=ae.getElementById(n[2]),r&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ve.isFunction(e)?void 0!==o.ready?o.ready(e):e(ve):ve.makeArray(e,this)}).prototype=ve.fn,Me=ve(ae);var De=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t=ve(e,this),o=t.length;return this.filter(function(){for(var e=0;e-1:1===o.nodeType&&ve.find.matchesSelector(o,e))){i.push(o);break}return this.pushStack(i.length>1?ve.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?de.call(ve(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Te(e,"parentNode")},parentsUntil:function(e,t,o){return Te(e,"parentNode",o)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return Te(e,"nextSibling")},prevAll:function(e){return Te(e,"previousSibling")},nextUntil:function(e,t,o){return Te(e,"nextSibling",o)},prevUntil:function(e,t,o){return Te(e,"previousSibling",o)},siblings:function(e){return Ce((e.parentNode||{}).firstChild,e)},children:function(e){return Ce(e.firstChild)},contents:function(e){return s(e,"iframe")?e.contentDocument:(s(e,"template")&&(e=e.content||e),ve.merge([],e.childNodes))}},function(e,t){ve.fn[e]=function(o,n){var r=ve.map(this,t,o);return"Until"!==e.slice(-5)&&(n=o),n&&"string"==typeof n&&(r=ve.filter(n,r)),this.length>1&&(je[e]||ve.uniqueSort(r),De.test(e)&&r.reverse()),this.pushStack(r)}});var Ne=/[^\x20\t\r\n\f]+/g;ve.Callbacks=function(e){e="string"==typeof e?d(e):ve.extend({},e);var t,o,n,r,i=[],a=[],l=-1,s=function(){for(r=r||e.once,n=t=!0;a.length;l=-1)for(o=a.shift();++l-1;)i.splice(o,1),o<=l&&l--}),this},has:function(e){return e?ve.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=a=[],i=o="",this},disabled:function(){return!i},lock:function(){return r=a=[],o||t||(i=o=""),this},locked:function(){return!!r},fireWith:function(e,o){return r||(o=o||[],o=[e,o.slice?o.slice():o],a.push(o),t||s()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},ve.extend({Deferred:function(e){var t=[["notify","progress",ve.Callbacks("memory"),ve.Callbacks("memory"),2],["resolve","done",ve.Callbacks("once memory"),ve.Callbacks("once memory"),0,"resolved"],["reject","fail",ve.Callbacks("once memory"),ve.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return ve.Deferred(function(o){ve.each(t,function(t,n){var r=ve.isFunction(e[n[4]])&&e[n[4]];i[n[1]](function(){var e=r&&r.apply(this,arguments);e&&ve.isFunction(e.promise)?e.promise().progress(o.notify).done(o.resolve).fail(o.reject):o[n[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function i(e,t,n,r){return function(){var l=this,s=arguments,u=function(){var o,u;if(!(e=a&&(n!==f&&(l=void 0,s=[o]),t.rejectWith(l,s))}};e?c():(ve.Deferred.getStackHook&&(c.stackTrace=ve.Deferred.getStackHook()),o.setTimeout(c))}}var a=0;return ve.Deferred(function(o){t[0][3].add(i(0,o,ve.isFunction(r)?r:p,o.notifyWith)),t[1][3].add(i(0,o,ve.isFunction(e)?e:p)),t[2][3].add(i(0,o,ve.isFunction(n)?n:f))}).promise()},promise:function(e){return null!=e?ve.extend(e,r):r}},i={};return ve.each(t,function(e,o){var a=o[2],l=o[5];r[o[1]]=a.add,l&&a.add(function(){n=l},t[3-e][2].disable,t[0][2].lock),a.add(o[3].fire),i[o[0]]=function(){return i[o[0]+"With"](this===i?void 0:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,o=t,n=Array(o),r=se.call(arguments),i=ve.Deferred(),a=function(e){return function(o){n[e]=this,r[e]=arguments.length>1?se.call(arguments):o,--t||i.resolveWith(n,r)}};if(t<=1&&(h(e,i.done(a(o)).resolve,i.reject,!t),"pending"===i.state()||ve.isFunction(r[o]&&r[o].then)))return i.then();for(;o--;)h(r[o],a(o),i.reject);return i.promise()}});var Re=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ve.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&Re.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ve.readyException=function(e){o.setTimeout(function(){throw e})};var Ae=ve.Deferred();ve.fn.ready=function(e){return Ae.then(e).catch(function(e){ve.readyException(e)}),this},ve.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ve.readyWait:ve.isReady)||(ve.isReady=!0,!0!==e&&--ve.readyWait>0||Ae.resolveWith(ae,[ve]))}}),ve.ready.then=Ae.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?o.setTimeout(ve.ready):(ae.addEventListener("DOMContentLoaded",b),o.addEventListener("load",b));var Ie=function(e,t,o,n,r,i,a){var l=0,s=e.length,u=null==o;if("object"===ve.type(o)){r=!0;for(l in o)Ie(e,t,l,o[l],!0,i,a)}else if(void 0!==n&&(r=!0,ve.isFunction(n)||(a=!0),u&&(a?(t.call(e,n),t=null):(u=t,t=function(e,t,o){return u.call(ve(e),o)})),t))for(;l1,null,!0)},removeData:function(e){return this.each(function(){ze.remove(this,e)})}}),ve.extend({queue:function(e,t,o){var n;if(e)return t=(t||"fx")+"queue",n=Le.get(e,t),o&&(!n||Array.isArray(o)?n=Le.access(e,t,ve.makeArray(o)):n.push(o)),n||[]},dequeue:function(e,t){t=t||"fx";var o=ve.queue(e,t),n=o.length,r=o.shift(),i=ve._queueHooks(e,t),a=function(){ve.dequeue(e,t)};"inprogress"===r&&(r=o.shift(),n--),r&&("fx"===t&&o.unshift("inprogress"),delete i.stop,r.call(e,a,i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return Le.get(e,o)||Le.access(e,o,{empty:ve.Callbacks("once memory").add(function(){Le.remove(e,[t+"queue",o])})})}}),ve.fn.extend({queue:function(e,t){var o=2;return"string"!=typeof e&&(t=e,e="fx",o--),arguments.length\x20\t\r\n\f]+)/i,Xe=/^$|\/(?:java|ecma)script/i,Qe={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Qe.optgroup=Qe.option,Qe.tbody=Qe.tfoot=Qe.colgroup=Qe.caption=Qe.thead,Qe.th=Qe.td;var Je=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment(),t=e.appendChild(ae.createElement("div")),o=ae.createElement("input");o.setAttribute("type","radio"),o.setAttribute("checked","checked"),o.setAttribute("name","t"),t.appendChild(o),ge.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",ge.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var $e=ae.documentElement,et=/^key/,tt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ot=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,o,n,r){var i,a,l,s,u,c,d,p,f,h,b,m=Le.get(e);if(m)for(o.handler&&(i=o,o=i.handler,r=i.selector),r&&ve.find.matchesSelector($e,r),o.guid||(o.guid=ve.guid++),(s=m.events)||(s=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==ve&&ve.event.triggered!==t.type?ve.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ne)||[""],u=t.length;u--;)l=ot.exec(t[u])||[],f=b=l[1],h=(l[2]||"").split(".").sort(),f&&(d=ve.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=ve.event.special[f]||{},c=ve.extend({type:f,origType:b,data:n,handler:o,guid:o.guid,selector:r,needsContext:r&&ve.expr.match.needsContext.test(r),namespace:h.join(".")},i),(p=s[f])||(p=s[f]=[],p.delegateCount=0,d.setup&&!1!==d.setup.call(e,n,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=o.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),ve.event.global[f]=!0)},remove:function(e,t,o,n,r){var i,a,l,s,u,c,d,p,f,h,b,m=Le.hasData(e)&&Le.get(e);if(m&&(s=m.events)){for(t=(t||"").match(Ne)||[""],u=t.length;u--;)if(l=ot.exec(t[u])||[],f=b=l[1],h=(l[2]||"").split(".").sort(),f){for(d=ve.event.special[f]||{},f=(n?d.delegateType:d.bindType)||f,p=s[f]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)c=p[i],!r&&b!==c.origType||o&&o.guid!==c.guid||l&&!l.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||ve.removeEvent(e,f,m.handle),delete s[f])}else for(f in s)ve.event.remove(e,f+t[u],o,n,!0);ve.isEmptyObject(s)&&Le.remove(e,"handle events")}},dispatch:function(e){var t,o,n,r,i,a,l=ve.event.fix(e),s=new Array(arguments.length),u=(Le.get(this,"events")||{})[l.type]||[],c=ve.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},o=0;o-1:ve.find(r,this,null,[u]).length),a[r]&&i.push(n);i.length&&l.push({elem:u,handlers:i})}return u=this,s\x20\t\r\n\f]*)[^>]*)\/>/gi,rt=/\s*$/g;ve.extend({htmlPrefilter:function(e){return e.replace(nt,"<$1>")},clone:function(e,t,o){var n,r,i,a,l=e.cloneNode(!0),s=ve.contains(e.ownerDocument,e);if(!(ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ve.isXMLDoc(e)))for(a=k(l),i=k(e),n=0,r=i.length;n0&&_(a,!s&&k(e,"script")),l},cleanData:function(e){for(var t,o,n,r=ve.event.special,i=0;void 0!==(o=e[i]);i++)if(Fe(o)){if(t=o[Le.expando]){if(t.events)for(n in t.events)r[n]?ve.event.remove(o,n):ve.removeEvent(o,n,t.handle);o[Le.expando]=void 0}o[ze.expando]&&(o[ze.expando]=void 0)}}}),ve.fn.extend({detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?ve.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){M(this,e).appendChild(e)}})},prepend:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=M(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ve.cleanData(k(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ve.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},o=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!rt.test(e)&&!Qe[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;o1)}}),ve.Tween=H,H.prototype={constructor:H,init:function(e,t,o,n,r,i){this.elem=e,this.prop=o,this.easing=r||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(ve.cssNumber[o]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,o=H.propHooks[this.prop];return this.options.duration?this.pos=t=ve.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ve.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ve.cssProps[e.prop]]&&!ve.cssHooks[e.prop]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=H.prototype.init,ve.fx.step={};var gt,vt,yt=/^(?:toggle|show|hide)$/,xt=/queueHooks$/;ve.Animation=ve.extend(X,{tweeners:{"*":[function(e,t){var o=this.createTween(e,t);return y(o.elem,e,He.exec(t),o),o}]},tweener:function(e,t){ve.isFunction(e)?(t=e,e=["*"]):e=e.match(Ne);for(var o,n=0,r=e.length;n1)},removeAttr:function(e){return this.each(function(){ve.removeAttr(this,e)})}}),ve.extend({attr:function(e,t,o){var n,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?ve.prop(e,t,o):(1===i&&ve.isXMLDoc(e)||(r=ve.attrHooks[t.toLowerCase()]||(ve.expr.match.bool.test(t)?wt:void 0)),void 0!==o?null===o?void ve.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,o,t))?n:(e.setAttribute(t,o+""),o):r&&"get"in r&&null!==(n=r.get(e,t))?n:(n=ve.find.attr(e,t),null==n?void 0:n))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&s(e,"input")){var o=e.value;return e.setAttribute("type",t),o&&(e.value=o),t}}}},removeAttr:function(e,t){var o,n=0,r=t&&t.match(Ne);if(r&&1===e.nodeType)for(;o=r[n++];)e.removeAttribute(o)}}),wt={set:function(e,t,o){return!1===t?ve.removeAttr(e,o):e.setAttribute(o,o),o}},ve.each(ve.expr.match.bool.source.match(/\w+/g),function(e,t){var o=kt[t]||ve.find.attr;kt[t]=function(e,t,n){var r,i,a=t.toLowerCase();return n||(i=kt[a],kt[a]=r,r=null!=o(e,t,n)?a:null,kt[a]=i),r}});var _t=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return Ie(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ve.propFix[e]||e]})}}),ve.extend({prop:function(e,t,o){var n,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,r=ve.propHooks[t]),void 0!==o?r&&"set"in r&&void 0!==(n=r.set(e,o,t))?n:e[t]=o:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=ve.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ge.optSelected||(ve.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ve.propFix[this.toLowerCase()]=this}),ve.fn.extend({addClass:function(e){var t,o,n,r,i,a,l,s=0;if(ve.isFunction(e))return this.each(function(t){ve(this).addClass(e.call(this,t,J(this)))});if("string"==typeof e&&e)for(t=e.match(Ne)||[];o=this[s++];)if(r=J(o),n=1===o.nodeType&&" "+Q(r)+" "){for(a=0;i=t[a++];)n.indexOf(" "+i+" ")<0&&(n+=i+" ");l=Q(n),r!==l&&o.setAttribute("class",l)}return this},removeClass:function(e){var t,o,n,r,i,a,l,s=0;if(ve.isFunction(e))return this.each(function(t){ve(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ne)||[];o=this[s++];)if(r=J(o),n=1===o.nodeType&&" "+Q(r)+" "){for(a=0;i=t[a++];)for(;n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");l=Q(n),r!==l&&o.setAttribute("class",l)}return this},toggleClass:function(e,t){var o=typeof e;return"boolean"==typeof t&&"string"===o?t?this.addClass(e):this.removeClass(e):ve.isFunction(e)?this.each(function(o){ve(this).toggleClass(e.call(this,o,J(this),t),t)}):this.each(function(){var t,n,r,i;if("string"===o)for(n=0,r=ve(this),i=e.match(Ne)||[];t=i[n++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==o||(t=J(this),t&&Le.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Le.get(this,"__className__")||""))})},hasClass:function(e){var t,o,n=0;for(t=" "+e+" ";o=this[n++];)if(1===o.nodeType&&(" "+Q(J(o))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;ve.fn.extend({val:function(e){var t,o,n,r=this[0];{if(arguments.length)return n=ve.isFunction(e),this.each(function(o){var r;1===this.nodeType&&(r=n?e.call(this,o,ve(this).val()):e,null==r?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=ve.map(r,function(e){return null==e?"":e+""})),(t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return(t=ve.valHooks[r.type]||ve.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(o=t.get(r,"value"))?o:(o=r.value,"string"==typeof o?o.replace(Ct,""):null==o?"":o)}}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:Q(ve.text(e))}},select:{get:function(e){var t,o,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?i+1:r.length;for(n=i<0?u:a?i:0;n-1)&&(o=!0);return o||(e.selectedIndex=-1),i}}}}),ve.each(["radio","checkbox"],function(){ve.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=ve.inArray(ve(e).val(),t)>-1}},ge.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=/^(?:focusinfocus|focusoutblur)$/;ve.extend(ve.event,{trigger:function(e,t,n,r){var i,a,l,s,u,c,d,p=[n||ae],f=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(a=l=n=n||ae,3!==n.nodeType&&8!==n.nodeType&&!Et.test(f+ve.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),u=f.indexOf(":")<0&&"on"+f,e=e[ve.expando]?e:new ve.Event(f,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ve.makeArray(t,[e]),d=ve.event.special[f]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!ve.isWindow(n)){for(s=d.delegateType||f,Et.test(s+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),l=a;l===(n.ownerDocument||ae)&&p.push(l.defaultView||l.parentWindow||o)}for(i=0;(a=p[i++])&&!e.isPropagationStopped();)e.type=i>1?s:d.bindType||f,c=(Le.get(a,"events")||{})[e.type]&&Le.get(a,"handle"),c&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Fe(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Fe(n)||u&&ve.isFunction(n[f])&&!ve.isWindow(n)&&(l=n[u],l&&(n[u]=null),ve.event.triggered=f,n[f](),ve.event.triggered=void 0,l&&(n[u]=l)),e.result}},simulate:function(e,t,o){var n=ve.extend(new ve.Event,o,{type:e,isSimulated:!0});ve.event.trigger(n,null,t)}}),ve.fn.extend({trigger:function(e,t){return this.each(function(){ve.event.trigger(e,t,this)})},triggerHandler:function(e,t){var o=this[0];if(o)return ve.event.trigger(e,t,o,!0)}}),ve.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){ve.fn[t]=function(e,o){return arguments.length>0?this.on(t,null,e,o):this.trigger(t)}}),ve.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ge.focusin="onfocusin"in o,ge.focusin||ve.each({focus:"focusin",blur:"focusout"},function(e,t){var o=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=Le.access(n,t);r||n.addEventListener(e,o,!0),Le.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=Le.access(n,t)-1;r?Le.access(n,t,r):(n.removeEventListener(e,o,!0),Le.remove(n,t))}}});var St=o.location,Ot=ve.now(),Mt=/\?/;ve.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ve.error("Invalid XML: "+e),t};var Pt=/\[\]$/,Dt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var o,n=[],r=function(e,t){var o=ve.isFunction(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==o?"":o)};if(Array.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,function(){r(this.name,this.value)});else for(o in e)$(o,e[o],t,r);return n.join("&")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&Nt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Ge.test(e))}).map(function(e,t){var o=ve(this).val();return null==o?null:Array.isArray(o)?ve.map(o,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:o.replace(Dt,"\r\n")}}).get()}});var Rt=/%20/g,At=/#.*$/,It=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zt=/^(?:GET|HEAD)$/,Wt=/^\/\//,Bt={},Ut={},Ht="*/".concat("*"),qt=ae.createElement("a");qt.href=St.href,ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:Lt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?oe(oe(e,ve.ajaxSettings),t):oe(ve.ajaxSettings,e)},ajaxPrefilter:ee(Bt),ajaxTransport:ee(Ut),ajax:function(e,t){function n(e,t,n,l){var u,p,f,x,w,k=t;c||(c=!0,s&&o.clearTimeout(s),r=void 0,a=l||"",_.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(x=ne(h,_,n)),x=re(h,x,_,u),u?(h.ifModified&&(w=_.getResponseHeader("Last-Modified"),w&&(ve.lastModified[i]=w),(w=_.getResponseHeader("etag"))&&(ve.etag[i]=w)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=x.state,p=x.data,f=x.error,u=!f)):(f=k,!e&&k||(k="error",e<0&&(e=0))),_.status=e,_.statusText=(t||k)+"",u?g.resolveWith(b,[p,k,_]):g.rejectWith(b,[_,k,f]),_.statusCode(y),y=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[_,h,u?p:f]),v.fireWith(b,[_,k]),d&&(m.trigger("ajaxComplete",[_,h]),--ve.active||ve.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,l,s,u,c,d,p,f,h=ve.ajaxSetup({},t),b=h.context||h,m=h.context&&(b.nodeType||b.jquery)?ve(b):ve.event,g=ve.Deferred(),v=ve.Callbacks("once memory"),y=h.statusCode||{},x={},w={},k="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(c){if(!l)for(l={};t=Ft.exec(a);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)_.always(e[_.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),n(0,t),this}};if(g.promise(_),h.url=((e||h.url||St.href)+"").replace(Wt,St.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ne)||[""],null==h.crossDomain){u=ae.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=qt.protocol+"//"+qt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ve.param(h.data,h.traditional)),te(Bt,h,t,_),c)return _;d=ve.event&&h.global,d&&0==ve.active++&&ve.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!zt.test(h.type),i=h.url.replace(At,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(f=h.url.slice(i.length),h.data&&(i+=(Mt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(It,"$1"),f=(Mt.test(i)?"&":"?")+"_="+Ot+++f),h.url=i+f),h.ifModified&&(ve.lastModified[i]&&_.setRequestHeader("If-Modified-Since",ve.lastModified[i]),ve.etag[i]&&_.setRequestHeader("If-None-Match",ve.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&_.setRequestHeader("Content-Type",h.contentType),_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ht+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)_.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(b,_,h)||c))return _.abort();if(k="abort",v.add(h.complete),_.done(h.success),_.fail(h.error),r=te(Ut,h,t,_)){if(_.readyState=1,d&&m.trigger("ajaxSend",[_,h]),c)return _;h.async&&h.timeout>0&&(s=o.setTimeout(function(){_.abort("timeout")},h.timeout));try{c=!1,r.send(x,n)}catch(e){if(c)throw e;n(-1,e)}}else n(-1,"No Transport");return _},getJSON:function(e,t,o){return ve.get(e,t,o,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],function(e,t){ve[t]=function(e,o,n,r){return ve.isFunction(o)&&(r=r||n,n=o,o=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:r,data:o,success:n},ve.isPlainObject(e)&&e))}}),ve._evalUrl=function(e){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ve.fn.extend({wrapAll:function(e){var t;return this[0]&&(ve.isFunction(e)&&(e=e.call(this[0])),t=ve(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return ve.isFunction(e)?this.each(function(t){ve(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ve(this),o=t.contents();o.length?o.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve.isFunction(e);return this.each(function(o){ve(this).wrapAll(t?e.call(this,o):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ve(this).replaceWith(this.childNodes)}),this}}),ve.expr.pseudos.hidden=function(e){return!ve.expr.pseudos.visible(e)},ve.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ve.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Kt=ve.ajaxSettings.xhr();ge.cors=!!Kt&&"withCredentials"in Kt,ge.ajax=Kt=!!Kt,ve.ajaxTransport(function(e){var t,n;if(ge.cors||Kt&&!e.crossDomain)return{send:function(r,i){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)l.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=l.onload=l.onerror=l.onabort=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?i(0,"error"):i(l.status,l.statusText):i(Vt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),n=l.onerror=t("error"),void 0!==l.onabort?l.onabort=n:l.onreadystatechange=function(){4===l.readyState&&o.setTimeout(function(){t&&n()})},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),ve.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ve.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ve.ajaxTransport("script",function(e){if(e.crossDomain){var t,o;return{send:function(n,r){t=ve(" - {% block css %} diff --git a/templates/home.html b/templates/home.html index 2aa2d056..eed2304a 100644 --- a/templates/home.html +++ b/templates/home.html @@ -6,7 +6,7 @@ {% endblock %} {% block body %} -{% render_bundle 'main' %} + {% endblock %} diff --git a/webpack-stats.json b/webpack-stats.json index b2470d44..1b1d1f79 100644 --- a/webpack-stats.json +++ b/webpack-stats.json @@ -1 +1,11 @@ -{"status":"done","chunks":{"main":[{"name":"main-731071d0e1aaf669acf1.js","path":"C:\\Users\\Troy\\PycharmProjects\\liquid_dl\\assets\\bundles\\main-731071d0e1aaf669acf1.js"}]},"error":"ModuleBuildError","message":"Module build failed: SyntaxError: C:/Users/Troy/PycharmProjects/liquid_dl/assets/js/Components/AppContainers/Wget/WgetForm.js: JSX attributes must only be assigned a non-empty expression (78:46)\n\n 76 | \n 77 |
\n> 78 | \n | ^\n 79 |
\n 80 | \n 81 | );\n"} \ No newline at end of file +{ + "status": "done", + "chunks": { + "main": [ + { + "name": "main-40806065882ba2f11207.js", + "path": "C:\\Users\\Troy\\PycharmProjects\\liquid_dl\\assets\\bundles\\main-40806065882ba2f11207.js" + } + ] + } +} \ No newline at end of file