From 66eaff739a7ccddd31d9489790d0a2672e6cfb8e Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 31 May 2017 12:34:05 -0700 Subject: [PATCH] More npm/css/js updates --- build/public/vue.js | 18 +- package.json | 8 +- public/build/app.css | 4689 +++++++++-------- public/css/AdminLTE.css | Bin 105244 -> 101732 bytes public/css/app.css | Bin 0 -> 185367 bytes public/css/dist/all.css | Bin 297772 -> 242252 bytes public/css/overrides.css | Bin 0 -> 6289 bytes public/js/dist/all.js | Bin 2715705 -> 2716687 bytes public/mix-manifest.json | 13 +- resources/assets/less/AdminLTE.less | 5 +- resources/assets/less/app.less | 15 +- resources/views/dashboard.blade.php | 1 - resources/views/hardware/import.blade.php | 4 +- resources/views/layouts/default.blade.php | 14 +- .../views/partials/bootstrap-table.blade.php | 20 +- webpack.mix.js | 64 + 16 files changed, 2460 insertions(+), 2391 deletions(-) create mode 100644 public/css/app.css create mode 100644 public/css/overrides.css create mode 100644 webpack.mix.js diff --git a/build/public/vue.js b/build/public/vue.js index 303144fc9e..45681d9d2a 100644 --- a/build/public/vue.js +++ b/build/public/vue.js @@ -1,4 +1,4 @@ -(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,n);i.l=true;return i.exports}n.m=e;n.c=t;n.i=function(e){return e};n.d=function(e,t,r){if(!n.o(e,t)){Object.defineProperty(e,t,{configurable:false,enumerable:true,get:r})}};n.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};n.d(t,"a",t);return t};n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};n.p="";return n(n.s=59)})([function(e,t){e.exports=function(){var e=[];e.toString=function e(){var t=[];for(var n=0;nn.parts.length){r.parts.length=n.parts.length}}else{var a=[];for(var i=0;in.parts.length){r.parts.length=n.parts.length}}else{var a=[];for(var i=0;i+~]|"+I+")"+I+"*"),z=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),W=new RegExp(q),V=new RegExp("^"+R+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e},re=function(){d()},ie=ye(function(e){return e.disabled===true&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{D.apply(A=N.call(w.childNodes),w.childNodes);A[w.childNodes.length].nodeType}catch(e){D={apply:A.length?function(e,t){O.apply(e,N.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]){}e.length=n-1}}}function oe(e,t,r,i){var o,s,u,c,f,h,g,y=t&&t.ownerDocument,x=t?t.nodeType:9;r=r||[];if(typeof e!=="string"||!e||x!==1&&x!==9&&x!==11){return r}if(!i){if((t?t.ownerDocument||t:w)!==p){d(t)}t=t||p;if(v){if(x!==11&&(f=Z.exec(e))){if(o=f[1]){if(x===9){if(u=t.getElementById(o)){if(u.id===o){r.push(u);return r}}else{return r}}else{if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o){r.push(u);return r}}}else if(f[2]){D.apply(r,t.getElementsByTagName(e));return r}else if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName){D.apply(r,t.getElementsByClassName(o));return r}}if(n.qsa&&!T[e+" "]&&(!m||!m.test(e))){if(x!==1){y=t;g=e}else if(t.nodeName.toLowerCase()!=="object"){if(c=t.getAttribute("id")){c=c.replace(te,ne)}else{t.setAttribute("id",c=_)}h=a(e);s=h.length;while(s--){h[s]="#"+c+" "+ge(h[s])}g=h.join(",");y=K.test(e)&&ve(t.parentNode)||t}if(g){try{D.apply(r,y.querySelectorAll(g));return r}catch(e){}finally{if(c===_){t.removeAttribute("id")}}}}}}return l(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){if(e.push(n+" ")>r.cacheLength){delete t[e.shift()]}return t[n+" "]=i}return t}function se(e){e[_]=true;return e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function ue(e,t){var n=e.split("|"),i=n.length;while(i--){r.attrHandle[n[i]]=t}}function ce(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&e.sourceIndex-t.sourceIndex;if(r){return r}if(n){while(n=n.nextSibling){if(n===t){return-1}}}return e?1:-1}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function pe(e){return function(t){if("form"in t){if(t.parentNode&&t.disabled===false){if("label"in t){if("label"in t.parentNode){return t.parentNode.disabled===e}else{return t.disabled===e}}return t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e}return t.disabled===e}else if("label"in t){return t.disabled===e}return false}}function he(e){return se(function(t){t=+t;return se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--){if(n[i=o[a]]){n[i]=!(r[i]=n[i])}}})})}function ve(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e}n=oe.support={};o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":false};d=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;if(a===p||a.nodeType!==9||!a.documentElement){return p}p=a;h=p.documentElement;v=!o(p);if(w!==p&&(i=p.defaultView)&&i.top!==i){if(i.addEventListener){i.addEventListener("unload",re,false)}else if(i.attachEvent){i.attachEvent("onunload",re)}}n.attributes=le(function(e){e.className="i";return!e.getAttribute("className")});n.getElementsByTagName=le(function(e){e.appendChild(p.createComment(""));return!e.getElementsByTagName("*").length});n.getElementsByClassName=J.test(p.getElementsByClassName);n.getById=le(function(e){h.appendChild(e).id=_;return!p.getElementsByName||!p.getElementsByName(_).length});if(n.getById){r.filter["ID"]=function(e){var t=e.replace(Q,ee);return function(e){return e.getAttribute("id")===t}};r.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&v){var n=t.getElementById(e);return n?[n]:[]}}}else{r.filter["ID"]=function(e){var t=e.replace(Q,ee);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}};r.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&v){var n,r,i,o=t.getElementById(e);if(o){n=o.getAttributeNode("id");if(n&&n.value===e){return[o]}i=t.getElementsByName(e);r=0;while(o=i[r++]){n=o.getAttributeNode("id");if(n&&n.value===e){return[o]}}}return[]}}}r.find["TAG"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}else if(n.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(e==="*"){while(n=o[i++]){if(n.nodeType===1){r.push(n)}}return r}return o};r.find["CLASS"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!=="undefined"&&v){return t.getElementsByClassName(e)}};g=[];m=[];if(n.qsa=J.test(p.querySelectorAll)){le(function(e){h.appendChild(e).innerHTML=""+"";if(e.querySelectorAll("[msallowcapture^='']").length){m.push("[*^$]="+I+"*(?:''|\"\")")}if(!e.querySelectorAll("[selected]").length){m.push("\\["+I+"*(?:value|"+P+")")}if(!e.querySelectorAll("[id~="+_+"-]").length){m.push("~=")}if(!e.querySelectorAll(":checked").length){m.push(":checked")}if(!e.querySelectorAll("a#"+_+"+*").length){m.push(".#.+[+~]")}});le(function(e){e.innerHTML=""+"";var t=p.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){m.push("name"+I+"*[*^$|!~]?=")}if(e.querySelectorAll(":enabled").length!==2){m.push(":enabled",":disabled")}h.appendChild(e).disabled=true;if(e.querySelectorAll(":disabled").length!==2){m.push(":enabled",":disabled")}e.querySelectorAll("*,:x");m.push(",.*:")})}if(n.matchesSelector=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector)){le(function(e){n.disconnectedMatch=y.call(e,"*");y.call(e,"[s!='']:x");g.push("!=",q)})}m=m.length&&new RegExp(m.join("|"));g=g.length&&new RegExp(g.join("|"));t=J.test(h.compareDocumentPosition);b=t||J.test(h.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};j=t?function(e,t){if(e===t){f=true;return 0}var r=!e.compareDocumentPosition-!t.compareDocumentPosition;if(r){return r}r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r){if(e===p||e.ownerDocument===w&&b(w,e)){return-1}if(t===p||t.ownerDocument===w&&b(w,t)){return 1}return c?M(c,e)-M(c,t):0}return r&4?-1:1}:function(e,t){if(e===t){f=true;return 0}var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o){return e===p?-1:t===p?1:i?-1:o?1:c?M(c,e)-M(c,t):0}else if(i===o){return ce(e,t)}n=e;while(n=n.parentNode){a.unshift(n)}n=t;while(n=n.parentNode){s.unshift(n)}while(a[r]===s[r]){r++}return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0};return p};oe.matches=function(e,t){return oe(e,null,null,t)};oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p){d(e)}t=t.replace(z,"='$1']");if(n.matchesSelector&&v&&!T[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t))){try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return r}}catch(e){}}return oe(t,p,null,[e]).length>0};oe.contains=function(e,t){if((e.ownerDocument||e)!==p){d(e)}return b(e,t)};oe.attr=function(e,t){if((e.ownerDocument||e)!==p){d(e)}var i=r.attrHandle[t.toLowerCase()],o=i&&S.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):undefined;return o!==undefined?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};oe.escape=function(e){return(e+"").replace(te,ne)};oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};oe.uniqueSort=function(e){var t,r=[],i=0,o=0;f=!n.detectDuplicates;c=!n.sortStable&&e.slice(0);e.sort(j);if(f){while(t=e[o++]){if(t===e[o]){i=r.push(o)}}while(i--){e.splice(r[i],1)}}c=null;return e};i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(!o){while(t=e[r++]){n+=i(t)}}else if(o===1||o===9||o===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=i(e)}}}else if(o===3||o===4){return e.nodeValue}return n};r=oe.selectors={cacheLength:50,createPseudo:se,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(Q,ee);e[3]=(e[3]||e[4]||e[5]||"").replace(Q,ee);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){oe.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+(e[7]+e[8]||e[3]==="odd")}else if(e[3]){oe.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(X["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[4]||e[5]||""}else if(n&&W.test(n)&&(t=a(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(Q,ee).toLowerCase();return e==="*"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&C(e,function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);if(i==null){return t==="!="}if(!t){return true}i+="";return t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(F," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,r,i){var o=e.slice(0,3)!=="nth",a=e.slice(-4)!=="last",s=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=false;if(m){if(o){while(v){d=t;while(d=d[v]){if(s?d.nodeName.toLowerCase()===g:d.nodeType===1){return false}}h=v=e==="only"&&!h&&"nextSibling"}return true}h=[a?m.firstChild:m.lastChild];if(a&&y){d=m;f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});u=c[e]||[];p=u[0]===x&&u[1];b=p&&u[2];d=p&&m.childNodes[p];while(d=++p&&d&&d[v]||(b=p=0)||h.pop()){if(d.nodeType===1&&++b&&d===t){c[e]=[x,p,b];break}}}else{if(y){d=t;f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});u=c[e]||[];p=u[0]===x&&u[1];b=p}if(b===false){while(d=++p&&d&&d[v]||(b=p=0)||h.pop()){if((s?d.nodeName.toLowerCase()===g:d.nodeType===1)&&++b){if(y){f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});c[e]=[x,b]}if(d===t){break}}}}}b-=i;return b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);if(i[_]){return i(t)}if(i.length>1){n=[e,e,"",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--){r=M(e,o[a]);e[r]=!(n[r]=o[a])}}):function(e){return i(e,0,n)}}return i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[_]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--){if(o=a[s]){e[s]=!(t[s]=o)}}}):function(e,i,o){t[0]=e;r(t,null,o,n);t[0]=null;return!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){e=e.replace(Q,ee);return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){if(!V.test(e||"")){oe.error("unsupported lang: "+e)}e=e.replace(Q,ee).toLowerCase();return function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(false),disabled:pe(true),checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!r.pseudos["empty"](e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){var n=0;for(;n=0;){e.push(r)}return e}),gt:he(function(e,t,n){var r=n<0?n+t:n;for(;++r1?function(t,n,r){var i=e.length;while(i--){if(!e[i](t,n,r)){return false}}return true}:e[0]}function _e(e,t,n){var r=0,i=t.length;for(;r-1){o[u]=!(a[u]=f)}}}}else{g=we(g===a?g.splice(h,g.length):g);if(i){i(null,a,g,l)}else{D.apply(a,g)}}})}function ke(e){var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=ye(function(e){return e===t},s,true),f=ye(function(e){return M(t,e)>-1},s,true),d=[function(e,n,r){var i=!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):f(e,n,r));t=null;return i}];for(;l1&&be(d),l>1&&ge(e.slice(0,l-1).concat({value:e[l-2].type===" "?"*":""})).replace(B,"$1"),n,l0,i=e.length>0,o=function(o,a,s,l,c){var f,h,m,g=0,y="0",b=o&&[],_=[],w=u,k=o||i&&r.find["TAG"]("*",c),C=x+=w==null?1:Math.random()||.1,$=k.length;if(c){u=a===p||a||c}for(;y!==$&&(f=k[y])!=null;y++){if(i&&f){h=0;if(!a&&f.ownerDocument!==p){d(f);s=!v}while(m=e[h++]){if(m(f,a||p,s)){l.push(f);break}}if(c){x=C}}if(n){if(f=!m&&f){g--}if(o){b.push(f)}}}g+=y;if(n&&y!==g){h=0;while(m=t[h++]){m(b,_,a,s)}if(o){if(g>0){while(y--){if(!(b[y]||_[y])){_[y]=E.call(l)}}}_=we(_)}D.apply(l,_);if(c&&!o&&_.length>0&&g+t.length>1){oe.uniqueSort(l)}}if(c){x=C;u=w}return b};return n?se(o):o}s=oe.compile=function(e,t){var n,r=[],i=[],o=T[e+" "];if(!o){if(!t){t=a(e)}n=t.length;while(n--){o=ke(t[n]);if(o[_]){r.push(o)}else{i.push(o)}}o=T(e,Ce(i,r));o.selector=e}return o};l=oe.select=function(e,t,n,i){var o,l,u,c,f,d=typeof e==="function"&&e,p=!i&&a(e=d.selector||e);n=n||[];if(p.length===1){l=p[0]=p[0].slice(0);if(l.length>2&&(u=l[0]).type==="ID"&&t.nodeType===9&&v&&r.relative[l[1].type]){t=(r.find["ID"](u.matches[0].replace(Q,ee),t)||[])[0];if(!t){return n}else if(d){t=t.parentNode}e=e.slice(l.shift().value.length)}o=X["needsContext"].test(e)?0:l.length;while(o--){u=l[o];if(r.relative[c=u.type]){break}if(f=r.find[c]){if(i=f(u.matches[0].replace(Q,ee),K.test(l[0].type)&&ve(t.parentNode)||t)){l.splice(o,1);e=i.length&&ge(l);if(!e){D.apply(n,i);return n}break}}}}(d||s(e,p))(i,t,!v,n,!t||K.test(e)&&ve(t.parentNode)||t);return n};n.sortStable=_.split("").sort(j).join("")===_;n.detectDuplicates=!!f;d();n.sortDetached=le(function(e){return e.compareDocumentPosition(p.createElement("fieldset"))&1});if(!le(function(e){e.innerHTML="";return e.firstChild.getAttribute("href")==="#"})){ue("type|href|height|width",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}})}if(!n.attributes||!le(function(e){e.innerHTML="";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){ue("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})}if(!le(function(e){return e.getAttribute("disabled")==null})){ue(P,function(e,t,n){var r;if(!n){return e[t]===true?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}})}return oe}(n);w.find=j;w.expr=j.selectors;w.expr[":"]=w.expr.pseudos;w.uniqueSort=w.unique=j.uniqueSort;w.text=j.getText;w.isXMLDoc=j.isXML;w.contains=j.contains;w.escapeSelector=j.escape;var S=function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(i&&w(e).is(n)){break}r.push(e)}}return r};var A=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n};var E=w.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;var N=/^.[^:#\[\.,]*$/;function M(e,t,n){if(w.isFunction(t)){return w.grep(e,function(e,r){return!!t.call(e,r,e)!==n})}if(t.nodeType){return w.grep(e,function(e){return e===t!==n})}if(typeof t!=="string"){return w.grep(e,function(e){return d.call(t,e)>-1!==n})}if(N.test(t)){return w.filter(t,e,n)}t=w.filter(t,e);return w.grep(e,function(e){return d.call(t,e)>-1!==n&&e.nodeType===1})}w.filter=function(e,t,n){var r=t[0];if(n){e=":not("+e+")"}if(t.length===1&&r.nodeType===1){return w.find.matchesSelector(r,e)?[r]:[]}return w.find.matches(e,w.grep(t,function(e){return e.nodeType===1}))};w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if(typeof e!=="string"){return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(M(this,e||[],false))},not:function(e){return this.pushStack(M(this,e||[],true))},is:function(e){return!!M(this,typeof e==="string"&&E.test(e)?w(e):e||[],false).length}});var P,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,R=w.fn.init=function(e,t,n){var r,i;if(!e){return this}n=n||P;if(typeof e==="string"){if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3){r=[null,e,null]}else{r=I.exec(e)}if(r&&(r[1]||!t)){if(r[1]){t=t instanceof w?t[0]:t;w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:s,true));if(D.test(r[1])&&w.isPlainObject(t)){for(r in t){if(w.isFunction(this[r])){this[r](t[r])}else{this.attr(r,t[r])}}}return this}else{i=s.getElementById(r[2]);if(i){this[0]=i;this.length=1}return this}}else if(!t||t.jquery){return(t||n).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this[0]=e;this.length=1;return this}else if(w.isFunction(e)){return n.ready!==undefined?n.ready(e):e(w)}return w.makeArray(e,this)};R.prototype=w.fn;P=w(s);var L=/^(?:parents|prev(?:Until|All))/,q={children:true,contents:true,next:true,prev:true};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){var e=0;for(;e-1:n.nodeType===1&&w.find.matchesSelector(n,e))){o.push(n);break}}}}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e==="string"){return d.call(w(e),this[0])}return d.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function F(e,t){while((e=e[t])&&e.nodeType!==1){}return e}w.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){if(O(e,"iframe")){return e.contentDocument}if(O(e,"template")){e=e.content||e}return w.merge([],e.childNodes)}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);if(e.slice(-5)!=="Until"){r=n}if(r&&typeof r==="string"){i=w.filter(r,i)}if(this.length>1){if(!q[e]){w.uniqueSort(i)}if(L.test(e)){i.reverse()}}return this.pushStack(i)}});var B=/[^\x20\t\r\n\f]+/g;function U(e){var t={};w.each(e.match(B)||[],function(e,n){t[n]=true});return t}w.Callbacks=function(e){e=typeof e==="string"?U(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){i=i||e.once;r=t=true;for(;a.length;s=-1){n=a.shift();while(++s-1){o.splice(n,1);if(n<=s){s--}}});return this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){if(o){o=[]}return this},disable:function(){i=a=[];o=n="";return this},disabled:function(){return!o},lock:function(){i=a=[];if(!n&&!t){o=n=""}return this},locked:function(){return!!i},fireWith:function(e,n){if(!i){n=n||[];n=[e,n.slice?n.slice():n];a.push(n);if(!t){l()}}return this},fire:function(){u.fireWith(this,arguments);return this},fired:function(){return!!r}};return u};function H(e){return e}function z(e){throw e}function W(e,t,n,r){var i;try{if(e&&w.isFunction(i=e.promise)){i.call(e).done(t).fail(n)}else if(e&&w.isFunction(i=e.then)){i.call(e,t,n)}else{t.apply(undefined,[e].slice(r))}}catch(e){n.apply(undefined,[e])}}w.extend({Deferred:function(e){var t=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){o.done(arguments).fail(arguments);return this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(n){w.each(t,function(t,r){var i=w.isFunction(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);if(e&&w.isFunction(e.promise)){e.promise().progress(n.notify).done(n.resolve).fail(n.reject)}else{n[r[0]+"With"](this,i?[e]:arguments)}})});e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,l=arguments,u=function(){var n,u;if(e=o){if(r!==z){s=undefined;l=[n]}t.rejectWith(s,l)}}};if(e){c()}else{if(w.Deferred.getStackHook){c.stackTrace=w.Deferred.getStackHook()}n.setTimeout(c)}}}return w.Deferred(function(n){t[0][3].add(a(0,n,w.isFunction(i)?i:H,n.notifyWith));t[1][3].add(a(0,n,w.isFunction(e)?e:H));t[2][3].add(a(0,n,w.isFunction(r)?r:z))}).promise()},promise:function(e){return e!=null?w.extend(e,i):i}},o={};w.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add;if(s){a.add(function(){r=s},t[3-e][2].disable,t[0][2].lock)}a.add(n[3].fire);o[n[0]]=function(){o[n[0]+"With"](this===o?undefined:this,arguments);return this};o[n[0]+"With"]=a.fireWith});i.promise(o);if(e){e.call(o,o)}return o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=u.call(arguments),o=w.Deferred(),a=function(e){return function(n){r[e]=this;i[e]=arguments.length>1?u.call(arguments):n;if(!--t){o.resolveWith(r,i)}}};if(t<=1){W(e,o.done(a(n)).resolve,o.reject,!t);if(o.state()==="pending"||w.isFunction(i[n]&&i[n].then)){return o.then()}}while(n--){W(i[n],a(n),o.reject)}return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,t){if(n.console&&n.console.warn&&e&&V.test(e.name)){n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)}};w.readyException=function(e){n.setTimeout(function(){throw e})};var X=w.Deferred();w.fn.ready=function(e){X.then(e).catch(function(e){w.readyException(e)});return this};w.extend({isReady:false,readyWait:1,ready:function(e){if(e===true?--w.readyWait:w.isReady){return}w.isReady=true;if(e!==true&&--w.readyWait>0){return}X.resolveWith(s,[w])}});w.ready.then=X.then;function G(){s.removeEventListener("DOMContentLoaded",G);n.removeEventListener("load",G);w.ready()}if(s.readyState==="complete"||s.readyState!=="loading"&&!s.documentElement.doScroll){n.setTimeout(w.ready)}else{s.addEventListener("DOMContentLoaded",G);n.addEventListener("load",G)}var Y=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=n==null;if(w.type(n)==="object"){i=true;for(s in n){Y(e,t,s,n[s],true,o,a)}}else if(r!==undefined){i=true;if(!w.isFunction(r)){a=true}if(u){if(a){t.call(e,r);t=null}else{u=t;t=function(e,t,n){return u.call(w(e),n)}}}if(t){for(;s1,null,true)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}});w.extend({queue:function(e,t,n){var r;if(e){t=(t||"fx")+"queue";r=K.get(e,t);if(n){if(!r||Array.isArray(n)){r=K.access(e,t,w.makeArray(n))}else{r.push(n)}}return r||[]}},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};if(i==="inprogress"){i=n.shift();r--}if(i){if(t==="fx"){n.unshift("inprogress")}delete o.stop;i.call(e,a,o)}if(!r&&o){o.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:w.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}});w.fn.extend({queue:function(e,t){var n=2;if(typeof e!=="string"){t=e;e="fx";n--}if(arguments.length\x20\t\r\n\f]+)/i;var ve=/^$|\/(?:java|ecma)script/i;var me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};me.optgroup=me.option;me.tbody=me.tfoot=me.colgroup=me.caption=me.thead;me.th=me.td;function ge(e,t){var n;if(typeof e.getElementsByTagName!=="undefined"){n=e.getElementsByTagName(t||"*")}else if(typeof e.querySelectorAll!=="undefined"){n=e.querySelectorAll(t||"*")}else{n=[]}if(t===undefined||t&&O(e,t)){return w.merge([e],n)}return n}function ye(e,t){var n=0,r=e.length;for(;n-1){if(i){i.push(o)}continue}u=w.contains(o.ownerDocument,o);a=ge(f.appendChild(o),"script");if(u){ye(a)}if(n){c=0;while(o=a[c++]){if(ve.test(o.type||"")){n.push(o)}}}}return f}(function(){var e=s.createDocumentFragment(),t=e.appendChild(s.createElement("div")),n=s.createElement("input");n.setAttribute("type","radio");n.setAttribute("checked","checked");n.setAttribute("name","t");t.appendChild(n);y.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="";y.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue})();var we=s.documentElement;var xe=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function $e(){return true}function Te(){return false}function je(){try{return s.activeElement}catch(e){}}function Se(e,t,n,r,i,o){var a,s;if(typeof t==="object"){if(typeof n!=="string"){r=r||n;n=undefined}for(s in t){Se(e,s,n,r,t[s],o)}return e}if(r==null&&i==null){i=n;r=n=undefined}else if(i==null){if(typeof n==="string"){i=r;r=undefined}else{i=r;r=n;n=undefined}}if(i===false){i=Te}else if(!i){return e}if(o===1){a=i;i=function(e){w().off(e);return a.apply(this,arguments)};i.guid=a.guid||(a.guid=w.guid++)}return e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,d,p,h,v,m=K.get(e);if(!m){return}if(n.handler){o=n;n=o.handler;i=o.selector}if(i){w.find.matchesSelector(we,i)}if(!n.guid){n.guid=w.guid++}if(!(l=m.events)){l=m.events={}}if(!(a=m.handle)){a=m.handle=function(t){return typeof w!=="undefined"&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):undefined}}t=(t||"").match(B)||[""];u=t.length;while(u--){s=Ce.exec(t[u])||[];p=v=s[1];h=(s[2]||"").split(".").sort();if(!p){continue}f=w.event.special[p]||{};p=(i?f.delegateType:f.bindType)||p;f=w.event.special[p]||{};c=w.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o);if(!(d=l[p])){d=l[p]=[];d.delegateCount=0;if(!f.setup||f.setup.call(e,r,h,a)===false){if(e.addEventListener){e.addEventListener(p,a)}}}if(f.add){f.add.call(e,c);if(!c.handler.guid){c.handler.guid=n.guid}}if(i){d.splice(d.delegateCount++,0,c)}else{d.push(c)}w.event.global[p]=true}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,d,p,h,v,m=K.hasData(e)&&K.get(e);if(!m||!(l=m.events)){return}t=(t||"").match(B)||[""];u=t.length;while(u--){s=Ce.exec(t[u])||[];p=v=s[1];h=(s[2]||"").split(".").sort();if(!p){for(p in l){w.event.remove(e,p+t[u],n,r,true)}continue}f=w.event.special[p]||{};p=(r?f.delegateType:f.bindType)||p;d=l[p]||[];s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)");a=o=d.length;while(o--){c=d[o];if((i||v===c.origType)&&(!n||n.guid===c.guid)&&(!s||s.test(c.namespace))&&(!r||r===c.selector||r==="**"&&c.selector)){d.splice(o,1);if(c.selector){d.delegateCount--}if(f.remove){f.remove.call(e,c)}}}if(a&&!d.length){if(!f.teardown||f.teardown.call(e,h,m.handle)===false){w.removeEvent(e,p,m.handle)}delete l[p]}}if(w.isEmptyObject(l)){K.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e);var n,r,i,o,a,s,l=new Array(arguments.length),u=(K.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};l[0]=t;for(n=1;n=1)){for(;u!==this;u=u.parentNode||this){if(u.nodeType===1&&!(e.type==="click"&&u.disabled===true)){o=[];a={};for(n=0;n-1:w.find(i,this,null,[u]).length}if(a[i]){o.push(r)}}if(o.length){s.push({elem:u,handlers:o})}}}}u=this;if(l\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/\s*$/g;function Me(e,t){if(O(e,"table")&&O(t.nodeType!==11?t:t.firstChild,"tr")){return w(">tbody",e)[0]||e}return e}function Pe(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e}function Ie(e){var t=De.exec(e.type);if(t){e.type=t[1]}else{e.removeAttribute("type")}return e}function Re(e,t){var n,r,i,o,a,s,l,u;if(t.nodeType!==1){return}if(K.hasData(e)){o=K.access(e);a=K.set(t,o);u=o.events;if(u){delete a.handle;a.events={};for(i in u){for(n=0,r=u[i].length;n1&&typeof h==="string"&&!y.checkClone&&Oe.test(h)){return e.each(function(i){var o=e.eq(i);if(v){t[0]=h.call(this,i,o.html())}qe(o,t,n,r)})}if(d){i=_e(t,e[0].ownerDocument,false,e,r);o=i.firstChild;if(i.childNodes.length===1){i=o}if(o||r){a=w.map(ge(i,"script"),Pe);s=a.length;for(;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(true),l=w.contains(e.ownerDocument,e);if(!y.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!w.isXMLDoc(e)){a=ge(s);o=ge(e);for(r=0,i=o.length;r0){ye(a,!l&&ge(e,"script"))}return s},cleanData:function(e){var t,n,r,i=w.event.special,o=0;for(;(n=e[o])!==undefined;o++){if(J(n)){if(t=n[K.expando]){if(t.events){for(r in t.events){if(i[r]){w.event.remove(n,r)}else{w.removeEvent(n,r,t.handle)}}}n[K.expando]=undefined}if(n[Q.expando]){n[Q.expando]=undefined}}}}});w.fn.extend({detach:function(e){return Fe(this,e,true)},remove:function(e){return Fe(this,e)},text:function(e){return Y(this,function(e){return e===undefined?w.text(this):this.empty().each(function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=e}})},null,e,arguments.length)},append:function(){return qe(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Me(this,e);t.appendChild(e)}})},prepend:function(){return qe(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return qe(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return qe(this,arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){w.cleanData(ge(e,false));e.textContent=""}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map(function(){return w.clone(this,e,t)})},html:function(e){return Y(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&t.nodeType===1){return t.innerHTML}if(typeof e==="string"&&!Ee.test(e)&&!me[(he.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n1)}});function rt(e,t,n,r,i){return new rt.prototype.init(e,t,n,r,i)}w.Tween=rt;rt.prototype={constructor:rt,init:function(e,t,n,r,i,o){this.elem=e;this.prop=n;this.easing=i||w.easing._default;this.options=t;this.start=this.now=this.cur();this.end=r;this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];if(this.options.duration){this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{rt.propHooks._default.set(this)}return this}};rt.prototype.init.prototype=rt.prototype;rt.propHooks={_default:{get:function(e){var t;if(e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null){return e.elem[e.prop]}t=w.css(e.elem,e.prop,"");return!t||t==="auto"?0:t},set:function(e){if(w.fx.step[e.prop]){w.fx.step[e.prop](e)}else if(e.elem.nodeType===1&&(e.elem.style[w.cssProps[e.prop]]!=null||w.cssHooks[e.prop])){w.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"};w.fx=rt.prototype.init;w.fx.step={};var it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){if(ot){if(s.hidden===false&&n.requestAnimationFrame){n.requestAnimationFrame(lt)}else{n.setTimeout(lt,w.fx.interval)}w.fx.tick()}}function ut(){n.setTimeout(function(){it=undefined});return it=w.now()}function ct(e,t){var n,r=0,i={height:e};t=t?1:0;for(;r<4;r+=2-t){n=ae[r];i["margin"+n]=i["padding"+n]=e}if(t){i.opacity=i.width=e}return i}function ft(e,t,n){var r,i=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),o=0,a=i.length;for(;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}});w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(o===3||o===8||o===2){return}if(typeof e.getAttribute==="undefined"){return w.prop(e,t,n)}if(o!==1||!w.isXMLDoc(e)){i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?vt:undefined)}if(n!==undefined){if(n===null){w.removeAttr(e,t);return}if(i&&"set"in i&&(r=i.set(e,n,t))!==undefined){return r}e.setAttribute(t,n+"");return n}if(i&&"get"in i&&(r=i.get(e,t))!==null){return r}r=w.find.attr(e,t);return r==null?undefined:r},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&t==="radio"&&O(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(B);if(i&&e.nodeType===1){while(n=i[r++]){e.removeAttribute(n)}}}});vt={set:function(e,t,n){if(t===false){w.removeAttr(e,n)}else{e.setAttribute(n,n)}return n}};w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mt[t]||w.find.attr;mt[t]=function(e,t,r){var i,o,a=t.toLowerCase();if(!r){o=mt[a];mt[a]=i;i=n(e,t,r)!=null?a:null;mt[a]=o}return i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return Y(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}});w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(o===3||o===8||o===2){return}if(o!==1||!w.isXMLDoc(e)){t=w.propFix[t]||t;i=w.propHooks[t]}if(n!==undefined){if(i&&"set"in i&&(r=i.set(e,n,t))!==undefined){return r}return e[t]=n}if(i&&"get"in i&&(r=i.get(e,t))!==null){return r}return e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");if(t){return parseInt(t,10)}if(gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!y.optSelected){w.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex}return null},set:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}}}}w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function bt(e){var t=e.match(B)||[];return t.join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(w.isFunction(e)){return this.each(function(t){w(this).addClass(e.call(this,t,_t(this)))})}if(typeof e==="string"&&e){t=e.match(B)||[];while(n=this[l++]){i=_t(n);r=n.nodeType===1&&" "+bt(i)+" ";if(r){a=0;while(o=t[a++]){if(r.indexOf(" "+o+" ")<0){r+=o+" "}}s=bt(r);if(i!==s){n.setAttribute("class",s)}}}}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(w.isFunction(e)){return this.each(function(t){w(this).removeClass(e.call(this,t,_t(this)))})}if(!arguments.length){return this.attr("class","")}if(typeof e==="string"&&e){t=e.match(B)||[];while(n=this[l++]){i=_t(n);r=n.nodeType===1&&" "+bt(i)+" ";if(r){a=0;while(o=t[a++]){while(r.indexOf(" "+o+" ")>-1){r=r.replace(" "+o+" "," ")}}s=bt(r);if(i!==s){n.setAttribute("class",s)}}}}return this},toggleClass:function(e,t){var n=typeof e;if(typeof t==="boolean"&&n==="string"){return t?this.addClass(e):this.removeClass(e)}if(w.isFunction(e)){return this.each(function(n){w(this).toggleClass(e.call(this,n,_t(this),t),t)})}return this.each(function(){var t,r,i,o;if(n==="string"){r=0;i=w(this);o=e.match(B)||[];while(t=o[r++]){if(i.hasClass(t)){i.removeClass(t)}else{i.addClass(t)}}}else if(e===undefined||n==="boolean"){t=_t(this);if(t){K.set(this,"__className__",t)}if(this.setAttribute){this.setAttribute("class",t||e===false?"":K.get(this,"__className__")||"")}}})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++]){if(n.nodeType===1&&(" "+bt(_t(n))+" ").indexOf(t)>-1){return true}}return false}});var wt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i){t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()];if(t&&"get"in t&&(n=t.get(i,"value"))!==undefined){return n}n=i.value;if(typeof n==="string"){return n.replace(wt,"")}return n==null?"":n}return}r=w.isFunction(e);return this.each(function(n){var i;if(this.nodeType!==1){return}if(r){i=e.call(this,n,w(this).val())}else{i=e}if(i==null){i=""}else if(typeof i==="number"){i+=""}else if(Array.isArray(i)){i=w.map(i,function(e){return e==null?"":e+""})}t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined){this.value=i}})}});w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return t!=null?t:bt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a=e.type==="select-one",s=a?null:[],l=a?o+1:i.length;if(o<0){r=l}else{r=a?o:0}for(;r-1){n=true}}if(!n){e.selectedIndex=-1}return o}}}});w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t)){return e.checked=w.inArray(w(e).val(),t)>-1}}};if(!y.checkOn){w.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});var xt=/^(?:focusinfocus|focusoutblur)$/;w.extend(w.event,{trigger:function(e,t,r,i){var o,a,l,u,c,f,d,p=[r||s],h=v.call(e,"type")?e.type:e,m=v.call(e,"namespace")?e.namespace.split("."):[];a=l=r=r||s;if(r.nodeType===3||r.nodeType===8){return}if(xt.test(h+w.event.triggered)){return}if(h.indexOf(".")>-1){m=h.split(".");h=m.shift();m.sort()}c=h.indexOf(":")<0&&"on"+h;e=e[w.expando]?e:new w.Event(h,typeof e==="object"&&e);e.isTrigger=i?2:3;e.namespace=m.join(".");e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;e.result=undefined;if(!e.target){e.target=r}t=t==null?[e]:w.makeArray(t,[e]);d=w.event.special[h]||{};if(!i&&d.trigger&&d.trigger.apply(r,t)===false){return}if(!i&&!d.noBubble&&!w.isWindow(r)){u=d.delegateType||h;if(!xt.test(u+h)){a=a.parentNode}for(;a;a=a.parentNode){p.push(a);l=a}if(l===(r.ownerDocument||s)){p.push(l.defaultView||l.parentWindow||n)}}o=0;while((a=p[o++])&&!e.isPropagationStopped()){e.type=o>1?u:d.bindType||h;f=(K.get(a,"events")||{})[e.type]&&K.get(a,"handle");if(f){f.apply(a,t)}f=c&&a[c];if(f&&f.apply&&J(a)){e.result=f.apply(a,t);if(e.result===false){e.preventDefault()}}}e.type=h;if(!i&&!e.isDefaultPrevented()){if((!d._default||d._default.apply(p.pop(),t)===false)&&J(r)){if(c&&w.isFunction(r[h])&&!w.isWindow(r)){l=r[c];if(l){r[c]=null}w.event.triggered=h;r[h]();w.event.triggered=undefined;if(l){r[c]=l}}}}return e.result},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:true});w.event.trigger(r,null,t)}});w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n){return w.event.trigger(e,t,n,true)}}});w.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){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});y.focusin="onfocusin"in n;if(!y.focusin){w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=K.access(r,t);if(!i){r.addEventListener(e,n,true)}K.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=K.access(r,t)-1;if(!i){r.removeEventListener(e,n,true);K.remove(r,t)}else{K.access(r,t,i)}}}})}var kt=n.location;var Ct=w.now();var $t=/\?/;w.parseXML=function(e){var t;if(!e||typeof e!=="string"){return null}try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=undefined}if(!t||t.getElementsByTagName("parsererror").length){w.error("Invalid XML: "+e)}return t};var Tt=/\[\]$/,jt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Et(e,t,n,r){var i;if(Array.isArray(t)){w.each(t,function(t,i){if(n||Tt.test(e)){r(e,i)}else{Et(e+"["+(typeof i==="object"&&i!=null?t:"")+"]",i,n,r)}})}else if(!n&&w.type(t)==="object"){for(i in t){Et(e+"["+i+"]",t[i],n,r)}}else{r(e,t)}}w.param=function(e,t){var n,r=[],i=function(e,t){var n=w.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(n==null?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e)){w.each(e,function(){i(this.name,this.value)})}else{for(n in e){Et(n,e[n],t,i)}}return r.join("&")};w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!St.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();if(n==null){return null}if(Array.isArray(n)){return w.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}})}return{name:t.name,value:n.replace(jt,"\r\n")}}).get()}});var Ot=/%20/g,Dt=/#.*$/,Nt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,It=/^(?:GET|HEAD)$/,Rt=/^\/\//,Lt={},qt={},Ft="*/".concat("*"),Bt=s.createElement("a");Bt.href=kt.href;function Ut(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var r,i=0,o=t.toLowerCase().match(B)||[];if(w.isFunction(n)){while(r=o[i++]){if(r[0]==="+"){r=r.slice(1)||"*";(e[r]=e[r]||[]).unshift(n)}else{(e[r]=e[r]||[]).push(n)}}}}}function Ht(e,t,n,r){var i={},o=e===qt;function a(s){var l;i[s]=true;w.each(e[s]||[],function(e,s){var u=s(t,n,r);if(typeof u==="string"&&!o&&!i[u]){t.dataTypes.unshift(u);a(u);return false}else if(o){return!(l=u)}});return l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t){if(t[n]!==undefined){(i[n]?e:r||(r={}))[n]=t[n]}}if(r){w.extend(true,e,r)}return e}function Wt(e,t,n){var r,i,o,a,s=e.contents,l=e.dataTypes;while(l[0]==="*"){l.shift();if(r===undefined){r=e.mimeType||t.getResponseHeader("Content-Type")}}if(r){for(i in s){if(s[i]&&s[i].test(r)){l.unshift(i);break}}}if(l[0]in n){o=l[0]}else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}if(!a){a=i}}o=o||a}if(o){if(o!==l[0]){l.unshift(o)}return n[o]}}function Vt(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1]){for(a in e.converters){u[a.toLowerCase()]=e.converters[a]}}o=c.shift();while(o){if(e.responseFields[o]){n[e.responseFields[o]]=t}if(!l&&r&&e.dataFilter){t=e.dataFilter(t,e.dataType)}l=o;o=c.shift();if(o){if(o==="*"){o=l}else if(l!=="*"&&l!==o){a=u[l+" "+o]||u["* "+o];if(!a){for(i in u){s=i.split(" ");if(s[1]===o){a=u[l+" "+s[0]]||u["* "+s[0]];if(a){if(a===true){a=u[i]}else if(u[i]!==true){o=s[0];c.unshift(s[1])}break}}}}if(a!==true){if(a&&e.throws){t=a(t)}else{try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}}}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:Pt.test(kt.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,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":true,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ut(Lt),ajaxTransport:Ut(qt),ajax:function(e,t){if(typeof e==="object"){t=e;e=undefined}t=t||{};var r,i,o,a,l,u,c,f,d,p,h=w.ajaxSetup({},t),v=h.context||h,m=h.context&&(v.nodeType||v.jquery)?w(v):w.event,g=w.Deferred(),y=w.Callbacks("once memory"),b=h.statusCode||{},_={},x={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a){a={};while(t=Mt.exec(o)){a[t[1].toLowerCase()]=t[2]}}t=a[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){if(c==null){e=x[e.toLowerCase()]=x[e.toLowerCase()]||e;_[e]=t}return this},overrideMimeType:function(e){if(c==null){h.mimeType=e}return this},statusCode:function(e){var t;if(e){if(c){C.always(e[C.status])}else{for(t in e){b[t]=[b[t],e[t]]}}}return this},abort:function(e){var t=e||k;if(r){r.abort(t)}$(0,t);return this}};g.promise(C);h.url=((e||h.url||kt.href)+"").replace(Rt,kt.protocol+"//");h.type=t.method||t.type||h.method||h.type;h.dataTypes=(h.dataType||"*").toLowerCase().match(B)||[""];if(h.crossDomain==null){u=s.createElement("a");try{u.href=h.url;u.href=u.href;h.crossDomain=Bt.protocol+"//"+Bt.host!==u.protocol+"//"+u.host}catch(e){h.crossDomain=true}}if(h.data&&h.processData&&typeof h.data!=="string"){h.data=w.param(h.data,h.traditional)}Ht(Lt,h,t,C);if(c){return C}f=w.event&&h.global;if(f&&w.active++===0){w.event.trigger("ajaxStart")}h.type=h.type.toUpperCase();h.hasContent=!It.test(h.type);i=h.url.replace(Dt,"");if(!h.hasContent){p=h.url.slice(i.length);if(h.data){i+=($t.test(i)?"&":"?")+h.data;delete h.data}if(h.cache===false){i=i.replace(Nt,"$1");p=($t.test(i)?"&":"?")+"_="+Ct+++p}h.url=i+p}else if(h.data&&h.processData&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0){h.data=h.data.replace(Ot,"+")}if(h.ifModified){if(w.lastModified[i]){C.setRequestHeader("If-Modified-Since",w.lastModified[i])}if(w.etag[i]){C.setRequestHeader("If-None-Match",w.etag[i])}}if(h.data&&h.hasContent&&h.contentType!==false||t.contentType){C.setRequestHeader("Content-Type",h.contentType)}C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", "+Ft+"; q=0.01":""):h.accepts["*"]);for(d in h.headers){C.setRequestHeader(d,h.headers[d])}if(h.beforeSend&&(h.beforeSend.call(v,C,h)===false||c)){return C.abort()}k="abort";y.add(h.complete);C.done(h.success);C.fail(h.error);r=Ht(qt,h,t,C);if(!r){$(-1,"No Transport")}else{C.readyState=1;if(f){m.trigger("ajaxSend",[C,h])}if(c){return C}if(h.async&&h.timeout>0){l=n.setTimeout(function(){C.abort("timeout")},h.timeout)}try{c=false;r.send(_,$)}catch(e){if(c){throw e}$(-1,e)}}function $(e,t,a,s){var u,d,p,_,x,k=t;if(c){return}c=true;if(l){n.clearTimeout(l)}r=undefined;o=s||"";C.readyState=e>0?4:0;u=e>=200&&e<300||e===304;if(a){_=Wt(h,C,a)}_=Vt(h,_,C,u);if(u){if(h.ifModified){x=C.getResponseHeader("Last-Modified");if(x){w.lastModified[i]=x}x=C.getResponseHeader("etag");if(x){w.etag[i]=x}}if(e===204||h.type==="HEAD"){k="nocontent"}else if(e===304){k="notmodified"}else{k=_.state;d=_.data;p=_.error;u=!p}}else{p=k;if(e||!k){k="error";if(e<0){e=0}}}C.status=e;C.statusText=(t||k)+"";if(u){g.resolveWith(v,[d,k,C])}else{g.rejectWith(v,[C,k,p])}C.statusCode(b);b=undefined;if(f){m.trigger(u?"ajaxSuccess":"ajaxError",[C,h,u?d:p])}y.fireWith(v,[C,k]);if(f){m.trigger("ajaxComplete",[C,h]);if(!--w.active){w.event.trigger("ajaxStop")}}}return C},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,undefined,t,"script")}});w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){if(w.isFunction(n)){i=i||r;r=n;n=undefined}return w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}});w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:true,async:false,global:false,throws:true})};w.fn.extend({wrapAll:function(e){var t;if(this[0]){if(w.isFunction(e)){e=e.call(this[0])}t=w(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map(function(){var e=this;while(e.firstElementChild){e=e.firstElementChild}return e}).append(this)}return this},wrapInner:function(e){if(w.isFunction(e)){return this.each(function(t){w(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=w(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=w.isFunction(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)});return this}});w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)};w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};w.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Gt=w.ajaxSettings.xhr();y.cors=!!Gt&&"withCredentials"in Gt;y.ajax=Gt=!!Gt;w.ajaxTransport(function(e){var t,r;if(y.cors||Gt&&!e.crossDomain){return{send:function(i,o){var a,s=e.xhr();s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(a in e.xhrFields){s[a]=e.xhrFields[a]}}if(e.mimeType&&s.overrideMimeType){s.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!i["X-Requested-With"]){i["X-Requested-With"]="XMLHttpRequest"}for(a in i){s.setRequestHeader(a,i[a])}t=function(e){return function(){if(t){t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null;if(e==="abort"){s.abort()}else if(e==="error"){if(typeof s.status!=="number"){o(0,"error")}else{o(s.status,s.statusText)}}else{o(Xt[s.status]||s.status,s.statusText,(s.responseType||"text")!=="text"||typeof s.responseText!=="string"?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders())}}}};s.onload=t();r=s.onerror=t("error");if(s.onabort!==undefined){s.onabort=r}else{s.onreadystatechange=function(){if(s.readyState===4){n.setTimeout(function(){if(t){r()}})}}}t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t){throw e}}},abort:function(){if(t){t()}}}}});w.ajaxPrefilter(function(e){if(e.crossDomain){e.contents.script=false}});w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){w.globalEval(e);return e}}});w.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET"}});w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=w(" -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 8f65509f01..6c827dbdd6 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -13,15 +13,15 @@ - + - + - + - + @@ -88,8 +88,8 @@ @else - - + + @endif @@ -671,7 +671,7 @@ - + @section('moar_scripts') @show diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index d19957cebc..ea216c56d6 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -1,16 +1,16 @@ {{-- This Will load our default bootstrap-table settings on any table with a class of "snipe-table" and export it to the passed 'exportFile' name --}} - - + + @if (!isset($simple_view)) - - - - - - - - + + + + + + + + @endif