cronsun/web/ui/dist/build.js

40 lines
1018 KiB
JavaScript
Raw Normal View History

2017-02-17 06:20:58 +00:00
!function(e){function t(o){if(i[o])return i[o].exports;var n=i[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=57)}([function(e,t,i){var o,n;o=i(30);var r=i(46);n=o=o||{},"object"!=typeof o.default&&"function"!=typeof o.default||(n=o=o.default),"function"==typeof n&&(n=n.options),n.render=r.render,n.staticRenderFns=r.staticRenderFns,e.exports=o},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var i=this[t];i[2]?e.push("@media "+i[2]+"{"+i[1]+"}"):e.push(i[1])}return e.join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},n=0;n<this.length;n++){var r=this[n][0];"number"==typeof r&&(o[r]=!0)}for(n=0;n<t.length;n++){var a=t[n];"number"==typeof a[0]&&o[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),e.push(a))}},e}},function(e,t){e.exports="/ui/icons.eot?25a32416abee198dd821b0b17a198a8f"},function(e,t,i){var o,n;o=i(31);var r=i(51);n=o=o||{},"object"!=typeof o.default&&"function"!=typeof o.default||(n=o=o.default),"function"==typeof n&&(n=n.options),n.render=r.render,n.staticRenderFns=r.staticRenderFns,e.exports=o},function(e,t){function i(e,t){for(var i=0;i<e.length;i++){var o=e[i],n=u[o.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](o.parts[r]);for(;r<o.parts.length;r++)n.parts.push(s(o.parts[r],t))}else{for(var a=[],r=0;r<o.parts.length;r++)a.push(s(o.parts[r],t));u[o.id]={id:o.id,refs:1,parts:a}}}}function o(e){for(var t=[],i={},o=0;o<e.length;o++){var n=e[o],r=n[0],a=n[1],s=n[2],l=n[3],c={css:a,media:s,sourceMap:l};i[r]?i[r].parts.push(c):t.push(i[r]={id:r,parts:[c]})}return t}function n(e,t){var i=f(),o=g[g.length-1];if("top"===e.insertAt)o?o.nextSibling?i.insertBefore(t,o.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(t)}}function r(e){e.parentNode.removeChild(e);var t=g.indexOf(e);t>=0&&g.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",n(e,t),t}function s(e,t){var i,o,n;if(t.singleton){var s=p++;i=b||(b=a(t)),o=l.bind(null,i,s,!1),n=l.bind(null,i,s,!0)}else i=a(t),o=c.bind(null,i),n=function(){r(i)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}function l(e,t,i,o){var n=i?"":o.css;if(e.styleSheet)e.styleSheet.cssText=h(t,n);else{var r=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function c(e,t){var i=t.css,o=t.media,n=t.sourceMap;if(o&&e.setAttribute("media",o),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var u={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),f=d(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,p=0,g=[];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||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return i(n,t),function(e){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=u[s.id];l.refs--,r.push(l)}if(e){var c=o(e);i(c,t)}for(var a=0;a<r.length;a++){var l=r[a];if(0===l.refs){for(var
2017-01-18 09:08:07 +00:00
* jQuery JavaScript Library v3.1.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2016-09-22T22:30Z
*/
2017-02-17 06:20:58 +00:00
!function(t,i){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,function(i,r){"use strict";function a(e,t){t=t||re;var i=t.createElement("script");i.text=e,t.head.appendChild(i).parentNode.removeChild(i)}function s(e){var t=!!e&&"length"in e&&e.length,i=ve.type(e);return"function"!==i&&!ve.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t,i){return ve.isFunction(t)?ve.grep(e,function(e,o){return!!t.call(e,o,e)!==i}):t.nodeType?ve.grep(e,function(e){return e===t!==i}):"string"!=typeof t?ve.grep(e,function(e){return ue.call(t,e)>-1!==i}):Ie.test(t)?ve.filter(t,e,i):(t=ve.filter(t,e),ve.grep(e,function(e){return ue.call(t,e)>-1!==i&&1===e.nodeType}))}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return ve.each(e.match(Ye)||[],function(e,i){t[i]=!0}),t}function d(e){return e}function m(e){throw e}function f(e,t,i){var o;try{e&&ve.isFunction(o=e.promise)?o.call(e).done(t).fail(i):e&&ve.isFunction(o=e.then)?o.call(e,t,i):t.call(void 0,e)}catch(e){i.call(void 0,e)}}function b(){re.removeEventListener("DOMContentLoaded",b),i.removeEventListener("load",b),ve.ready()}function p(){this.expando=ve.expando+p.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Pe.test(e)?JSON.parse(e):e)}function h(e,t,i){var o;if(void 0===i&&1===e.nodeType)if(o="data-"+t.replace(_e,"-$&").toLowerCase(),i=e.getAttribute(o),"string"==typeof i){try{i=g(i)}catch(e){}Me.set(e,t,i)}else i=void 0;return i}function v(e,t,i,o){var n,r=1,a=20,s=o?function(){return o.cur()}:function(){return ve.css(e,t,"")},l=s(),c=i&&i[3]||(ve.cssNumber[t]?"":"px"),u=(ve.cssNumber[t]||"px"!==c&&+l)&&Ge.exec(ve.css(e,t));if(u&&u[3]!==c){c=c||u[3],i=i||[],u=+l||1;do r=r||".5",u/=r,ve.style(e,t,u+c);while(r!==(r=s()/l)&&1!==r&&--a)}return i&&(u=+u||+l||0,n=i[1]?u+(i[1]+1)*i[2]:+i[2],o&&(o.unit=c,o.start=u,o.end=n)),n}function A(e){var t,i=e.ownerDocument,o=e.nodeName,n=Xe[o];return n?n:(t=i.body.appendChild(i.createElement(o)),n=ve.css(t,"display"),t.parentNode.removeChild(t),"none"===n&&(n="block"),Xe[o]=n,n)}function w(e,t){for(var i,o,n=[],r=0,a=e.length;r<a;r++)o=e[r],o.style&&(i=o.style.display,t?("none"===i&&(n[r]=Ne.get(o,"display")||null,n[r]||(o.style.display="")),""===o.style.display&&qe(o)&&(n[r]=A(o))):"none"!==i&&(n[r]="none",Ne.set(o,"display",i)));for(r=0;r<a;r++)null!=n[r]&&(e[r].style.display=n[r]);return e}function x(e,t){var i;return i="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&ve.nodeName(e,t)?ve.merge([e],i):i}function y(e,t){for(var i=0,o=e.length;i<o;i++)Ne.set(e[i],"globalEval",!t||Ne.get(t[i],"globalEval"))}function k(e,t,i,o,n){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),m=[],f=0,b=e.length;f<b;f++)if(r=e[f],r||0===r)if("object"===ve.type(r))ve.merge(m,r.nodeType?[r]:r);else if(Ke.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(Ze.exec(r)||["",""])[1].toLowerCase(),l=$e[s]||$e._default,a.innerHTML=l[1]+ve.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;ve.merge(m,a.childNodes),a=d.firstChild,a.textContent=""}else m.push(t.createTextNode(r));for(d.textContent="",f=0;r=m[f++];)if(o&&ve.inArray(r,o)>-1)n&&n.push(r);else if(c=ve.contains(r.ownerDocument,r),a=x(d.appendChild(r),"script"),c&&y(a),i)for(u=0;r=a[u++];)Ve.test(r.type||"")&&i.push(r);return d}function C(){return!0}function F(){return!1}function B(){try{return re.activeElement}catch(e){}}function E(e,t,i,o,n,r){var a,s;if("object"==typeof t){"string"!=typeof i&&(o=o||i,i=void 0);for(s in t)E(e,s,i,o,t[s],r);return e}if(null==o&&null==n?(n=i,o=i=void 0):null==n&&("string"==typeof i?(n=o,o=void 0):(n=o,o=i,i=void 0)),n===!1)n=F;else if(!n)return e;return 1===r&&(a=n,n=function(e){return ve().off(e),a.apply(this,arguments)},n.guid=a.guid||(a.guid=ve.guid++)),e.each(function(){ve.event.add(this,t
2017-01-18 09:08:07 +00:00
* Sizzle CSS Selector Engine v2.3.3
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-08-08
*/
2017-02-17 06:20:58 +00:00
function(e){function t(e,t,i,o){var n,r,a,s,l,c,u,m=t&&t.ownerDocument,b=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==b&&9!==b&&11!==b)return i;if(!o&&((t?t.ownerDocument||t:P)!==z&&j(t),t=t||z,Q)){if(11!==b&&(l=he.exec(e)))if(n=l[1]){if(9===b){if(!(a=t.getElementById(n)))return i;if(a.id===n)return i.push(a),i}else if(m&&(a=m.getElementById(n))&&N(t,a)&&a.id===n)return i.push(a),i}else{if(l[2])return $.apply(i,t.getElementsByTagName(e)),i;if((n=l[3])&&y.getElementsByClassName&&t.getElementsByClassName)return $.apply(i,t.getElementsByClassName(n)),i}if(y.qsa&&!q[e+" "]&&(!L||!L.test(e))){if(1!==b)m=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,ye):t.setAttribute("id",s=M),c=B(e),r=c.length;r--;)c[r]="#"+s+" "+f(c[r]);u=c.join(","),m=ve.test(e)&&d(t.parentNode)||t}if(u)try{return $.apply(i,m.querySelectorAll(u)),i}catch(e){}finally{s===M&&t.removeAttribute("id")}}}return I(e.replace(se,"$1"),t,i,o)}function i(){function e(i,o){return t.push(i+" ")>k.cacheLength&&delete e[t.shift()],e[i+" "]=o}var t=[];return e}function o(e){return e[M]=!0,e}function n(e){var t=z.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var i=e.split("|"),o=i.length;o--;)k.attrHandle[i[o]]=t}function a(e,t){var i=t&&e,o=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function s(e){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===e}}function l(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return o(function(t){return t=+t,o(function(i,o){for(var n,r=e([],i.length,t),a=r.length;a--;)i[n=r[a]]&&(i[n]=!(o[n]=i[n]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function m(){}function f(e){for(var t=0,i=e.length,o="";t<i;t++)o+=e[t].value;return o}function b(e,t,i){var o=t.dir,n=t.next,r=n||o,a=i&&"parentNode"===r,s=H++;return t.first?function(t,i,n){for(;t=t[o];)if(1===t.nodeType||a)return e(t,i,n);return!1}:function(t,i,l){var c,u,d,m=[_,s];if(l){for(;t=t[o];)if((1===t.nodeType||a)&&e(t,i,l))return!0}else for(;t=t[o];)if(1===t.nodeType||a)if(d=t[M]||(t[M]={}),u=d[t.uniqueID]||(d[t.uniqueID]={}),n&&n===t.nodeName.toLowerCase())t=t[o]||t;else{if((c=u[r])&&c[0]===_&&c[1]===s)return m[2]=c[2];if(u[r]=m,m[2]=e(t,i,l))return!0}return!1}}function p(e){return e.length>1?function(t,i,o){for(var n=e.length;n--;)if(!e[n](t,i,o))return!1;return!0}:e[0]}function g(e,i,o){for(var n=0,r=i.length;n<r;n++)t(e,i[n],o);return o}function h(e,t,i,o,n){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(i&&!i(r,o,n)||(a.push(r),c&&t.push(s)));return a}function v(e,t,i,n,r,a){return n&&!n[M]&&(n=v(n)),r&&!r[M]&&(r=v(r,a)),o(function(o,a,s,l){var c,u,d,m=[],f=[],b=a.length,p=o||g(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?p:h(p,m,e,s,l),A=i?r||(o?e:b||n)?[]:a:v;if(i&&i(v,A,s,l),n)for(c=h(A,f),n(c,[],s,l),u=c.length;u--;)(d=c[u])&&(A[f[u]]=!(v[f[u]]=d));if(o){if(r||e){if(r){for(c=[],u=A.length;u--;)(d=A[u])&&c.push(v[u]=d);r(null,A=[],c,l)}for(u=A.length;u--;)(d=A[u])&&(c=r?ee(o,d):m[u])>-1&&(o[c]=!(a[c]=d))}}else A=h(A===a?A.splice(b,A.length):A),r?r(null,a,A,l):$.apply(a,A)})}function A(e){for(var t,i,o,n=e.length,r=k.relative[e[0].type],a=r||k.relative[" "],s=r?1:0,l=b(function(e){return e===t},a,!0),c=b(function(e){return ee(t,e)>-1},a,!0),u=[function(e,i,o){var n=!r&&(o||i!==S)||((t=i).nodeType?l(e,i,o):c(e,i,o));return t=null,n}];s<n;s++)if(i=k.relative[e[s].type])u=[b(p(u),i)];else{if(i=k.filter[e[s].type].apply(null,e[s].matches),i[M]){for(o=++s;o<n&&!k.relative[e[o].type];o++);return v(s>1&&p(u),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(s
var Ke=/<|&#?\w+;/;!function(){var e=re.createDocumentFragment(),t=e.appendChild(re.createElement("div")),i=re.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),t.appendChild(i),ge.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ge.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=re.documentElement,tt=/^key/,it=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ot=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,i,o,n){var r,a,s,l,c,u,d,m,f,b,p,g=Ne.get(e);if(g)for(i.handler&&(r=i,i=r.handler,n=r.selector),n&&ve.find.matchesSelector(et,n),i.guid||(i.guid=ve.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return"undefined"!=typeof ve&&ve.event.triggered!==t.type?ve.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ye)||[""],c=t.length;c--;)s=ot.exec(t[c])||[],f=p=s[1],b=(s[2]||"").split(".").sort(),f&&(d=ve.event.special[f]||{},f=(n?d.delegateType:d.bindType)||f,d=ve.event.special[f]||{},u=ve.extend({type:f,origType:p,data:o,handler:i,guid:i.guid,selector:n,needsContext:n&&ve.expr.match.needsContext.test(n),namespace:b.join(".")},r),(m=l[f])||(m=l[f]=[],m.delegateCount=0,d.setup&&d.setup.call(e,o,b,a)!==!1||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),n?m.splice(m.delegateCount++,0,u):m.push(u),ve.event.global[f]=!0)},remove:function(e,t,i,o,n){var r,a,s,l,c,u,d,m,f,b,p,g=Ne.hasData(e)&&Ne.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Ye)||[""],c=t.length;c--;)if(s=ot.exec(t[c])||[],f=p=s[1],b=(s[2]||"").split(".").sort(),f){for(d=ve.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,m=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=m.length;r--;)u=m[r],!n&&p!==u.origType||i&&i.guid!==u.guid||s&&!s.test(u.namespace)||o&&o!==u.selector&&("**"!==o||!u.selector)||(m.splice(r,1),u.selector&&m.delegateCount--,d.remove&&d.remove.call(e,u));a&&!m.length&&(d.teardown&&d.teardown.call(e,b,g.handle)!==!1||ve.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)ve.event.remove(e,f+t[c],i,o,!0);ve.isEmptyObject(l)&&Ne.remove(e,"handle events")}},dispatch:function(e){var t,i,o,n,r,a,s=ve.event.fix(e),l=new Array(arguments.length),c=(Ne.get(this,"events")||{})[s.type]||[],u=ve.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,s)!==!1){for(a=ve.event.handlers.call(this,s,c),t=0;(n=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=n.elem,i=0;(r=n.handlers[i++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,o=((ve.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,l),void 0!==o&&(s.result=o)===!1&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var i,o,n,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||c.disabled!==!0)){for(r=[],a={},i=0;i<l;i++)o=t[i],n=o.selector+" ",void 0===a[n]&&(a[n]=o.needsContext?ve(n,this).index(c)>-1:ve.find(n,this,null,[c]).length),a[n]&&r.push(o);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(ve.Event.prototype,e,{enumerable:!0,configurable:!0,get:ve.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[ve.expando]?e:new ve.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==B()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===B()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click
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 i.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},qt=ve.ajaxSettings.xhr();ge.cors=!!qt&&"withCredentials"in qt,ge.ajax=qt=!!qt,ve.ajaxTransport(function(e){var t,o;if(ge.cors||qt&&!e.crossDomain)return{send:function(n,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(a in n)s.setRequestHeader(a,n[a]);t=function(e){return function(){t&&(t=o=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),o=s.onerror=t("error"),void 0!==s.onabort?s.onabort=o:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout(function(){t&&o()})},t=t("abort");try{s.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,i;return{send:function(o,n){t=ve("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&n("error"===e.type?404:200,e.type)}),re.head.appendChild(t[0])},abort:function(){i&&i()}}}});var Jt=[],Xt=/(=)\?(?=&|$)|\?\?/;ve.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||ve.expando+"_"+It++;return this[e]=!0,e}}),ve.ajaxPrefilter("json jsonp",function(e,t,o){var n,r,a,s=e.jsonp!==!1&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=ve.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Xt,"$1"+n):e.jsonp!==!1&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return a||ve.error(n+" was not called"),a[0]},e.dataTypes[0]="json",r=i[n],i[n]=function(){a=arguments},o.always(function(){void 0===r?ve(i).removeProp(n):i[n]=r,e[n]&&(e.jsonpCallback=t.jsonpCallback,Jt.push(n)),a&&ve.isFunction(r)&&r(a[0]),a=r=void 0}),"script"}),ge.createHTMLDocument=function(){var e=re.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),ve.parseHTML=function(e,t,i){if("string"!=typeof e)return[];"boolean"==typeof t&&(i=t,t=!1);var o,n,r;return t||(ge.createHTMLDocument?(t=re.implementation.createHTMLDocument(""),o=t.createElement("base"),o.href=re.location.href,t.head.appendChild(o)):t=re),n=Ee.exec(e),r=!i&&[],n?[t.createElement(n[1])]:(n=k([e],t,r),r&&r.length&&ve(r).remove(),ve.merge([],n.childNodes))},ve.fn.load=function(e,t,i){var o,n,r,a=this,s=e.indexOf(" ");return s>-1&&(o=W(e.slice(s)),e=e.slice(0,s)),ve.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(n="POST"),a.length>0&&ve.ajax({url:e,type:n||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(o?ve("<div>").append(ve.parseHTML(e)).find(o):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,r||[e.responseText,t,e])})}),this},ve.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ve.fn[t]=function(e){return this.on(t,e)}}),
2017-02-17 06:20:58 +00:00
u^=1;return m%10===0&&m>0}},minCount:function(e,t){return 0==t||(1==t?""!==e:e.split(",").length>=t)},exactCount:function(e,t){return 0==t?""===e:1==t?""!==e&&e.search(",")===-1:e.split(",").length==t},maxCount:function(e,t){return 0!=t&&(1==t?e.search(",")===-1:e.split(",").length<=t)}}}}(jQuery,window,document),function(e,t,i,o){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.accordion=function(i){var n,r=e(this),a=(new Date).getTime(),s=[],l=arguments[0],c="string"==typeof l,u=[].slice.call(arguments,1);return t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)},r.each(function(){var d,m,f=e.isPlainObject(i)?e.extend(!0,{},e.fn.accordion.settings,i):e.extend({},e.fn.accordion.settings),b=f.className,p=f.namespace,g=f.selector,h=f.error,v="."+p,A="module-"+p,w=r.selector||"",x=e(this),y=x.find(g.title),k=x.find(g.content),C=this,F=x.data(A);m={initialize:function(){m.debug("Initializing",x),m.bind.events(),f.observeChanges&&m.observeChanges(),m.instantiate()},instantiate:function(){F=m,x.data(A,m)},destroy:function(){m.debug("Destroying previous instance",x),x.off(v).removeData(A)},refresh:function(){y=x.find(g.title),k=x.find(g.content)},observeChanges:function(){"MutationObserver"in t&&(d=new MutationObserver(function(e){m.debug("DOM tree modified, updating selector cache"),m.refresh()}),d.observe(C,{childList:!0,subtree:!0}),m.debug("Setting up mutation observer",d))},bind:{events:function(){m.debug("Binding delegated events"),x.on(f.on+v,g.trigger,m.event.click)}},event:{click:function(){m.toggle.call(this)}},toggle:function(t){var i=t!==o?"number"==typeof t?y.eq(t):e(t).closest(g.title):e(this).closest(g.title),n=i.next(k),r=n.hasClass(b.animating),a=n.hasClass(b.active),s=a&&!r,l=!a&&r;m.debug("Toggling visibility of content",i),s||l?f.collapsible?m.close.call(i):m.debug("Cannot close accordion content collapsing is disabled"):m.open.call(i)},open:function(t){var i=t!==o?"number"==typeof t?y.eq(t):e(t).closest(g.title):e(this).closest(g.title),n=i.next(k),r=n.hasClass(b.animating),a=n.hasClass(b.active),s=a||r;return s?void m.debug("Accordion already open, skipping",n):(m.debug("Opening accordion content",i),f.onOpening.call(n),f.exclusive&&m.closeOthers.call(i),i.addClass(b.active),n.stop(!0,!0).addClass(b.animating),f.animateChildren&&(e.fn.transition!==o&&x.transition("is supported")?n.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:f.debug,verbose:f.verbose,duration:f.duration}):n.children().stop(!0,!0).animate({opacity:1},f.duration,m.resetOpacity)),void n.slideDown(f.duration,f.easing,function(){n.removeClass(b.animating).addClass(b.active),m.reset.display.call(this),f.onOpen.call(this),f.onChange.call(this)}))},close:function(t){var i=t!==o?"number"==typeof t?y.eq(t):e(t).closest(g.title):e(this).closest(g.title),n=i.next(k),r=n.hasClass(b.animating),a=n.hasClass(b.active),s=!a&&r,l=a&&r;!a&&!s||l||(m.debug("Closing accordion content",n),f.onClosing.call(n),i.removeClass(b.active),n.stop(!0,!0).addClass(b.animating),f.animateChildren&&(e.fn.transition!==o&&x.transition("is supported")?n.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:f.debug,verbose:f.verbose,duration:f.duration}):n.children().stop(!0,!0).animate({opacity:0},f.duration,m.resetOpacity)),n.slideUp(f.duration,f.easing,function(){n.removeClass(b.animating).removeClass(b.active),m.reset.display.call(this),f.onClose.call(this),f.onChange.call(this)}))},closeOthers:function(t){var i,n,r,a=t!==o?y.eq(t):e(this).closest(g.title),s=a.parents(g.content).prev(g.title),l=a.closest(g.accordion),c=g.title+"."+b.active+":visible",u=g.content+"."+b.active+":visible";f.closeNested?(i=l.find(c).not(s),r=i.next(k)):(i=l.find(c).not(s),n=l.find(u).find(c).not(s),i=i.not(n),r=i.next(k)),i.length>0&&(m.debug("Exclusive enabled, closing other content",i),i.removeClass(b.active),r.removeClass(b.animating).stop(!0,!0),f.animateChildren&&(e.fn.tran
U=R.children(j.menu),q=U.find(j.item)},refreshData:function(){k.verbose("Refreshing cached metadata"),q.removeData(S.text).removeData(S.value)},clearData:function(){k.verbose("Clearing metadata"),q.removeData(S.text).removeData(S.value),R.removeData(S.defaultText).removeData(S.defaultValue).removeData(S.placeholderText)},toggle:function(){k.verbose("Toggling menu visibility"),k.is.active()?k.hide():k.show()},show:function(t){if(t=e.isFunction(t)?t:function(){},k.can.show()&&!k.is.active()){if(k.debug("Showing dropdown"),!k.has.message()||k.has.maxSelections()||k.has.allResultsFiltered()||k.remove.message(),k.is.allFiltered())return!0;C.onShow.call(Z)!==!1&&k.animate.show(function(){k.can.click()&&k.bind.intent(),k.has.menuSearch()&&k.focusSearch(),k.set.visible(),t.call(Z)})}},hide:function(t){t=e.isFunction(t)?t:function(){},k.is.active()&&(k.debug("Hiding dropdown"),C.onHide.call(Z)!==!1&&k.animate.hide(function(){k.remove.visible(),t.call(Z)}))},hideOthers:function(){k.verbose("Finding other dropdowns to hide"),a.not(R).has(j.menu+"."+F.visible).dropdown("hide")},hideMenu:function(){k.verbose("Hiding menu instantaneously"),k.remove.active(),k.remove.visible(),U.transition("hide")},hideSubMenus:function(){var e=U.children(j.item).find(j.menu);k.verbose("Hiding sub menus",e),e.transition("hide")},bind:{events:function(){c&&k.bind.touchEvents(),k.bind.keyboardEvents(),k.bind.inputEvents(),k.bind.mouseEvents()},touchEvents:function(){k.debug("Touch device detected binding additional touch events"),k.is.searchSelection()||k.is.single()&&R.on("touchstart"+Q,k.event.test.toggle),U.on("touchstart"+Q,j.item,k.event.item.mouseenter)},keyboardEvents:function(){k.verbose("Binding keyboard events"),R.on("keydown"+Q,k.event.keydown),k.has.search()&&R.on(k.get.inputEvent()+Q,j.search,k.event.input),k.is.multiple()&&s.on("keydown"+A,k.event.document.keydown)},inputEvents:function(){k.verbose("Binding input change events"),R.on("change"+Q,j.input,k.event.change)},mouseEvents:function(){k.verbose("Binding mouse events"),k.is.multiple()&&R.on("click"+Q,j.label,k.event.label.click).on("click"+Q,j.remove,k.event.remove.click),k.is.searchSelection()?(R.on("mousedown"+Q,k.event.mousedown).on("mouseup"+Q,k.event.mouseup).on("mousedown"+Q,j.menu,k.event.menu.mousedown).on("mouseup"+Q,j.menu,k.event.menu.mouseup).on("click"+Q,j.icon,k.event.icon.click).on("focus"+Q,j.search,k.event.search.focus).on("click"+Q,j.search,k.event.search.focus).on("blur"+Q,j.search,k.event.search.blur).on("click"+Q,j.text,k.event.text.focus),k.is.multiple()&&R.on("click"+Q,k.event.click)):("click"==C.on?R.on("click"+Q,j.icon,k.event.icon.click).on("click"+Q,k.event.test.toggle):"hover"==C.on?R.on("mouseenter"+Q,k.delay.show).on("mouseleave"+Q,k.delay.hide):R.on(C.on+Q,k.toggle),R.on("mousedown"+Q,k.event.mousedown).on("mouseup"+Q,k.event.mouseup).on("focus"+Q,k.event.focus).on("blur"+Q,k.event.blur)),U.on("mouseenter"+Q,j.item,k.event.item.mouseenter).on("mouseleave"+Q,j.item,k.event.item.mouseleave).on("click"+Q,j.item,k.event.item.click)},intent:function(){k.verbose("Binding hide intent event to document"),c&&s.on("touchstart"+A,k.event.test.touch).on("touchmove"+A,k.event.test.touch),s.on("click"+A,k.event.test.hide)}},unbind:{intent:function(){k.verbose("Removing hide intent event from document"),c&&s.off("touchstart"+A).off("touchmove"+A),s.off("click"+A)}},filter:function(e){var t=e!==o?e:k.get.query(),i=function(){k.is.multiple()&&k.filterActive(),k.select.firstUnfiltered(),k.has.allResultsFiltered()?C.onNoResults.call(Z,t)?C.allowAdditions?C.hideAdditions&&(k.verbose("User addition with no menu, setting empty style"),k.set.empty(),k.hideMenu()):(k.verbose("All items filtered, showing message",t),k.add.message(B.noResults)):(k.verbose("All items filtered, hiding dropdown",t),k.hideMenu()):(k.remove.empty(),k.remove.message()),C.allowAdditions&&k.add.userSuggestion(e),k.is.searchSelection()&&k.can.show()&&k.is.focusedOnSearch()&&k.show()};C.useLabels&&k.has.maxSelections()||(C.apiSettings?k.can.useAPI()?k.queryRemote(t,function(){i()}):k.error(z.noAPI):(k.fi
t==o)},input:function(){return _.length>0},items:function(){return q.length>0},menu:function(){return U.length>0},message:function(){return 0!==U.children(j.message).length},label:function(e){var t=k.escape.value(e),i=R.find(j.label);return i.filter('[data-value="'+t+'"]').length>0},maxSelections:function(){return C.maxSelections&&k.get.selectionCount()>=C.maxSelections},allResultsFiltered:function(){var e=q.not(j.addition);return e.filter(j.unselectable).length===e.length},userSuggestion:function(){return U.children(j.addition).length>0},query:function(){return""!==k.get.query()},value:function(t){var i=k.get.values(),o=e.isArray(i)?i&&e.inArray(t,i)!==-1:i==t;return!!o}},is:{active:function(){return R.hasClass(F.active)},bubbledLabelClick:function(t){return e(t.target).is("select, input")&&R.closest("label").length>0},bubbledIconClick:function(t){return e(t.target).closest(H).length>0},alreadySetup:function(){return R.is("select")&&R.parent(j.dropdown).length>0&&0===R.prev().length},animating:function(e){return e?e.transition&&e.transition("is animating"):U.transition&&U.transition("is animating")},disabled:function(){return R.hasClass(F.disabled)},focused:function(){return i.activeElement===R[0]},focusedOnSearch:function(){return i.activeElement===M[0]},allFiltered:function(){return(k.is.multiple()||k.has.search())&&!(0==C.hideAdditions&&k.has.userSuggestion())&&!k.has.message()&&k.has.allResultsFiltered()},hidden:function(e){return!k.is.visible(e)},initialLoad:function(){return g},onScreen:function(e){var t,i=e||U,o=!0,n={};return i.addClass(F.loading),t={context:{scrollTop:O.scrollTop(),height:O.outerHeight()},menu:{offset:i.offset(),height:i.outerHeight()}},n={above:t.context.scrollTop<=t.menu.offset.top-t.menu.height,below:t.context.scrollTop+t.context.height>=t.menu.offset.top+t.menu.height},n.below?(k.verbose("Dropdown can fit in context downward",n),o=!0):n.below||n.above?(k.verbose("Dropdown cannot fit below, opening upward",n),o=!1):(k.verbose("Dropdown cannot fit in either direction, favoring downward",n),o=!0),i.removeClass(F.loading),o},inObject:function(t,i){var o=!1;return e.each(i,function(e,i){if(i==t)return o=!0,!0}),o},multiple:function(){return R.hasClass(F.multiple)},single:function(){return!k.is.multiple()},selectMutation:function(t){var i=!1;return e.each(t,function(t,o){if(o.target&&e(o.target).is("select"))return i=!0,!0}),i},search:function(){return R.hasClass(F.search)},searchSelection:function(){return k.has.search()&&1===M.parent(j.dropdown).length},selection:function(){return R.hasClass(F.selection)},userValue:function(t){return e.inArray(t,k.get.userValues())!==-1},upward:function(e){var t=e||R;return t.hasClass(F.upward)},visible:function(e){return e?e.hasClass(F.visible):U.hasClass(F.visible)}},can:{activate:function(e){return!!C.useLabels||!k.has.maxSelections()||!(!k.has.maxSelections()||!e.hasClass(F.active))},click:function(){return c||"click"==C.on},extendSelect:function(){return C.allowAdditions||C.apiSettings},show:function(){return!k.is.disabled()&&(k.has.items()||k.has.message())},useAPI:function(){return e.fn.api!==o}},animate:{show:function(t,i){var n,r=i||U,a=i?function(){}:function(){k.hideSubMenus(),k.hideOthers(),k.set.active()};t=e.isFunction(t)?t:function(){},k.verbose("Doing menu show animation",r),k.set.direction(i),n=k.get.transition(i),k.is.selection()&&k.set.scrollPosition(k.get.selectedItem(),!0),(k.is.hidden(r)||k.is.animating(r))&&("none"==n?(a(),r.transition("show"),t.call(Z)):e.fn.transition!==o&&R.transition("is supported")?r.transition({animation:n+" in",debug:C.debug,verbose:C.verbose,duration:C.duration,queue:!0,onStart:a,onComplete:function(){t.call(Z)}}):k.error(z.noTransition,n))},hide:function(t,i){var n=i||U,r=(i?.9*C.duration:C.duration,i?function(){}:function(){k.can.click()&&k.unbind.intent(),k.remove.active()}),a=k.get.transition(i);t=e.isFunction(t)?t:function(){},(k.is.visible(n)||k.is.animating(n))&&(k.verbose("Doing menu hide animation",n),"none"==a?(r(),n.transition("hide"),t.call(Z)):e.fn.transition!==o&&R.transition("is supported")?n.trans
}},get:function(i,n){var a;return"localstorage"==m.storageMethod&&t.localStorage!==o?a=t.localStorage.getItem(i):"sessionstorage"==m.storageMethod&&t.sessionStorage!==o?a=t.sessionStorage.getItem(i):e.cookie!==o?a=e.cookie(i):r.error(b.noCookieStorage),"undefined"!=a&&"null"!=a&&a!==o&&null!==a||(a=o),a},remove:function(i){var n=r.get.storageOptions();"localstorage"==m.storageMethod&&t.localStorage!==o?t.localStorage.removeItem(i):"sessionstorage"==m.storageMethod&&t.sessionStorage!==o?t.sessionStorage.removeItem(i):e.cookie!==o?e.removeCookie(i,n):r.error(b.noStorage)}},setting:function(t,i){if(r.debug("Changing setting",t,i),e.isPlainObject(t))e.extend(!0,m,t);else{if(i===o)return m[t];e.isPlainObject(m[t])?e.extend(!0,m[t],i):m[t]=i}},internal:function(t,i){if(e.isPlainObject(t))e.extend(!0,r,t);else{if(i===o)return r[t];r[t]=i}},debug:function(){!m.silent&&m.debug&&(m.performance?r.performance.log(arguments):(r.debug=Function.prototype.bind.call(console.info,console,m.name+":"),r.debug.apply(console,arguments)))},verbose:function(){!m.silent&&m.verbose&&m.debug&&(m.performance?r.performance.log(arguments):(r.verbose=Function.prototype.bind.call(console.info,console,m.name+":"),r.verbose.apply(console,arguments)))},error:function(){m.silent||(r.error=Function.prototype.bind.call(console.error,console,m.name+":"),r.error.apply(console,arguments))},performance:{log:function(e){var t,i,o;m.performance&&(t=(new Date).getTime(),o=s||t,i=t-o,s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:w,"Execution Time":i})),clearTimeout(r.performance.timer),r.performance.timer=setTimeout(r.performance.display,500)},display:function(){var t=m.name+":",i=0;s=!1,clearTimeout(r.performance.timer),e.each(l,function(e,t){i+=t["Execution Time"]}),t+=" "+i+"ms",a&&(t+=" '"+a+"'"),(console.group!==o||console.table!==o)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,i,a){var s,l,c,u=x;return i=i||d,a=w||a,"string"==typeof t&&u!==o&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,function(i,n){var a=i!=s?n+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(u[a])&&i!=s)u=u[a];else{if(u[a]!==o)return l=u[a],!1;if(!e.isPlainObject(u[n])||i==s)return u[n]!==o?(l=u[n],!1):(r.error(b.method,t),!1);u=u[n]}})),e.isFunction(l)?c=l.apply(a,i):l!==o&&(c=l),e.isArray(n)?n.push(c):n!==o?n=[n,c]:c!==o&&(n=c),l}},u?(x===o&&r.initialize(),r.invoke(c)):(x!==o&&x.invoke("destroy"),r.initialize())}),n!==o?n:this},e.fn.nag.settings={name:"Nag",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"Nag",persist:!1,displayTime:0,animation:{show:"slide",hide:"slide"},context:!1,detachable:!1,expires:30,domain:!1,path:"/",storageMethod:"cookie",key:"nag",value:"dismiss",error:{noCookieStorage:"$.cookie is not included. A storage solution is required.",noStorage:"Neither $.cookie or store is defined. A storage solution is required for storing state",method:"The method you called is not defined."},className:{bottom:"bottom",fixed:"fixed"},selector:{close:".close.icon"},speed:500,easing:"easeOutQuad",onHide:function(){}},e.extend(e.easing,{easeOutQuad:function(e,t,i,o,n){return-o*(t/=n)*(t-2)+i}})}(jQuery,window,document),function(e,t,i,o){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.popup=function(n){var r,a=e(this),s=e(i),l=e(t),c=e("body"),u=a.selector||"",d=!0,m=(new Date).getTime(),f=[],b=arguments[0],p="string"==typeof b,g=[].slice.call(arguments,1);return a.each(function(){var a,h,v,A,w,x,y=e.isPlainObject(n)?e.extend(!0,{},e.fn.popup.settings,n):e.extend({},e.fn.popup.settings),k=y.selector,C=y.className,F=y.error,B=y.metadata,E=y.namespace,I="."+y.namespace,S="module-"+E,T=e(this),D=e(y.context),j=e(y.scrollContext),z=e(y.boundary),Y=y.target?e(y.target):T,Q=0,L=!1,R=!1,O=this,N=T.data(S);x={initialize:function(){x.debug("Initializing",T),x.createID(),x.bind.events(),!x.exists()&&y.preserve&&x.create(),y.observ
2017-02-09 02:06:27 +00:00
l=[]}},invoke:function(t,i,r){var a,s,l,c=B;return i=i||d,r=F||r,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,function(i,n){var r=i!=a?n+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(c[r])&&i!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[n])||i==a)return c[n]!==o?(s=c[n],!1):(m.error(v.method,t),!1);c=c[n]}})),e.isFunction(s)?l=s.apply(r,i):s!==o&&(l=s),e.isArray(n)?n.push(l):n!==o?n=[n,l]:l!==o&&(n=l),s}},u?(B===o&&m.initialize(),m.invoke(c)):(B!==o&&B.invoke("destroy"),m.initialize())}),n!==o?n:this},e.fn.progress.settings={name:"Progress",namespace:"progress",silent:!1,debug:!1,verbose:!1,performance:!0,random:{min:2,max:5},duration:300,updateInterval:"auto",autoSuccess:!0,showActivity:!0,limitValues:!0,label:"percent",precision:0,framerate:1e3/30,percent:!1,total:!1,value:!1,failSafeDelay:100,onLabelUpdate:function(e,t,i,o){return t},onChange:function(e,t,i){},onSuccess:function(e){},onActive:function(e,t){},onError:function(e,t){},onWarning:function(e,t){},error:{method:"The method you called is not defined.",nonNumeric:"Progress value is non numeric",tooHigh:"Value specified is above 100%",tooLow:"Value specified is below 0%"},regExp:{variable:/\{\$*[A-z0-9]+\}/g},metadata:{percent:"percent",total:"total",value:"value"},selector:{bar:"> .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}"},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(jQuery,window,document),function(e,t,i,o){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.rating=function(t){var i,n=e(this),r=n.selector||"",a=(new Date).getTime(),s=[],l=arguments[0],c="string"==typeof l,u=[].slice.call(arguments,1);return n.each(function(){var d,m,f=e.isPlainObject(t)?e.extend(!0,{},e.fn.rating.settings,t):e.extend({},e.fn.rating.settings),b=f.namespace,p=f.className,g=f.metadata,h=f.selector,v=(f.error,"."+b),A="module-"+b,w=this,x=e(this).data(A),y=e(this),k=y.find(h.icon);m={initialize:function(){m.verbose("Initializing rating module",f),0===k.length&&m.setup.layout(),f.interactive?m.enable():m.disable(),m.set.initialLoad(),m.set.rating(m.get.initialRating()),m.remove.initialLoad(),m.instantiate()},instantiate:function(){m.verbose("Instantiating module",f),x=m,y.data(A,m)},destroy:function(){m.verbose("Destroying previous instance",x),m.remove.events(),y.removeData(A)},refresh:function(){k=y.find(h.icon)},setup:{layout:function(){var t=m.get.maxRating(),i=e.fn.rating.settings.templates.icon(t);m.debug("Generating icon html dynamically"),y.html(i),m.refresh()}},event:{mouseenter:function(){var t=e(this);t.nextAll().removeClass(p.selected),y.addClass(p.selected),t.addClass(p.selected).prevAll().addClass(p.selected)},mouseleave:function(){y.removeClass(p.selected),k.removeClass(p.selected)},click:function(){var t=e(this),i=m.get.rating(),o=k.index(t)+1,n="auto"==f.clearable?1===k.length:f.clearable;n&&i==o?m.clearRating():m.set.rating(o)}},clearRating:function(){m.debug("Clearing current rating"),m.set.rating(0)},bind:{events:function(){m.verbose("Binding events"),y.on("mouseenter"+v,h.icon,m.event.mouseenter).on("mouseleave"+v,h.icon,m.event.mouseleave).on("click"+v,h.icon,m.event.click)}},remove:{events:function(){m.verbose("Removing events"),y.off(v)},initialLoad:function(){d=!1}},enable:function(){m.debug("Setting rating to interactive mode"),m.bind.events(),y.removeClass(p.disabled)},disable:function(){m.debug("Setting rating to read-only mode"),m.remove.events(),y.addClass(p.disabled)},is:{initialLoad:function(){return d}},get:{initialRating:function(){return y.data(g.rating)!==o?(y.removeData(g.rating),y.data(g.rating)):f.initialRating},maxRating:function(){return y.data(g.maxRating)!==o?(y.removeData(g.maxRating),y.data(g.maxRating)):f.maxRating},rating:function(){var e=k.filter("."+p.active).length;return m.verbose("Current rating retrieved",e),e}},set:{rating:function(e){var t=e-1>=
active:e.next/2,next:e.active/2}};b.verbose("Setting the initial animation position as behind",f,i),t.css({transform:"rotateY(0deg)"}),f.addClass(w.animating).css({left:i.origin+"px",transform:"rotateY(-180deg)"})}},setting:function(t,i){if(b.debug("Changing setting",t,i),e.isPlainObject(t))e.extend(!0,g,t);else{if(i===o)return g[t];e.isPlainObject(g[t])?e.extend(!0,g[t],i):g[t]=i}},internal:function(t,i){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(i===o)return b[t];b[t]=i}},debug:function(){!g.silent&&g.debug&&(g.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,g.name+":"),b.debug.apply(console,arguments)))},verbose:function(){!g.silent&&g.verbose&&g.debug&&(g.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,g.name+":"),b.verbose.apply(console,arguments)))},error:function(){g.silent||(b.error=Function.prototype.bind.call(console.error,console,g.name+":"),b.error.apply(console,arguments))},performance:{log:function(e){var t,i,o;g.performance&&(t=(new Date).getTime(),o=s||t,i=t-o,s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:E,"Execution Time":i})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,500)},display:function(){var t=g.name+":",i=0;s=!1,clearTimeout(b.performance.timer),e.each(l,function(e,t){i+=t["Execution Time"]}),t+=" "+i+"ms",p&&(t+=" '"+p+"'"),a.length>1&&(t+=" ("+a.length+")"),(console.group!==o||console.table!==o)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,i,n){var a,s,l,c=I;return i=i||d,n=E||n,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,function(i,n){var r=i!=a?n+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(c[r])&&i!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[n])||i==a)return c[n]!==o&&(s=c[n],!1);c=c[n]}})),e.isFunction(s)?l=s.apply(n,i):s!==o&&(l=s),e.isArray(r)?r.push(l):r!==o?r=[r,l]:l!==o&&(r=l),s}},u?(I===o&&b.initialize(),b.invoke(c)):(I!==o&&I.invoke("destroy"),b.initialize())}),r!==o?r:this},e.fn.shape.settings={name:"Shape",silent:!1,debug:!1,verbose:!1,jitter:0,performance:!0,namespace:"shape",width:"initial",height:"initial",beforeChange:function(){},onChange:function(){},allowRepeats:!1,duration:!1,error:{side:"You tried to switch to a side that does not exist.",method:"The method you called is not defined"},className:{animating:"animating",hidden:"hidden",loading:"loading",active:"active"},selector:{sides:".sides",side:".side"}}}(jQuery,window,document),function(e,t,i,o){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.sidebar=function(n){var r,a=e(this),s=e(t),l=e(i),c=e("html"),u=e("head"),d=a.selector||"",m=(new Date).getTime(),f=[],b=arguments[0],p="string"==typeof b,g=[].slice.call(arguments,1),h=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)};return a.each(function(){var a,v,A,w,x,y,k=e.isPlainObject(n)?e.extend(!0,{},e.fn.sidebar.settings,n):e.extend({},e.fn.sidebar.settings),C=k.selector,F=k.className,B=k.namespace,E=k.regExp,I=k.error,S="."+B,T="module-"+B,D=e(this),j=e(k.context),z=D.children(C.sidebar),Y=j.children(C.fixed),Q=j.children(C.pusher),L=this,R=D.data(T);y={initialize:function(){y.debug("Initializing sidebar",n),y.create.id(),x=y.get.transitionEvent(),y.is.ios()&&y.set.ios(),k.delaySetup?h(y.setup.layout):y.setup.layout(),h(function(){y.setup.cache()}),y.instantiate()},instantiate:function(){y.verbose("Storing instance of module",y),R=y,D.data(T,y)},create:{id:function(){A=(Math.random().toString(16)+"000000000").substr(2,8),v="."+A,y.verbose("Creating unique id for element",A)}},destroy:function(){y.verbose("Destroying previous module for",D),D.off(S).removeData(T),y.is.ios()&&y.remove.ios(),j.off(v),s.off(v),l.off(v)},ev
S=!1,v.cache.add(i,k.html()),v.activate.all(m),w.onFirstLoad.call(k[0],m,h,A),w.onLoad.call(k[0],m,h,A)):(v.activate.navigation(m),v.fetch.content(m,i)),!1;v.debug("Opened local tab",m),v.activate.all(m),v.cache.read(m)||(v.cache.add(m,!0),v.debug("First time tab loaded calling tab init"),w.onFirstLoad.call(k[0],m,h,A)),w.onLoad.call(k[0],m,h,A)}else{if(i.search("/")!=-1||""===i)return v.error(C.missingTab,E,b,m),!1;if(s=e("#"+i+', a[name="'+i+'"]'),m=s.closest("[data-tab]").data(y.tab),k=v.get.tabElement(m),s&&s.length>0&&m)return v.debug("Anchor link used, opening parent tab",k,s),k.hasClass(x.active)||setTimeout(function(){v.scrollTo(s)},0),v.activate.all(m),v.cache.read(m)||(v.cache.add(m,!0),v.debug("First time tab loaded calling tab init"),w.onFirstLoad.call(k[0],m,h,A)),w.onLoad.call(k[0],m,h,A),!1}})},scrollTo:function(t){var o=!!(t&&t.length>0)&&t.offset().top;o!==!1&&(v.debug("Forcing scroll to an in-page link in a hidden tab",o,t),e(i).scrollTop(o))},update:{content:function(t,i,n){var r=v.get.tabElement(t),a=r[0];n=n!==o?n:w.evaluateScripts,"string"==typeof w.cacheType&&"dom"==w.cacheType.toLowerCase()&&"string"!=typeof i?r.empty().append(e(i).clone(!0)):n?(v.debug("Updating HTML and evaluating inline scripts",t,i),r.html(i)):(v.debug("Updating HTML",t,i),a.innerHTML=i)}},fetch:{content:function(t,i){var n,r,a=v.get.tabElement(t),s={dataType:"html",encodeParameters:!1,on:"now",cache:w.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function(e){"response"==w.cacheType&&v.cache.add(i,e),v.update.content(t,e),t==g?(v.debug("Content loaded",t),v.activate.tab(t)):v.debug("Content loaded in background",t),w.onFirstLoad.call(a[0],t,h,A),w.onLoad.call(a[0],t,h,A),"string"==typeof w.cacheType&&"dom"==w.cacheType.toLowerCase()&&a.children().length>0?setTimeout(function(){var e=a.children().clone(!0);e=e.not("script"),v.cache.add(i,e)},0):v.cache.add(i,a.html())},urlData:{tab:i}},l=a.api("get request")||!1,c=l&&"pending"===l.state();i=i||t,r=v.cache.read(i),w.cache&&r?(v.activate.tab(t),v.debug("Adding cached content",i),"once"==w.evaluateScripts?v.update.content(t,r,!1):v.update.content(t,r),w.onLoad.call(a[0],t,h,A)):c?(v.set.loading(t),v.debug("Content is already loading",i)):e.api!==o?(n=e.extend(!0,{},w.apiSettings,s),v.debug("Retrieving remote content",i,n),v.set.loading(t),a.api(n)):v.error(C.api)}},activate:{all:function(e){v.activate.tab(e),v.activate.navigation(e)},tab:function(e){var t=v.get.tabElement(e),i="siblings"==w.deactivate?t.siblings(p):p.not(t),o=t.hasClass(x.active);v.verbose("Showing tab content for",t),o||(t.addClass(x.active),i.removeClass(x.active+" "+x.loading),t.length>0&&w.onVisible.call(t[0],e))},navigation:function(e){var t=v.get.navElement(e),i="siblings"==w.deactivate?t.siblings(a):a.not(t),o=t.hasClass(x.active);v.verbose("Activating tab navigation for",t,e),o||(t.addClass(x.active),i.removeClass(x.active+" "+x.loading))}},deactivate:{all:function(){v.deactivate.navigation(),v.deactivate.tabs()},navigation:function(){a.removeClass(x.active)},tabs:function(){p.removeClass(x.active+" "+x.loading)}},is:{tab:function(e){return e!==o&&v.get.tabElement(e).length>0}},get:{initialPath:function(){return a.eq(0).data(y.tab)||p.eq(0).data(y.tab)},path:function(){return e.address.value()},defaultPathArray:function(e){return v.utilities.pathToArray(v.get.defaultPath(e))},defaultPath:function(e){var t=a.filter("[data-"+y.tab+'^="'+e+'/"]').eq(0),i=t.data(y.tab)||!1;if(i){if(v.debug("Found default tab",i),T<w.maxDepth)return T++,v.get.defaultPath(i);v.error(C.recursion)}else v.debug("No default tabs found for",e,p);return T=0,e},navElement:function(e){return e=e||g,a.filter("[data-"+y.tab+'="'+e+'"]')},tabElement:function(e){var t,i,o,n;return e=e||g,o=v.utilities.pathToArray(e),n=v.utilities.last(o),t=p.filter("[data-"+y.tab+'="'+e+'"]'),i=p.filter("[data-"+y.tab+'="'+n+'"]'),t.length>0?t:i},tab:function(){return g}},utilities:{filterArray:function(t,i){return e.grep(t,function(t){return e.inArray(t,i)==-1})},last:function(t){return!!e.isArray(t)&&t[t.length-1]},pathToArray:function(e){return e===o&
2017-02-17 06:20:58 +00:00
g.verbose.apply(console,arguments)))},error:function(){h.silent||(g.error=Function.prototype.bind.call(console.error,console,h.name+":"),g.error.apply(console,arguments))},performance:{log:function(e){var t,i,o;h.performance&&(t=(new Date).getTime(),o=s||t,i=t-o,s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":i})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var t=h.name+":",i=0;s=!1,clearTimeout(g.performance.timer),e.each(l,function(e,t){i+=t["Execution Time"]}),t+=" "+i+"ms",a&&(t+=" '"+a+"'"),(console.group!==o||console.table!==o)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,i,r){var a,s,l,c=T;return i=i||d,r=I||r,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,function(i,n){var r=i!=a?n+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(c[r])&&i!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[n])||i==a)return c[n]!==o?(s=c[n],!1):(g.error(x.method,t),!1);c=c[n]}})),e.isFunction(s)?l=s.apply(r,i):s!==o&&(l=s),e.isArray(n)?n.push(l):n!==o?n=[n,l]:l!==o&&(n=l),s}},u?(T===o&&g.initialize(),g.invoke(c)):(T!==o&&T.invoke("destroy"),g.initialize())}),n!==o?n:this},e.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,beforeSend:function(e){return e},beforeXHR:function(e){},onRequest:function(e,t){},onResponse:!1,onSuccess:function(e,t){},onComplete:function(e,t){},onFailure:function(e,t){},onError:function(e,t){},onAbort:function(e,t){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}}(jQuery,window,document),function(e,t,i,o){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.state=function(t){var n,r=e(this),a=r.selector||"",s=("ontouchstart"in i.documentElement,(new Date).getTime()),l=[],c=arguments[0],u="string"==typeof c,d=[].slice.call(arguments,1);return r.each(function(){var i,m=e.isPlainObject(t)?e.extend(!0,{},e.fn.state.settings,t):e.extend({},e.fn.state.settings),f=m.error,b=m.metadata,p=m.className,g=m.namespace,h=m.states,v=m.text,A="."+g,w=g+"-module",x=e(this),y=this,k=x.data(w);i={initialize:function(){i.verbose("Initializing module"),m.automatic&&i.add.defaults(),m.context&&""!==a?e(m.context).on(a,"mouseenter"+A,i.change.text).on(a,"mouseleave"+A,i.reset.text).on(a,"click"+A,i.toggle.state):x.on("mouseenter"+A,i.change.text).on("mouseleave"+A,i.reset.text).on("click"+A,i.toggle.state),i.instantiate()},instantiate:function(){i.verbose("Storing instance of modu
if("?"===e.charAt(0)||"#"===e.charAt(0))return t+e;var o=t.split("/");i&&o[o.length-1]||o.pop();for(var n=e.replace(/^\//,"").split("/"),r=0;r<n.length;r++){var a=n[r];"."!==a&&(".."===a?o.pop():o.push(a))}return""!==o[0]&&o.unshift(""),o.join("/")}function A(e){var t="",i="",o=e.indexOf("#");o>=0&&(t=e.slice(o),e=e.slice(0,o));var n=e.indexOf("?");return n>=0&&(i=e.slice(n+1),e=e.slice(0,n)),{path:e,query:i,hash:t}}function w(e){return e.replace(/\/\//g,"/")}function x(e,t,i){var o=t||Object.create(null),n=i||Object.create(null);return e.forEach(function(e){y(o,n,e)}),{pathMap:o,nameMap:n}}function y(e,t,i,o,n){var r=i.path,a=i.name,s={path:k(r,o),components:i.components||{default:i.component},instances:{},name:a,parent:o,matchAs:n,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach(function(i){var o=n?w(n+"/"+i.path):void 0;y(e,t,i,s,o)}),void 0!==i.alias)if(Array.isArray(i.alias))i.alias.forEach(function(n){var r={path:n,children:i.children};y(e,t,r,o,s.path)});else{var l={path:i.alias,children:i.children};y(e,t,l,o,s.path)}e[s.path]||(e[s.path]=s),a&&(t[a]||(t[a]=s))}function k(e,t){return e=e.replace(/\/$/,""),"/"===e[0]?e:null==t?e:w(t.path+"/"+e)}function C(e,t){for(var i,o=[],n=0,r=0,a="",s=t&&t.delimiter||"/";null!=(i=qe.exec(e));){var l=i[0],c=i[1],u=i.index;if(a+=e.slice(r,u),r=u+l.length,c)a+=c[1];else{var d=e[r],m=i[2],f=i[3],b=i[4],p=i[5],g=i[6],h=i[7];a&&(o.push(a),a="");var v=null!=m&&null!=d&&d!==m,A="+"===g||"*"===g,w="?"===g||"*"===g,x=i[2]||s,y=b||p;o.push({name:f||n++,prefix:m||"",delimiter:x,optional:w,repeat:A,partial:v,asterisk:!!h,pattern:y?T(y):h?".*":"[^"+S(x)+"]+?"})}}return r<e.length&&(a+=e.substr(r)),a&&o.push(a),o}function F(e,t){return I(C(e,t))}function B(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function E(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function I(e){for(var t=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(t[i]=new RegExp("^(?:"+e[i].pattern+")$"));return function(i,o){for(var n="",r=i||{},a=o||{},s=a.pretty?B:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var u,d=r[c.name];if(null==d){if(c.optional){c.partial&&(n+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Me(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var m=0;m<d.length;m++){if(u=s(d[m]),!t[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");n+=(0===m?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?E(d):s(d),!t[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');n+=c.prefix+u}}else n+=c}return n}}function S(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function T(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function D(e,t){return e.keys=t,e}function j(e){return e.sensitive?"":"i"}function z(e,t){var i=e.source.match(/\((?!\?)/g);if(i)for(var o=0;o<i.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return D(e,t)}function Y(e,t,i){for(var o=[],n=0;n<e.length;n++)o.push(R(e[n],t,i).source);var r=new RegExp("(?:"+o.join("|")+")",j(i));return D(r,t)}function Q(e,t,i){return L(C(e,i),t,i)}function L(e,t,i){Me(t)||(i=t||i,t=[]),i=i||{};for(var o=i.strict,n=i.end!==!1,r="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)r+=S(s);else{var l=S(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",r+=c}}var u=S(i.delimiter||"/"),d=r.slice(-u.length)===u;return o||(r=(d?r.slice(0,-u.length):r)+"(?:"+u+"(?=$))?"),r+=n?"$":o&&d?"":"(?="+u+"|$)",D(new RegExp("^"+r,j(i)),t)}fun
null==i.$vnode&&(i._isMounted=!0,Ce(i,"mounted")),i},e.prototype._update=function(e,t){var i=this;i._isMounted&&Ce(i,"beforeUpdate");var o=i.$el,n=i._vnode,r=$n;$n=i,i._vnode=e,n?i.$el=i.__patch__(n,e):i.$el=i.__patch__(i.$el,e,t,!1,i.$options._parentElm,i.$options._refElm),$n=r,o&&(o.__vue__=null),i.$el&&(i.$el.__vue__=i),i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)},e.prototype._updateFromParent=function(e,t,i,o){var n=this,r=!(!n.$options._renderChildren&&!o);if(n.$options._parentVnode=i,n.$vnode=i,n._vnode&&(n._vnode.parent=i),n.$options._renderChildren=o,e&&n.$options.props){On.shouldConvert=!1;for(var a=n.$options._propKeys||[],s=0;s<a.length;s++){var l=a[s];n[l]=N(l,n.$options.props,e,n)}On.shouldConvert=!0,n.$options.propsData=e}if(t){var c=n.$options._parentListeners;n.$options._parentListeners=t,we(n,t,c)}r&&(n.$slots=ge(o,i.context),n.$forceUpdate())},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Ce(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||r(t.$children,e),e._watcher&&e._watcher.teardown();for(var i=e._watchers.length;i--;)e._watchers[i].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,Ce(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.__patch__(e._vnode,null)}}}function Ce(e,t){var i=e.$options[t];if(i)for(var o=0,n=i.length;o<n;o++)i[o].call(e);e._hasHookEvent&&e.$emit("hook:"+t)}function Fe(){Kn.length=0,er={},tr=ir=!1}function Be(){ir=!0;var e,t,i;for(Kn.sort(function(e,t){return e.id-t.id}),or=0;or<Kn.length;or++)e=Kn[or],t=e.id,er[t]=null,e.run();for(or=Kn.length;or--;)e=Kn[or],i=e.vm,i._watcher===e&&i._isMounted&&Ce(i,"updated");In&&hn.devtools&&In.emit("flush"),Fe()}function Ee(e){var t=e.id;if(null==er[t]){if(er[t]=!0,ir){for(var i=Kn.length-1;i>=0&&Kn[i].id>e.id;)i--;Kn.splice(Math.max(i,or)+1,0,e)}else Kn.push(e);tr||(tr=!0,Sn(Be))}}function Ie(e){ar.clear(),Se(e,ar)}function Se(e,t){var i,o,n=Array.isArray(e);if((n||m(e))&&Object.isExtensible(e)){if(e.__ob__){var r=e.__ob__.dep.id;if(t.has(r))return;t.add(r)}if(n)for(i=e.length;i--;)Se(e[i],t);else for(o=Object.keys(e),i=o.length;i--;)Se(e[o[i]],t)}}function Te(e){e._watchers=[];var t=e.$options;t.props&&De(e,t.props),t.methods&&Qe(e,t.methods),t.data?je(e):E(e._data={},!0),t.computed&&ze(e,t.computed),t.watch&&Le(e,t.watch)}function De(e,t){var i=e.$options.propsData||{},o=e.$options._propKeys=Object.keys(t),n=!e.$parent;On.shouldConvert=n;for(var r=function(n){var r=o[n];I(e,r,N(r,t,i,e))},a=0;a<o.length;a++)r(a);On.shouldConvert=!0}function je(e){var t=e.$options.data;t=e._data="function"==typeof t?t.call(e):t||{},f(t)||(t={});for(var i=Object.keys(t),o=e.$options.props,n=i.length;n--;)o&&a(o,i[n])||Ne(e,i[n]);E(t,!0)}function ze(e,t){for(var i in t){var o=t[i];"function"==typeof o?(sr.get=Ye(o,e),sr.set=p):(sr.get=o.get?o.cache!==!1?Ye(o.get,e):c(o.get,e):p,sr.set=o.set?c(o.set,e):p),Object.defineProperty(e,i,sr)}}function Ye(e,t){var i=new rr(t,e,p,{lazy:!0});return function(){return i.dirty&&i.evaluate(),zn.target&&i.depend(),i.value}}function Qe(e,t){for(var i in t)e[i]=null==t[i]?p:c(t[i],e)}function Le(e,t){for(var i in t){var o=t[i];if(Array.isArray(o))for(var n=0;n<o.length;n++)Re(e,i,o[n]);else Re(e,i,o)}}function Re(e,t,i){var o;f(i)&&(o=i,i=i.handler),"string"==typeof i&&(i=e[i]),e.$watch(t,i,o)}function Oe(e){var t={};t.get=function(){return this._data},Object.defineProperty(e.prototype,"$data",t),e.prototype.$set=S,e.prototype.$delete=T,e.prototype.$watch=function(e,t,i){var o=this;i=i||{},i.user=!0;var n=new rr(o,e,t,i);return i.immediate&&t.call(o,n.value),function(){n.teardown()}}}function Ne(e,t){A(t)||Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(i){e._data[t]=i}})}function Me(e){e.prototype._init=function(e){var t=this;t._uid=lr++,t._isVue=!0,e&&e._isComponent?Pe(t,e):t.$options=R(_e(t.constructor),e||{},t),t._renderProxy=t,t._self=t,ye(t),he(t),be(t),Ce
return i.slice(0,-1)+"}"}function bo(e,t){if(t){if(Array.isArray(t))return"["+t.map(function(t){return bo(e,t)}).join(",")+"]";if(t.modifiers){var i="",o=[];for(var n in t.modifiers)Es[n]?i+=Es[n]:o.push(n);o.length&&(i=po(o)+i);var r=Fs.test(t.value)?t.value+"($event)":t.value;return"function($event){"+i+r+"}"}return Cs.test(t.value)||Fs.test(t.value)?t.value:"function($event){"+t.value+"}"}return"function(){}"}function po(e){return"if("+e.map(go).join("&&")+")return;"}function go(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var i=Bs[e];return"_k($event.keyCode,"+JSON.stringify(e)+(i?","+JSON.stringify(i):"")+")"}function ho(e,t){e.wrapData=function(i){return"_b("+i+",'"+e.tag+"',"+t.value+(t.modifiers&&t.modifiers.prop?",true":"")+")"}}function vo(e,t){var i=Ka,o=Ka=[],n=es;es=0,ts=t,Xa=t.warn||Bi,Wa=Ei(t.modules,"transformCode"),Za=Ei(t.modules,"genData"),Va=t.directives||{},$a=t.isReservedTag||pn;var r=e?Ao(e):'_c("div")';return Ka=i,es=n,{render:"with(this){return "+r+"}",staticRenderFns:o}}function Ao(e){if(e.staticRoot&&!e.staticProcessed)return wo(e);if(e.once&&!e.onceProcessed)return xo(e);if(e.for&&!e.forProcessed)return Co(e);if(e.if&&!e.ifProcessed)return yo(e);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return Lo(e);var t;if(e.component)t=Ro(e.component,e);else{var i=e.plain?void 0:Fo(e),o=e.inlineTemplate?null:To(e,!0);t="_c('"+e.tag+"'"+(i?","+i:"")+(o?","+o:"")+")"}for(var n=0;n<Wa.length;n++)t=Wa[n](e,t);return t}return To(e)||"void 0"}function wo(e){return e.staticProcessed=!0,Ka.push("with(this){return "+Ao(e)+"}"),"_m("+(Ka.length-1)+(e.staticInFor?",true":"")+")"}function xo(e){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return yo(e);if(e.staticInFor){for(var t="",i=e.parent;i;){if(i.for){t=i.key;break}i=i.parent}return t?"_o("+Ao(e)+","+es++ +(t?","+t:"")+")":Ao(e)}return wo(e)}function yo(e){return e.ifProcessed=!0,ko(e.ifConditions.slice())}function ko(e){function t(e){return e.once?xo(e):Ao(e)}if(!e.length)return"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+t(i.block)+":"+ko(e):""+t(i.block)}function Co(e){var t=e.for,i=e.alias,o=e.iterator1?","+e.iterator1:"",n=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+t+"),function("+i+o+n+"){return "+Ao(e)+"})"}function Fo(e){var t="{",i=Bo(e);i&&(t+=i+","),e.key&&(t+="key:"+e.key+","),e.ref&&(t+="ref:"+e.ref+","),e.refInFor&&(t+="refInFor:true,"),e.pre&&(t+="pre:true,"),e.component&&(t+='tag:"'+e.tag+'",');for(var o=0;o<Za.length;o++)t+=Za[o](e);if(e.attrs&&(t+="attrs:{"+Oo(e.attrs)+"},"),e.props&&(t+="domProps:{"+Oo(e.props)+"},"),e.events&&(t+=fo(e.events)+","),e.nativeEvents&&(t+=fo(e.nativeEvents,!0)+","),e.slotTarget&&(t+="slot:"+e.slotTarget+","),e.scopedSlots&&(t+=Io(e.scopedSlots)+","),e.inlineTemplate){var n=Eo(e);n&&(t+=n+",")}return t=t.replace(/,$/,"")+"}",e.wrapData&&(t=e.wrapData(t)),t}function Bo(e){var t=e.directives;if(t){var i,o,n,r,a="directives:[",s=!1;for(i=0,o=t.length;i<o;i++){n=t[i],r=!0;var l=Va[n.name]||Is[n.name];l&&(r=!!l(e,n,Xa)),r&&(s=!0,a+='{name:"'+n.name+'",rawName:"'+n.rawName+'"'+(n.value?",value:("+n.value+"),expression:"+JSON.stringify(n.value):"")+(n.arg?',arg:"'+n.arg+'"':"")+(n.modifiers?",modifiers:"+JSON.stringify(n.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Eo(e){var t=e.children[0];if(1===t.type){var i=vo(t,ts);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function Io(e){return"scopedSlots:{"+Object.keys(e).map(function(t){return So(t,e[t])}).join(",")+"}"}function So(e,t){return e+":function("+String(t.attrsMap.scope)+"){return "+("template"===t.tag?To(t)||"void 0":Ao(t))+"}"}function To(e,t){var i=e.children;if(i.length){var o=i[0];if(1===i.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag)return Ao(o);var n=Do(i);return"["+i.map(Yo).join(",")+"]"+(t&&n?","+n:"")}}function Do(e){for(var t=0,i=0;i<e.length;i++){var o=e[i];if(1===o.type){if(jo(o)||o.ifConditions&&o.ifConditions.some(function(e){return jo(e.block)})){t=2;break}(zo(o)||o.ifCond
},changeIncludeNodes:function(e){var t=0===e.trim().length?[]:e.split(",");this.change("nids",t)},changeExcludeNodes:function(e){var t=0===e.trim().length?[]:e.split(",");this.change("exclude_nids",t)}},components:{Dropdown:n.a}}},function(e,t,i){"use strict";var o=i(3),n=i.n(o);Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"log",data:function(){return{loading:!1,names:"",ids:"",nodes:"",begin:"",end:"",latest:!1,list:[],total:0,page:1}},mounted:function(e,t,i){this.names=this.$route.query.names||"",this.ids=this.$route.query.ids||"",this.nodes=this.$route.query.nodes||"",this.begin=this.$route.query.begin||"",this.end=this.$route.query.end||"",this.page=this.$route.query.page||1,this.latest=!!this.$route.query.latest,this.fetchList(this.buildQuery());var o=this;$(this.$refs.latest).checkbox({onChange:function(){o.latest=!o.latest}})},watch:{$route:function(){this.names=this.$route.query.names||"",this.ids=this.$route.query.ids||"",this.nodes=this.$route.query.nodes||"",this.begin=this.$route.query.begin||"",this.end=this.$route.query.end||"",this.page=this.$route.query.page||1,this.latest="true"==this.$route.query.latest,this.fetchList(this.buildQuery())}},methods:{fetchList:function(e){this.loading=!0;var t=this;this.$rest.GET("/logs?"+e).onsucceed(200,function(e){t.list=e.list,t.total=e.total}).onfailed(function(e){console.log(e)}).onend(function(){t.loading=!1}).do()},buildQuery:function(){var e=[];return this.names&&e.push("names="+this.names),this.ids&&e.push("ids="+this.ids),this.nodes&&e.push("nodes="+this.nodes),this.begin&&e.push("begin="+this.begin),this.end&&e.push("end="+this.end),0==this.page&&(this.page=1),e.push("page="+this.page),this.latest&&e.push("latest=true"),e.join("&")},submit:function(){var e=this.buildQuery(),t="/log?"+e;return this.$router.fullPath==t?void this.fetchList(e):void this.$router.push(t)},durationAttention:function(e,t){var i=new Date(t)-new Date(e);return i>216e5},formatDuration:function(e,t){var i=new Date(t)-new Date(e),o="",n=i/864e5;n>=1&&(o+=n.toString()+" 天 "),i%=864e5;var r=i/36e5;r>=1&&(o+=r.toString()+" 小时 "),i%=36e5;var a=i/6e4;a>=1&&(o+=a.toString()+" 分钟 "),i%=6e4;var s=i/1e3;return s>=1&&(o+=s.toString()+" 秒 "),i%=1e3,i>=1&&(o=i.toString()+" 毫秒"),0==o.length&&(o="0 毫秒"),o},formatTime:function(e,t){var i=new Date,o=new Date(e),n=new Date(t),r=this._formatTime(i,o)+" ~ "+this._formatTime(i,n);return r},_formatTime:function(e,t){var i="";return e.getFullYear()!=t.getFullYear()&&(i+=t.getFullYear().toString()+"-"),i+=this._formatNumber(t.getMonth()+1,2).toString()+"-",i+=this._formatNumber(t.getDate(),2)+" "+this._formatNumber(t.getHours(),2)+":"+this._formatNumber(t.getMinutes(),2)+":"+this._formatNumber(t.getSeconds(),2)},_formatNumber:function(e,t){var i=0==e?1:Math.ceil(Math.log10(e+1));return i>=t?e.toString():"0".repeat(t-i)+e.toString()}},components:{Pager:n.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"log-detail",data:function(){return{log:{id:"sdfas",jobId:"wewe",jobGroup:"test",name:"run run run",node:"192.168.1.2",command:"echo hello;",output:"hello",exitCode:0,beginTime:new Date,endTime:new Date},error:""}},mounted:function(){var e=this;this.$rest.GET("log/"+this.$route.params.id).onsucceed(200,function(t){e.log=t}).onfailed(function(t){e.error=t}).do()}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"node",data:function(){return{count:0,nodes:[]}},mounted:function(){var e=this;this.$rest.GET("nodes").onsucceed(200,function(t){e.nodes=t,e.count=t.length}).do()}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"node_group",data:function(){return{error:"",groups:[]}},mounted:function(){this.refresh()},methods:{refresh:function(){var e=this;this.$rest.GET("node/groups").onsucceed(200,function(t){e.groups=t}).onfailed(function(t){e.error=t}).onend(function(){e.loading=!1}).do()}}}},function(e,t,i){"use strict";var o=i(0),n=i.n(o);Object.defineProperty(t,"__esModule",{value:!0}),
},function(e,t,i){t=e.exports=i(1)(),t.push([e.i,'.clearfix:after{content:"";clear:both;display:table}',""])},function(e,t,i){t=e.exports=i(1)(),t.push([e.i,"#nodeGroups{margin:15px 0;position:relative;column-width:250px}#nodeGroups>div{width:100%;display:inline-block;border:1px solid #d4d4d5;box-shadow:none;margin:0;margin-bottom:1em}#nodeGroups .ui.card>.content{padding:1em 0 0}#nodeGroups .ui.list:first-child{border-top:1px solid #eee}#nodeGroups .ui.divided.list>.item{padding:.5em 1em}#nodeGroups .ui.card>.content>.header:not(.ui){margin:0 1em}",""])},function(e,t){e.exports="/ui/icons.svg?d7c639084f684d66a1bc66855d193ed8"},function(e,t){e.exports="/ui/icons.ttf?1dc35d25e61d819a9c357074014867ab"},function(e,t){e.exports="/ui/icons.woff?c8ddf1e5e5bf3682bc7bebf30f394148"},function(e,t){e.exports="/ui/icons.woff2?e6cf7c6ec7c2d6f670ae9d762604cb0b"},function(e,t){e.exports="/ui/flags.png?9c74e172f87984c48ddf5c8108cabe67"},function(e,t){function i(e,t){for(var i=0;i<e.length;i++){var o=e[i],n=m[o.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](o.parts[r]);for(;r<o.parts.length;r++)n.parts.push(l(o.parts[r],t))}else{for(var a=[],r=0;r<o.parts.length;r++)a.push(l(o.parts[r],t));m[o.id]={id:o.id,refs:1,parts:a}}}}function o(e){for(var t=[],i={},o=0;o<e.length;o++){var n=e[o],r=n[0],a=n[1],s=n[2],l=n[3],c={css:a,media:s,sourceMap:l};i[r]?i[r].parts.push(c):t.push(i[r]={id:r,parts:[c]})}return t}function n(e,t){var i=p(),o=v[v.length-1];if("top"===e.insertAt)o?o.nextSibling?i.insertBefore(t,o.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),v.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(t)}}function r(e){e.parentNode.removeChild(e);var t=v.indexOf(e);t>=0&&v.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",n(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",n(e,t),t}function l(e,t){var i,o,n;if(t.singleton){var l=h++;i=g||(g=a(t)),o=c.bind(null,i,l,!1),n=c.bind(null,i,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=s(t),o=d.bind(null,i),n=function(){r(i),i.href&&URL.revokeObjectURL(i.href)}):(i=a(t),o=u.bind(null,i),n=function(){r(i)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}function c(e,t,i,o){var n=i?"":o.css;if(e.styleSheet)e.styleSheet.cssText=A(t,n);else{var r=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function u(e,t){var i=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}function d(e,t){var i=t.css,o=t.sourceMap;o&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var n=new Blob([i],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(n),r&&URL.revokeObjectURL(r)}var m={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},b=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=f(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,h=0,v=[];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||{},"undefined"==typeof t.singleton&&(t.singleton=b()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return i(n,t),function(e){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=m[s.id];l.refs--,r.push(l)}if(e){var c=o(e);i(c,t)}for(var a=0;a<r.length;a++){var l=r[a];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete m[l.id]}}}};var A=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\
2017-01-18 09:08:07 +00:00
//# sourceMappingURL=build.js.map