graphdb-workbench 2.0.1 → 2.1.0-TR1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.55459f1b86b8bff8d22d.bundle.js → 0.509486bd2d198aadcb58.bundle.js} +2 -2
- package/dist/{0.55459f1b86b8bff8d22d.bundle.js.map → 0.509486bd2d198aadcb58.bundle.js.map} +1 -1
- package/dist/10.f63a9f9189528238aa8f.bundle.js +2 -0
- package/dist/10.f63a9f9189528238aa8f.bundle.js.map +1 -0
- package/dist/{11.3957302d7a301df30dd1.bundle.js → 11.3226313f4ba4bcfcab20.bundle.js} +2 -2
- package/dist/11.3226313f4ba4bcfcab20.bundle.js.map +1 -0
- package/dist/120.80843604737b7c260788.bundle.js +1 -1
- package/dist/120.80843604737b7c260788.bundle.js.map +1 -1
- package/dist/18.44723ea06155c72f46ae.bundle.js +1 -1
- package/dist/18.44723ea06155c72f46ae.bundle.js.map +1 -1
- package/dist/{2.6e340067f6eae14345cd.bundle.js → 2.06776cce6f6f06446892.bundle.js} +2 -2
- package/dist/2.06776cce6f6f06446892.bundle.js.map +1 -0
- package/dist/25.9e0925889b3a3f79c7fe.bundle.js +1 -1
- package/dist/25.9e0925889b3a3f79c7fe.bundle.js.map +1 -1
- package/dist/29.9bdb27c21d6eacac1341.bundle.js +1 -1
- package/dist/29.9bdb27c21d6eacac1341.bundle.js.map +1 -1
- package/dist/30.34b74ada583b1b0af913.bundle.js +1 -1
- package/dist/30.34b74ada583b1b0af913.bundle.js.map +1 -1
- package/dist/{48.f047a5ea62690543f8ad.bundle.js → 48.04d55156d377a26fda5b.bundle.js} +2 -2
- package/dist/48.04d55156d377a26fda5b.bundle.js.map +1 -0
- package/dist/68.e25480b7770a679a9654.bundle.js +1 -1
- package/dist/68.e25480b7770a679a9654.bundle.js.map +1 -1
- package/dist/8.d3360e2712bf75fc617a.bundle.js +3 -0
- package/dist/8.d3360e2712bf75fc617a.bundle.js.map +1 -0
- package/dist/{bundle.deea1d235ad6ebbd617a.bundle.js → bundle.9458c8d0f00f7c08da89.bundle.js} +3 -3
- package/dist/bundle.9458c8d0f00f7c08da89.bundle.js.map +1 -0
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +4 -4
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +3 -7
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +11 -11
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/import.html +1 -1
- package/dist/pages/jdbc-create.html +5 -5
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +2 -2
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +2 -2
- package/dist/pages/repository.html +2 -2
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-template-create.html +5 -5
- package/dist/pages/sparql.html +4 -4
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger/index.html +27 -27
- package/package.json +1 -1
- package/dist/10.eab0a417fa2f2831905e.bundle.js +0 -2
- package/dist/10.eab0a417fa2f2831905e.bundle.js.map +0 -1
- package/dist/11.3957302d7a301df30dd1.bundle.js.map +0 -1
- package/dist/2.6e340067f6eae14345cd.bundle.js.map +0 -1
- package/dist/48.f047a5ea62690543f8ad.bundle.js.map +0 -1
- package/dist/8.5abe78e9d72cdbc2607f.bundle.js +0 -3
- package/dist/8.5abe78e9d72cdbc2607f.bundle.js.map +0 -1
- package/dist/bundle.deea1d235ad6ebbd617a.bundle.js.map +0 -1
|
@@ -78,5 +78,5 @@ function(e,t){function n(e,t,n){return e>t&&e<t+n}function r(e){return/left|righ
|
|
|
78
78
|
*
|
|
79
79
|
* Date: 2014-01-13
|
|
80
80
|
*/
|
|
81
|
-
function(e){var t,n,r,i,o,a,s,l,u,c,f,d,h,p,g,v,m,y="sizzle"+-new Date,b=e.document,w=0,x=0,C=re(),S=re(),_=re(),T=function(e,t){return e===t&&(u=!0),0},k="undefined",D=1<<31,L={}.hasOwnProperty,A=[],N=A.pop,j=A.push,M=A.push,E=A.slice,I=A.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F=R.replace("w","w#"),H="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+F+")|)|)"+P+"*\\]",W=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+H.replace(3,8)+")*)|.*)\\)|)",z=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),q=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),V=new RegExp(W),G=new RegExp("^"+F+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R.replace("w","w*")+")"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),te=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,1023&r|56320)};try{M.apply(A=E.call(b.childNodes),b.childNodes),A[b.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){j.apply(e,E.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ne(e,t,i,o){var s,l,u,d,g,v,w,x,C,S;if((t?t.ownerDocument||t:b)!==f&&c(t),i=i||[],!e||"string"!=typeof e)return i;if(1!==(d=(t=t||f).nodeType)&&9!==d)return[];if(h&&!o){if(s=K.exec(e))if(u=s[1]){if(9===d){if(!(l=t.getElementById(u))||!l.parentNode)return i;if(l.id===u)return i.push(l),i}else if(t.ownerDocument&&(l=t.ownerDocument.getElementById(u))&&m(t,l)&&l.id===u)return i.push(l),i}else{if(s[2])return M.apply(i,t.getElementsByTagName(e)),i;if((u=s[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(i,t.getElementsByClassName(u)),i}if(n.qsa&&(!p||!p.test(e))){if(x=w=y,C=t,S=9===d&&e,1===d&&"object"!==t.nodeName.toLowerCase()){for(v=he(e),(w=t.getAttribute("id"))?x=w.replace(Z,"\\$&"):t.setAttribute("id",x),x="[id='"+x+"'] ",g=v.length;g--;)v[g]=x+pe(v[g]);C=Q.test(e)&&fe(t.parentNode)||t,S=v.join(",")}if(S)try{return M.apply(i,C.querySelectorAll(S)),i}catch(e){}finally{w||t.removeAttribute("id")}}}return function(e,t,i,o){var s,l,u,c,f,d=he(e);if(!o&&1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&n.getById&&9===t.nodeType&&h&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(ee,te),t)||[])[0]))return i;e=e.slice(l.shift().value.length)}for(s=X.needsContext.test(e)?0:l.length;s--&&(u=l[s],!r.relative[c=u.type]);)if((f=r.find[c])&&(o=f(u.matches[0].replace(ee,te),Q.test(l[0].type)&&fe(t.parentNode)||t))){if(l.splice(s,1),!(e=o.length&&pe(l)))return M.apply(i,o),i;break}}return a(e,d)(o,t,!h,i,Q.test(e)&&fe(t.parentNode)||t),i}(e.replace(z,"$1"),t,i,o)}function re(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ie(e){return e[y]=!0,e}function oe(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function se(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ue(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ce(e){return ie((function(t){return t=+t,ie((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function fe(e){return e&&typeof e.getElementsByTagName!==k&&e}for(t in n=ne.support={},o=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},c=ne.setDocument=function(e){var t,i=e?e.ownerDocument||e:b,a=i.defaultView;return i!==f&&9===i.nodeType&&i.documentElement?(f=i,d=i.documentElement,h=!o(i),a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",(function(){c()}),!1):a.attachEvent&&a.attachEvent("onunload",(function(){c()}))),n.attributes=oe((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=oe((function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Y.test(i.getElementsByClassName)&&oe((function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length})),n.getById=oe((function(e){return d.appendChild(e).id=y,!i.getElementsByName||!i.getElementsByName(y).length})),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!==k&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=typeof e.getAttributeNode!==k&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==k)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==k&&h)return t.getElementsByClassName(e)},g=[],p=[],(n.qsa=Y.test(i.querySelectorAll))&&(oe((function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&p.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+O+")"),e.querySelectorAll(":checked").length||p.push(":checked")})),oe((function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")}))),(n.matchesSelector=Y.test(v=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&oe((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),g.push("!=",W)})),p=p.length&&new RegExp(p.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),m=t||Y.test(d.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return u=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===i||e.ownerDocument===b&&m(b,e)?-1:t===i||t.ownerDocument===b&&m(b,t)?1:l?I.call(l,e)-I.call(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,r=0,o=e.parentNode,a=t.parentNode,s=[e],c=[t];if(!o||!a)return e===i?-1:t===i?1:o?-1:a?1:l?I.call(l,e)-I.call(l,t):0;if(o===a)return se(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)c.unshift(n);for(;s[r]===c[r];)r++;return r?se(s[r],c[r]):s[r]===b?-1:c[r]===b?1:0},i):f},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&c(e),t=t.replace(U,"='$1']"),n.matchesSelector&&h&&(!g||!g.test(t))&&(!p||!p.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ne(t,f,null,[e]).length>0},ne.contains=function(e,t){return(e.ownerDocument||e)!==f&&c(e),m(e,t)},ne.attr=function(e,t){(e.ownerDocument||e)!==f&&c(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!h):void 0;return void 0!==o?o:n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var t,r=[],i=0,o=0;if(u=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(T),u){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=ne.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ne.selectors={cacheLength:50,createPseudo:ie,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ne.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ne.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return X.CHILD.test(e[0])?null:(e[3]&&void 0!==e[4]?e[2]=e[4]:n&&V.test(n)&&(t=he(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==k&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ne.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,h,p,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s;if(v){if(o){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&b){for(h=(u=(c=v[y]||(v[y]={}))[e]||[])[0]===w&&u[1],d=u[0]===w&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[g]||(d=h=0)||p.pop();)if(1===f.nodeType&&++d&&f===t){c[e]=[w,h,d];break}}else if(b&&(u=(t[y]||(t[y]={}))[e])&&u[0]===w)d=u[1];else for(;(f=++h&&f&&f[g]||(d=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++d||(b&&((f[y]||(f[y]={}))[e]=[w,d]),f!==t)););return(d-=i)===r||d%r==0&&d/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ie((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=I.call(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ie((function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[y]?ie((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}})),has:ie((function(e){return function(t){return ne(e,t).length>0}})),contains:ie((function(e){return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ie((function(e){return G.test(e||"")||ne.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ce((function(){return[0]})),last:ce((function(e,t){return[t-1]})),eq:ce((function(e,t,n){return[n<0?n+t:n]})),even:ce((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ce((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ce((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:ce((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=le(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ue(t);function de(){}function he(e,t){var n,i,o,a,s,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(i=q.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=B.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=X[a].exec(s))||u[a]&&!(i=u[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ne.error(e):S(e,l).slice(0)}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=x++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u=[w,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(l=t[y]||(t[y]={}))[r])&&s[0]===w&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function ve(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function me(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function ye(e,t,n,r,i,o){return r&&!r[y]&&(r=ye(r)),i&&!i[y]&&(i=ye(i,o)),ie((function(o,a,s,l){var u,c,f,d=[],h=[],p=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ne(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?g:me(g,d,e,s,l),m=n?i||(o?e:p||r)?[]:a:v;if(n&&n(v,m,s,l),r)for(u=me(m,h),r(u,[],s,l),c=u.length;c--;)(f=u[c])&&(m[h[c]]=!(v[h[c]]=f));if(o){if(i||e){if(i){for(u=[],c=m.length;c--;)(f=m[c])&&u.push(v[c]=f);i(null,m=[],u,l)}for(c=m.length;c--;)(f=m[c])&&(u=i?I.call(o,f):d[c])>-1&&(o[u]=!(a[u]=f))}}else m=me(m===a?m.splice(p,m.length):m),i?i(null,a,m,l):M.apply(a,m)}))}function be(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],l=a||r.relative[" "],u=a?1:0,c=ge((function(e){return e===t}),l,!0),f=ge((function(e){return I.call(t,e)>-1}),l,!0),d=[function(e,n,r){return!a&&(r||n!==s)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];u<o;u++)if(n=r.relative[e[u].type])d=[ge(ve(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[y]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return ye(u>1&&ve(d),u>1&&pe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(z,"$1"),n,u<i&&be(e.slice(u,i)),i<o&&be(e=e.slice(i)),i<o&&pe(e))}d.push(n)}return ve(d)}return de.prototype=r.filters=r.pseudos,r.setFilters=new de,a=ne.compile=function(e,t){var n,i=[],o=[],a=_[e+" "];if(!a){for(t||(t=he(e)),n=t.length;n--;)(a=be(t[n]))[y]?i.push(a):o.push(a);a=_(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,l,u,c){var d,h,p,g=0,v="0",m=o&&[],y=[],b=s,x=o||i&&r.find.TAG("*",c),C=w+=null==b?1:Math.random()||.1,S=x.length;for(c&&(s=a!==f&&a);v!==S&&null!=(d=x[v]);v++){if(i&&d){for(h=0;p=e[h++];)if(p(d,a,l)){u.push(d);break}c&&(w=C)}n&&((d=!p&&d)&&g--,o&&m.push(d))}if(g+=v,n&&v!==g){for(h=0;p=t[h++];)p(m,y,a,l);if(o){if(g>0)for(;v--;)m[v]||y[v]||(y[v]=N.call(u));y=me(y)}M.apply(u,y),c&&!o&&y.length>0&&g+t.length>1&&ne.uniqueSort(u)}return c&&(w=C,s=b),m};return n?ie(o):o}(o,i))}return a},n.sortStable=y.split("").sort(T).join("")===y,n.detectDuplicates=!!u,c(),n.sortDetached=oe((function(e){return 1&e.compareDocumentPosition(f.createElement("div"))})),oe((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ae("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&oe((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ae("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),oe((function(e){return null==e.getAttribute("disabled")}))||ae(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ne}(e);d.find=y,d.expr=y.selectors,d.expr[":"]=d.expr.pseudos,d.unique=y.uniqueSort,d.text=y.getText,d.isXMLDoc=y.isXML,d.contains=y.contains;var b=d.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function C(e,t,n){if(d.isFunction(t))return d.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return d.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(x.test(t))return d.filter(t,e,n);t=d.filter(t,e)}return d.grep(e,(function(e){return d.inArray(e,t)>=0!==n}))}d.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?d.find.matchesSelector(r,e)?[r]:[]:d.find.matches(e,d.grep(t,(function(e){return 1===e.nodeType})))},d.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(d(e).filter((function(){for(t=0;t<i;t++)if(d.contains(r[t],this))return!0})));for(t=0;t<i;t++)d.find(e,r[t],n);return(n=this.pushStack(i>1?d.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(C(this,e||[],!1))},not:function(e){return this.pushStack(C(this,e||[],!0))},is:function(e){return!!C(this,"string"==typeof e&&b.test(e)?d(e):e||[],!1).length}});var S,_=e.document,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(d.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e))||!n[1]&&t)return!t||t.jquery?(t||S).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof d?t[0]:t,d.merge(this,d.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),w.test(n[1])&&d.isPlainObject(t))for(n in t)d.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=_.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return S.find(e);this.length=1,this[0]=r}return this.context=_,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):d.isFunction(e)?void 0!==S.ready?S.ready(e):e(d):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this))}).prototype=d.fn,S=d(_);var k=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}d.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!d(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),d.fn.extend({has:function(e){var t,n=d(e,this),r=n.length;return this.filter((function(){for(t=0;t<r;t++)if(d.contains(this,n[t]))return!0}))},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=b.test(e)||"string"!=typeof e?d(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&d.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?d.unique(o):o)},index:function(e){return e?"string"==typeof e?d.inArray(this[0],d(e)):d.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(d.unique(d.merge(this.get(),d(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),d.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d.dir(e,"parentNode")},parentsUntil:function(e,t,n){return d.dir(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return d.dir(e,"nextSibling")},prevAll:function(e){return d.dir(e,"previousSibling")},nextUntil:function(e,t,n){return d.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return d.dir(e,"previousSibling",n)},siblings:function(e){return d.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return d.sibling(e.firstChild)},contents:function(e){return d.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:d.merge([],e.childNodes)}},(function(e,t){d.fn[e]=function(n,r){var i=d.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=d.filter(r,i)),this.length>1&&(D[e]||(i=d.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}}));var A,N=/\S+/g,j={};function M(){_.addEventListener?(_.removeEventListener("DOMContentLoaded",E,!1),e.removeEventListener("load",E,!1)):(_.detachEvent("onreadystatechange",E),e.detachEvent("onload",E))}function E(){(_.addEventListener||"load"===event.type||"complete"===_.readyState)&&(M(),d.ready())}d.Callbacks=function(e){e="string"==typeof e?j[e]||function(e){var t=j[e]={};return d.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):d.extend({},e);var t,n,r,i,o,a,s=[],l=!e.once&&[],u=function(f){for(n=e.memory&&f,r=!0,o=a||0,a=0,i=s.length,t=!0;s&&o<i;o++)if(!1===s[o].apply(f[0],f[1])&&e.stopOnFalse){n=!1;break}t=!1,s&&(l?l.length&&u(l.shift()):n?s=[]:c.disable())},c={add:function(){if(s){var r=s.length;!function t(n){d.each(n,(function(n,r){var i=d.type(r);"function"===i?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==i&&t(r)}))}(arguments),t?i=s.length:n&&(a=r,u(n))}return this},remove:function(){return s&&d.each(arguments,(function(e,n){for(var r;(r=d.inArray(n,s,r))>-1;)s.splice(r,1),t&&(r<=i&&i--,r<=o&&o--)})),this},has:function(e){return e?d.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],i=0,this},disable:function(){return s=l=n=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,n||c.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!s||r&&!l||(n=[e,(n=n||[]).slice?n.slice():n],t?l.push(n):u(n)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},d.extend({Deferred:function(e){var t=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return d.Deferred((function(n){d.each(t,(function(t,o){var a=d.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=a&&a.apply(this,arguments);e&&d.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?d.extend(e,r):r}},i={};return r.pipe=r.then,d.each(t,(function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,i,o=0,a=r.call(arguments),s=a.length,l=1!==s||e&&d.isFunction(e.promise)?s:0,u=1===l?e:d.Deferred(),c=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?r.call(arguments):o,i===t?u.notifyWith(n,i):--l||u.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)a[o]&&d.isFunction(a[o].promise)?a[o].promise().done(c(o,i,a)).fail(u.reject).progress(c(o,n,t)):--l;return l||u.resolveWith(i,a),u.promise()}}),d.fn.ready=function(e){return d.ready.promise().done(e),this},d.extend({isReady:!1,readyWait:1,holdReady:function(e){e?d.readyWait++:d.ready(!0)},ready:function(e){if(!0===e?!--d.readyWait:!d.isReady){if(!_.body)return setTimeout(d.ready);d.isReady=!0,!0!==e&&--d.readyWait>0||(A.resolveWith(_,[d]),d.fn.trigger&&d(_).trigger("ready").off("ready"))}}}),d.ready.promise=function(t){if(!A)if(A=d.Deferred(),"complete"===_.readyState)setTimeout(d.ready);else if(_.addEventListener)_.addEventListener("DOMContentLoaded",E,!1),e.addEventListener("load",E,!1);else{_.attachEvent("onreadystatechange",E),e.attachEvent("onload",E);var n=!1;try{n=null==e.frameElement&&_.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!d.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}M(),d.ready()}}()}return A.promise(t)};var I,O="undefined";for(I in d(f))break;f.ownLast="0"!==I,f.inlineBlockNeedsLayout=!1,d((function(){var e,t,n=_.getElementsByTagName("body")[0];n&&((e=_.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=_.createElement("div"),n.appendChild(e).appendChild(t),typeof t.style.zoom!==O&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(f.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)})),function(){var e=_.createElement("div");if(null==f.deleteExpando){f.deleteExpando=!0;try{delete e.test}catch(e){f.deleteExpando=!1}}e=null}(),d.acceptData=function(e){var t=d.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,R=/([A-Z])/g;function F(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(R,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:P.test(n)?d.parseJSON(n):n)}catch(e){}d.data(e,t,n)}else n=void 0}return n}function H(e){var t;for(t in e)if(("data"!==t||!d.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function W(e,t,r,i){if(d.acceptData(e)){var o,a,s=d.expando,l=e.nodeType,u=l?d.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||void 0!==r||"string"!=typeof t)return c||(c=l?e[s]=n.pop()||d.guid++:s),u[c]||(u[c]=l?{}:{toJSON:d.noop}),"object"!=typeof t&&"function"!=typeof t||(i?u[c]=d.extend(u[c],t):u[c].data=d.extend(u[c].data,t)),a=u[c],i||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[d.camelCase(t)]=r),"string"==typeof t?null==(o=a[t])&&(o=a[d.camelCase(t)]):o=a,o}}function z(e,t,n){if(d.acceptData(e)){var r,i,o=e.nodeType,a=o?d.cache:e,s=o?e[d.expando]:d.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=d.isArray(t)?t.concat(d.map(t,d.camelCase)):t in r?[t]:(t=d.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!H(r):!d.isEmptyObject(r))return}(n||(delete a[s].data,H(a[s])))&&(o?d.cleanData([e],!0):f.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}d.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?d.cache[e[d.expando]]:e[d.expando])&&!H(e)},data:function(e,t,n){return W(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return W(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),d.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=d.data(o),1===o.nodeType&&!d._data(o,"parsedAttrs"))){for(n=a.length;n--;)0===(r=a[n].name).indexOf("data-")&&F(o,r=d.camelCase(r.slice(5)),i[r]);d._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each((function(){d.data(this,e)})):arguments.length>1?this.each((function(){d.data(this,e,t)})):o?F(o,e,d.data(o,e)):void 0},removeData:function(e){return this.each((function(){d.removeData(this,e)}))}}),d.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=d._data(e,t),n&&(!r||d.isArray(n)?r=d._data(e,t,d.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=d.queue(e,t),r=n.length,i=n.shift(),o=d._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){d.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return d._data(e,n)||d._data(e,n,{empty:d.Callbacks("once memory").add((function(){d._removeData(e,t+"queue"),d._removeData(e,n)}))})}}),d.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?d.queue(this[0],e):void 0===t?this:this.each((function(){var n=d.queue(this,e,t);d._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&d.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){d.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=d.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=d._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,B=["Top","Right","Bottom","Left"],U=function(e,t){return e=t||e,"none"===d.css(e,"display")||!d.contains(e.ownerDocument,e)},V=d.access=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===d.type(n))for(s in i=!0,n)d.access(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,d.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(d(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},G=/^(?:checkbox|radio)$/i;!function(){var e=_.createDocumentFragment(),t=_.createElement("div"),n=_.createElement("input");if(t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a>",f.leadingWhitespace=3===t.firstChild.nodeType,f.tbody=!t.getElementsByTagName("tbody").length,f.htmlSerialize=!!t.getElementsByTagName("link").length,f.html5Clone="<:nav></:nav>"!==_.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),f.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",f.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,f.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",(function(){f.noCloneEvent=!1})),t.cloneNode(!0).click()),null==f.deleteExpando){f.deleteExpando=!0;try{delete t.test}catch(e){f.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,r=_.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(f[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),f[t+"Bubbles"]=!1===r.attributes[n].expando);r=null}();var X=/^(?:input|select|textarea)$/i,J=/^key/,$=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,K=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function Z(){return!1}function ee(){try{return _.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}d.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,h,p,g,v,m=d._data(e);if(m){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=d.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||((c=m.handle=function(e){return typeof d===O||e&&d.event.triggered===e.type?void 0:d.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(N)||[""]).length;s--;)p=v=(o=K.exec(t[s])||[])[1],g=(o[2]||"").split(".").sort(),p&&(u=d.event.special[p]||{},p=(i?u.delegateType:u.bindType)||p,u=d.event.special[p]||{},f=d.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&d.expr.match.needsContext.test(i),namespace:g.join(".")},l),(h=a[p])||((h=a[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,g,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,f):h.push(f),d.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,h,p,g,v,m=d.hasData(e)&&d._data(e);if(m&&(c=m.events)){for(u=(t=(t||"").match(N)||[""]).length;u--;)if(p=v=(s=K.exec(t[u])||[])[1],g=(s[2]||"").split(".").sort(),p){for(f=d.event.special[p]||{},h=c[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)a=h[o],!i&&v!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(h.splice(o,1),a.selector&&h.delegateCount--,f.remove&&f.remove.call(e,a));l&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,g,m.handle)||d.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)d.event.remove(e,p+t[u],n,r,!0);d.isEmptyObject(c)&&(delete m.handle,d._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,l,c,f,h,p=[r||_],g=u.call(t,"type")?t.type:t,v=u.call(t,"namespace")?t.namespace.split("."):[];if(s=f=r=r||_,3!==r.nodeType&&8!==r.nodeType&&!Y.test(g+d.event.triggered)&&(g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),a=g.indexOf(":")<0&&"on"+g,(t=t[d.expando]?t:new d.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:d.makeArray(n,[t]),c=d.event.special[g]||{},i||!c.trigger||!1!==c.trigger.apply(r,n))){if(!i&&!c.noBubble&&!d.isWindow(r)){for(l=c.delegateType||g,Y.test(l+g)||(s=s.parentNode);s;s=s.parentNode)p.push(s),f=s;f===(r.ownerDocument||_)&&p.push(f.defaultView||f.parentWindow||e)}for(h=0;(s=p[h++])&&!t.isPropagationStopped();)t.type=h>1?l:c.bindType||g,(o=(d._data(s,"events")||{})[t.type]&&d._data(s,"handle"))&&o.apply(s,n),(o=a&&s[a])&&o.apply&&d.acceptData(s)&&(t.result=o.apply(s,n),!1===t.result&&t.preventDefault());if(t.type=g,!i&&!t.isDefaultPrevented()&&(!c._default||!1===c._default.apply(p.pop(),n))&&d.acceptData(r)&&a&&r[g]&&!d.isWindow(r)){(f=r[a])&&(r[a]=null),d.event.triggered=g;try{r[g]()}catch(e){}d.event.triggered=void 0,f&&(r[a]=f)}return t.result}},dispatch:function(e){e=d.event.fix(e);var t,n,i,o,a,s=[],l=r.call(arguments),u=(d._data(this,"events")||{})[e.type]||[],c=d.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=d.event.handlers.call(this,e,u),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,a=0;(i=o.handlers[a++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(n=((d.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?d(n,this).index(l)>=0:d.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[d.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=$.test(i)?this.mouseHooks:J.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new d.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||_),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||_).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ee()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(d.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return d.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=d.extend(new d.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?d.event.trigger(i,null,t):d.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},d.removeEvent=_.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===O&&(e[r]=null),e.detachEvent(r,n))},d.Event=function(e,t){if(!(this instanceof d.Event))return new d.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&(!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault())?Q:Z):this.type=e,t&&d.extend(this,t),this.timeStamp=e&&e.timeStamp||d.now(),this[d.expando]=!0},d.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q,this.stopPropagation()}},d.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(e,t){d.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||d.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),f.submitBubbles||(d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return!1;d.event.add(this,"click._submit keypress._submit",(function(e){var t=e.target,n=d.nodeName(t,"input")||d.nodeName(t,"button")?t.form:void 0;n&&!d._data(n,"submitBubbles")&&(d.event.add(n,"submit._submit",(function(e){e._submit_bubble=!0})),d._data(n,"submitBubbles",!0))}))},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&d.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(d.nodeName(this,"form"))return!1;d.event.remove(this,"._submit")}}),f.changeBubbles||(d.event.special.change={setup:function(){if(X.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(d.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)})),d.event.add(this,"click._change",(function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),d.event.simulate("change",this,e,!0)}))),!1;d.event.add(this,"beforeactivate._change",(function(e){var t=e.target;X.test(t.nodeName)&&!d._data(t,"changeBubbles")&&(d.event.add(t,"change._change",(function(e){!this.parentNode||e.isSimulated||e.isTrigger||d.event.simulate("change",this.parentNode,e,!0)})),d._data(t,"changeBubbles",!0))}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return d.event.remove(this,"._change"),!X.test(this.nodeName)}}),f.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){d.event.simulate(t,e.target,d.event.fix(e),!0)};d.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=d._data(r,t);i||r.addEventListener(e,n,!0),d._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=d._data(r,t)-1;i?d._data(r,t,i):(r.removeEventListener(e,n,!0),d._removeData(r,t))}}})),d.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return d().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=d.guid++)),this.each((function(){d.event.add(this,e,r,n,t)}))},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,d(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Z),this.each((function(){d.event.remove(this,e,n,t)}))},trigger:function(e,t){return this.each((function(){d.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return d.event.trigger(e,t,n,!0)}});var ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",re=/ jQuery\d+="(?:null|\d+)"/g,ie=new RegExp("<(?:"+ne+")[\\s/>]","i"),oe=/^\s+/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,se=/<([\w:]+)/,le=/<tbody/i,ue=/<|&#?\w+;/,ce=/<(?:script|style|link)/i,fe=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^$|\/(?:java|ecma)script/i,he=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:f.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ve=te(_).appendChild(_.createElement("div"));function me(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==O?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==O?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||d.nodeName(r,t)?o.push(r):d.merge(o,me(r,t));return void 0===t||t&&d.nodeName(e,t)?d.merge([e],o):o}function ye(e){G.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return d.nodeName(e,"table")&&d.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function we(e){return e.type=(null!==d.find.attr(e,"type"))+"/"+e.type,e}function xe(e){var t=he.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ce(e,t){for(var n,r=0;null!=(n=e[r]);r++)d._data(n,"globalEval",!t||d._data(t[r],"globalEval"))}function Se(e,t){if(1===t.nodeType&&d.hasData(e)){var n,r,i,o=d._data(e),a=d._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)d.event.add(t,n,s[n][r]);a.data&&(a.data=d.extend({},a.data))}}function _e(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!f.noCloneEvent&&t[d.expando]){for(r in(i=d._data(t)).events)d.removeEvent(t,r,i.handle);t.removeAttribute(d.expando)}"script"===n&&t.text!==e.text?(we(t).text=e.text,xe(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),f.html5Clone&&e.innerHTML&&!d.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&G.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,d.extend({clone:function(e,t,n){var r,i,o,a,s,l=d.contains(e.ownerDocument,e);if(f.html5Clone||d.isXMLDoc(e)||!ie.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ve.innerHTML=e.outerHTML,ve.removeChild(o=ve.firstChild)),!(f.noCloneEvent&&f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||d.isXMLDoc(e)))for(r=me(o),s=me(e),a=0;null!=(i=s[a]);++a)r[a]&&_e(i,r[a]);if(t)if(n)for(s=s||me(e),r=r||me(o),a=0;null!=(i=s[a]);a++)Se(i,r[a]);else Se(e,o);return(r=me(o,"script")).length>0&&Ce(r,!l&&me(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,h=e.length,p=te(t),g=[],v=0;v<h;v++)if((o=e[v])||0===o)if("object"===d.type(o))d.merge(g,o.nodeType?[o]:o);else if(ue.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(se.exec(o)||["",""])[1].toLowerCase(),c=ge[l]||ge._default,s.innerHTML=c[1]+o.replace(ae,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!f.leadingWhitespace&&oe.test(o)&&g.push(t.createTextNode(oe.exec(o)[0])),!f.tbody)for(i=(o="table"!==l||le.test(o)?"<table>"!==c[1]||le.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)d.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(d.merge(g,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else g.push(t.createTextNode(o));for(s&&p.removeChild(s),f.appendChecked||d.grep(me(g,"input"),ye),v=0;o=g[v++];)if((!r||-1===d.inArray(o,r))&&(a=d.contains(o.ownerDocument,o),s=me(p.appendChild(o),"script"),a&&Ce(s),n))for(i=0;o=s[i++];)de.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var r,i,o,a,s=0,l=d.expando,u=d.cache,c=f.deleteExpando,h=d.event.special;null!=(r=e[s]);s++)if((t||d.acceptData(r))&&(a=(o=r[l])&&u[o])){if(a.events)for(i in a.events)h[i]?d.event.remove(r,i):d.removeEvent(r,i,a.handle);u[o]&&(delete u[o],c?delete r[l]:typeof r.removeAttribute!==O?r.removeAttribute(l):r[l]=null,n.push(o))}}}),d.fn.extend({text:function(e){return V(this,(function(e){return void 0===e?d.text(this):this.empty().append((this[0]&&this[0].ownerDocument||_).createTextNode(e))}),null,e,arguments.length)},append:function(){return this.domManip(arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)}))},prepend:function(){return this.domManip(arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=be(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var n,r=e?d.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||d.cleanData(me(n)),n.parentNode&&(t&&d.contains(n.ownerDocument,n)&&Ce(me(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&d.cleanData(me(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&d.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return d.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(re,""):void 0;if("string"==typeof e&&!ce.test(e)&&(f.htmlSerialize||!ie.test(e))&&(f.leadingWhitespace||!oe.test(e))&&!ge[(se.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ae,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(d.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,(function(t){e=this.parentNode,d.cleanData(me(this)),e&&e.replaceChild(t,this)})),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=i.apply([],e);var n,r,o,a,s,l,u=0,c=this.length,h=this,p=c-1,g=e[0],v=d.isFunction(g);if(v||c>1&&"string"==typeof g&&!f.checkClone&&fe.test(g))return this.each((function(n){var r=h.eq(n);v&&(e[0]=g.call(this,n,r.html())),r.domManip(e,t)}));if(c&&(n=(l=d.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(o=(a=d.map(me(l,"script"),we)).length;u<c;u++)r=l,u!==p&&(r=d.clone(r,!0,!0),o&&d.merge(a,me(r,"script"))),t.call(this[u],r,u);if(o)for(s=a[a.length-1].ownerDocument,d.map(a,xe),u=0;u<o;u++)r=a[u],de.test(r.type||"")&&!d._data(r,"globalEval")&&d.contains(s,r)&&(r.src?d._evalUrl&&d._evalUrl(r.src):d.globalEval((r.text||r.textContent||r.innerHTML||"").replace(pe,"")));l=n=null}return this}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){d.fn[e]=function(e){for(var n,r=0,i=[],a=d(e),s=a.length-1;r<=s;r++)n=r===s?this:this.clone(!0),d(a[r])[t](n),o.apply(i,n.get());return this.pushStack(i)}}));var Te,ke,De,Le,Ae={};function Ne(t,n){var r=d(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle?e.getDefaultComputedStyle(r[0]).display:d.css(r[0],"display");return r.detach(),i}function je(e){var t=_,n=Ae[e];return n||("none"!==(n=Ne(e,t))&&n||((t=((Te=(Te||d("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Te[0].contentDocument).document).write(),t.close(),n=Ne(e,t),Te.detach()),Ae[e]=n),n}(Le=_.createElement("div")).innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(ke=Le.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",f.opacity=/^0.5/.test(ke.style.opacity),f.cssFloat=!!ke.style.cssFloat,Le.style.backgroundClip="content-box",Le.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===Le.style.backgroundClip,ke=Le=null,f.shrinkWrapBlocks=function(){var e,t,n;if(null==De){if(!(e=_.getElementsByTagName("body")[0]))return;t=_.createElement("div"),n=_.createElement("div"),e.appendChild(t).appendChild(n),De=!1,typeof n.style.zoom!==O&&(n.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0;width:1px;padding:1px;zoom:1",n.innerHTML="<div></div>",n.firstChild.style.width="5px",De=3!==n.offsetWidth),e.removeChild(t),e=t=n=null}return De};var Me,Ee,Ie=/^margin/,Oe=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),Pe=/^(top|right|bottom|left)$/;function Re(e,t){return{get:function(){var n=e();if(null!=n){if(!n)return(this.get=t).apply(this,arguments);delete this.get}}}}e.getComputedStyle?(Me=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},Ee=function(e,t,n){var r,i,o,a,s=e.style;return a=(n=n||Me(e))?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||d.contains(e.ownerDocument,e)||(a=d.style(e,t)),Oe.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):_.documentElement.currentStyle&&(Me=function(e){return e.currentStyle},Ee=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||Me(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),Oe.test(a)&&!Pe.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){var t,n,r,i,o,a,s=_.createElement("div"),l="border:0;width:0;height:0;position:absolute;top:0;left:-9999px";function u(){var t,n,s=_.getElementsByTagName("body")[0];s&&(t=_.createElement("div"),n=_.createElement("div"),t.style.cssText=l,s.appendChild(t).appendChild(n),n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",d.swap(s,null!=s.style.zoom?{zoom:1}:{},(function(){r=4===n.offsetWidth})),i=!0,o=!1,a=!0,e.getComputedStyle&&(o="1%"!==(e.getComputedStyle(n,null)||{}).top,i="4px"===(e.getComputedStyle(n,null)||{width:"4px"}).width),s.removeChild(t),n=s=null)}s.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(t=s.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",f.opacity=/^0.5/.test(t.style.opacity),f.cssFloat=!!t.style.cssFloat,s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===s.style.backgroundClip,t=s=null,d.extend(f,{reliableHiddenOffsets:function(){if(null!=n)return n;var e,t,r,i=_.createElement("div"),o=_.getElementsByTagName("body")[0];return o?(i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(e=_.createElement("div")).style.cssText=l,o.appendChild(e).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(t=i.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",r=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",n=r&&0===t[0].offsetHeight,o.removeChild(e),i=o=null,n):void 0},boxSizing:function(){return null==r&&u(),r},boxSizingReliable:function(){return null==i&&u(),i},pixelPosition:function(){return null==o&&u(),o},reliableMarginRight:function(){var t,n,r,i;if(null==a&&e.getComputedStyle){if(!(t=_.getElementsByTagName("body")[0]))return;n=_.createElement("div"),r=_.createElement("div"),n.style.cssText=l,t.appendChild(n).appendChild(r),(i=r.appendChild(_.createElement("div"))).style.cssText=r.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0",i.style.marginRight=i.style.width="0",r.style.width="1px",a=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight),t.removeChild(n)}return a}})}(),d.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};var Fe=/alpha\([^)]*\)/i,He=/opacity\s*=\s*([^)]*)/,We=/^(none|table(?!-c[ea]).+)/,ze=new RegExp("^("+q+")(.*)$","i"),qe=new RegExp("^([+-])=("+q+")","i"),Be={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:0,fontWeight:400},Ve=["Webkit","O","Moz","ms"];function Ge(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Ve.length;i--;)if((t=Ve[i]+n)in e)return t;return r}function Xe(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=d._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&U(r)&&(o[a]=d._data(r,"olddisplay",je(r.nodeName)))):o[a]||(i=U(r),(n&&"none"!==n||!i)&&d._data(r,"olddisplay",i?n:d.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function Je(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function $e(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=d.css(e,n+B[o],!0,i)),r?("content"===n&&(a-=d.css(e,"padding"+B[o],!0,i)),"margin"!==n&&(a-=d.css(e,"border"+B[o]+"Width",!0,i))):(a+=d.css(e,"padding"+B[o],!0,i),"padding"!==n&&(a+=d.css(e,"border"+B[o]+"Width",!0,i)));return a}function Ye(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Me(e),a=f.boxSizing()&&"border-box"===d.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ee(e,t,o))<0||null==i)&&(i=e.style[t]),Oe.test(i))return i;r=a&&(f.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+$e(e,t,n||(a?"border":"content"),r,o)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}d.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ee(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:f.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=d.camelCase(t),l=e.style;if(t=d.cssProps[s]||(d.cssProps[s]=Ge(l,s)),a=d.cssHooks[t]||d.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if("string"==(o=typeof n)&&(i=qe.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(d.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||d.cssNumber[s]||(n+="px"),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]="",l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=d.camelCase(t);return t=d.cssProps[s]||(d.cssProps[s]=Ge(e.style,s)),(a=d.cssHooks[t]||d.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ee(e,t,r)),"normal"===o&&t in Ue&&(o=Ue[t]),""===n||n?(i=parseFloat(o),!0===n||d.isNumeric(i)?i||0:o):o}}),d.each(["height","width"],(function(e,t){d.cssHooks[t]={get:function(e,n,r){if(n)return 0===e.offsetWidth&&We.test(d.css(e,"display"))?d.swap(e,Be,(function(){return Ye(e,t,r)})):Ye(e,t,r)},set:function(e,n,r){var i=r&&Me(e);return Je(0,n,r?$e(e,t,r,f.boxSizing()&&"border-box"===d.css(e,"boxSizing",!1,i),i):0)}}})),f.opacity||(d.cssHooks.opacity={get:function(e,t){return He.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=d.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===d.trim(o.replace(Fe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=Fe.test(o)?o.replace(Fe,i):o+" "+i)}}),d.cssHooks.marginRight=Re(f.reliableMarginRight,(function(e,t){if(t)return d.swap(e,{display:"inline-block"},Ee,[e,"marginRight"])})),d.each({margin:"",padding:"",border:"Width"},(function(e,t){d.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+B[r]+t]=o[r]||o[r-2]||o[0];return i}},Ie.test(e)||(d.cssHooks[e+t].set=Je)})),d.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,i,o={},a=0;if(d.isArray(t)){for(r=Me(e),i=t.length;a<i;a++)o[t[a]]=d.css(e,t[a],!1,r);return o}return void 0!==n?d.style(e,t,n):d.css(e,t)}),e,t,arguments.length>1)},show:function(){return Xe(this,!0)},hide:function(){return Xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){U(this)?d(this).show():d(this).hide()}))}}),d.Tween=Ke,Ke.prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(d.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=d.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ke.propHooks._default.set(this),this}},Ke.prototype.init.prototype=Ke.prototype,Ke.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=d.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){d.fx.step[e.prop]?d.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[d.cssProps[e.prop]]||d.cssHooks[e.prop])?d.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ke.propHooks.scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},d.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},d.fx=Ke.prototype.init,d.fx.step={};var Qe,Ze,et=/^(?:toggle|show|hide)$/,tt=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),nt=/queueHooks$/,rt=[function(e,t,n){var r,i,o,a,s,l,u,c,h=this,p={},g=e.style,v=e.nodeType&&U(e),m=d._data(e,"fxshow");for(r in n.queue||(null==(s=d._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,d.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[g.overflow,g.overflowX,g.overflowY],u=d.css(e,"display"),c=je(e.nodeName),"none"===u&&(u=c),"inline"===u&&"none"===d.css(e,"float")&&(f.inlineBlockNeedsLayout&&"inline"!==c?g.zoom=1:g.display="inline-block")),n.overflow&&(g.overflow="hidden",f.shrinkWrapBlocks()||h.always((function(){g.overflow=n.overflow[0],g.overflowX=n.overflow[1],g.overflowY=n.overflow[2]}))),t)if(i=t[r],et.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;v=!0}p[r]=m&&m[r]||d.style(e,r)}if(!d.isEmptyObject(p))for(r in m?"hidden"in m&&(v=m.hidden):m=d._data(e,"fxshow",{}),o&&(m.hidden=!v),v?d(e).show():h.done((function(){d(e).hide()})),h.done((function(){var t;for(t in d._removeData(e,"fxshow"),p)d.style(e,t,p[t])})),p)a=st(v?m[r]:0,r,h),r in m||(m[r]=a.start,v&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],it={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tt.exec(t),o=i&&i[3]||(d.cssNumber[e]?"":"px"),a=(d.cssNumber[e]||"px"!==o&&+r)&&tt.exec(d.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{a/=s=s||".5",d.style(n.elem,e,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function ot(){return setTimeout((function(){Qe=void 0})),Qe=d.now()}function at(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=B[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function st(e,t,n){for(var r,i=(it[t]||[]).concat(it["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(e,t,n){var r,i,o=0,a=rt.length,s=d.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=Qe||ot(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:d.extend({},t),opts:d.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Qe||ot(),duration:n.duration,tweens:[],createTween:function(t,n){var r=d.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=d.camelCase(n)],o=e[n],d.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=d.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,u.opts.specialEasing);o<a;o++)if(r=rt[o].call(u,e,c,u.opts))return r;return d.map(c,st,u),d.isFunction(u.opts.start)&&u.opts.start.call(e,u),d.fx.timer(d.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}d.Animation=d.extend(lt,{tweener:function(e,t){d.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],it[n]=it[n]||[],it[n].unshift(t)},prefilter:function(e,t){t?rt.unshift(e):rt.push(e)}}),d.speed=function(e,t,n){var r=e&&"object"==typeof e?d.extend({},e):{complete:n||!n&&t||d.isFunction(e)&&e,duration:e,easing:n&&t||t&&!d.isFunction(t)&&t};return r.duration=d.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in d.fx.speeds?d.fx.speeds[r.duration]:d.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){d.isFunction(r.old)&&r.old.call(this),r.queue&&d.dequeue(this,r.queue)},r},d.fn.extend({fadeTo:function(e,t,n,r){return this.filter(U).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=d.isEmptyObject(e),o=d.speed(t,n,r),a=function(){var t=lt(this,d.extend({},e),o);(i||d._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=d.timers,a=d._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&nt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||d.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=d._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=d.timers,a=r?r.length:0;for(n.finish=!0,d.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),d.each(["toggle","show","hide"],(function(e,t){var n=d.fn[t];d.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(at(t,!0),e,r,i)}})),d.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){d.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),d.timers=[],d.fx.tick=function(){var e,t=d.timers,n=0;for(Qe=d.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||d.fx.stop(),Qe=void 0},d.fx.timer=function(e){d.timers.push(e),e()?d.fx.start():d.timers.pop()},d.fx.interval=13,d.fx.start=function(){Ze||(Ze=setInterval(d.fx.tick,d.fx.interval))},d.fx.stop=function(){clearInterval(Ze),Ze=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(e,t){return e=d.fx&&d.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}}))},function(){var e,t,n,r,i=_.createElement("div");i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],r=(n=_.createElement("select")).appendChild(_.createElement("option")),t=i.getElementsByTagName("input")[0],e.style.cssText="top:1px",f.getSetAttribute="t"!==i.className,f.style=/top/.test(e.getAttribute("style")),f.hrefNormalized="/a"===e.getAttribute("href"),f.checkOn=!!t.value,f.optSelected=r.selected,f.enctype=!!_.createElement("form").enctype,n.disabled=!0,f.optDisabled=!r.disabled,(t=_.createElement("input")).setAttribute("value",""),f.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),f.radioValue="t"===t.value,e=t=n=r=i=null}();var ut=/\r/g;d.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=d.isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,d(this).val()):e)?i="":"number"==typeof i?i+="":d.isArray(i)&&(i=d.map(i,(function(e){return null==e?"":e+""}))),(t=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=d.valHooks[i.type]||d.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ut,""):null==n?"":n:void 0}}),d.extend({valHooks:{option:{get:function(e){var t=d.find.attr(e,"value");return null!=t?t:d.text(e)}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!d.nodeName(n.parentNode,"optgroup"))){if(t=d(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=d.makeArray(t),a=i.length;a--;)if(r=i[a],d.inArray(d.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),d.each(["radio","checkbox"],(function(){d.valHooks[this]={set:function(e,t){if(d.isArray(t))return e.checked=d.inArray(d(e).val(),t)>=0}},f.checkOn||(d.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var ct,ft,dt=d.expr.attrHandle,ht=/^(?:checked|selected)$/i,pt=f.getSetAttribute,gt=f.input;d.fn.extend({attr:function(e,t){return V(this,d.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){d.removeAttr(this,e)}))}}),d.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===O?d.prop(e,t,n):(1===o&&d.isXMLDoc(e)||(t=t.toLowerCase(),r=d.attrHooks[t]||(d.expr.match.bool.test(t)?ft:ct)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=d.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void d.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[i++];)r=d.propFix[n]||n,d.expr.match.bool.test(n)?gt&&pt||!ht.test(n)?e[r]=!1:e[d.camelCase("default-"+n)]=e[r]=!1:d.attr(e,n,""),e.removeAttribute(pt?n:r)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&d.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),ft={set:function(e,t,n){return!1===t?d.removeAttr(e,n):gt&&pt||!ht.test(n)?e.setAttribute(!pt&&d.propFix[n]||n,n):e[d.camelCase("default-"+n)]=e[n]=!0,n}},d.each(d.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=dt[t]||d.find.attr;dt[t]=gt&&pt||!ht.test(t)?function(e,t,r){var i,o;return r||(o=dt[t],dt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,dt[t]=o),i}:function(e,t,n){if(!n)return e[d.camelCase("default-"+t)]?t.toLowerCase():null}})),gt&&pt||(d.attrHooks.value={set:function(e,t,n){if(!d.nodeName(e,"input"))return ct&&ct.set(e,t,n);e.defaultValue=t}}),pt||(ct={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},dt.id=dt.name=dt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},d.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:ct.set},d.attrHooks.contenteditable={set:function(e,t,n){ct.set(e,""!==t&&t,n)}},d.each(["width","height"],(function(e,t){d.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}}))),f.style||(d.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var vt=/^(?:input|select|textarea|button|object)$/i,mt=/^(?:a|area)$/i;d.fn.extend({prop:function(e,t){return V(this,d.prop,e,t,arguments.length>1)},removeProp:function(e){return e=d.propFix[e]||e,this.each((function(){try{this[e]=void 0,delete this[e]}catch(e){}}))}}),d.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!d.isXMLDoc(e))&&(t=d.propFix[t]||t,i=d.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=d.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}}}),f.hrefNormalized||d.each(["href","src"],(function(e,t){d.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),f.optSelected||(d.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){d.propFix[this.toLowerCase()]=this})),f.enctype||(d.propFix.enctype="encoding");var yt=/[\t\r\n\f]/g;d.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u="string"==typeof e&&e;if(d.isFunction(e))return this.each((function(t){d(this).addClass(e.call(this,t,this.className))}));if(u)for(t=(e||"").match(N)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(yt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=d.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(d.isFunction(e))return this.each((function(t){d(this).removeClass(e.call(this,t,this.className))}));if(u)for(t=(e||"").match(N)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(yt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?d.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):d.isFunction(e)?this.each((function(n){d(this).toggleClass(e.call(this,n,this.className,t),t)})):this.each((function(){if("string"===n)for(var t,r=0,i=d(this),o=e.match(N)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else n!==O&&"boolean"!==n||(this.className&&d._data(this,"__className__",this.className),this.className=this.className||!1===e?"":d._data(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(yt," ").indexOf(t)>=0)return!0;return!1}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){d.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),d.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var bt=d.now(),wt=/\?/,xt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;d.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=d.trim(t+"");return i&&!d.trim(i.replace(xt,(function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")})))?Function("return "+i)():d.error("Invalid JSON: "+t)},d.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(new DOMParser).parseFromString(t,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(e){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||d.error("Invalid XML: "+t),n};var Ct,St,_t=/#.*$/,Tt=/([?&])_=[^&]*/,kt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dt=/^(?:GET|HEAD)$/,Lt=/^\/\//,At=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nt={},jt={},Mt="*/".concat("*");try{St=location.href}catch(e){(St=_.createElement("a")).href="",St=St.href}function Et(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(N)||[];if(d.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function It(e,t,n,r){var i={},o=e===jt;function a(s){var l;return i[s]=!0,d.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ot(e,t){var n,r,i=d.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&d.extend(!0,e,n),e}Ct=At.exec(St.toLowerCase())||[],d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ot(Ot(e,d.ajaxSettings),t):Ot(d.ajaxSettings,e)},ajaxPrefilter:Et(Nt),ajaxTransport:Et(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,o,a,s,l,u,c=d.ajaxSetup({},t),f=c.context||c,h=c.context&&(f.nodeType||f.jquery)?d(f):d.event,p=d.Deferred(),g=d.Callbacks("once memory"),v=c.statusCode||{},m={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!u)for(u={};t=kt.exec(o);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,m[e]=t),this},overrideMimeType:function(e){return b||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return l&&l.abort(t),C(0,t),this}};if(p.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,c.url=((e||c.url||St)+"").replace(_t,"").replace(Lt,Ct[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=d.trim(c.dataType||"*").toLowerCase().match(N)||[""],null==c.crossDomain&&(n=At.exec(c.url.toLowerCase()),c.crossDomain=!(!n||n[1]===Ct[1]&&n[2]===Ct[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ct[3]||("http:"===Ct[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=d.param(c.data,c.traditional)),It(Nt,c,t,x),2===b)return x;for(r in(s=c.global)&&0==d.active++&&d.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Dt.test(c.type),i=c.url,c.hasContent||(c.data&&(i=c.url+=(wt.test(i)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=Tt.test(i)?i.replace(Tt,"$1_="+bt++):i+(wt.test(i)?"&":"?")+"_="+bt++)),c.ifModified&&(d.lastModified[i]&&x.setRequestHeader("If-Modified-Since",d.lastModified[i]),d.etag[i]&&x.setRequestHeader("If-None-Match",d.etag[i])),(c.data&&c.hasContent&&!1!==c.contentType||t.contentType)&&x.setRequestHeader("Content-Type",c.contentType),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Mt+"; q=0.01":""):c.accepts["*"]),c.headers)x.setRequestHeader(r,c.headers[r]);if(c.beforeSend&&(!1===c.beforeSend.call(f,x,c)||2===b))return x.abort();for(r in w="abort",{success:1,error:1,complete:1})x[r](c[r]);if(l=It(jt,c,t,x)){x.readyState=1,s&&h.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(a=setTimeout((function(){x.abort("timeout")}),c.timeout));try{b=1,l.send(m,C)}catch(e){if(!(b<2))throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,n,r){var u,m,y,w,C,S=t;2!==b&&(b=2,a&&clearTimeout(a),l=void 0,o=r||"",x.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}(c,x,n)),w=function(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];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)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}}(c,w,x,u),u?(c.ifModified&&((C=x.getResponseHeader("Last-Modified"))&&(d.lastModified[i]=C),(C=x.getResponseHeader("etag"))&&(d.etag[i]=C)),204===e||"HEAD"===c.type?S="nocontent":304===e?S="notmodified":(S=w.state,m=w.data,u=!(y=w.error))):(y=S,!e&&S||(S="error",e<0&&(e=0))),x.status=e,x.statusText=(t||S)+"",u?p.resolveWith(f,[m,S,x]):p.rejectWith(f,[x,S,y]),x.statusCode(v),v=void 0,s&&h.trigger(u?"ajaxSuccess":"ajaxError",[x,c,u?m:y]),g.fireWith(f,[x,S]),s&&(h.trigger("ajaxComplete",[x,c]),--d.active||d.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return d.get(e,t,n,"json")},getScript:function(e,t){return d.get(e,void 0,t,"script")}}),d.each(["get","post"],(function(e,t){d[t]=function(e,n,r,i){return d.isFunction(n)&&(i=i||r,r=n,n=void 0),d.ajax({url:e,type:t,dataType:i,data:n,success:r})}})),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){d.fn[t]=function(e){return this.on(t,e)}})),d._evalUrl=function(e){return d.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},d.fn.extend({wrapAll:function(e){if(d.isFunction(e))return this.each((function(t){d(this).wrapAll(e.call(this,t))}));if(this[0]){var t=d(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return d.isFunction(e)?this.each((function(t){d(this).wrapInner(e.call(this,t))})):this.each((function(){var t=d(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=d.isFunction(e);return this.each((function(n){d(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)})).end()}}),d.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!f.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||d.css(e,"display"))},d.expr.filters.visible=function(e){return!d.expr.filters.hidden(e)};var Pt=/%20/g,Rt=/\[\]$/,Ft=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;function zt(e,t,n,r){var i;if(d.isArray(t))d.each(t,(function(t,i){n||Rt.test(e)?r(e,i):zt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)}));else if(n||"object"!==d.type(t))r(e,t);else for(i in t)zt(e+"["+i+"]",t[i],n,r)}d.param=function(e,t){var n,r=[],i=function(e,t){t=d.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=d.ajaxSettings&&d.ajaxSettings.traditional),d.isArray(e)||e.jquery&&!d.isPlainObject(e))d.each(e,(function(){i(this.name,this.value)}));else for(n in e)zt(n,e[n],t,i);return r.join("&").replace(Pt,"+")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=d.prop(this,"elements");return e?d.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!d(this).is(":disabled")&&Wt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!G.test(e))})).map((function(e,t){var n=d(this).val();return null==n?null:d.isArray(n)?d.map(n,(function(e){return{name:t.name,value:e.replace(Ft,"\r\n")}})):{name:t.name,value:n.replace(Ft,"\r\n")}})).get()}}),d.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Vt()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Vt;var qt=0,Bt={},Ut=d.ajaxSettings.xhr();function Vt(){try{return new e.XMLHttpRequest}catch(e){}}e.ActiveXObject&&d(e).on("unload",(function(){for(var e in Bt)Bt[e](void 0,!0)})),f.cors=!!Ut&&"withCredentials"in Ut,(Ut=f.ajax=!!Ut)&&d.ajaxTransport((function(e){var t;if(!e.crossDomain||f.cors)return{send:function(n,r){var i,o=e.xhr(),a=++qt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];for(i in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,l,u;if(t&&(i||4===o.readyState))if(delete Bt[a],t=void 0,o.onreadystatechange=d.noop,i)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(e){l=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&r(s,l,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=Bt[a]=t:t()},abort:function(){t&&t(void 0,!0)}}})),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return d.globalEval(e),e}}}),d.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),d.ajaxTransport("script",(function(e){if(e.crossDomain){var t,n=_.head||d("head")[0]||_.documentElement;return{send:function(r,i){(t=_.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}));var Gt=[],Xt=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||d.expando+"_"+bt++;return this[e]=!0,e}}),d.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=d.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xt,"$1"+i):!1!==t.jsonp&&(t.url+=(wt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||d.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(i)),a&&d.isFunction(o)&&o(a[0]),a=o=void 0})),"script"})),d.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||_;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=d.buildFragment([e],t,i),i&&i.length&&d(i).remove(),d.merge([],r.childNodes))};var Jt=d.fn.load;d.fn.load=function(e,t,n){if("string"!=typeof e&&Jt)return Jt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=e.slice(s,e.length),e=e.slice(0,s)),d.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&d.ajax({url:e,type:o,dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?d("<div>").append(d.parseHTML(e)).find(r):e)})).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},d.expr.filters.animated=function(e){return d.grep(d.timers,(function(t){return e===t.elem})).length};var $t=e.document.documentElement;function Yt(e){return d.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}d.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u=d.css(e,"position"),c=d(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=d.css(e,"top"),l=d.css(e,"left"),("absolute"===u||"fixed"===u)&&d.inArray("auto",[o,l])>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),d.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},d.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){d.offset.setOffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,d.contains(t,i)?(typeof i.getBoundingClientRect!==O&&(r=i.getBoundingClientRect()),n=Yt(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===d.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),d.nodeName(e[0],"html")||(n=e.offset()),n.top+=d.css(e[0],"borderTopWidth",!0),n.left+=d.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-d.css(r,"marginTop",!0),left:t.left-n.left-d.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||$t;e&&!d.nodeName(e,"html")&&"static"===d.css(e,"position");)e=e.offsetParent;return e||$t}))}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n=/Y/.test(t);d.fn[e]=function(r){return V(this,(function(e,r,i){var o=Yt(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?d(o).scrollLeft():i,n?i:d(o).scrollTop()):e[r]=i}),e,r,arguments.length,null)}})),d.each(["top","left"],(function(e,t){d.cssHooks[t]=Re(f.pixelPosition,(function(e,n){if(n)return n=Ee(e,t),Oe.test(n)?d(e).position()[t]+"px":n}))})),d.each({Height:"height",Width:"width"},(function(e,t){d.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){d.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return V(this,(function(t,n,r){var i;return d.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?d.css(t,n,a):d.style(t,n,r,a)}),t,o?r:void 0,o,null)}}))})),d.fn.size=function(){return this.length},d.fn.andSelf=d.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return d}));var Kt=e.jQuery,Qt=e.$;return d.noConflict=function(t){return e.$===d&&(e.$=Qt),t&&e.jQuery===d&&(e.jQuery=Kt),d},typeof t===O&&(e.jQuery=e.$=d),d}))},{}],19:[function(e,t,n){(function(e){(function(){var r,i,o,a="3.10.1",s=1,l=2,u=4,c=8,f=16,d=32,h=64,p=128,g=256,v=30,m="...",y=150,b=16,w=200,x=1,C=2,S="Expected a function",_="__lodash_placeholder__",T="[object Arguments]",k="[object Array]",D="[object Boolean]",L="[object Date]",A="[object Error]",N="[object Function]",j="[object Number]",M="[object Object]",E="[object RegExp]",I="[object String]",O="[object ArrayBuffer]",P="[object Float32Array]",R="[object Float64Array]",F="[object Int8Array]",H="[object Int16Array]",W="[object Int32Array]",z="[object Uint8Array]",q="[object Uint8ClampedArray]",B="[object Uint16Array]",U="[object Uint32Array]",V=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,J=/&(?:amp|lt|gt|quot|#39|#96);/g,$=/[&<>"'`]/g,Y=RegExp(J.source),K=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,ce=/^0[xX]/,fe=/^\[object .+?Constructor\]$/,de=/^\d+$/,he=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,pe=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,ve=(i="[A-Z\\xc0-\\xd6\\xd8-\\xde]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]+",RegExp(i+"+(?="+i+o+")|"+i+"?"+o+"|"+i+"+|[0-9]+","g")),me=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],ye=-1,be={};be[P]=be[R]=be[F]=be[H]=be[W]=be[z]=be[q]=be[B]=be[U]=!0,be[T]=be[k]=be[O]=be[D]=be[L]=be[A]=be[N]=be["[object Map]"]=be[j]=be[M]=be[E]=be["[object Set]"]=be[I]=be["[object WeakMap]"]=!1;var we={};we[T]=we[k]=we[O]=we[D]=we[L]=we[P]=we[R]=we[F]=we[H]=we[W]=we[j]=we[M]=we[E]=we[I]=we[z]=we[q]=we[B]=we[U]=!0,we[A]=we[N]=we["[object Map]"]=we["[object Set]"]=we["[object WeakMap]"]=!1;var xe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ce={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Se={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},_e={function:!0,object:!0},Te={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},ke={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},De=_e[typeof n]&&n&&!n.nodeType&&n,Le=_e[typeof t]&&t&&!t.nodeType&&t,Ae=De&&Le&&"object"==typeof e&&e&&e.Object&&e,Ne=_e[typeof self]&&self&&self.Object&&self,je=_e[typeof window]&&window&&window.Object&&window,Me=Le&&Le.exports===De&&De,Ee=Ae||je!==(this&&this.window)&&je||Ne||this;function Ie(e,t){if(e!==t){var n=null===e,i=e===r,o=e==e,a=null===t,s=t===r,l=t==t;if(e>t&&!a||!o||n&&!s&&l||i&&l)return 1;if(e<t&&!n||!l||a&&!i&&o||s&&o)return-1}return 0}function Oe(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Pe(e,t,n){if(t!=t)return Ge(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Re(e){return"function"==typeof e||!1}function Fe(e){return null==e?"":e+""}function He(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function We(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function ze(e,t){return Ie(e.criteria,t.criteria)||e.index-t.index}function qe(e){return xe[e]}function Be(e){return Ce[e]}function Ue(e,t,n){return t?e=Te[e]:n&&(e=ke[e]),"\\"+e}function Ve(e){return"\\"+ke[e]}function Ge(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function Xe(e){return!!e&&"object"==typeof e}function Je(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function $e(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=_,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Je(e.charCodeAt(t)););return t}function Ke(e){for(var t=e.length;t--&&Je(e.charCodeAt(t)););return t}function Qe(e){return Se[e]}var Ze=function e(t){var n=(t=t?Ze.defaults(Ee.Object(),t,Ze.pick(Ee,me)):Ee).Array,i=t.Date,o=t.Error,xe=t.Function,Ce=t.Math,Se=t.Number,_e=t.Object,Te=t.RegExp,ke=t.String,De=t.TypeError,Le=n.prototype,Ae=_e.prototype,Ne=ke.prototype,je=xe.prototype.toString,Me=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Ee._,nt=Te("^"+je.call(Me).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=Ce.pow,st=Ae.propertyIsEnumerable,lt=Cr(t,"Set"),ut=t.setTimeout,ct=Le.splice,ft=t.Uint8Array,dt=Cr(t,"WeakMap"),ht=Ce.ceil,pt=Cr(_e,"create"),gt=Ce.floor,vt=Cr(n,"isArray"),mt=t.isFinite,yt=Cr(_e,"keys"),bt=Ce.max,wt=Ce.min,xt=Cr(i,"now"),Ct=t.parseInt,St=Ce.random,_t=Se.NEGATIVE_INFINITY,Tt=Se.POSITIVE_INFINITY,kt=4294967295,Dt=kt-1,Lt=kt>>>1,At=9007199254740991,Nt=dt&&new dt,jt={};function Mt(e){if(Xe(e)&&!Yi(e)&&!(e instanceof Ot)){if(e instanceof It)return e;if(Me.call(e,"__chain__")&&Me.call(e,"__wrapped__"))return Wr(e)}return new It(e)}function Et(){}function It(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Ot(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Tt,this.__views__=[]}function Pt(){this.__data__={}}function Rt(e){var t=e?e.length:0;for(this.data={hash:pt(null),set:new lt};t--;)this.push(e[t])}function Ft(e,t){var n=e.data;return("string"==typeof t||eo(t)?n.set.has(t):n.hash[t])?0:-1}function Ht(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Wt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function zt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function qt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Bt(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Vt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Gt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Xt(e,t,n,i){return e!==r&&Me.call(i,n)?e:t}function Jt(e,t,n){for(var i=-1,o=Co(t),a=o.length;++i<a;){var s=o[i],l=e[s],u=n(l,t[s],s,e,t);(u==u?u===l:l!=l)&&(l!==r||s in e)||(e[s]=u)}return e}function $t(e,t){return null==t?e:Kt(t,Co(t),e)}function Yt(e,t){for(var i=-1,o=null==e,a=!o&&_r(e),s=a?e.length:0,l=t.length,u=n(l);++i<l;){var c=t[i];u[i]=a?Tr(c,s)?e[c]:r:o?r:e[c]}return u}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var i=typeof e;return"function"==i?t===r?e:Rn(e,t,n):null==e?qo:"object"==i?wn(e):t===r?Jo(e):xn(e,t)}function Zt(e,t,n,i,o,a,s){var l;if(n&&(l=o?n(e,i,o):n(e)),l!==r)return l;if(!eo(e))return e;var u=Yi(e);if(u){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Ht(e,l)}else{var c=et.call(e),f=c==N;if(c!=M&&c!=T&&(!f||o))return we[c]?function(e,t,n){var r=e.constructor;switch(t){case O:return Fn(e);case D:case L:return new r(+e);case P:case R:case F:case H:case W:case z:case q:case B:case U:var i=e.buffer;return new r(n?Fn(i):i,e.byteOffset,e.length);case j:case I:return new r(e);case E:var o=new r(e.source,ue.exec(e));o.lastIndex=e.lastIndex}return o}(e,c,t):o?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=_e),new t}(f?{}:e),!t)return $t(l,e)}a||(a=[]),s||(s=[]);for(var d=a.length;d--;)if(a[d]==e)return s[d];return a.push(e),s.push(l),(u?Wt:hn)(e,(function(r,i){l[i]=Zt(r,t,n,i,e,a,s)})),l}Mt.support={},Mt.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:Mt}};var en=function(){function e(){}return function(t){if(eo(t)){e.prototype=t;var n=new e;e.prototype=r}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new De(S);return ut((function(){e.apply(r,n)}),t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=br(),a=o==Pe,s=a&&t.length>=w?Vn(t):null,l=t.length;s&&(o=Ft,a=!1,t=s);e:for(;++i<n;){var u=e[i];if(a&&u==u){for(var c=l;c--;)if(t[c]===u)continue e;r.push(u)}else o(t,u,0)<0&&r.push(u)}return r}var rn=Bn(hn),on=Bn(pn,!0);function an(e,t){var n=!0;return rn(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function sn(e,t){var n=[];return rn(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function ln(e,t,n,r){var i;return n(e,(function(e,n,o){if(t(e,n,o))return i=r?n:e,!1})),i}function un(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];Xe(a)&&_r(a)&&(n||Yi(a)||$i(a))?t?un(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var cn=Un(),fn=Un(!0);function dn(e,t){return cn(e,t,So)}function hn(e,t){return cn(e,t,Co)}function pn(e,t){return fn(e,t,Co)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Zi(e[a])&&(o[++i]=a)}return o}function vn(e,t,n){if(null!=e){n!==r&&n in Fr(e)&&(t=[n]);for(var i=0,o=t.length;null!=e&&i<o;)e=e[t[i++]];return i&&i==o?e:r}}function mn(e,t,n,r,i,o){return e===t||(null==e||null==t||!eo(e)&&!Xe(t)?e!=e&&t!=t:function(e,t,n,r,i,o,a){var s=Yi(e),l=Yi(t),u=k,c=k;s||((u=et.call(e))==T?u=M:u!=M&&(s=ao(e))),l||((c=et.call(t))==T?c=M:c!=M&&(l=ao(t)));var f=u==M,d=c==M,h=u==c;if(h&&!s&&!f)return function(e,t,n){switch(n){case D:case L:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case j:return e!=+e?t!=+t:e==+t;case E:case I:return e==t+""}return!1}(e,t,u);if(!i){var p=f&&Me.call(e,"__wrapped__"),g=d&&Me.call(t,"__wrapped__");if(p||g)return n(p?e.value():e,g?t.value():t,r,i,o,a)}if(!h)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var m=(s?pr:gr)(e,t,n,r,i,o,a);return o.pop(),a.pop(),m}(e,t,mn,n,r,i,o))}function yn(e,t,n){var i=t.length,o=i,a=!n;if(null==e)return!o;for(e=Fr(e);i--;){var s=t[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=t[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(u===r&&!(l in e))return!1}else{var f=n?n(u,c,l):r;if(!(f===r?mn(c,u,n,!0):f))return!1}}return!0}function bn(e,t){var r=-1,i=_r(e)?n(e.length):[];return rn(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function wn(e){var t=xr(e);if(1==t.length&&t[0][2]){var n=t[0][0],i=t[0][1];return function(e){return null!=e&&e[n]===i&&(i!==r||n in Fr(e))}}return function(e){return yn(e,t)}}function xn(e,t){var n=Yi(e),i=Dr(e)&&Nr(t),o=e+"";return e=Hr(e),function(a){if(null==a)return!1;var s=o;if(a=Fr(a),(n||!i)&&!(s in a)){if(null==(a=1==e.length?a:vn(a,Dn(e,0,-1))))return!1;s=$r(e),a=Fr(a)}return a[s]===t?t!==r||s in a:mn(t,a[s],r,!0)}}function Cn(e){return function(t){return null==t?r:t[e]}}function Sn(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Tr(r)){var i=r;ct.call(e,r,1)}}return e}function _n(e,t){return e+gt(St()*(t-e+1))}function Tn(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}var kn=Nt?function(e,t){return Nt.set(e,t),e}:qo;function Dn(e,t,i){var o=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(i=i===r||i>a?a:+i||0)<0&&(i+=a),a=t>i?0:i-t>>>0,t>>>=0;for(var s=n(a);++o<a;)s[o]=e[o+t];return s}function Ln(e,t){var n;return rn(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function An(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Nn(e,t,n){var r=vr(),i=-1;return t=Bt(t,(function(e){return r(e)})),An(bn(e,(function(e){return{criteria:Bt(t,(function(t){return t(e)})),index:++i,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ie(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("asc"===u||!0===u?1:-1)}}return e.index-t.index}(e,t,n)}))}function jn(e,t){var n=-1,r=br(),i=e.length,o=r==Pe,a=o&&i>=w,s=a?Vn():null,l=[];s?(r=Ft,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var u=e[n],c=t?t(u,n,e):u;if(o&&u==u){for(var f=s.length;f--;)if(s[f]===c)continue e;t&&s.push(c),l.push(u)}else r(s,c,0)<0&&((t||a)&&s.push(c),l.push(u))}return l}function Mn(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function En(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Dn(e,r?0:o,r?o+1:i):Dn(e,r?o+1:0,r?i:o)}function In(e,t){var n=e;n instanceof Ot&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function On(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Lt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return Pn(e,t,qo,n)}function Pn(e,t,n,i){t=n(t);for(var o=0,a=e?e.length:0,s=t!=t,l=null===t,u=t===r;o<a;){var c=gt((o+a)/2),f=n(e[c]),d=f!==r,h=f==f;if(s)var p=h||i;else p=l?h&&d&&(i||null!=f):u?h&&(i||d):null!=f&&(i?f<=t:f<t);p?o=c+1:a=c}return wt(a,Dt)}function Rn(e,t,n){if("function"!=typeof e)return qo;if(t===r)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Fn(e){var t=new rt(e.byteLength);return new ft(t).set(new ft(e)),t}function Hn(e,t,r){for(var i=r.length,o=-1,a=bt(e.length-i,0),s=-1,l=t.length,u=n(l+a);++s<l;)u[s]=t[s];for(;++o<i;)u[r[o]]=e[o];for(;a--;)u[s++]=e[o++];return u}function Wn(e,t,r){for(var i=-1,o=r.length,a=-1,s=bt(e.length-o,0),l=-1,u=t.length,c=n(s+u);++a<s;)c[a]=e[a];for(var f=a;++l<u;)c[f+l]=t[l];for(;++i<o;)c[f+r[i]]=e[a++];return c}function zn(e,t){return function(n,r,i){var o=t?t():{};if(r=vr(r,i,3),Yi(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,(function(t,n,i){e(o,t,r(t,n,i),i)}));return o}}function qn(e){return Xi((function(t,n){var i=-1,o=null==t?0:n.length,a=o>2?n[o-2]:r,s=o>2?n[2]:r,l=o>1?n[o-1]:r;for("function"==typeof a?(a=Rn(a,l,5),o-=2):o-=(a="function"==typeof l?l:r)?1:0,s&&kr(n[0],n[1],s)&&(a=o<3?r:a,o=1);++i<o;){var u=n[i];u&&e(t,u,a)}return t}))}function Bn(e,t){return function(n,r){var i=n?wr(n):0;if(!Ar(i))return e(n,r);for(var o=t?i:-1,a=Fr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Un(e){return function(t,n,r){for(var i=Fr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Vn(e){return pt&<?new Rt(e):null}function Gn(e){return function(t){for(var n=-1,r=Ho(jo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Xn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return eo(r)?r:n}}function Jn(e){return function t(n,i,o){o&&kr(n,i,o)&&(i=r);var a=hr(n,e,r,r,r,r,r,i);return a.placeholder=t.placeholder,a}}function $n(e,t){return Xi((function(n){var i=n[0];return null==i?i:(n.push(t),e.apply(r,n))}))}function Yn(e,t){return function(n,i,o){if(o&&kr(n,i,o)&&(i=r),1==(i=vr(i,o,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],u=+t(l);n(u,a)&&(a=u,s=l)}return s}(n=Yi(n)?n:Rr(n),i,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,(function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)})),o}(n,i,e,t)}}function Kn(e,t){return function(n,i,o){if(i=vr(i,o,3),Yi(n)){var a=Oe(n,i,t);return a>-1?n[a]:r}return ln(n,i,e)}}function Qn(e){return function(t,n,r){return t&&t.length?Oe(t,n=vr(n,r,3),e):-1}}function Zn(e){return function(t,n,r){return ln(t,n=vr(n,r,3),e,!0)}}function er(e){return function(){for(var t,i=arguments.length,o=e?i:-1,a=0,s=n(i);e?o--:++o<i;){var l=s[a++]=arguments[o];if("function"!=typeof l)throw new De(S);!t&&It.prototype.thru&&"wrapper"==yr(l)&&(t=new It([],!0))}for(o=t?-1:i;++o<i;){var u=yr(l=s[o]),f="wrapper"==u?mr(l):r;t=f&&Lr(f[0])&&f[1]==(p|c|d|g)&&!f[4].length&&1==f[9]?t[yr(f[0])].apply(t,f[3]):1==l.length&&Lr(l)?t[u]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Yi(n)&&n.length>=w)return t.plant(n).value();for(var r=0,o=i?s[r].apply(this,e):n;++r<i;)o=s[r].call(this,o);return o}}}function tr(e,t){return function(n,i,o){return"function"==typeof i&&o===r&&Yi(n)?e(n,i):t(n,Rn(i,o,3))}}function nr(e){return function(t,n,i){return"function"==typeof n&&i===r||(n=Rn(n,i,3)),e(t,n,So)}}function rr(e){return function(t,n,i){return"function"==typeof n&&i===r||(n=Rn(n,i,3)),e(t,n)}}function ir(e){return function(t,n,r){var i={};return n=vr(n,r,3),hn(t,(function(t,r,o){var a=n(t,r,o);t=e?t:a,i[r=e?a:r]=t})),i}}function or(e){return function(t,n,r){return t=Fe(t),(e?t:"")+ur(t,n,r)+(e?"":t)}}function ar(e){var t=Xi((function(n,i){var o=$e(i,t.placeholder);return hr(n,e,r,i,o)}));return t}function sr(e,t){return function(n,i,o,a){var s=arguments.length<3;return"function"==typeof i&&a===r&&Yi(n)?e(n,i,o,s):Tn(n,vr(i,a,4),o,s,t)}}function lr(e,t,i,o,a,g,v,m,y,b){var w=t&p,x=t&s,C=t&l,S=t&c,_=t&u,T=t&f,k=C?r:Xn(e);return function u(){for(var c=arguments.length,f=c,p=n(c);f--;)p[f]=arguments[f];if(o&&(p=Hn(p,o,a)),g&&(p=Wn(p,g,v)),S||T){var D=u.placeholder,L=$e(p,D);if((c-=L.length)<b){var A=m?Ht(m):r,N=bt(b-c,0);t|=S?d:h,t&=~(S?h:d),_||(t&=~(s|l));var j=[e,t,i,S?p:r,S?L:r,S?r:p,S?r:L,A,y,N],M=lr.apply(r,j);return Lr(e)&&Or(M,j),M.placeholder=D,M}}var E=x?i:this,I=C?E[e]:e;return m&&(p=function(e,t){for(var n=e.length,i=wt(t.length,n),o=Ht(e);i--;){var a=t[i];e[i]=Tr(a,n)?o[a]:r}return e}(p,m)),w&&y<p.length&&(p.length=y),this&&this!==Ee&&this instanceof u&&(I=k||Xn(e)),I.apply(E,p)}}function ur(e,t,n){var r=e.length;if(r>=(t=+t)||!mt(t))return"";var i=t-r;return Oo(n=null==n?" ":n+"",ht(i/n.length)).slice(0,i)}function cr(e,t,r,i){var o=t&s,a=Xn(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=i.length,f=n(c+l);++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++s];return(this&&this!==Ee&&this instanceof t?a:e).apply(o?r:this,f)}}function fr(e){var t=Ce[e];return function(e,n){return(n=n===r?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function dr(e){return function(t,n,r,i){var o=vr(r);return null==r&&o===Qt?On(t,n,e):Pn(t,n,o(r,i,1),e)}}function hr(e,t,n,i,o,a,f,v){var m=t&l;if(!m&&"function"!=typeof e)throw new De(S);var y=i?i.length:0;if(y||(t&=~(d|h),i=o=r),y-=o?o.length:0,t&h){var b=i,w=o;i=o=r}var x=m?r:mr(e),C=[e,t,n,i,o,b,w,a,f,v];if(x&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<p,a=r==p&&n==c||r==p&&n==g&&e[7].length<=t[8]||r==(p|g)&&n==c;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:u);var l=t[3];if(l){var f=e[3];e[3]=f?Hn(f,l,t[4]):Ht(l),e[4]=f?$e(e[3],_):Ht(t[4])}(l=t[5])&&(f=e[5],e[5]=f?Wn(f,l,t[6]):Ht(l),e[6]=f?$e(e[5],_):Ht(t[6])),(l=t[7])&&(e[7]=Ht(l)),r&p&&(e[8]=null==e[8]?t[8]:wt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(C,x),t=C[1],v=C[9]),C[9]=null==v?m?0:e.length:bt(v-y,0)||0,t==s)var T=function(e,t){var n=Xn(e);return function r(){return(this&&this!==Ee&&this instanceof r?n:e).apply(t,arguments)}}(C[0],C[2]);else T=t!=d&&t!=(s|d)||C[4].length?lr.apply(r,C):cr.apply(r,C);return(x?kn:Or)(T,C)}function pr(e,t,n,i,o,a,s){var l=-1,u=e.length,c=t.length;if(u!=c&&!(o&&c>u))return!1;for(;++l<u;){var f=e[l],d=t[l],h=i?i(o?d:f,o?f:d,l):r;if(h!==r){if(h)continue;return!1}if(o){if(!Gt(t,(function(e){return f===e||n(f,e,i,o,a,s)})))return!1}else if(f!==d&&!n(f,d,i,o,a,s))return!1}return!0}function gr(e,t,n,i,o,a,s){var l=Co(e),u=l.length;if(u!=Co(t).length&&!o)return!1;for(var c=u;c--;){var f=l[c];if(!(o?f in t:Me.call(t,f)))return!1}for(var d=o;++c<u;){var h=e[f=l[c]],p=t[f],g=i?i(o?p:h,o?h:p,f):r;if(!(g===r?n(h,p,i,o,a,s):g))return!1;d||(d="constructor"==f)}if(!d){var v=e.constructor,m=t.constructor;if(v!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof m&&m instanceof m))return!1}return!0}function vr(e,t,n){var r=Mt.callback||zo;return r=r===zo?Qt:r,n?r(e,t,n):r}var mr=Nt?function(e){return Nt.get(e)}:Xo;function yr(e){for(var t=e.name,n=jt[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function br(e,t,n){var r=Mt.indexOf||Xr;return r=r===Xr?Pe:r,e?r(e,t,n):r}var wr=Cn("length");function xr(e){for(var t=Do(e),n=t.length;n--;)t[n][2]=Nr(t[n][1]);return t}function Cr(e,t){var n=null==e?r:e[t];return to(n)?n:r}function Sr(e,t,n){null==e||Dr(t,e)||(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1)),t=$r(t));var i=null==e?e:e[t];return null==i?r:i.apply(e,n)}function _r(e){return null!=e&&Ar(wr(e))}function Tr(e,t){return e="number"==typeof e||de.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!eo(n))return!1;var r=typeof t;if("number"==r?_r(n)&&Tr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function Dr(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Yi(e)&&(!te.test(e)||null!=t&&e in Fr(t))}function Lr(e){var t=yr(e);if(!(t in Ot.prototype))return!1;var n=Mt[t];if(e===n)return!0;var r=mr(n);return!!r&&e===r[0]}function Ar(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Nr(e){return e==e&&!eo(e)}function jr(e,t){e=Fr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Mr(e,t){var n={};return dn(e,(function(e,r,i){t(e,r,i)&&(n[r]=e)})),n}var Er,Ir,Or=(Er=0,Ir=0,function(e,t){var n=Ni(),r=b-(n-Ir);if(Ir=n,r>0){if(++Er>=y)return e}else Er=0;return kn(e,t)});function Pr(e){for(var t=So(e),n=t.length,r=n&&e.length,i=!!r&&Ar(r)&&(Yi(e)||$i(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Tr(s,r)||Me.call(e,s))&&a.push(s)}return a}function Rr(e){return null==e?[]:_r(e)?eo(e)?e:_e(e):Ao(e)}function Fr(e){return eo(e)?e:_e(e)}function Hr(e){if(Yi(e))return e;var t=[];return Fe(e).replace(re,(function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)})),t}function Wr(e){return e instanceof Ot?e.clone():new It(e.__wrapped__,e.__chain__,Ht(e.__actions__))}var zr=Xi((function(e,t){return Xe(e)&&_r(e)?nn(e,un(t,!1,!0)):[]}));function qr(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,t<0?0:t)):[]}function Br(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,0,(t=r-(+t||0))<0?0:t)):[]}var Ur=Qn(),Vr=Qn(!0);function Gr(e){return e?e[0]:r}function Xr(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?bt(r+n,0):n;else if(n){var i=On(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Pe(e,t,n||0)}var Jr=Xi((function(e){for(var t=e.length,r=t,i=n(f),o=br(),a=o==Pe,s=[];r--;){var l=e[r]=_r(l=e[r])?l:[];i[r]=a&&l.length>=120?Vn(r&&l):null}var u=e[0],c=-1,f=u?u.length:0,d=i[0];e:for(;++c<f;)if(l=u[c],(d?Ft(d,l):o(s,l,0))<0){for(r=t;--r;){var h=i[r];if((h?Ft(h,l):o(e[r],l,0))<0)continue e}d&&d.push(l),s.push(l)}return s}));function $r(e){var t=e?e.length:0;return t?e[t-1]:r}var Yr=Xi((function(e,t){var n=Yt(e,t=un(t));return Sn(e,t.sort(Ie)),n}));function Kr(e){return qr(e,1)}var Qr=dr(),Zr=dr(!0),ei=Xi((function(e){return jn(un(e,!1,!0))}));function ti(e,t,n,i){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,i=n)?r:t,t=!1);var o=vr();return null==n&&o===Qt||(n=o(n,i,3)),t&&br()==Pe?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):jn(e,n)}function ni(e){if(!e||!e.length)return[];var t=-1,r=0;e=qt(e,(function(e){if(_r(e))return r=bt(e.length,r),!0}));for(var i=n(r);++t<r;)i[t]=Bt(e,Cn(t));return i}function ri(e,t,n){if(!e||!e.length)return[];var i=ni(e);return null==t?i:(t=Rn(t,n,4),Bt(i,(function(e){return Vt(e,t,r,!0)})))}var ii=Xi((function(e,t){return _r(e)?nn(e,t):[]})),oi=Xi(ni);function ai(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Yi(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var si=Xi((function(e){var t=e.length,n=t>2?e[t-2]:r,i=t>1?e[t-1]:r;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof i?(--t,i):r,i=r),e.length=t,ri(e,n,i)}));function li(e){var t=Mt(e);return t.__chain__=!0,t}function ui(e,t,n){return t.call(n,e)}var ci=Xi((function(e){return e=un(e),this.thru((function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Yi(t)?t:[Fr(t)],e)}))})),fi=Xi((function(e,t){return Yt(e,un(t))})),di=zn((function(e,t,n){Me.call(e,n)?++e[n]:e[n]=1}));function hi(e,t,n){var i=Yi(e)?zt:an;return n&&kr(e,t,n)&&(t=r),"function"==typeof t&&n===r||(t=vr(t,n,3)),i(e,t)}function pi(e,t,n){return(Yi(e)?qt:sn)(e,t=vr(t,n,3))}var gi=Kn(rn),vi=Kn(on,!0),mi=tr(Wt,rn),yi=tr((function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e}),on),bi=zn((function(e,t,n){Me.call(e,n)?e[n].push(t):e[n]=[t]}));function wi(e,t,n,r){var i=e?wr(e):0;return Ar(i)||(i=(e=Ao(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?bt(i+n,0):n||0,"string"==typeof e||!Yi(e)&&oo(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&br(e,t,n)>-1}var xi=zn((function(e,t,n){e[n]=t})),Ci=Xi((function(e,t,i){var o=-1,a="function"==typeof t,s=Dr(t),l=_r(e)?n(e.length):[];return rn(e,(function(e){var n=a?t:s&&null!=e?e[t]:r;l[++o]=n?n.apply(e,i):Sr(e,t,i)})),l}));function Si(e,t,n){return(Yi(e)?Bt:bn)(e,t=vr(t,n,3))}var _i=zn((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ti=sr(Vt,rn),ki=sr((function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}),on);function Di(e,t,n){if(n?kr(e,t,n):null==t)return(i=(e=Rr(e)).length)>0?e[_n(0,i-1)]:r;var i,o=-1,a=lo(e),s=(i=a.length)-1;for(t=wt(t<0?0:+t||0,i);++o<t;){var l=_n(o,s),u=a[l];a[l]=a[o],a[o]=u}return a.length=t,a}function Li(e,t,n){var i=Yi(e)?Gt:Ln;return n&&kr(e,t,n)&&(t=r),"function"==typeof t&&n===r||(t=vr(t,n,3)),i(e,t)}var Ai=Xi((function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),Nn(e,un(t),[])})),Ni=xt||function(){return(new i).getTime()};function ji(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new De(S);var i=e;e=t,t=i}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Mi=Xi((function(e,t,n){var r=s;if(n.length){var i=$e(n,Mi.placeholder);r|=d}return hr(e,r,t,n,i)})),Ei=Xi((function(e,t){for(var n=-1,r=(t=t.length?un(t):xo(e)).length;++n<r;){var i=t[n];e[i]=hr(e[i],s,e)}return e})),Ii=Xi((function(e,t,n){var r=s|l;if(n.length){var i=$e(n,Ii.placeholder);r|=d}return hr(t,r,e,n,i)})),Oi=Jn(c),Pi=Jn(f);function Ri(e,t,n){var i,o,a,s,l,u,c,f=0,d=!1,h=!0;if("function"!=typeof e)throw new De(S);if(t=t<0?0:+t||0,!0===n){var p=!0;h=!1}else eo(n)&&(p=!!n.leading,d="maxWait"in n&&bt(+n.maxWait||0,t),h="trailing"in n?!!n.trailing:h);function g(t,n){n&&it(n),o=u=c=r,t&&(f=Ni(),a=e.apply(l,i),u||o||(i=l=r))}function v(){var e=t-(Ni()-s);e<=0||e>t?g(c,o):u=ut(v,e)}function m(){g(h,u)}function y(){if(i=arguments,s=Ni(),l=this,c=h&&(u||!p),!1===d)var n=p&&!u;else{o||p||(f=s);var g=d-(s-f),y=g<=0||g>d;y?(o&&(o=it(o)),f=s,a=e.apply(l,i)):o||(o=ut(m,g))}return y&&u?u=it(u):u||t===d||(u=ut(v,t)),n&&(y=!0,a=e.apply(l,i)),!y||u||o||(i=l=r),a}return y.cancel=function(){u&&it(u),o&&it(o),f=0,o=u=c=r},y}var Fi=Xi((function(e,t){return tn(e,1,t)})),Hi=Xi((function(e,t,n){return tn(e,t,n)})),Wi=er(),zi=er(!0);function qi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new De(S);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new qi.Cache,n}var Bi=Xi((function(e,t){if(t=un(t),"function"!=typeof e||!zt(t,Re))throw new De(S);var n=t.length;return Xi((function(r){for(var i=wt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)}))})),Ui=ar(d),Vi=ar(h),Gi=Xi((function(e,t){return hr(e,g,r,r,r,un(t))}));function Xi(e,t){if("function"!=typeof e)throw new De(S);return t=bt(t===r?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=bt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Ji(e,t){return e>t}function $i(e){return Xe(e)&&_r(e)&&Me.call(e,"callee")&&!st.call(e,"callee")}var Yi=vt||function(e){return Xe(e)&&Ar(e.length)&&et.call(e)==k};function Ki(e,t,n,i){var o=(n="function"==typeof n?Rn(n,i,3):r)?n(e,t):r;return o===r?mn(e,t,n):!!o}function Qi(e){return Xe(e)&&"string"==typeof e.message&&et.call(e)==A}function Zi(e){return eo(e)&&et.call(e)==N}function eo(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function to(e){return null!=e&&(Zi(e)?nt.test(je.call(e)):Xe(e)&&fe.test(e))}function no(e){return"number"==typeof e||Xe(e)&&et.call(e)==j}function ro(e){var t,n;return!(!Xe(e)||et.call(e)!=M||$i(e)||!(Me.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(dn(e,(function(e,t){n=t})),n===r||Me.call(e,n))}function io(e){return eo(e)&&et.call(e)==E}function oo(e){return"string"==typeof e||Xe(e)&&et.call(e)==I}function ao(e){return Xe(e)&&Ar(e.length)&&!!be[et.call(e)]}function so(e,t){return e<t}function lo(e){var t=e?wr(e):0;return Ar(t)?t?Ht(e):[]:Ao(e)}function uo(e){return Kt(e,So(e))}var co=qn((function e(t,n,i,o,a){if(!eo(t))return t;var s=_r(n)&&(Yi(n)||ao(n)),l=s?r:Co(n);return Wt(l||n,(function(u,c){if(l&&(u=n[c=u]),Xe(u))o||(o=[]),a||(a=[]),function(e,t,n,i,o,a,s){for(var l=a.length,u=t[n];l--;)if(a[l]==u)return void(e[n]=s[l]);var c=e[n],f=o?o(c,u,n,e,t):r,d=f===r;d&&(f=u,_r(u)&&(Yi(u)||ao(u))?f=Yi(c)?c:_r(c)?Ht(c):[]:ro(u)||$i(u)?f=$i(c)?uo(c):ro(c)?c:{}:d=!1),a.push(u),s.push(f),d?e[n]=i(f,u,o,a,s):(f==f?f!==c:c==c)&&(e[n]=f)}(t,n,c,e,i,o,a);else{var f=t[c],d=i?i(f,u,c,t,n):r,h=d===r;h&&(d=u),d===r&&(!s||c in t)||!h&&(d==d?d===f:f!=f)||(t[c]=d)}})),t})),fo=qn((function(e,t,n){return n?Jt(e,t,n):$t(e,t)})),ho=$n(fo,(function(e,t){return e===r?t:e})),po=$n(co,(function e(t,n){return t===r?n:co(t,n,e)})),go=Zn(hn),vo=Zn(pn),mo=nr(cn),yo=nr(fn),bo=rr(hn),wo=rr(pn);function xo(e){return gn(e,So(e))}var Co=yt?function(e){var t=null==e?r:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&_r(e)?Pr(e):eo(e)?yt(e):[]}:Pr;function So(e){if(null==e)return[];eo(e)||(e=_e(e));var t=e.length;t=t&&Ar(t)&&(Yi(e)||$i(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&Tr(l,t)||"constructor"==l&&(o||!Me.call(e,l))||a.push(l);return a}var _o=ir(!0),To=ir(),ko=Xi((function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Bt(un(t),ke),jr(e,nn(So(e),t));var n=Rn(t[0],t[1],3);return Mr(e,(function(e,t,r){return!n(e,t,r)}))}));function Do(e){e=Fr(e);for(var t=-1,r=Co(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var Lo=Xi((function(e,t){return null==e?{}:"function"==typeof t[0]?Mr(e,Rn(t[0],t[1],3)):jr(e,un(t))}));function Ao(e){return Mn(e,Co(e))}var No=Gn((function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}));function jo(e){return(e=Fe(e))&&e.replace(he,qe).replace(ae,"")}var Mo=Gn((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Eo=or(),Io=or(!0);function Oo(e,t){var n="";if(e=Fe(e),(t=+t)<1||!e||!mt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Po=Gn((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ro=Gn((function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))}));function Fo(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ke(e)+1):(t+="",e.slice(He(e,t),We(e,t)+1)):e}function Ho(e,t,n){return n&&kr(e,t,n)&&(t=r),(e=Fe(e)).match(t||ve)||[]}var Wo=Xi((function(e,t){try{return e.apply(r,t)}catch(e){return Qi(e)?e:new o(e)}}));function zo(e,t,n){return n&&kr(e,t,n)&&(t=r),Xe(e)?Bo(e):Qt(e,t)}function qo(e){return e}function Bo(e){return wn(Zt(e,!0))}var Uo=Xi((function(e,t){return function(n){return Sr(n,e,t)}})),Vo=Xi((function(e,t){return function(n){return Sr(e,n,t)}}));function Go(e,t,n){if(null==n){var i=eo(t),o=i?Co(t):r,a=o&&o.length?gn(t,o):r;(a?a.length:i)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,Co(t)));var s=!0,l=-1,u=Zi(e),c=a.length;!1===n?s=!1:eo(n)&&"chain"in n&&(s=n.chain);for(;++l<c;){var f=a[l],d=t[f];e[f]=d,u&&(e.prototype[f]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__),i=r.__actions__=Ht(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(d))}return e}function Xo(){}function Jo(e){return Dr(e)?Cn(e):function(e){var t=e+"";return e=Hr(e),function(n){return vn(n,e,t)}}(e)}var $o,Yo=fr("ceil"),Ko=fr("floor"),Qo=Yn(Ji,_t),Zo=Yn(so,Tt),ea=fr("round");return Mt.prototype=Et.prototype,It.prototype=en(Et.prototype),It.prototype.constructor=It,Ot.prototype=en(Et.prototype),Ot.prototype.constructor=Ot,Pt.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Pt.prototype.get=function(e){return"__proto__"==e?r:this.__data__[e]},Pt.prototype.has=function(e){return"__proto__"!=e&&Me.call(this.__data__,e)},Pt.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Rt.prototype.push=function(e){var t=this.data;"string"==typeof e||eo(e)?t.set.add(e):t.hash[e]=!0},qi.Cache=Pt,Mt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new De(S);var n=e;e=t,t=n}return e=mt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Mt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=r),t=e&&null==t?e.length:bt(+t||0,0),hr(e,p,r,r,r,r,t)},Mt.assign=fo,Mt.at=fi,Mt.before=ji,Mt.bind=Mi,Mt.bindAll=Ei,Mt.bindKey=Ii,Mt.callback=zo,Mt.chain=li,Mt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:bt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ht(o/t));i<o;)s[++a]=Dn(e,i,i+=t);return s},Mt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Mt.constant=function(e){return function(){return e}},Mt.countBy=di,Mt.create=function(e,t,n){var i=en(e);return n&&kr(e,t,n)&&(t=r),t?$t(i,t):i},Mt.curry=Oi,Mt.curryRight=Pi,Mt.debounce=Ri,Mt.defaults=ho,Mt.defaultsDeep=po,Mt.defer=Fi,Mt.delay=Hi,Mt.difference=zr,Mt.drop=qr,Mt.dropRight=Br,Mt.dropRightWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!0,!0):[]},Mt.dropWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!0):[]},Mt.fill=function(e,t,n,i){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,i=o),function(e,t,n,i){var o=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:+i||0)<0&&(i+=o),o=n>i?0:i>>>0,n>>>=0;n<o;)e[n++]=t;return e}(e,t,n,i)):[]},Mt.filter=pi,Mt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?un(e,t):[]},Mt.flattenDeep=function(e){return e&&e.length?un(e,!0):[]},Mt.flow=Wi,Mt.flowRight=zi,Mt.forEach=mi,Mt.forEachRight=yi,Mt.forIn=mo,Mt.forInRight=yo,Mt.forOwn=bo,Mt.forOwnRight=wo,Mt.functions=xo,Mt.groupBy=bi,Mt.indexBy=xi,Mt.initial=function(e){return Br(e,1)},Mt.intersection=Jr,Mt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=r);for(var i=-1,o=Co(e),a=o.length,s={};++i<a;){var l=o[i],u=e[l];t?Me.call(s,u)?s[u].push(l):s[u]=[l]:s[u]=l}return s},Mt.invoke=Ci,Mt.keys=Co,Mt.keysIn=So,Mt.map=Si,Mt.mapKeys=_o,Mt.mapValues=To,Mt.matches=Bo,Mt.matchesProperty=function(e,t){return xn(e,Zt(t,!0))},Mt.memoize=qi,Mt.merge=co,Mt.method=Uo,Mt.methodOf=Vo,Mt.mixin=Go,Mt.modArgs=Bi,Mt.negate=function(e){if("function"!=typeof e)throw new De(S);return function(){return!e.apply(this,arguments)}},Mt.omit=ko,Mt.once=function(e){return ji(2,e)},Mt.pairs=Do,Mt.partial=Ui,Mt.partialRight=Vi,Mt.partition=_i,Mt.pick=Lo,Mt.pluck=function(e,t){return Si(e,Jo(t))},Mt.property=Jo,Mt.propertyOf=function(e){return function(t){return vn(e,Hr(t),t+"")}},Mt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=br(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ct.call(t,o,1);return t},Mt.pullAt=Yr,Mt.range=function(e,t,i){i&&kr(e,t,i)&&(t=i=r),e=+e||0,null==t?(t=e,e=0):t=+t||0;for(var o=-1,a=bt(ht((t-e)/((i=null==i?1:+i||0)||1)),0),s=n(a);++o<a;)s[o]=e,e+=i;return s},Mt.rearg=Gi,Mt.reject=function(e,t,n){var r=Yi(e)?qt:sn;return t=vr(t,n,3),r(e,(function(e,n,r){return!t(e,n,r)}))},Mt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=vr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Sn(e,o),r},Mt.rest=Kr,Mt.restParam=Xi,Mt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||Dr(t,e)?[r]:Hr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];eo(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=Tr(t[i+1])?[]:{})),s=s[l]}return e},Mt.shuffle=function(e){return Di(e,Tt)},Mt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Dn(e,t,n)):[]},Mt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=r);var i=-1;return t=vr(t,n,3),An(bn(e,(function(e,n,r){return{criteria:t(e,n,r),index:++i,value:e}})),ze)},Mt.sortByAll=Ai,Mt.sortByOrder=function(e,t,n,i){return null==e?[]:(i&&kr(t,n,i)&&(n=r),Yi(t)||(t=null==t?[]:[t]),Yi(n)||(n=null==n?[]:[n]),Nn(e,t,n))},Mt.spread=function(e){if("function"!=typeof e)throw new De(S);return function(t){return e.apply(this,t)}},Mt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,0,t<0?0:t)):[]},Mt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,(t=r-(+t||0))<0?0:t)):[]},Mt.takeRightWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!1,!0):[]},Mt.takeWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3)):[]},Mt.tap=function(e,t,n){return t.call(n,e),e},Mt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new De(S);return!1===n?r=!1:eo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ri(e,t,{leading:r,maxWait:+t,trailing:i})},Mt.thru=ui,Mt.times=function(e,t,r){if((e=gt(e))<1||!mt(e))return[];var i=-1,o=n(wt(e,kt));for(t=Rn(t,r,1);++i<e;)i<kt?o[i]=t(i):t(i);return o},Mt.toArray=lo,Mt.toPlainObject=uo,Mt.transform=function(e,t,n,i){var o=Yi(e)||ao(e);if(t=vr(t,i,4),null==n)if(o||eo(e)){var a=e.constructor;n=o?Yi(e)?new a:[]:en(Zi(a)?a.prototype:r)}else n={};return(o?Wt:hn)(e,(function(e,r,i){return t(n,e,r,i)})),n},Mt.union=ei,Mt.uniq=ti,Mt.unzip=ni,Mt.unzipWith=ri,Mt.values=Ao,Mt.valuesIn=function(e){return Mn(e,So(e))},Mt.where=function(e,t){return pi(e,wn(t))},Mt.without=ii,Mt.wrap=function(e,t){return hr(t=null==t?qo:t,d,r,[e],[])},Mt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(_r(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?jn(r):[]},Mt.zip=oi,Mt.zipObject=ai,Mt.zipWith=si,Mt.backflow=zi,Mt.collect=Si,Mt.compose=zi,Mt.each=mi,Mt.eachRight=yi,Mt.extend=fo,Mt.iteratee=zo,Mt.methods=xo,Mt.object=ai,Mt.select=pi,Mt.tail=Kr,Mt.unique=ti,Go(Mt,Mt),Mt.add=function(e,t){return(+e||0)+(+t||0)},Mt.attempt=Wo,Mt.camelCase=No,Mt.capitalize=function(e){return(e=Fe(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Mt.ceil=Yo,Mt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Zt(e,t,Rn(n,r,1)):Zt(e,t)},Mt.cloneDeep=function(e,t,n){return"function"==typeof t?Zt(e,!0,Rn(t,n,1)):Zt(e,!0)},Mt.deburr=jo,Mt.endsWith=function(e,t,n){t+="";var i=(e=Fe(e)).length;return n=n===r?i:wt(n<0?0:+n||0,i),(n-=t.length)>=0&&e.indexOf(t,n)==n},Mt.escape=function(e){return(e=Fe(e))&&K.test(e)?e.replace($,Be):e},Mt.escapeRegExp=function(e){return(e=Fe(e))&&oe.test(e)?e.replace(ie,Ue):e||"(?:)"},Mt.every=hi,Mt.find=gi,Mt.findIndex=Ur,Mt.findKey=go,Mt.findLast=vi,Mt.findLastIndex=Vr,Mt.findLastKey=vo,Mt.findWhere=function(e,t){return gi(e,wn(t))},Mt.first=Gr,Mt.floor=Ko,Mt.get=function(e,t,n){var i=null==e?r:vn(e,Hr(t),t+"");return i===r?n:i},Mt.gt=Ji,Mt.gte=function(e,t){return e>=t},Mt.has=function(e,t){if(null==e)return!1;var n=Me.call(e,t);if(!n&&!Dr(t)){if(null==(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1))))return!1;t=$r(t),n=Me.call(e,t)}return n||Ar(e.length)&&Tr(t,e.length)&&(Yi(e)||$i(e))},Mt.identity=qo,Mt.includes=wi,Mt.indexOf=Xr,Mt.inRange=function(e,t,n){return t=+t||0,n===r?(n=t,t=0):n=+n||0,e>=wt(t,n)&&e<bt(t,n)},Mt.isArguments=$i,Mt.isArray=Yi,Mt.isBoolean=function(e){return!0===e||!1===e||Xe(e)&&et.call(e)==D},Mt.isDate=function(e){return Xe(e)&&et.call(e)==L},Mt.isElement=function(e){return!!e&&1===e.nodeType&&Xe(e)&&!ro(e)},Mt.isEmpty=function(e){return null==e||(_r(e)&&(Yi(e)||oo(e)||$i(e)||Xe(e)&&Zi(e.splice))?!e.length:!Co(e).length)},Mt.isEqual=Ki,Mt.isError=Qi,Mt.isFinite=function(e){return"number"==typeof e&&mt(e)},Mt.isFunction=Zi,Mt.isMatch=function(e,t,n,i){return n="function"==typeof n?Rn(n,i,3):r,yn(e,xr(t),n)},Mt.isNaN=function(e){return no(e)&&e!=+e},Mt.isNative=to,Mt.isNull=function(e){return null===e},Mt.isNumber=no,Mt.isObject=eo,Mt.isPlainObject=ro,Mt.isRegExp=io,Mt.isString=oo,Mt.isTypedArray=ao,Mt.isUndefined=function(e){return e===r},Mt.kebabCase=Mo,Mt.last=$r,Mt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?bt(r+n,0):wt(n||0,r-1))+1;else if(n){var o=e[i=On(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return Ge(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Mt.lt=so,Mt.lte=function(e,t){return e<=t},Mt.max=Qo,Mt.min=Zo,Mt.noConflict=function(){return Ee._=tt,this},Mt.noop=Xo,Mt.now=Ni,Mt.pad=function(e,t,n){t=+t;var r=(e=Fe(e)).length;if(r>=t||!mt(t))return e;var i=(t-r)/2,o=gt(i);return(n=ur("",ht(i),n)).slice(0,o)+e+n},Mt.padLeft=Eo,Mt.padRight=Io,Mt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Fo(e),Ct(e,t||(ce.test(e)?16:10))},Mt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=r);var i=null==e,o=null==t;if(null==n&&(o&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,o=!0)),i&&o&&(t=1,o=!1),e=+e||0,o?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=St();return wt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return _n(e,t)},Mt.reduce=Ti,Mt.reduceRight=ki,Mt.repeat=Oo,Mt.result=function(e,t,n){var i=null==e?r:e[t];return i===r&&(null==e||Dr(t,e)||(i=null==(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1)))?r:e[$r(t)]),i=i===r?n:i),Zi(i)?i.call(e):i},Mt.round=ea,Mt.runInContext=e,Mt.size=function(e){var t=e?wr(e):0;return Ar(t)?t:Co(e).length},Mt.snakeCase=Po,Mt.some=Li,Mt.sortedIndex=Qr,Mt.sortedLastIndex=Zr,Mt.startCase=Ro,Mt.startsWith=function(e,t,n){return e=Fe(e),n=null==n?0:wt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Mt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=r),1==(t=vr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Yi(e)?e:Rr(e),t):function(e,t){var n=0;return rn(e,(function(e,r,i){n+=+t(e,r,i)||0})),n}(e,t)},Mt.template=function(e,t,n){var i=Mt.templateSettings;n&&kr(e,t,n)&&(t=n=r),e=Fe(e),t=Jt($t({},n||t),i,Xt);var o,a,s=Jt($t({},t.imports),i.imports,Xt),l=Co(s),u=Mn(s,l),c=0,f=t.interpolate||pe,d="__p += '",h=Te((t.escape||pe).source+"|"+f.source+"|"+(f===ee?le:pe).source+"|"+(t.evaluate||pe).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++ye+"]")+"\n";e.replace(h,(function(t,n,r,i,s,l){return r||(r=i),d+=e.slice(c,l).replace(ge,Ve),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var g=t.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(V,""):d).replace(G,"$1").replace(X,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Wo((function(){return xe(l,p+"return "+d).apply(r,u)}));if(v.source=d,Qi(v))throw v;return v},Mt.trim=Fo,Mt.trimLeft=function(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(He(e,t+"")):e},Mt.trimRight=function(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ke(e)+1):e.slice(0,We(e,t+"")+1):e},Mt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=r);var i=v,o=m;if(null!=t)if(eo(t)){var a="separator"in t?t.separator:a;i="length"in t?+t.length||0:i,o="omission"in t?Fe(t.omission):o}else i=+t||0;if(i>=(e=Fe(e)).length)return e;var s=i-o.length;if(s<1)return o;var l=e.slice(0,s);if(null==a)return l+o;if(io(a)){if(e.slice(s).search(a)){var u,c,f=e.slice(0,s);for(a.global||(a=Te(a.source,(ue.exec(a)||"")+"g")),a.lastIndex=0;u=a.exec(f);)c=u.index;l=l.slice(0,null==c?s:c)}}else if(e.indexOf(a,s)!=s){var d=l.lastIndexOf(a);d>-1&&(l=l.slice(0,d))}return l+o},Mt.unescape=function(e){return(e=Fe(e))&&Y.test(e)?e.replace(J,Qe):e},Mt.uniqueId=function(e){var t=++Je;return Fe(e)+t},Mt.words=Ho,Mt.all=hi,Mt.any=Li,Mt.contains=wi,Mt.eq=Ki,Mt.detect=gi,Mt.foldl=Ti,Mt.foldr=ki,Mt.head=Gr,Mt.include=wi,Mt.inject=Ti,Go(Mt,($o={},hn(Mt,(function(e,t){Mt.prototype[t]||($o[t]=e)})),$o),!1),Mt.sample=Di,Mt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru((function(t){return Di(t,e)})):Di(this.value())},Mt.VERSION=a,Wt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Mt[e].placeholder=Mt})),Wt(["drop","take"],(function(e,t){Ot.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Ot(this);n=null==n?1:bt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=wt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},Ot.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Wt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n!=C;Ot.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:vr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}})),Wt(["first","last"],(function(e,t){var n="take"+(t?"Right":"");Ot.prototype[e]=function(){return this[n](1).value()[0]}})),Wt(["initial","rest"],(function(e,t){var n="drop"+(t?"":"Right");Ot.prototype[e]=function(){return this.__filtered__?new Ot(this):this[n](1)}})),Wt(["pluck","where"],(function(e,t){var n=t?"filter":"map",r=t?wn:Jo;Ot.prototype[e]=function(e){return this[n](r(e))}})),Ot.prototype.compact=function(){return this.filter(qo)},Ot.prototype.reject=function(e,t){return e=vr(e,t,1),this.filter((function(t){return!e(t)}))},Ot.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new Ot(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},Ot.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Ot.prototype.toArray=function(){return this.take(Tt)},hn(Ot.prototype,(function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),i=/^(?:first|last)$/.test(t),o=Mt[i?"take"+("last"==t?"Right":""):t];o&&(Mt.prototype[t]=function(){var t=i?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,u=s instanceof Ot,c=t[0],f=u||Yi(s);f&&n&&"function"==typeof c&&1!=c.length&&(u=f=!1);var d=function(e){return i&&a?o(e,1)[0]:o.apply(r,Ut([e],t))},h={func:ui,args:[d],thisArg:r},p=u&&!l;if(i&&!a)return p?((s=s.clone()).__actions__.push(h),e.call(s)):o.call(r,this.value())[0];if(!i&&f){s=p?s:new Ot(this);var g=e.apply(s,t);return g.__actions__.push(h),new It(g,a)}return this.thru(d)})})),Wt(["join","pop","push","replace","shift","sort","splice","split","unshift"],(function(e){var t=(/^(?:replace|split)$/.test(e)?Ne:Le)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Mt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n]((function(n){return t.apply(n,e)}))}})),hn(Ot.prototype,(function(e,t){var n=Mt[t];if(n){var r=n.name;(jt[r]||(jt[r]=[])).push({name:t,func:n})}})),jt[lr(r,l).name]=[{name:"wrapper",func:r}],Ot.prototype.clone=function(){var e=new Ot(this.__wrapped__);return e.__actions__=Ht(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ht(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ht(this.__views__),e},Ot.prototype.reverse=function(){if(this.__filtered__){var e=new Ot(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ot.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Yi(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wt(t,e+a);break;case"takeRight":e=bt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,h=wt(l,this.__takeCount__);if(!n||i<w||i==l&&h==l)return In(r&&n?e.reverse():e,this.__actions__);var p=[];e:for(;l--&&d<h;){for(var g=-1,v=e[u+=t];++g<f;){var m=c[g],y=m.iteratee,b=m.type,S=y(v);if(b==C)v=S;else if(!S){if(b==x)continue e;break e}}p[d++]=v}return p},Mt.prototype.chain=function(){return li(this)},Mt.prototype.commit=function(){return new It(this.value(),this.__chain__)},Mt.prototype.concat=ci,Mt.prototype.plant=function(e){for(var t,n=this;n instanceof Et;){var r=Wr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Mt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Ot){var n=e;return this.__actions__.length&&(n=new Ot(this)),(n=n.reverse()).__actions__.push({func:ui,args:[t],thisArg:r}),new It(n,this.__chain__)}return this.thru(t)},Mt.prototype.toString=function(){return this.value()+""},Mt.prototype.run=Mt.prototype.toJSON=Mt.prototype.valueOf=Mt.prototype.value=function(){return In(this.__wrapped__,this.__actions__)},Mt.prototype.collect=Mt.prototype.map,Mt.prototype.head=Mt.prototype.first,Mt.prototype.select=Mt.prototype.filter,Mt.prototype.tail=Mt.prototype.rest,Mt}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ee._=Ze,define((function(){return Ze}))):De&&Le?Me?(Le.exports=Ze)._=Ze:De._=Ze:Ee._=Ze}).call(this)}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(e,t,n){(function(){var r;r=function(e){return e.pivotUtilities.d3_renderers={Treemap:function(t,n){var r,i,o,a,s,l,u,c,f,d,h,p,g;for(o={localeStrings:{},d3:{width:function(){return e(window).width()/1.4},height:function(){return e(window).height()/1.4}}},n=e.extend(o,n),c=e("<div>").css({width:"100%",height:"100%"}),d={name:"All",children:[]},r=function(e,t,n){var i,o,a,s,l,u;if(0!==t.length){for(null==e.children&&(e.children=[]),u=t.shift(),o=0,a=(l=e.children).length;o<a;o++)if((i=l[o]).name===u)return void r(i,t,n);return r(s={name:u},t,n),e.children.push(s)}e.value=n},s=0,l=(u=t.getRowKeys()).length;s<l;s++)f=u[s],null!=(p=t.getAggregator(f,[]).value())&&r(d,f,p);return i=d3.scale.category10(),g=n.d3.width(),a=n.d3.height(),h=d3.layout.treemap().size([g,a]).sticky(!0).value((function(e){return e.size})),d3.select(c[0]).append("div").style("position","relative").style("width",g+"px").style("height",a+"px").datum(d).selectAll(".node").data(h.padding([15,0,0,0]).value((function(e){return e.value})).nodes).enter().append("div").attr("class","node").style("background",(function(e){return null!=e.children?"lightgrey":i(e.name)})).text((function(e){return e.name})).call((function(){this.style("left",(function(e){return e.x+"px"})).style("top",(function(e){return e.y+"px"})).style("width",(function(e){return Math.max(0,e.dx-1)+"px"})).style("height",(function(e){return Math.max(0,e.dy-1)+"px"}))})),c}}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],21:[function(e,t,n){(function(){var r;r=function(e){var t;return t=function(t,n){return function(r,i){var o,a,s,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S,_,T,k,D,L,A,N,j,M,E,I,O;if(d={localeStrings:{vs:"vs",by:"by"},gchart:{}},null==(a=(i=e.extend(!0,d,i)).gchart).width&&(a.width=window.innerWidth/1.4),null==(s=i.gchart).height&&(s.height=window.innerHeight/1.4),0===(L=r.getRowKeys()).length&&L.push([]),0===(u=r.getColKeys()).length&&u.push([]),h=r.aggregatorName,r.valAttrs.length&&(h+="("+r.valAttrs.join(", ")+")"),(m=function(){var e,t,n;for(n=[],e=0,t=L.length;e<t;e++)g=L[e],n.push(g.join("-"));return n}()).unshift(""),C=0,"ScatterChart"===t){for(O in c=[],_=r.tree)for(I in N=_[O])o=N[I],c.push([parseFloat(I),parseFloat(O),h+": \n"+o.format(o.value())]);(f=new google.visualization.DataTable).addColumn("number",r.colAttrs.join("-")),f.addColumn("number",r.rowAttrs.join("-")),f.addColumn({type:"string",role:"tooltip"}),f.addRows(c),v=r.colAttrs.join("-"),j=r.rowAttrs.join("-"),A=""}else{for(c=[m],y=0,w=u.length;y<w;y++){for(C+=(k=[(l=u[y]).join("-")])[0].length,b=0,x=L.length;b<x;b++)D=L[b],null!=(o=r.getAggregator(D,l)).value()?(M=o.value(),e.isNumeric(M)?M<1?k.push(parseFloat(M.toPrecision(3))):k.push(parseFloat(M.toFixed(3))):k.push(M)):k.push(null);c.push(k)}f=google.visualization.arrayToDataTable(c),A=j=h,""!==(v=r.colAttrs.join("-"))&&(A+=" "+i.localeStrings.vs+" "+v),""!==(p=r.rowAttrs.join("-"))&&(A+=" "+i.localeStrings.by+" "+p)}return S={title:A,hAxis:{title:v,slantedText:C>50},vAxis:{title:j},tooltip:{textStyle:{fontName:"Arial",fontSize:12}}},"ColumnChart"===t&&(S.vAxis.minValue=0),"ScatterChart"===t?(S.legend={position:"none"},S.chartArea={width:"80%",height:"80%"}):2===c[0].length&&""===c[0][1]&&(S.legend={position:"none"}),e.extend(S,i.gchart,n),T=e("<div>").css({width:"100%",height:"100%"}),(E=new google.visualization.ChartWrapper({dataTable:f,chartType:t,options:S})).draw(T[0]),T.bind("dblclick",(function(){var e;return e=new google.visualization.ChartEditor,google.visualization.events.addListener(e,"ok",(function(){return e.getChartWrapper().draw(T[0])})),e.openDialog(E)})),T}},e.pivotUtilities.gchart_renderers={"Line Chart":t("LineChart"),"Bar Chart":t("ColumnChart"),"Stacked Bar Chart":t("ColumnChart",{isStacked:!0}),"Area Chart":t("AreaChart",{isStacked:!0}),"Scatter Chart":t("ScatterChart")}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],22:[function(e,t,n){(function(){var r,i=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o=[].slice,a=function(e,t){return function(){return e.apply(t,arguments)}},s={}.hasOwnProperty;r=function(e){var t,n,r,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S;return n=function(e,t,n){var r,i,o,a;for(o=(i=(e+="").split("."))[0],a=i.length>1?n+i[1]:"",r=/(\d+)(\d{3})/;r.test(o);)o=o.replace(r,"$1"+t+"$2");return o+a},b=(g=function(t){var r;return r={digitsAfterDecimal:2,scaler:1,thousandsSep:",",decimalSep:".",prefix:"",suffix:"",showZero:!1},t=e.extend(r,t),function(e){var r;return isNaN(e)||!isFinite(e)?"":0!==e||t.showZero?(r=n((t.scaler*e).toFixed(t.digitsAfterDecimal),t.thousandsSep,t.decimalSep),""+t.prefix+r+t.suffix):""}})(),w=g({digitsAfterDecimal:0}),x=g({digitsAfterDecimal:1,scaler:100,suffix:"%"}),l={Count:(S=r={count:function(e){return null==e&&(e=w),function(){return function(t,n,r){return{count:0,push:function(){return this.count++},value:function(){return this.count},format:e}}}},countUnique:function(e){return null==e&&(e=w),function(t){var n;return n=t[0],function(t,r,o){return{uniq:[],push:function(e){var t;if(t=e[n],i.call(this.uniq,t)<0)return this.uniq.push(e[n])},value:function(){return this.uniq.length},format:e,numInputs:null!=n?0:1}}}},listUnique:function(e){return function(t){var n;return n=t[0],function(t,r,o){return{uniq:[],push:function(e){var t;if(t=e[n],i.call(this.uniq,t)<0)return this.uniq.push(e[n])},value:function(){return this.uniq.join(e)},format:function(e){return e},numInputs:null!=n?0:1}}}},sum:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{sum:0,push:function(e){if(!isNaN(parseFloat(e[n])))return this.sum+=parseFloat(e[n])},value:function(){return this.sum},format:e,numInputs:null!=n?0:1}}}},min:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{val:null,push:function(e){var t,r;if(r=parseFloat(e[n]),!isNaN(r))return this.val=Math.min(r,null!=(t=this.val)?t:r)},value:function(){return this.val},format:e,numInputs:null!=n?0:1}}}},max:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{val:null,push:function(e){var t,r;if(r=parseFloat(e[n]),!isNaN(r))return this.val=Math.max(r,null!=(t=this.val)?t:r)},value:function(){return this.val},format:e,numInputs:null!=n?0:1}}}},average:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{sum:0,len:0,push:function(e){if(!isNaN(parseFloat(e[n])))return this.sum+=parseFloat(e[n]),this.len++},value:function(){return this.sum/this.len},format:e,numInputs:null!=n?0:1}}}},sumOverSum:function(e){return null==e&&(e=b),function(t){var n,r;return r=t[0],n=t[1],function(t,i,o){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[r]))||(this.sumNum+=parseFloat(e[r])),!isNaN(parseFloat(e[n])))return this.sumDenom+=parseFloat(e[n])},value:function(){return this.sumNum/this.sumDenom},format:e,numInputs:null!=r&&null!=n?0:2}}}},sumOverSumBound80:function(e,t){return null==e&&(e=!0),null==t&&(t=b),function(n){var r,i;return i=n[0],r=n[1],function(n,o,a){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[i]))||(this.sumNum+=parseFloat(e[i])),!isNaN(parseFloat(e[r])))return this.sumDenom+=parseFloat(e[r])},value:function(){var t;return t=e?1:-1,(.821187207574908/this.sumDenom+this.sumNum/this.sumDenom+1.2815515655446004*t*Math.sqrt(.410593603787454/(this.sumDenom*this.sumDenom)+this.sumNum*(1-this.sumNum/this.sumDenom)/(this.sumDenom*this.sumDenom)))/(1+1.642374415149816/this.sumDenom)},format:t,numInputs:null!=i&&null!=r?0:2}}}},fractionOf:function(e,t,n){return null==t&&(t="total"),null==n&&(n=x),function(){var r;return r=1<=arguments.length?o.call(arguments,0):[],function(i,o,a){return{selector:{total:[[],[]],row:[o,[]],col:[[],a]}[t],inner:e.apply(null,r)(i,o,a),push:function(e){return this.inner.push(e)},format:n,value:function(){return this.inner.value()/i.getAggregator.apply(i,this.selector).inner.value()},numInputs:e.apply(null,r)().numInputs}}}}}).count(w),"Count Unique Values":S.countUnique(w),"List Unique Values":S.listUnique(", "),Sum:S.sum(b),"Integer Sum":S.sum(w),Average:S.average(b),Minimum:S.min(b),Maximum:S.max(b),"Sum over Sum":S.sumOverSum(b),"80% Upper Bound":S.sumOverSumBound80(!0,b),"80% Lower Bound":S.sumOverSumBound80(!1,b),"Sum as Fraction of Total":S.fractionOf(S.sum(),"total",x),"Sum as Fraction of Rows":S.fractionOf(S.sum(),"row",x),"Sum as Fraction of Columns":S.fractionOf(S.sum(),"col",x),"Count as Fraction of Total":S.fractionOf(S.count(),"total",x),"Count as Fraction of Rows":S.fractionOf(S.count(),"row",x),"Count as Fraction of Columns":S.fractionOf(S.count(),"col",x)},d={en:{aggregators:l,renderers:m={Table:function(e,t){return v(e,t)},"Table Barchart":function(t,n){return e(v(t,n)).barchart()},Heatmap:function(t,n){return e(v(t,n)).heatmap()},"Row Heatmap":function(t,n){return e(v(t,n)).heatmap("rowheatmap")},"Col Heatmap":function(t,n){return e(v(t,n)).heatmap("colheatmap")}},localeStrings:{renderError:"An error occurred rendering the PivotTable results.",computeError:"An error occurred computing the PivotTable results.",uiRenderError:"An error occurred rendering the PivotTable UI.",selectAll:"Select All",selectNone:"Select None",tooMany:"(too many to list)",filterResults:"Filter results",totals:"Totals",vs:"vs",by:"by"}}},h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],u=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=function(e){return("0"+e).substr(-2,2)},c={bin:function(e,t){return function(n){return n[e]-n[e]%t}},dateFormat:function(e,t,n,r,i){var o;return null==n&&(n=!1),null==r&&(r=h),null==i&&(i=u),o=n?"UTC":"",function(n){var a;return a=new Date(Date.parse(n[e])),isNaN(a)?"":t.replace(/%(.)/g,(function(e,t){switch(t){case"y":return a["get"+o+"FullYear"]();case"m":return C(a["get"+o+"Month"]()+1);case"n":return r[a["get"+o+"Month"]()];case"d":return C(a["get"+o+"Date"]());case"w":return i[a["get"+o+"Day"]()];case"x":return a["get"+o+"Day"]();case"H":return C(a["get"+o+"Hours"]());case"M":return C(a["get"+o+"Minutes"]());case"S":return C(a["get"+o+"Seconds"]());default:return"%"+t}}))}}},p=function(e,t){var n,r,i,o,a,s,l;if(s=/(\d+)|(\D+)/g,a=/\d/,l=/^0/,"number"==typeof e||"number"==typeof t)return isNaN(e)?1:isNaN(t)?-1:e-t;if((n=String(e).toLowerCase())===(i=String(t).toLowerCase()))return 0;if(!a.test(n)||!a.test(i))return n>i?1:-1;for(n=n.match(s),i=i.match(s);n.length&&i.length;)if((r=n.shift())!==(o=i.shift()))return a.test(r)&&a.test(o)?r.replace(l,".0")-o.replace(l,".0"):r>o?1:-1;return n.length-i.length},y=function(e){var t,n,r;for(t in n={},e)r=e[t],n[r]=t;return function(e,t){return null!=n[e]&&null!=n[t]?n[e]-n[t]:null!=n[e]?-1:null!=n[t]?1:p(e,t)}},f=function(t,n){var r;return r=t(n),e.isFunction(r)?r:p},e.pivotUtilities={aggregatorTemplates:r,aggregators:l,renderers:m,derivers:c,locales:d,naturalSort:p,numberFormat:g,sortAs:y},t=function(){function t(e,n){var r;this.getAggregator=a(this.getAggregator,this),this.getRowKeys=a(this.getRowKeys,this),this.getColKeys=a(this.getColKeys,this),this.sortKeys=a(this.sortKeys,this),this.arrSort=a(this.arrSort,this),this.aggregator=n.aggregator,this.aggregatorName=n.aggregatorName,this.colAttrs=n.cols,this.rowAttrs=n.rows,this.valAttrs=n.vals,this.sorters=n.sorters,this.tree={},this.rowKeys=[],this.colKeys=[],this.rowTotals={},this.colTotals={},this.allTotal=this.aggregator(this,[],[]),this.sorted=!1,t.forEachRecord(e,n.derivedAttributes,(r=this,function(e){if(n.filter(e))return r.processRecord(e)}))}return t.forEachRecord=function(t,n,r){var i,o,a,l,u,c,f,d,h,p,g,v;if(i=e.isEmptyObject(n)?r:function(e){var t,i,o;for(t in n)o=n[t],e[t]=null!=(i=o(e))?i:e[t];return r(e)},e.isFunction(t))return t(i);if(e.isArray(t)){if(e.isArray(t[0])){for(a in p=[],t)if(s.call(t,a)&&(o=t[a],a>0)){for(l in d={},h=t[0])s.call(h,l)&&(u=h[l],d[u]=o[l]);p.push(i(d))}return p}for(g=[],c=0,f=t.length;c<f;c++)d=t[c],g.push(i(d));return g}if(t instanceof jQuery)return v=[],e("thead > tr > th",t).each((function(t){return v.push(e(this).text())})),e("tbody > tr",t).each((function(t){return d={},e("td",this).each((function(t){return d[v[t]]=e(this).html()})),i(d)}));throw new Error("unknown input format")},t.convertToArray=function(e){var n;return n=[],t.forEachRecord(e,{},(function(e){return n.push(e)})),n},t.prototype.arrSort=function(e){var t,n;return n=function(){var n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(f(this.sorters,t));return i}.call(this),function(e,t){var r,i;for(i in n)if(0!==(r=(0,n[i])(e[i],t[i])))return r;return 0}},t.prototype.sortKeys=function(){if(!this.sorted)return this.sorted=!0,this.rowKeys.sort(this.arrSort(this.rowAttrs)),this.colKeys.sort(this.arrSort(this.colAttrs))},t.prototype.getColKeys=function(){return this.sortKeys(),this.colKeys},t.prototype.getRowKeys=function(){return this.sortKeys(),this.rowKeys},t.prototype.processRecord=function(e){var t,n,r,i,o,a,s,l,u,c,f,d,h;for(t=[],d=[],i=0,o=(l=this.colAttrs).length;i<o;i++)h=l[i],t.push(null!=(u=e[h])?u:"null");for(s=0,a=(c=this.rowAttrs).length;s<a;s++)h=c[s],d.push(null!=(f=e[h])?f:"null");if(r=d.join(String.fromCharCode(0)),n=t.join(String.fromCharCode(0)),this.allTotal.push(e),0!==d.length&&(this.rowTotals[r]||(this.rowKeys.push(d),this.rowTotals[r]=this.aggregator(this,d,[])),this.rowTotals[r].push(e)),0!==t.length&&(this.colTotals[n]||(this.colKeys.push(t),this.colTotals[n]=this.aggregator(this,[],t)),this.colTotals[n].push(e)),0!==t.length&&0!==d.length)return this.tree[r]||(this.tree[r]={}),this.tree[r][n]||(this.tree[r][n]=this.aggregator(this,d,t)),this.tree[r][n].push(e)},t.prototype.getAggregator=function(e,t){var n,r,i;return i=e.join(String.fromCharCode(0)),r=t.join(String.fromCharCode(0)),null!=(n=0===e.length&&0===t.length?this.allTotal:0===e.length?this.colTotals[r]:0===t.length?this.rowTotals[i]:this.tree[i][r])?n:{value:function(){return null},format:function(){return""}}},t}(),v=function(t,n){var r,i,o,a,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S,_;for(f in u={localeStrings:{totals:"Totals"}},n=e.extend(u,n),o=t.colAttrs,p=t.rowAttrs,v=t.getRowKeys(),l=t.getColKeys(),(h=document.createElement("table")).className="pvtTable",m=function(e,t,n){var r,i,o,a,s,l,u,c;if(0!==t){for(a=!0,c=r=0,s=n;0<=s?r<=s:r>=s;c=0<=s?++r:--r)e[t-1][c]!==e[t][c]&&(a=!1);if(a)return-1}for(i=0;t+i<e.length;){for(u=!1,c=o=0,l=n;0<=l?o<=l:o>=l;c=0<=l?++o:--o)e[t][c]!==e[t+i][c]&&(u=!0);if(u)break;i++}return i},o)if(s.call(o,f)){for(c in i=o[f],x=document.createElement("tr"),0===parseInt(f)&&0!==p.length&&((b=document.createElement("th")).setAttribute("colspan",p.length),b.setAttribute("rowspan",o.length),x.appendChild(b)),(b=document.createElement("th")).className="pvtAxisLabel",b.innerHTML=i,x.appendChild(b),l)s.call(l,c)&&(a=l[c],-1!==(_=m(l,parseInt(c),parseInt(f)))&&((b=document.createElement("th")).className="pvtColLabel",b.innerHTML=a[f],b.setAttribute("colspan",_),parseInt(f)===o.length-1&&0!==p.length&&b.setAttribute("rowspan",2),x.appendChild(b)));0===parseInt(f)&&((b=document.createElement("th")).className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals,b.setAttribute("rowspan",o.length+(0===p.length?0:1)),x.appendChild(b)),h.appendChild(x)}if(0!==p.length){for(c in x=document.createElement("tr"),p)s.call(p,c)&&(d=p[c],(b=document.createElement("th")).className="pvtAxisLabel",b.innerHTML=d,x.appendChild(b));b=document.createElement("th"),0===o.length&&(b.className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals),x.appendChild(b),h.appendChild(x)}for(c in v)if(s.call(v,c)){for(f in g=v[c],x=document.createElement("tr"),g)s.call(g,f)&&(C=g[f],-1!==(_=m(v,parseInt(c),parseInt(f)))&&((b=document.createElement("th")).className="pvtRowLabel",b.innerHTML=C,b.setAttribute("rowspan",_),parseInt(f)===p.length-1&&0!==o.length&&b.setAttribute("colspan",2),x.appendChild(b)));for(f in l)s.call(l,f)&&(a=l[f],S=(r=t.getAggregator(g,a)).value(),(y=document.createElement("td")).className="pvtVal row"+c+" col"+f,y.innerHTML=r.format(S),y.setAttribute("data-value",S),x.appendChild(y));S=(w=t.getAggregator(g,[])).value(),(y=document.createElement("td")).className="pvtTotal rowTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),y.setAttribute("data-for","row"+c),x.appendChild(y),h.appendChild(x)}for(f in x=document.createElement("tr"),(b=document.createElement("th")).className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals,b.setAttribute("colspan",p.length+(0===o.length?0:1)),x.appendChild(b),l)s.call(l,f)&&(a=l[f],S=(w=t.getAggregator([],a)).value(),(y=document.createElement("td")).className="pvtTotal colTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),y.setAttribute("data-for","col"+f),x.appendChild(y));return S=(w=t.getAggregator([],[])).value(),(y=document.createElement("td")).className="pvtGrandTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),x.appendChild(y),h.appendChild(x),h.setAttribute("data-numrows",v.length),h.setAttribute("data-numcols",l.length),h},e.fn.pivot=function(n,i){var o,a,s,l,u;o={cols:[],rows:[],vals:[],filter:function(){return!0},aggregator:r.count()(),aggregatorName:"Count",sorters:function(){},derivedAttributes:{},renderer:v,rendererOptions:null,localeStrings:d.en.localeStrings},i=e.extend(o,i),l=null;try{s=new t(n,i);try{l=i.renderer(s,i.rendererOptions)}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),l=e("<span>").html(i.localeStrings.renderError)}}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),l=e("<span>").html(i.localeStrings.computeError)}for(u=this[0];u.hasChildNodes();)u.removeChild(u.lastChild);return this.append(l)},e.fn.pivotUI=function(n,r,o,a){var l,u,c,h,g,v,m,y,b,w,x,C,S,_,T,k,D,L,A,N,j,M,E,I,O,P,R,F,H,W,z,q,B,U,V,G,X,J,$,Y;null==o&&(o=!1),null==a&&(a="en"),null==d[a]&&(a="en"),v={derivedAttributes:{},aggregators:d[a].aggregators,renderers:d[a].renderers,hiddenAttributes:[],menuLimit:200,cols:[],rows:[],vals:[],exclusions:{},inclusions:{},unusedAttrsVertical:85,autoSortUnusedAttrs:!1,rendererOptions:{localeStrings:d[a].localeStrings},onRefresh:null,filter:function(){return!0},sorters:function(){},localeStrings:d[a].localeStrings},y=this.data("pivotUIOptions"),N=null==y||o?e.extend(v,r):y;try{for(h in n=t.convertToArray(n),B=function(){var e,t;for(C in t=[],e=n[0])s.call(e,C)&&t.push(C);return t}(),E=N.derivedAttributes)s.call(E,h)&&i.call(B,h)<0&&B.push(h);for(c={},S=0,_=B.length;S<_;S++)$=B[S],c[$]={};for($ in t.forEachRecord(n,N.derivedAttributes,(function(e){var t,n,r;for(C in n=[],e)s.call(e,C)&&(r=e[C],N.filter(e)&&(null==r&&(r="null"),null==(t=c[C])[r]&&(t[r]=0),n.push(c[C][r]++)));return n})),G=e("<table>",{class:"pvtUi"}).attr("cellpadding",5),z=e("<td>"),W=e("<select>").addClass("pvtRenderer").appendTo(z).bind("change",(function(){return F()})),I=N.renderers)s.call(I,$)&&e("<option>").val($).html($).appendTo(W);if(g=e("<td>").addClass("pvtAxisContainer pvtUnused"),q=function(){var e,t,n;for(n=[],t=0,e=B.length;t<e;t++)h=B[t],i.call(N.hiddenAttributes,h)<0&&n.push(h);return n}(),J=!1,X="auto"===N.unusedAttrsVertical?120:parseInt(N.unusedAttrsVertical),!isNaN(X)){for(u=0,L=0,T=q.length;L<T;L++)u+=q[L].length;J=u>X}for(w in!0===N.unusedAttrsVertical||J?g.addClass("pvtVertList"):g.addClass("pvtHorizList"),b=function(t){var n,r,o,a,s,l,u,d,h,p,v,m,y,b,x;if(u=function(){var e;for(C in e=[],c[t])e.push(C);return e}(),l=!1,(x=e("<div>").addClass("pvtFilterBox").hide()).append(e("<h4>").text(t+" ("+u.length+")")),u.length>N.menuLimit)x.append(e("<p>").html(N.localeStrings.tooMany));else for((r=e("<p>").appendTo(x)).append(e("<button>",{type:"button"}).html(N.localeStrings.selectAll).bind("click",(function(){return x.find("input:visible").prop("checked",!0)}))),r.append(e("<button>",{type:"button"}).html(N.localeStrings.selectNone).bind("click",(function(){return x.find("input:visible").prop("checked",!1)}))),r.append(e("<br>")),r.append(e("<input>",{type:"text",placeholder:N.localeStrings.filterResults,class:"pvtSearch"}).bind("keyup",(function(){var t;return t=e(this).val().toLowerCase(),x.find(".pvtCheckContainer p").each((function(){return-1!==e(this).text().toLowerCase().indexOf(t)?e(this).show():e(this).hide()}))}))),o=e("<div>").addClass("pvtCheckContainer").appendTo(x),h=0,d=(p=u.sort(f(N.sorters,t))).length;h<d;h++)C=p[h],b=c[t][C],a=e("<label>"),s=!1,N.inclusions[t]?s=i.call(N.inclusions[t],C)<0:N.exclusions[t]&&(s=i.call(N.exclusions[t],C)>=0),l||(l=s),e("<input>").attr("type","checkbox").addClass("pvtFilter").attr("checked",!s).data("filter",[t,C]).appendTo(a),a.append(e("<span>").html(C)),a.append(e("<span>").text(" ("+b+")")),o.append(e("<p>").append(a));return y=function(){return x.find("[type='checkbox']").length-x.find("[type='checkbox']:checked").length>0?n.addClass("pvtFilteredAttribute"):n.removeClass("pvtFilteredAttribute"),u.length>N.menuLimit?x.toggle():x.toggle(0,F)},e("<p>").appendTo(x).append(e("<button>",{type:"button"}).text("OK").bind("click",y)),v=function(t){var n,r,i;return n=(i=e(t.currentTarget).position()).left,r=i.top,x.css({left:n+10,top:r+10}).toggle(),x.find(".pvtSearch").val(""),x.find(".pvtCheckContainer p").show()},m=e("<span>").addClass("pvtTriangle").html(" ▾").bind("click",v),n=e("<li>").addClass("axis_"+w).append(e("<span>").addClass("pvtAttr").text(t).data("attrName",t).append(m)),l&&n.addClass("pvtFilteredAttribute"),g.append(n).append(x),n.bind("dblclick",v)},q)s.call(q,w)&&b(h=q[w]);for($ in U=e("<tr>").appendTo(G),l=e("<select>").addClass("pvtAggregator").bind("change",(function(){return F()})),O=N.aggregators)s.call(O,$)&&l.append(e("<option>").val($).html($));for(e("<td>").addClass("pvtVals").appendTo(U).append(l).append(e("<br>")),e("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols").appendTo(U),(V=e("<tr>").appendTo(G)).append(e("<td>").addClass("pvtAxisContainer pvtRows").attr("valign","top")),j=e("<td>").attr("valign","top").addClass("pvtRendererArea").appendTo(V),!0===N.unusedAttrsVertical||J?(G.find("tr:nth-child(1)").prepend(z),G.find("tr:nth-child(2)").prepend(g)):G.prepend(e("<tr>").append(z).append(g)),this.html(G),P=N.cols,A=0,k=P.length;A<k;A++)$=P[A],this.find(".pvtCols").append(this.find(".axis_"+e.inArray($,q)));for(R=N.rows,M=0,D=R.length;M<D;M++)$=R[M],this.find(".pvtRows").append(this.find(".axis_"+e.inArray($,q)));null!=N.aggregatorName&&this.find(".pvtAggregator").val(N.aggregatorName),null!=N.rendererName&&this.find(".pvtRenderer").val(N.rendererName),x=!0,Y=this,H=function(){var t,r,o,a,s,u,c,f,d,h,g,v,m,y,b;if(v={derivedAttributes:N.derivedAttributes,localeStrings:N.localeStrings,rendererOptions:N.rendererOptions,sorters:N.sorters,cols:[],rows:[]},u=null!=(d=N.aggregators[l.val()]([])().numInputs)?d:0,b=[],Y.find(".pvtRows li span.pvtAttr").each((function(){return v.rows.push(e(this).data("attrName"))})),Y.find(".pvtCols li span.pvtAttr").each((function(){return v.cols.push(e(this).data("attrName"))})),Y.find(".pvtVals select.pvtAttrDropdown").each((function(){return 0===u?e(this).remove():(u--,""!==e(this).val()?b.push(e(this).val()):void 0)})),0!==u)for(f=Y.find(".pvtVals"),$=g=0,h=u;0<=h?g<h:g>h;$=0<=h?++g:--g){for(s=e("<select>").addClass("pvtAttrDropdown").append(e("<option>")).bind("change",(function(){return F()})),m=0,a=q.length;m<a;m++)t=q[m],s.append(e("<option>").val(t).text(t));f.append(s)}if(x&&(b=N.vals,w=0,Y.find(".pvtVals select.pvtAttrDropdown").each((function(){return e(this).val(b[w]),w++})),x=!1),v.aggregatorName=l.val(),v.vals=b,v.aggregator=N.aggregators[l.val()](b),v.renderer=N.renderers[W.val()],r={},Y.find("input.pvtFilter").not(":checked").each((function(){var t;return t=e(this).data("filter"),null!=r[t[0]]?r[t[0]].push(t[1]):r[t[0]]=[t[1]]})),o={},Y.find("input.pvtFilter:checked").each((function(){var t;if(t=e(this).data("filter"),null!=r[t[0]])return null!=o[t[0]]?o[t[0]].push(t[1]):o[t[0]]=[t[1]]})),v.filter=function(e){var t,n;if(!N.filter(e))return!1;for(C in r)if(t=r[C],n=""+e[C],i.call(t,n)>=0)return!1;return!0},j.pivot(n,v),c=e.extend(N,{cols:v.cols,rows:v.rows,vals:b,exclusions:r,inclusions:o,inclusionsInfo:o,aggregatorName:l.val(),rendererName:W.val()}),Y.data("pivotUIOptions",c),N.autoSortUnusedAttrs&&(y=Y.find("td.pvtUnused.pvtAxisContainer"),e(y).children("li").sort((function(t,n){return p(e(t).text(),e(n).text())})).appendTo(y)),j.css("opacity",1),null!=N.onRefresh)return N.onRefresh(c)},(F=function(){return j.css("opacity",.5),setTimeout(H,10)})(),this.find(".pvtAxisContainer").sortable({update:function(e,t){if(null==t.sender)return F()},connectWith:this.find(".pvtAxisContainer"),items:"li",placeholder:"pvtPlaceholder"})}catch(e){m=e,"undefined"!=typeof console&&null!==console&&console.error(m.stack),this.html(N.localeStrings.uiRenderError)}return this},e.fn.heatmap=function(t){var n,r,i,o,a,s,l,u,c,f,d;switch(null==t&&(t="heatmap"),u=this.data("numrows"),l=this.data("numcols"),n=function(e,t,n){var r;return r=function(){switch(e){case"red":return function(e){return"ff"+e+e};case"green":return function(e){return e+"ff"+e};case"blue":return function(e){return""+e+e+"ff"}}}(),function(e){var i;return 1===(i=(255-Math.round(255*(e-t)/(n-t))).toString(16).split(".")[0]).length&&(i=0+i),r(i)}},d=this,r=function(t,r){var i,o,a;return a=[],(o=function(n){return d.find(t).each((function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))}))})((function(e){return a.push(e)})),i=n(r,Math.min.apply(Math,a),Math.max.apply(Math,a)),o((function(e,t){return t.css("background-color","#"+i(e))}))},t){case"heatmap":r(".pvtVal","red");break;case"rowheatmap":for(i=a=0,c=u;0<=c?a<c:a>c;i=0<=c?++a:--a)r(".pvtVal.row"+i,"red");break;case"colheatmap":for(o=s=0,f=l;0<=f?s<f:s>f;o=0<=f?++s:--s)r(".pvtVal.col"+o,"red")}return r(".pvtTotal.rowTotal","red"),r(".pvtTotal.colTotal","red"),this},e.fn.barchart=function(){var t,n,r,i,o,a;for(i=this.data("numrows"),this.data("numcols"),a=this,t=function(t){var n,r,i,o;return o=[],(n=function(n){return a.find(t).each((function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))}))})((function(e){return o.push(e)})),r=Math.max.apply(Math,o),i=function(e){return 100*e/(1.4*r)},n((function(t,n){var r,o;return r=n.text(),(o=e("<div>").css({position:"relative",height:"55px"})).append(e("<div>").css({position:"absolute",bottom:0,left:0,right:0,height:i(t)+"%","background-color":"gray"})),o.append(e("<div>").text(r).css({position:"relative","padding-left":"5px","padding-right":"5px"})),n.css({padding:0,"padding-top":"5px","text-align":"center"}).html(o)}))},n=r=0,o=i;0<=o?r<o:r>o;n=0<=o?++r:--r)t(".pvtVal.row"+n);return t(".pvtTotal.colTotal"),this}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],23:[function(e,t,n){var r=e("../src/store-engine"),i=e("../storages/all"),o=[e("../plugins/json2")];t.exports=r.createStore(i,o)},{"../plugins/json2":24,"../src/store-engine":26,"../storages/all":28}],24:[function(e,t,n){t.exports=function(){return e("./lib/json2"),{}}},{"./lib/json2":25}],25:[function(require,module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;n<o;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],l))&&a.push(quote(r)+(gap?": ":":")+i);else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l))&&a.push(quote(r)+(gap?": ":":")+i);return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(void 0!==(r=walk(i,n))?i[n]=r:delete i[n]);return reviver.call(e,t,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},{}],26:[function(e,t,n){var r=e("./util"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,l=r.create,u=r.isList,c=r.isFunction,f=r.isObject;t.exports={createStore:h};var d={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return h.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return h(this.storage,this.plugins,e)}};function h(e,t,n){n||(n=""),e&&!u(e)&&(e=[e]),t&&!u(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",h=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=l({_namespacePrefix:r,_namespaceRegexp:h,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var s=[o].concat(t);return e.apply(r,s)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(u(e))a(e,(function(e){t._addPlugin(e)}));else if(!o(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!c(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!c(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},d,{plugins:[]});return p.raw={},a(p,(function(e,t){c(e)&&(p.raw[t]=s(p,e))})),a(e,(function(e){p._addStorage(e)})),a(t,(function(e){p._addPlugin(e)})),p}},{"./util":27}],27:[function(e,t,n){(function(e){var n=Object.assign?Object.assign:function(e,t,n,r){for(var i=1;i<arguments.length;i++)s(Object(arguments[i]),(function(t,n){e[n]=t}));return e},r=function(){if(Object.create)return function(e,t,r,i){var o=a(arguments,1);return n.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,r,i,o){var s=a(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(s))}}}(),i=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o="undefined"!=typeof window?window:e;function a(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){l(e,(function(e,n){return t(e,n),!1}))}function l(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}t.exports={assign:n,create:r,trim:i,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:s,map:function(e,t){var n=u(e)?[]:{};return l(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:l,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(e,t,n){t.exports=[e("./localStorage"),e("./oldFF-globalStorage"),e("./oldIE-userDataStorage"),e("./cookieStorage"),e("./sessionStorage"),e("./memoryStorage")]},{"./cookieStorage":29,"./localStorage":30,"./memoryStorage":31,"./oldFF-globalStorage":32,"./oldIE-userDataStorage":33,"./sessionStorage":34}],29:[function(e,t,n){var r=e("../src/util"),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(e){if(!e||!u(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:s,remove:l,clearAll:function(){s((function(e,t){l(t)}))}};var a=i.document;function s(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var r=t[n].split("="),i=unescape(r[0]);e(unescape(r[1]),i)}}function l(e){e&&u(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},{"../src/util":27}],30:[function(e,t,n){var r=e("../src/util").Global;function i(){return r.localStorage}function o(e){return i().getItem(e)}t.exports={name:"localStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{"../src/util":27}],31:[function(e,t,n){t.exports={name:"memoryStorage",read:function(e){return r[e]},write:function(e,t){r[e]=t},each:function(e){for(var t in r)r.hasOwnProperty(t)&&e(r[t],t)},remove:function(e){delete r[e]},clearAll:function(e){r={}}};var r={}},{}],32:[function(e,t,n){var r=e("../src/util").Global;t.exports={name:"oldFF-globalStorage",read:function(e){return i[e]},write:function(e,t){i[e]=t},each:o,remove:function(e){return i.removeItem(e)},clearAll:function(){o((function(e,t){delete i[e]}))}};var i=r.globalStorage;function o(e){for(var t=i.length-1;t>=0;t--){var n=i.key(t);e(i[n],n)}}},{"../src/util":27}],33:[function(e,t,n){var r=e("../src/util").Global;t.exports={name:"oldIE-userDataStorage",write:function(e,t){if(!s){var n=u(e);a((function(e){e.setAttribute(n,t),e.save(i)}))}},read:function(e){if(!s){var t=u(e),n=null;return a((function(e){n=e.getAttribute(t)})),n}},each:function(e){a((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];e(t.getAttribute(i.name),i.name)}}))},remove:function(e){var t=u(e);a((function(e){e.removeAttribute(t),e.save(i)}))},clearAll:function(){a((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(i);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(i)}))}};var i="storejs",o=r.document,a=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(t){n=o.createElement("div"),e=o.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(i),t.apply(this,r),e.removeChild(n)}}(),s=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./),l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function u(e){return e.replace(/^\d/,"___$&").replace(l,"___")}},{"../src/util":27}],34:[function(e,t,n){var r=e("../src/util").Global;function i(){return r.sessionStorage}function o(e){return i().getItem(e)}t.exports={name:"sessionStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{"../src/util":27}],35:[function(e,t,n){t.exports={_args:[[{raw:"yasgui-utils@^1.4.1",scope:null,escapedName:"yasgui-utils",name:"yasgui-utils",rawSpec:"^1.4.1",spec:">=1.4.1 <2.0.0",type:"range"},"/home/sava/IntellijProjects/YASR-Ontotext"]],_from:"yasgui-utils@>=1.4.1 <2.0.0",_id:"yasgui-utils@1.6.7",_inCache:!0,_location:"/yasgui-utils",_nodeVersion:"7.10.0",_npmOperationalInternal:{host:"s3://npm-registry-packages",tmp:"tmp/yasgui-utils-1.6.7.tgz_1495459781202_0.06725964159704745"},_npmUser:{name:"laurens.rietveld",email:"laurens.rietveld@gmail.com"},_npmVersion:"4.2.0",_phantomChildren:{},_requested:{raw:"yasgui-utils@^1.4.1",scope:null,escapedName:"yasgui-utils",name:"yasgui-utils",rawSpec:"^1.4.1",spec:">=1.4.1 <2.0.0",type:"range"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/yasgui-utils/-/yasgui-utils-1.6.7.tgz",_shasum:"2bcfc5a315688de3ae6057883d9ae342b205f267",_shrinkwrap:null,_spec:"yasgui-utils@^1.4.1",_where:"/home/sava/IntellijProjects/YASR-Ontotext",author:{name:"Laurens Rietveld"},bugs:{url:"https://github.com/YASGUI/Utils/issues"},dependencies:{store:"^2.0.4"},description:"Utils for YASGUI libs",devDependencies:{},directories:{},dist:{shasum:"2bcfc5a315688de3ae6057883d9ae342b205f267",tarball:"https://registry.npmjs.org/yasgui-utils/-/yasgui-utils-1.6.7.tgz"},gitHead:"6031b1cb732d390b29cd5376dceb9a9d665bbd11",homepage:"https://github.com/YASGUI/Utils",licenses:[{type:"MIT",url:"http://yasgui.github.io/license.txt"}],main:"src/main.js",maintainers:[{name:"laurens.rietveld",email:"laurens.rietveld@gmail.com"}],name:"yasgui-utils",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git://github.com/YASGUI/Utils.git"},scripts:{},version:"1.6.7"}},{}],36:[function(e,t,n){window.console=window.console||{log:function(){}},t.exports={storage:e("./storage.js"),svg:e("./svg.js"),version:{"yasgui-utils":e("../package.json").version},nestedExists:function(e){for(var t=Array.prototype.slice.call(arguments,1),n=0;n<t.length;n++){if(!e||!e.hasOwnProperty(t[n]))return!1;e=e[t[n]]}return!0}}},{"../package.json":35,"./storage.js":37,"./svg.js":38}],37:[function(e,t,n){var r=e("store"),i={day:function(){return 864e5},month:function(){i.day()},year:function(){i.month()}},o=t.exports={set:function(e,t,n,o){if(r.enabled&&e&&void 0!==t){"string"==typeof n&&(n=i[n]()),t.documentElement&&(t=(new XMLSerializer).serializeToString(t.documentElement));try{r.set(e,{val:t,exp:n,time:(new Date).getTime()})}catch(e){if(e.quotaExceeded=function(e){var t=!1;if(e)if(e.code)switch(e.code){case 22:t=!0;break;case 1014:"NS_ERROR_DOM_QUOTA_REACHED"===e.name&&(t=!0)}else-2147024882===e.number&&(t=!0);return t}(e),!e.quotaExceeded||!o)throw e;o(e)}}},remove:function(e){r.enabled&&e&&r.remove(e)},removeAll:function(e){r.enabled&&(e?"function"==typeof e&&r.each((function(t,n){e(n,t)&&o.remove(n)})):r.clearAll())},get:function(e){if(!r.enabled)return null;if(e){var t=r.get(e);return t?t.exp&&(new Date).getTime()-t.time>t.exp?null:t.val:null}return null}}},{store:23}],38:[function(e,t,n){t.exports={draw:function(e,n){if(e){var r=t.exports.getElement(n);r&&(e.append?e.append(r):e.appendChild(r))}},getElement:function(e){if(e&&0==e.indexOf("<svg")){var t=(new DOMParser).parseFromString(e,"text/xml").documentElement,n=document.createElement("div");return n.className="svgImg",n.appendChild(t),n}return!1}}},{}],39:[function(e,t,n){t.exports={name:"yasgui-yasr",description:"Yet Another SPARQL Resultset GUI",version:"2.4.12",main:"src/main.js",scripts:{dev:"gulp serve",build:"gulp"},licenses:[{type:"MIT",url:"http://yasr.yasgui.org/license.txt"}],author:"Laurens Rietveld",homepage:"http://yasr.yasgui.org",devDependencies:{browserify:"^6.1.0",gulp:"~3.9.0","gulp-bump":"^0.1.11","gulp-concat":"^2.4.1","gulp-connect":"^2.0.5","gulp-embedlr":"^0.5.2","gulp-filter":"^1.0.2","gulp-git":"^0.5.2","gulp-jsvalidate":"^0.2.0","gulp-livereload":"^1.3.1","gulp-minify-css":"0.3.11","gulp-notify":"^2.0.1","gulp-rename":"^1.2.0","gulp-streamify":"0.0.5","gulp-tag-version":"^1.1.0","gulp-uglify":"~0.2.1","require-dir":"^0.1.0","run-sequence":"^1.0.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"~0.1.1",watchify:"^0.6.4","gulp-sourcemaps":"^1.2.8",exorcist:"^0.1.6","vinyl-transform":"0.0.1","gulp-sass":"^2.2.0","bootstrap-sass":"~3.3.1","browserify-transform-tools":"^1.2.1","gulp-cssimport":"^1.3.1","gulp-html-replace":"^1.4.1","browserify-shim":"^3.8.1"},bugs:"https://github.com/YASGUI/YASR/issues/",keywords:["JavaScript","SPARQL","Editor","Semantic Web","Linked Data"],maintainers:[{name:"Laurens Rietveld",email:"laurens.rietveld@gmail.com",web:"http://laurensrietveld.nl"}],repository:{type:"git",url:"https://github.com/YASGUI/YASR.git"},dependencies:{jquery:"1.11.0",codemirror:"^4.7.0","yasgui-utils":"^1.4.1",pivottable:"^1.2.2","jquery-ui":"1.10.5",cytoscape:"^2.3.11",lodash:"^3.6.0"},"browserify-shim":{google:"global:google"},browserify:{transform:["browserify-shim"]},optionalShim:{codemirror:{require:"codemirror",global:"CodeMirror"},jquery:{require:"jquery",global:"jQuery"},"../../lib/codemirror":{require:"codemirror",global:"CodeMirror"},"../lib/DataTables/media/js/jquery.dataTables.js":{require:"datatables",global:"jQuery"},datatables:{require:"datatables",global:"jQuery"},"jquery-ui/sortable":{require:"jquery-ui/sortable",global:"jQuery"},pivottable:{require:"pivottable",global:"jQuery"}}}},{}],40:[function(e,t,n){"use strict";t.exports=function(e){var t=e.head.vars,n=e.results.bindings,r=function(e){for(var n=0;n<t.length;n++){var r=t[n];e.hasOwnProperty(r)?i(e[r].value):i("")}},i=function(e){e.replace('"','""'),o(e)&&(e='"'+e+'"'),a+=" "+e+" ,"},o=function(e){var t=!1;return e.match('[\\w|,|"]')&&(t=!0),t},a="";return function(){for(var e=0;e<t.length;e++)i(t[e]);a+="\n"}(),function(){for(var e=0;e<n.length;e++)r(n[e]),a+="\n"}(),a}},{}],41:[function(e,t,n){"use strict";var r=e("jquery");(t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='booleanResult'></div>");return{name:null,draw:function(){n.empty().appendTo(t.resultsContainer);var i=t.results.getBoolean(),o=null,a=null;!0===i?(o="check",a=t.translate("yasr.boolean.true")):!1===i?(o="cross",a=t.translate("yasr.boolean.false")):(n.width("140"),a=t.translate("yasr.boolean.no_boolean")),o&&e("yasgui-utils").svg.draw(n,e("./imgs.js")[o]),r("<span></span>").text(a).appendTo(n)},hideFromSelection:!0,getPriority:1,canHandleResults:function(){return t.results.getBoolean&&(!0===t.results.getBoolean()||0==t.results.getBoolean())}}}).version={"YASR-boolean":e("../package.json").version,jquery:r.fn.jquery}},{"../package.json":39,"./imgs.js":51,"./translate.js":65,jquery:18,"yasgui-utils":36}],42:[function(e,t,n){"use strict";var r=e("jquery");(t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='booleanBootResult'></div>");return{name:null,draw:function(){n.empty().appendTo(t.resultsContainer);var e=t.results.getBoolean(),i=null;!0===e?i=r("<div class='boolRes alert alert-success no-icon'><span class='boolResTex'>"+t.translate("yasr.boolean.alert.yes")+"</span></div>"):!1===e?i=r("<div class='boolRes alert alert-danger no-icon'><span class='boolResTex'>"+t.translate("yasr.boolean.alert.no")+"</span></div>"):(n.width("140"),textVal=t.translate("yasr.boolean.no_boolean")),i.appendTo(n)},hideFromSelection:!0,getPriority:3,canHandleResults:function(){return t.results.getBoolean&&(!0===t.results.getBoolean()||0==t.results.getBoolean())}}}).version={"YASR-boolean":e("../package.json").version,jquery:r.fn.jquery}},{"../package.json":39,"./translate.js":65,jquery:18}],43:[function(e,t,n){"use strict";var r=e("jquery");t.exports={output:"table",useGoogleCharts:!0,outputPlugins:["table","error","boolean","rawResponse"],drawOutputSelector:!0,drawDownloadIcon:!0,getUsedPrefixes:null,persistency:{prefix:function(e){return"yasr_"+r(e.container).closest("[id]").attr("id")+"_"},outputSelector:function(e){return"selector"},results:{id:function(e){return"results_"+r(e.container).closest("[id]").attr("id")},key:"results",maxSize:1e5}}}},{jquery:18}],44:[function(e,t,n){"use strict";var r=e("jquery"),i=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='errorResult'></div>"),o=r.extend(!0,{},i.defaults),a=function(){var e=null;if(o.tryQueryLink){var n=o.tryQueryLink();e=r("<button>",{class:"yasr_btn yasr_tryQuery"}).text(t.translate("yasr.error.new_window")).click((function(){window.open(n,"_blank"),r(this).blur()}))}return e};return{name:null,draw:function(){var e=t.results.getException();n.empty().appendTo(t.resultsContainer);var i=r("<div>",{class:"errorHeader"}).appendTo(n);if(0!==e.status){var s="Error";e.statusText&&e.statusText.length<100&&(s=e.statusText),s+=" (#"+e.status+")",i.append(r("<span>",{class:"exception"}).text(s)).append(a());var l=null;e.responseText?l=e.responseText:"string"==typeof e&&(l=e),l&&n.append(r("<pre>").text(l))}else i.append(a()),n.append(r("<div>",{class:"corsMessage"}).append(o.corsMessage))},getPriority:20,hideFromSelection:!0,canHandleResults:function(e){return e.results.getException()||!1}}};i.defaults={corsMessage:yasr.translate("yasr.error.no_response"),tryQueryLink:null}},{"./translate.js":65,jquery:18}],45:[function(e,t,n){t.exports={GoogleTypeException:function(t,n){let r=e("./translate.js")("");this.foundTypes=t,this.varName=n,this.toString=function(){return r("yasr.exceptions.conflict",{key:"varName",value:this.varName})},this.toHtml=function(){return r("yasr.exceptions.conflict_render",{key:"varName",value:"<i>"+this.varName+"</i>"})}}}},{"./translate.js":65}],46:[function(e,t,n){"use strict";let r=e("./translate.js")()("yasr.download.as.label");t.exports={selectSaveAsDropDown:'<div class="saveAsDropDown btn-group pull-right"><button id="saveAsBtn" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" type="button">'+r+' </button><ul class="dropdown-menu" role="menu"><li><a class="format dropdown-item" data-accepts="application/sparql-results+json" href="#">JSON</a></li><li><a class="format dropdown-item" data-accepts="application/x-sparqlstar-results+json" href="#">JSON*</a></li><li><a class="format dropdown-item" data-accepts="application/sparql-results+xml" href="#">XML</a></li><li><a class="format dropdown-item" data-accepts="application/x-sparqlstar-results+xml" href="#">XML*</a></li><li><a class="format dropdown-item" data-accepts="text/csv" href="#">CSV</a></li><li><a class="format dropdown-item " data-accepts="text/tab-separated-values" href="#">TSV</a></li><li><a class="format dropdown-item " data-accepts="text/x-tab-separated-values-star" href="#">TSV*</a></li><li><a class="format dropdown-item" data-accepts="application/x-binary-rdf-results-table" href="#">Binary RDF Results</a></li></ul></div>',graphSaveAsDropDown:'<div class="saveAsDropDown btn-group pull-right"><button id="saveAsBtn" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" type="button">'+r+' </button><ul class="dropdown-menu" role="menu"><li><a class="format dropdown-item" data-accepts="application/rdf+json" href="#">JSON</a></li><li><a class="format dropdown-item" data-accepts="application/ld+json" href="#">JSON-LD</a></li><li><a class="format dropdown-item" data-accepts="application/rdf+xml" href="#">RDF-XML</a></li><li><a class="format dropdown-item" data-accepts="text/rdf+n3" href="#">N3</a></li><li><a class="format dropdown-item" data-accepts="text/plain" href="#">N-Triples</a></li><li><a class="format dropdown-item" data-accepts="text/x-nquads" href="#">N-Quads</a></li><li><a class="format dropdown-item" data-accepts="text/turtle" href="#">Turtle</a></li><li><a class="format dropdown-item" data-accepts="application/x-turtlestar" href="#">Turtle*</a></li><li><a class="format dropdown-item" data-accepts="application/trix" href="#">TriX</a></li><li><a class="format dropdown-item" data-accepts="application/x-trig" href="#">TriG</a></li><li><a class="format dropdown-item" data-accepts="application/x-trigstar" href="#">TriG*</a></li><li><a class="format dropdown-item" data-accepts="application/x-binary-rdf" href="#">Binary RDF</a></li></ul></div>'}},{"./translate.js":65}],47:[function(e,t,n){(function(n){var r=e("events").EventEmitter,i=(e("jquery"),!1),o=!1,a=function(){let t=e("./translate.js")("");r.call(this);var a=this;this.init=function(){if(o||("undefined"!=typeof window?window.google:void 0!==n&&n.google)||i)("undefined"!=typeof window?window.google:void 0!==n&&n.google)?a.emit("initDone"):o&&a.emit("initError");else{i=!0,s("https://google.com/jsapi",(function(){i=!1,a.emit("initDone")}));var e=+new Date,t=function(){("undefined"!=typeof window?window.google:void 0!==n&&n.google)||(+new Date-e>6e3?(o=!0,i=!1,a.emit("initError")):setTimeout(t,100))};t()}},this.googleLoad=function(){var e=function(){("undefined"!=typeof window?window.google:void 0!==n?n.google:null).load("visualization","1",{packages:["corechart","charteditor"],callback:function(){a.emit("done")}})};i?(a.once("initDone",e),a.once("initError",(function(){a.emit("error",t("yasr.gchartLoader.unable_to_load"))}))):("undefined"!=typeof window?window.google:void 0!==n&&n.google)?e():o?a.emit("error",t("yasr.gchartLoader.unable_to_load")):(a.once("initDone",e),a.once("initError",(function(){a.emit("error",t("yasr.gchartLoader.unable_to_load"))})))}},s=function(e,t){var n=document.createElement("script");n.type="text/javascript",n.readyState?n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()},n.src=e,document.body.appendChild(n)};a.prototype=new r,t.exports=new a}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./translate.js":65,events:13,jquery:18}],48:[function(e,t,n){(function(n){"use strict";var r=e("jquery"),i=e("./utils.js"),o=e("yasgui-utils"),a=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var s=r.extend(!0,{},a.defaults),l=t.container.closest("[id]").attr("id");null==t.options.gchart&&(t.options.gchart={});var u=t.getPersistencyId("motionchart"),c=t.getPersistencyId("chartConfig");null==t.options.gchart.motionChartState&&(t.options.gchart.motionChartState=o.storage.get(u)),null==t.options.gchart.chartConfig&&(t.options.gchart.chartConfig=o.storage.get(c));var f=null,d=function(e){var r="undefined"!=typeof window?window.google:void 0!==n?n.google:null;f=new r.visualization.ChartEditor,r.visualization.events.addListener(f,"ok",(function(){var e,n,i,a,l,d,h,p;e=f.getChartWrapper(),i=e.getChartType,a="===",l={}.toString,d={}.hasOwnProperty,h=function(e,t){return d.call(e,t)},p=!0,function e(t,n,r){var i,o,s,u,c,f,d,g;if(null==t||null==n)return t===n;if(t.__placeholder__||n.__placeholder__)return!0;if(t===n)return 0!==t||1/t==1/n;if(i=l.call(t),l.call(n)!=i)return!1;switch(i){case"[object String]":return t==String(n);case"[object Number]":return t!=+t?n!=+n:0==t?1/t==1/n:t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object RegExp]":return t.source==n.source&&t.global==n.global&&t.multiline==n.multiline&&t.ignoreCase==n.ignoreCase}if("object"!=typeof t||"object"!=typeof n)return!1;for(o=r.length;o--;)if(r[o]==t)return!0;if(r.push(t),s=0,u=!0,"[object Array]"==i){if(c=t.length,f=n.length,p){switch(a){case"===":u=c===f;break;case"<==":u=c<=f;break;case"<<=":u=c<f}s=c,p=!1}else u=c===f,s=c;if(u)for(;s--&&(u=s in t==s in n&&e(t[s],n[s],r)););}else{if("constructor"in t!="constructor"in n||t.constructor!=n.constructor)return!1;for(d in t)if(h(t,d)&&(s++,!(u=h(n,d)&&e(t[d],n[d],r))))break;if(u){for(d in g=0,n)h(n,d)&&++g;p?u="<<="===a?s<g:"<=="===a?s<=g:s===g:(p=!1,u=s===g)}}return r.pop(),u}(i,"MotionChart",[])||(t.options.gchart.motionChartState=e.n,o.storage.set(u,t.options.gchart.motionChartState),e.setOption("state",t.options.gchart.motionChartState),r.visualization.events.addListener(e,"ready",(function(){var n;n=e.getChart(),r.visualization.events.addListener(n,"statechange",(function(){t.options.gchart.motionChartState=n.getState(),o.storage.set(u,t.options.gchart.motionChartState)}))}))),n=e.getDataTable(),e.setDataTable(null),t.options.gchart.chartConfig=e.toJSON(),o.storage.set(c,t.options.gchart.chartConfig),e.setDataTable(n),e.setOption("width",s.width),e.setOption("height",s.height),e.draw(),t.updateHeader()})),e&&e()};return{name:"Google Chart",nameLabel:"yasr.gchart.chart_name",hideFromSelection:!1,priority:7,canHandleResults:function(e){var t,n;return null!=(t=e.results)&&(n=t.getVariables())&&n.length>0},getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg");if(e.length>0)return{getContent:function(){return e[0].outerHTML?e[0].outerHTML:r("<div>").append(e.clone()).html()},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:t.translate("yasr.btn.title.svg")};var n=t.resultsContainer.find(".google-visualization-table-table");return n.length>0?{getContent:function(){return n.tableToCsv()},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:void 0},getEmbedHtml:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg").clone().css("height","").css("width","");if(0==e.length)return null;var n=e[0].outerHTML;return n||(n=r("<div>").append(e.clone()).html()),'<div style="width: 800px; height: 600px;">\n'+n+"\n</div>"},draw:function(){var c=function(){if(t.resultsContainer=r(".yasr_results"),t.resultsContainer.empty(),t.options.output==a.defaults.persistencyId){var n=l+"_gchartWrapper",c=null;t.resultsContainer.append(r("<button>",{class:"openGchartBtn yasr_btn"}).text(t.translate("yasr.chart.config")).click((function(){f.openDialog(c)}))).append(r("<div>",{id:n,class:"gchartWrapper"}));var d=new google.visualization.DataTable,h=t.results.getAsJson();h.head.vars.forEach((function(n){var r="string";try{r=i.getGoogleTypeForBindings(h.results.bindings,n)}catch(n){if(!(n instanceof e("./exceptions.js").GoogleTypeException))throw n;t.warn(n.toHtml())}d.addColumn(r,n)}));var p=null;t.options.getUsedPrefixes&&(p="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),h.results.bindings.forEach((function(e){var t=[];h.head.vars.forEach((function(n,r){t.push(i.castGoogleType(e[n],p,d.getColumnType(r)))})),d.addRow(t)})),t.options.gchart.chartConfig?("MotionChart"===(c=new google.visualization.ChartWrapper(t.options.gchart.chartConfig)).getChartType()&&null!=t.options.gchart.motionChartState&&(c.setOption("state",t.options.gchart.motionChartState),google.visualization.events.addListener(c,"ready",(function(){var e;e=c.getChart(),google.visualization.events.addListener(e,"statechange",(function(){t.options.gchart.motionChartState=e.getState(),o.storage.set(u,t.options.gchart.motionChartState)}))}))),c.setDataTable(d)):c=new google.visualization.ChartWrapper({chartType:"Table",dataTable:d,containerId:n}),c.setOption("width",s.width),c.setOption("height",s.height),c.draw(),t.updateHeader()}};("undefined"!=typeof window?window.google:void 0!==n&&n.google)&&("undefined"!=typeof window?window.google:void 0!==n?n.google:null).visualization&&f?c():e("./gChartLoader.js").on("done",(function(){d(),c()})).on("error",(function(){console.log("errorrr")})).googleLoad()}}};a.defaults={height:"600px",width:"100%",persistencyId:"gchart"}}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./exceptions.js":45,"./gChartLoader.js":47,"./translate.js":65,"./utils.js":66,jquery:18,"yasgui-utils":36}],49:[function(e,t,n){t.exports={"yasr.table.filter":"Filter query results","yasr.table":"Table","yasr.graph.beta":"Graph(beta)","yasr.pivot.pivot_table":"Pivot Table","yasr.name.raw_response":"Raw Response","yasr.headers.columns":"Columns","yasr.headers.rows":"Rows","yasr.headers.variables":"Available Variables","yasr.headers.cells":"Cells","yasr.gchartLoader.unable_to_load":"Could not load google loader","yasr.gchart.chart_name":"Google Chart","yasr.exceptions.conflict":'Conflicting data types found for variable {{varName}}. Assuming all values of this variable are "string". To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype',"yasr.exceptions.conflict_render":'Conflicting data types found for variable {{varName}}. Assuming all values of this variable are "string". As a result, several Google Charts will not render values of this particular variable. To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype',"yasr.error.no_response":"Unable to get response from endpoint","yasr.error.new_window":"Try query in new browser window","yasr.boolean.alert.yes":"YES","yasr.boolean.alert.no":"NO","yasr.boolean.true":"True","yasr.boolean.false":"False","yasr.boolean.no_boolean":"Could not find boolean value in response","yasr.http.403":"You don't have permission to execute this query. Ask your admin for support.","yasr.btn.title.unsupported_download":"Download not supported for this result representation","yasr.btn.title.embed":"Save","yasr.btn.label.save":"Get HTML snippet to embed results on a web page","yasr.download.as.label":"Download as","yasr.btn.title.svg":"Download SVG Image","yasr.btn.title.csv":"Download as CSV","yasr.btn.title.raw":"Download raw response","yasr.copy.to.clipboard":"Copy to Clipboard","yasr.chart.config":"Chart Config","yasr.empty.table":"No data available in table","yasr.loading.label":"Loading..."}},{}],50:[function(e,t,n){t.exports={"yasr.table.filter":"Filtrer les résultats des requêtes","yasr.table":"Tableau","yasr.graph.beta":"Graphe(beta)","yasr.pivot.pivot_table":"Table de pivotement","yasr.name.raw_response":"Réponse brute","yasr.headers.columns":"Colonnes","yasr.headers.rows":"Lignes","yasr.headers.variables":"Variables disponibles","yasr.headers.cells":"Cellules","yasr.gchartLoader.unable_to_load":"Impossible de charger le loader de google","yasr.gchart.chart_name":"Graphique Google","yasr.exceptions.conflict":'Des types de données contradictoires ont été trouvés pour la variable {{varName}}. On suppose que toutes les valeurs de cette variable sont "string". Pour éviter ce problème, convertissez les valeurs de votre requête SPARQL dans le type de données xsd prévu.',"yasr.exceptions.conflict_render":'Des types de données contradictoires ont été trouvés pour la variable {{varName}}. On suppose que toutes les valeurs de cette variable sont "string". Par conséquent, plusieurs graphiques Google ne rendent pas les valeurs de cette variable particulière. Pour éviter ce problème, convertissez les valeurs de votre requête SPARQL dans le type de données xsd prévu.',"yasr.error.no_response":"Impossible d'obtenir une réponse du point de terminaison","yasr.error.new_window":"Essayez la requête dans une nouvelle fenêtre du navigateur","yasr.boolean.alert.yes":"OUI","yasr.boolean.alert.no":"NON","yasr.boolean.true":"Vrai","yasr.boolean.false":"Faux","yasr.boolean.no_boolean":"Impossible de trouver une valeur booléenne en réponse","yasr.http.403":"Vous n'avez pas la permission d'exécuter cette requête. Demandez de l'aide à votre administrateur.","yasr.btn.title.unsupported_download":"Le téléchargement n'est pas pris en charge pour cette représentation de résultat","yasr.btn.title.embed":"Sauvegarder","yasr.btn.label.save":"Obtenir un extrait HTML pour intégrer les résultats dans une page web","yasr.download.as.label":"Téléchargement","yasr.btn.title.svg":"Télécharger l'image SVG","yasr.btn.title.csv":"Télécharger comme CSV","yasr.btn.title.raw":"Télécharger la réponse brute","yasr.copy.to.clipboard":"Copier dans le presse-papiers","yasr.chart.config":"Configuration du graphique","yasr.empty.table":"Aucune donnée disponible dans le tableau","yasr.loading.label":"Chargement..."}},{}],51:[function(e,t,n){"use strict";t.exports={cross:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g>\t<path d="M83.288,88.13c-2.114,2.112-5.575,2.112-7.689,0L53.659,66.188c-2.114-2.112-5.573-2.112-7.687,0L24.251,87.907 c-2.113,2.114-5.571,2.114-7.686,0l-4.693-4.691c-2.114-2.114-2.114-5.573,0-7.688l21.719-21.721c2.113-2.114,2.113-5.573,0-7.686 L11.872,24.4c-2.114-2.113-2.114-5.571,0-7.686l4.842-4.842c2.113-2.114,5.571-2.114,7.686,0L46.12,33.591 c2.114,2.114,5.572,2.114,7.688,0l21.721-21.719c2.114-2.114,5.573-2.114,7.687,0l4.695,4.695c2.111,2.113,2.111,5.571-0.003,7.686 L66.188,45.973c-2.112,2.114-2.112,5.573,0,7.686L88.13,75.602c2.112,2.111,2.112,5.572,0,7.687L83.288,88.13z"/></g></svg>',check:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><path fill="#000000" d="M14.301,49.982l22.606,17.047L84.361,4.903c2.614-3.733,7.76-4.64,11.493-2.026l0.627,0.462 c3.732,2.614,4.64,7.758,2.025,11.492l-51.783,79.77c-1.955,2.791-3.896,3.762-7.301,3.988c-3.405,0.225-5.464-1.039-7.508-3.084 L2.447,61.814c-3.263-3.262-3.263-8.553,0-11.814l0.041-0.019C5.75,46.718,11.039,46.718,14.301,49.982z"/></svg>',unsorted:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path7-9" d="m 8.8748339,52.571766 16.9382111,-0.222584 4.050851,-0.06665 15.719154,-0.222166 0.27778,-0.04246 0.43276,0.0017 0.41632,-0.06121 0.37532,-0.0611 0.47132,-0.119342 0.27767,-0.08206 0.55244,-0.198047 0.19707,-0.08043 0.61095,-0.259721 0.0988,-0.05825 0.019,-0.01914 0.59303,-0.356548 0.11787,-0.0788 0.49125,-0.337892 0.17994,-0.139779 0.37317,-0.336871 0.21862,-0.219786 0.31311,-0.31479 0.21993,-0.259387 c 0.92402,-1.126057 1.55249,-2.512251 1.78961,-4.016904 l 0.0573,-0.25754 0.0195,-0.374113 0.0179,-0.454719 0.0175,-0.05874 -0.0169,-0.258049 -0.0225,-0.493503 -0.0398,-0.355569 -0.0619,-0.414201 -0.098,-0.414812 -0.083,-0.353334 L 53.23955,41.1484 53.14185,40.850967 52.93977,40.377742 52.84157,40.161628 34.38021,4.2507375 C 33.211567,1.9401875 31.035446,0.48226552 28.639484,0.11316952 l -0.01843,-0.01834 -0.671963,-0.07882 -0.236871,0.0042 L 27.335984,-4.7826577e-7 27.220736,0.00379952 l -0.398804,0.0025 -0.313848,0.04043 -0.594474,0.07724 -0.09611,0.02147 C 23.424549,0.60716252 21.216017,2.1142355 20.013025,4.4296865 L 0.93967491,40.894479 c -2.08310801,3.997178 -0.588125,8.835482 3.35080799,10.819749 1.165535,0.613495 2.43199,0.88731 3.675026,0.864202 l 0.49845,-0.02325 0.410875,0.01658 z M 9.1502369,43.934401 9.0136999,43.910011 27.164145,9.2564625 44.70942,43.42818 l -14.765289,0.214677 -4.031106,0.0468 -16.7627881,0.244744 z" /></svg>',sortDesc:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path9" d="m 27.813273,0.12823506 0.09753,0.02006 c 2.39093,0.458209 4.599455,1.96811104 5.80244,4.28639004 L 52.785897,40.894525 c 2.088044,4.002139 0.590949,8.836902 -3.348692,10.821875 -1.329078,0.688721 -2.766603,0.943695 -4.133174,0.841768 l -0.454018,0.02 L 27.910392,52.354171 23.855313,52.281851 8.14393,52.061827 7.862608,52.021477 7.429856,52.021738 7.014241,51.959818 6.638216,51.900838 6.164776,51.779369 5.889216,51.699439 5.338907,51.500691 5.139719,51.419551 4.545064,51.145023 4.430618,51.105123 4.410168,51.084563 3.817138,50.730843 3.693615,50.647783 3.207314,50.310611 3.028071,50.174369 2.652795,49.833957 2.433471,49.613462 2.140099,49.318523 1.901127,49.041407 C 0.97781,47.916059 0.347935,46.528448 0.11153,45.021676 L 0.05352,44.766255 0.05172,44.371683 0.01894,43.936017 0,43.877277 0.01836,43.62206 0.03666,43.122889 0.0765,42.765905 0.13912,42.352413 0.23568,41.940425 0.32288,41.588517 0.481021,41.151945 0.579391,40.853806 0.77369,40.381268 0.876097,40.162336 19.338869,4.2542801 c 1.172169,-2.308419 3.34759,-3.76846504 5.740829,-4.17716604 l 0.01975,0.01985 0.69605,-0.09573 0.218437,0.0225 0.490791,-0.02132 0.39809,0.0046 0.315972,0.03973 0.594462,0.08149 z" /></svg>',sortAsc:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,0.70898699,-0.70898699,-0.70522156,97.988199,58.704807)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path9" d="m 27.813273,113.65778 0.09753,-0.0201 c 2.39093,-0.45821 4.599455,-1.96811 5.80244,-4.28639 L 52.785897,72.891487 c 2.088044,-4.002139 0.590949,-8.836902 -3.348692,-10.821875 -1.329078,-0.688721 -2.766603,-0.943695 -4.133174,-0.841768 l -0.454018,-0.02 -16.939621,0.223997 -4.055079,0.07232 -15.711383,0.220024 -0.281322,0.04035 -0.432752,-2.61e-4 -0.415615,0.06192 -0.376025,0.05898 -0.47344,0.121469 -0.27556,0.07993 -0.550309,0.198748 -0.199188,0.08114 -0.594655,0.274528 -0.114446,0.0399 -0.02045,0.02056 -0.59303,0.35372 -0.123523,0.08306 -0.486301,0.337172 -0.179243,0.136242 -0.375276,0.340412 -0.219324,0.220495 -0.293372,0.294939 -0.238972,0.277116 C 0.97781,65.869953 0.347935,67.257564 0.11153,68.764336 L 0.05352,69.019757 0.05172,69.414329 0.01894,69.849995 0,69.908735 l 0.01836,0.255217 0.0183,0.499171 0.03984,0.356984 0.06262,0.413492 0.09656,0.411988 0.0872,0.351908 0.158141,0.436572 0.09837,0.298139 0.194299,0.472538 0.102407,0.218932 18.462772,35.908054 c 1.172169,2.30842 3.34759,3.76847 5.740829,4.17717 l 0.01975,-0.0199 0.69605,0.0957 0.218437,-0.0225 0.490791,0.0213 0.39809,-0.005 0.315972,-0.0397 0.594462,-0.0815 z" /></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 100 100" xml:space="preserve"><g id="Captions"></g><g id="Your_Icon">\t<path fill-rule="evenodd" fill="#000000" d="M88,84v-2c0-2.961-0.859-4-4-4H16c-2.961,0-4,0.98-4,4v2c0,3.102,1.039,4,4,4h68 C87.02,88,88,87.039,88,84z M58,12H42c-5,0-6,0.941-6,6v22H16l34,34l34-34H64V18C64,12.941,62.939,12,58,12z"/></g></svg>',move:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_11656_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="753" inkscape:window-height="480" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="287" inkscape:window-y="249" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" /><polygon points="33,83 50,100 67,83 54,83 54,17 67,17 50,0 33,17 46,17 46,83 " transform="translate(-7.962963,-10)" /><polygon points="83,67 100,50 83,33 83,46 17,46 17,33 0,50 17,67 17,54 83,54 " transform="translate(-7.962963,-10)" /></svg>',fullscreen:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_2186_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="640" inkscape:window-height="480" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="65" inkscape:window-y="24" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" /><path d="m -7.962963,-10 v 38.889 l 16.667,-16.667 16.667,16.667 5.555,-5.555 -16.667,-16.667 16.667,-16.667 h -38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 92.037037,-10 v 38.889 l -16.667,-16.667 -16.666,16.667 -5.556,-5.555 16.666,-16.667 -16.666,-16.667 h 38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="M -7.962963,90 V 51.111 l 16.667,16.666 16.667,-16.666 5.555,5.556 -16.667,16.666 16.667,16.667 h -38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="M 92.037037,90 V 51.111 l -16.667,16.666 -16.666,-16.666 -5.556,5.556 16.666,16.666 -16.666,16.667 h 38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /></svg>',smallscreen:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_2186_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1855" inkscape:window-height="1056" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="65" inkscape:window-y="24" inkscape:window-maximized="1" inkscape:current-layer="Layer_1" /><path d="m 30.926037,28.889 0,-38.889 -16.667,16.667 -16.667,-16.667 -5.555,5.555 16.667,16.667 -16.667,16.667 38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 53.148037,28.889 0,-38.889 16.667,16.667 16.666,-16.667 5.556,5.555 -16.666,16.667 16.666,16.667 -38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 30.926037,51.111 0,38.889 -16.667,-16.666 -16.667,16.666 -5.555,-5.556 16.667,-16.666 -16.667,-16.667 38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 53.148037,51.111 0,38.889 16.667,-16.666 16.666,16.666 5.556,-5.556 -16.666,-16.666 16.666,-16.667 -38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /></svg>'}},{}],52:[function(e,t,n){e("./tableToCsv.js")},{"./tableToCsv.js":53}],53:[function(e,t,n){"use strict";var r=e("jquery");r.fn.tableToCsv=function(e){var t="";e=r.extend({quote:'"',delimiter:",",lineBreak:"\n"},e);var n=function(n){n.replace(e.quote,e.quote+e.quote),function(t){var n=!1;return t.match("[\\w|"+e.delimiter+"|"+e.quote+"]")&&(n=!0),n}(n)&&(n=e.quote+n+e.quote),t+=" "+n+" "+e.delimiter},i=r(this),o={},a=0;return i.find("tr:first *").each((function(){r(this).attr("colspan")?a+=+r(this).attr("colspan"):a++})),i.find("tr").each((function(i,s){for(var l=r(s),u=[],c=0,f=0;f+c<a;f++)if(o[f])u.push(o[f].text),o[f].rowSpan--,o[f].rowSpan||delete o[f];else{var d=l.find(":nth-child("+(f+1)+")");console.log(d);var h=d.attr("colspan"),p=d.attr("rowspan");if(h&&!isNaN(h)){for(var g=0;g<h;g++)u.push(d.text());c+=h-1}else p&&!isNaN(p)?(o[f+c]={rowSpan:p-1,text:d.text()},u.push(d.text()),c++):u.push(d.text())}!function(r){r.forEach((function(e){n(e)})),t+=e.lineBreak}(u)})),t}},{jquery:18}],54:[function(e,t,n){"use strict";var r=e("jquery"),i=e("yasgui-utils");console=console||{log:function(){}},e("./jquery/extendJquery.js");var o=t.exports=function(t,n,a){var s={};s.options=r.extend(!0,{},o.defaults,n),s.container=r(t).find(".yasr"),s.header=r(t).find(".yasr_header"),s.resultsContainer=r(t).find(".yasr_results"),s.storage=i.storage,s.translate=e("./translate.js")(s.options.locale),s.changeLanguage=function(t){s.translate=e("./translate.js")(t);let n=document.getElementById("saveAsBtn");n&&(n.innerText=s.translate("yasr.download.as.label"));let r=document.getElementById("yasrBtnGroup"),i=document.getElementById("yasrDownloadIcon");r&&r.remove(),i&&i.remove(),s.options.hideHeader||g(s),s.draw()};var l=null;for(var u in s.getPersistencyId=function(e){return null===l&&(l=!(!s.options.persistency||!s.options.persistency.prefix)&&("string"==typeof s.options.persistency.prefix?s.options.persistency.prefix:s.options.persistency.prefix(s))),l&&e?l+("string"==typeof e?e:e(s)):null},s.options.useGoogleCharts&&e("./gChartLoader.js").once("initError",(function(){s.options.useGoogleCharts=!1})).init(),s.plugins={},o.plugins)(s.options.useGoogleCharts||"gchart"!=u)&&(s.plugins[u]=new o.plugins[u](s));s.updateHeader=function(){var e=s.header.find(".yasr_downloadIcon").removeAttr("title"),t=s.header.find(".saveAsDropDown"),n=s.header.find(".yasr_embedBtn"),r=s.plugins[s.options.output];if(r){"Table"==r.name?(e.hide(),t.removeAttr("style")):(t.hide(),e.show());var i=r.getDownloadInfo?r.getDownloadInfo():null;i?(i.buttonTitle&&e.attr("title",i.buttonTitle),e.prop("disabled",!1),e.find("path").each((function(){this.style.fill="black"}))):(e.prop("disabled",!0).prop("title",s.translate("yasr.btn.title.unsupported_download")),e.find("path").each((function(){this.style.fill="gray"})));var o=null;r.getEmbedHtml&&(o=r.getEmbedHtml()),o&&o.length>0?n.show():n.hide()}},s.draw=function(e){if(s.updateHeader(),!s.results)return!1;e||(e=s.options.output);var t=null,n=-1,r=[];for(var i in s.plugins)if(s.plugins[i].canHandleResults(s)){var o=s.plugins[i].getPriority;"function"==typeof o&&(o=o(s)),null!=o&&null!=o&&o>n&&(n=o,t=i)}else r.push(i);return f(r),"table"==t&&s.plugins[t].canHandleResults(s)&&t!=e&&angular.isUndefined(e)?c(t):e in s.plugins&&s.plugins[e].canHandleResults(s)&&"booleanBootstrap"!=t?c(e):!!t&&c(t)};var c=function(e){return s.header.find(".yasr_btnGroup").find("li.active").removeClass("active"),r(s.resultsContainer).empty(),s.plugins[e].draw(),s.header.find(".yasr_btnGroup .select_"+e).parent().addClass("active"),!0},f=function(e){s.header.find(".yasr_btnGroup li").removeClass("disabled"),e.forEach((function(e){s.header.find(".yasr_btnGroup .select_"+e).parent().addClass("disabled")}))};s.somethingDrawn=function(){return!s.resultsContainer.is(":empty")},s.updateDownloadDropdown=function(){var t;if(window.editor){s.header.find(".saveAsDropDown").remove();var n=window.editor.getQueryType();"SELECT"==n&&(t=r(e("./extensions.js").selectSaveAsDropDown)),"CONSTRUCT"!=n&&"DESCRIBE"!=n||(t=r(e("./extensions.js").graphSaveAsDropDown)),t&&(t.find(".format").click((function(){s.getQueryResultsAsFormat(r(this).data("accepts"))})),s.header.append(t))}},s.setResultsCount=function(e,t,n){if(0==e.responseJSON&&(s.allCount=-1),(e.responseJSON||0==e.responseJSON)&&(s.allCount=-1,e.responseJSON["http://www.ontotext.com/"]&&(s.allCount=e.responseJSON["http://www.ontotext.com/"]["http://www.ontotext.com/"][0].value),r.isNumeric(e.responseJSON)&&(s.allCount=e.responseJSON),e.responseJSON.results&&e.responseJSON.results.bindings)){var i=e.responseJSON.results.bindings[0],o=e.responseJSON.head.vars,a=Object.keys(i).filter((function(e){return o.indexOf(e)>-1}));a.length>0&&(s.allCount=i[a[0]].value)}},s.setResponse=function(t,n,r){try{s.results=e("./parsers/wrapper.js")(t,n,r)}catch(e){s.results={getException:function(){return e}}}if(s.results.getAsJson().results&&(s.resultsCount=s.results.getAsJson().results.bindings.length),s.results.getAsJson()&&!s.options.hideHeader&&(s.header.show(),s.updateDownloadDropdown()),403==t.status&&(s.results.getException=function(){return{status:403,statusText:"Forbidden",responseText:s.translate("yasr.http.403")}}),s.draw(),s.options.persistency){var o=s.getPersistencyId(s.options.persistency.results.key);o&&(s.results.getOriginalResponseAsString&&s.results.getOriginalResponseAsString().length<s.options.persistency.results.maxSize?i.storage.set(o,s.results.getAsStoreObject(),"month"):i.storage.remove(o))}};var d=null,h=null;s.warn=function(e){d||(d=r("<div>",{class:"toggableWarning"}).prependTo(s.container).hide(),r("<span>",{class:"toggleWarning"}).html("×").click((function(){d.hide(400)})).appendTo(d),h=r("<span>",{class:"toggableMsg"}).appendTo(d)),h.empty(),e instanceof r?h.append(e):h.html(e),d.show(400)};var p=null,g=function(t){var n,o,a;t.options.drawOutputSelector&&(n=r('<ul id="yasrBtnGroup" class="yasr_btnGroup nav nav-tabs"></ul>'),r.each(t.plugins,(function(e,o){if(!o.hideFromSelection){var a=o.nameLabel?t.translate(o.nameLabel):e,s=r("<li class='nav-item'></li>");r("<a class='nav-link'></a>").text(a).addClass("select_"+e).click((function(){if(!r(this).parent().hasClass("disabled")){n.find("li.active").removeClass("active"),s.addClass("active"),t.options.output=e;var o=t.getPersistencyId(t.options.persistency.outputSelector);o&&i.storage.set(o,t.options.output,"month"),d&&d.hide(400),t.draw(e),t.updateHeader()}})).appendTo(s),s.appendTo(n),t.options.output==e&&s.addClass("active")}})),n.children().length>1&&t.header.append(n)),t.options.drawDownloadIcon&&function(){if(null===p){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;p=e&&Blob}return p}()&&(o=t.translate("yasr.btn.label.save"),a=r("<button id='yasrDownloadIcon' class='btn btn-primary btn-sm yasr_downloadIcon pull-right'>"+o+"</button>").click((function(){var n=t.plugins[t.options.output];if(n&&n.getDownloadInfo){var i=n.getDownloadInfo(),o=function(e,t){var n=null,r=window.URL||window.webkitURL||window.mozURL||window.msURL;if(r&&Blob){var i=new Blob([e],{type:t});n=r.createObjectURL(i)}return n}(i.getContent(),i.contentType?i.contentType:"text/plain"),a=r("<a></a>",{href:o,download:i.filename});e("./utils.js").fireClick(a)}})),t.header.append(a))},v=s.getPersistencyId(s.options.persistency.outputSelector);if(v){var m=i.storage.get(v);m&&(s.options.output=m)}if(s.options.hideHeader||g(s),!a&&s.options.persistency&&s.options.persistency.results){var y,b=s.getPersistencyId(s.options.persistency.results.key);if(b&&(y=i.storage.get(b)),!y&&s.options.persistency.results.id){var w="string"==typeof s.options.persistency.results.id?s.options.persistency.results.id:s.options.persistency.results.id(s);w&&(y=i.storage.get(w))&&i.storage.remove(w)}y&&(r.isArray(y)?s.setResponse.apply(this,y):s.setResponse(y))}return a&&s.setResponse(a),s.updateHeader(),s};o.plugins={},o.registerOutput=function(e,t){o.plugins[e]=t},o.defaults=e("./defaults.js"),o.version={YASR:e("../package.json").version,jquery:r.fn.jquery,"yasgui-utils":e("yasgui-utils").version},o.utils=e("./utils.js"),o.$=r;try{o.registerOutput("boolean",e("./boolean.js"))}catch(e){}try{o.registerOutput("booleanBootstrap",e("./booleanBootstrap.js"))}catch(e){}try{o.registerOutput("table",e("./table.js"))}catch(e){}try{o.registerOutput("rawResponse",e("./rawResponse.js"))}catch(e){}try{o.registerOutput("error",e("./error.js"))}catch(e){}try{o.registerOutput("pivot",e("./pivot.js"))}catch(e){}try{o.registerOutput("gchart",e("./gchart.js"))}catch(e){}},{"../package.json":39,"./boolean.js":41,"./booleanBootstrap.js":42,"./defaults.js":43,"./error.js":44,"./extensions.js":46,"./gChartLoader.js":47,"./gchart.js":48,"./imgs.js":51,"./jquery/extendJquery.js":52,"./parsers/wrapper.js":60,"./pivot.js":62,"./rawResponse.js":63,"./table.js":64,"./translate.js":65,"./utils.js":66,jquery:18,"yasgui-utils":36}],55:[function(e,t,n){"use strict";e("jquery"),t.exports=function(t){return e("./dlv.js")(t,",")}},{"./dlv.js":56,jquery:18}],56:[function(e,t,n){"use strict";var r=e("jquery");e("../../lib/jquery.csv-0.71.js"),t.exports=function(e,t){var n={},i=r.csv.toArrays(e,{separator:t}),o=function(e){return 0==e.indexOf("http")?"uri":null};return 2==i.length&&1==i[0].length&&1==i[1].length&&"boolean"==i[0][0]&&("1"==i[1][0]||"0"==i[1][0])&&(n.boolean="1"==i[1][0],1)||i.length>0&&i[0].length>0&&(n.head={vars:i[0]},1)&&function(){if(i.length>1){n.results={bindings:[]};for(var e=1;e<i.length;e++){for(var t={},r=0;r<i[e].length;r++){var a=n.head.vars[r];if(a){var s=i[e][r],l=o(s);t[a]={value:s},l&&(t[a].type=l)}}n.results.bindings.push(t)}n.head={vars:i[0]}}}(),n}},{"../../lib/jquery.csv-0.71.js":4,jquery:18}],57:[function(e,t,n){"use strict";e("jquery");var r=e("lodash"),i=function(e){return"object"==typeof e?("bnode"==e.type&&(e.value=e.value.slice(2)),e):0==e.indexOf("_:")?{type:"bnode",value:e.slice(2)}:-1==e.indexOf(":")?{type:"bnode",value:e}:{type:"uri",value:e}};t.exports=function(e){if(e){var t,n="RESOURCE"==window.editor.getQueryType(),o=r.map(e,(function(e,t){return r.map(e,(function(e,o){return r.map(e,(function(e){return e.graphs?(n=!0,r.map(e.graphs,(function(n){return[i(t),i(o),i(e),i(n)]}))):[i(t),i(o),i(e)]}))}))})),a=r.reduce(o,(function(e,t){return e.concat(t)}),[]);return a=r.reduce(a,(function(e,t){return e.concat(t)}),[]),t=n?(a=r.reduce(a,(function(e,t){return e.concat(t)}),[])).map((function(e){return{subject:e[0],predicate:e[1],object:e[2],context:e[3]}})):a.map((function(e){return{subject:e[0],predicate:e[1],object:e[2]}})),{head:{vars:n?["subject","predicate","object","context"]:["subject","predicate","object"]},results:{bindings:t}}}return!1}},{jquery:18,lodash:19}],58:[function(e,t,n){"use strict";e("jquery"),t.exports=function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){return!1}return"object"==typeof e&&e.constructor==={}.constructor&&e}},{jquery:18}],59:[function(e,t,n){"use strict";e("jquery"),t.exports=function(t){return e("./dlv.js")(t,"\t")}},{"./dlv.js":56,jquery:18}],60:[function(e,t,n){"use strict";e("jquery");var r=e("lodash");t.exports=function(t,n,i){var o={xml:e("./xml.js"),json:e("./json.js"),tsv:e("./tsv.js"),csv:e("./csv.js"),graphJson:e("./graphJson.js")},a=null,s=null,l=null,u=null,c=null,f=null,d=function(){return u?(l||(l=u),u):!1!==u&&!f&&(function(){if(a)if(a.indexOf("json")>-1){try{u=o.json(s,window.editor.getQueryType()),l=u,a.indexOf("application/rdf+json")>-1&&(u=o.graphJson(l))}catch(e){f=e}c="json"}else if(a.indexOf("xml")>-1){try{u=o.xml(s)}catch(e){f=e}c="xml"}else if(a.indexOf("csv")>-1){try{u=o.csv(s)}catch(e){f=e}c="csv"}else if(a.indexOf("tab-separated")>-1){try{u=o.tsv(s)}catch(e){f=e}c="tsv"}}(),u||function(){if(u=o.json(s))c="json";else try{(u=o.xml(s))&&(c="xml")}catch(e){}}(),u||(u=!1),u)},h=function(e){if(l.results&&l.results.bindings&&l.results.bindings.length>e){var t=jQuery.extend(!0,{},l);t.results.bindings=l.results.bindings.slice(0,e)}else{var n=r.keys(l).slice(0,e);t=r.pick(l,(function(e,t){return n.indexOf(t)>=0}))}return t},p=function(){var e="";return"string"==typeof s?e=s:"json"==c?e=JSON.stringify(s,void 0,2):"xml"==c&&(e=(new XMLSerializer).serializeToString(s)),e};return function(){if("object"==typeof t){if(t.exception?f=t.exception:null!=t.status&&(t.status>=300||0===t.status)&&(f={status:t.status},"string"==typeof i&&(f.errorString=i),t.responseText&&(f.responseText=t.responseText),t.statusText&&(f.statusText=t.statusText)),t.contentType)a=t.contentType.toLowerCase();else if(t.getResponseHeader&&t.getResponseHeader("content-type")){var e=t.getResponseHeader("content-type").trim().toLowerCase();e.length>0&&(a=e)}t.response?s=t.response:n||i||(s=t)}f||s||(s=t.responseText?t.responseText:t)}(),u=d(),{getAsStoreObject:function(){var e={};t.status?(e.status=t.status,e.responseText=t.responseText,e.statusText=t.statusText,e.contentType=a):e=t;var r=void 0;return"string"==typeof i&&(r=i),[e,n,r]},getRawJson:function(){return l},getAsJson:d,getOriginalResponse:function(){return s},getShortOriginalResponse:function(e){if("json"==c){var t=h(e);return JSON.stringify(t,void 0,2)}return p().slice(0,e)},getShortOriginalResponseAsJSON:h,getOriginalResponseAsString:p,getOriginalContentType:function(){return a},getVariables:function(){var e=d();return e&&"head"in e?e.head.vars:null},getBindings:function(){var e=d();return e&&"results"in e?e.results.bindings:null},getBoolean:function(){var e=d();return e&&"boolean"in e?e.boolean:null},getType:function(){return null==c&&d(),c},getException:function(){return f}}}},{"./csv.js":55,"./graphJson.js":57,"./json.js":58,"./tsv.js":59,"./xml.js":61,jquery:18,lodash:19}],61:[function(e,t,n){"use strict";var r=e("jquery");t.exports=function(e){var t=function(e){a.head={};for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if("variable"==n.nodeName){a.head.vars||(a.head.vars=[]);var r=n.getAttribute("name");r&&a.head.vars.push(r)}}},n=function(e){a.results={},a.results.bindings=[];for(var t=0;t<e.childNodes.length;t++){for(var n=e.childNodes[t],r=null,i=0;i<n.childNodes.length;i++){var o=n.childNodes[i];if("binding"==o.nodeName){var s=o.getAttribute("name");if(s){(r=r||{})[s]={};for(var l=0;l<o.childNodes.length;l++){var u=o.childNodes[l],c=u.nodeName;if("#text"!=c){r[s].type=c,r[s].value=u.innerHTML;var f=u.getAttribute("datatype");f&&(r[s].datatype=f)}}}}}r&&a.results.bindings.push(r)}},i=function(e){"true"==e.innerHTML?a.boolean=!0:a.boolean=!1},o=null;if("string"==typeof e?o=r.parseXML(e):r.isXMLDoc(e)&&(o=e),e=null,!(o.childNodes.length>0))return null;e=o.childNodes[0];for(var a={},s=0;s<e.childNodes.length;s++){var l=e.childNodes[s];"head"==l.nodeName&&t(l),"results"==l.nodeName&&n(l),"boolean"==l.nodeName&&i(l)}return a}},{jquery:18}],62:[function(e,t,n){"use strict";var r=e("jquery"),i=e("./utils.js"),o=e("yasgui-utils"),a=e("./imgs.js");if(e("jquery-ui/sortable"),e("pivottable"),!r.fn.pivotUI)throw new Error("Pivot lib not loaded");var s=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n,l=r.extend(!0,{},s.defaults);if(l.useD3Chart){try{d3&&e("../node_modules/pivottable/dist/d3_renderers.js")}catch(e){}r.pivotUtilities.d3_renderers&&r.extend(!0,r.pivotUtilities.renderers,r.pivotUtilities.d3_renderers)}var u=null,c=function(e){var n=function(){var e=t.results.getVariables();if(!l.mergeLabelsWithUris)return e;var n=[];return u="string"==typeof l.mergeLabelsWithUris?l.mergeLabelsWithUris:"Label",e.forEach((function(t){-1!==t.indexOf(u,t.length-u.length)&&e.indexOf(t.substring(0,t.length-u.length))>=0||n.push(t)})),n}(),r=null;t.options.getUsedPrefixes&&(r="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),t.results.getBindings().forEach((function(t){var o={};n.forEach((function(e){if(e in t){var n=t[e].value;u&&t[e+u]?n=t[e+u].value:"uri"==t[e].type&&(n=i.uriToPrefixed(r,n)),o[e]=n}else o[e]=null})),e(o)}))},f=t.getPersistencyId(l.persistencyId);return{getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find(".pvtRendererArea svg");if(e.length>0)return{getContent:function(){return e[0].outerHTML?e[0].outerHTML:r("<div>").append(e.clone()).html()},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:t.translate("yasr.btn.title.svg")};var n=t.resultsContainer.find(".pvtRendererArea table");return n.length>0?{getContent:function(){return n.tableToCsv()},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:void 0},getEmbedHtml:function(){if(!t.results)return null;var e=t.resultsContainer.find(".pvtRendererArea svg").clone().css("height","").css("width","");if(0==e.length)return null;var n=e[0].outerHTML;return n||(n=r("<div>").append(e.clone()).html()),'<div style="width: 800px; height: 600px;">\n'+n+"\n</div>"},options:l,draw:function(){var i=function(){var e=r("<button>",{class:"openPivotGchart yasr_btn"}).text(t.translate("yasr.chart.config")).click((function(){n.find('div[dir="ltr"]').dblclick()})).appendTo(t.resultsContainer);n=r("<div>",{class:"pivotTable"}).appendTo(r(t.resultsContainer));var i,l=r.extend(!0,{},function(){var e=o.storage.get(f);if(e){var n=t.results.getVariables(),i=!0;e.cols.forEach((function(e){n.indexOf(e)<0&&(i=!1)})),i&&e.rows.forEach((function(e){n.indexOf(e)<0&&(i=!1)})),i||(e.cols=[],e.rows=[]),r.pivotUtilities.renderers[e.rendererName]||delete e.rendererName}else e={};return e}(),s.defaults.pivotTable);l.onRefresh=(i=l.onRefresh,function(n){!function(n){if(f){var r={cols:n.cols,rows:n.rows,rendererName:n.rendererName,aggregatorName:n.aggregatorName,vals:n.vals};o.storage.set(f,r,"month")}n.rendererName.toLowerCase().indexOf(" chart")>=0?e.show():e.hide(),t.updateHeader()}(n),i&&i(n)}),window.pivot=n.pivotUI(c,l);var u=r(o.svg.getElement(a.move));n.find(".pvtTriangle").replaceWith(u),r(".pvtCols").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.columns"))),r(".pvtRows").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.rows"))),r(".pvtUnused").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.variables"))),r(".pvtVals").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.cells"))),setTimeout(t.updateHeader,400)};t.options.useGoogleCharts&&l.useGoogleCharts&&!r.pivotUtilities.gchart_renderers?e("./gChartLoader.js").on("done",(function(){try{e("../node_modules/pivottable/dist/gchart_renderers.js"),r.extend(!0,r.pivotUtilities.renderers,r.pivotUtilities.gchart_renderers)}catch(e){l.useGoogleCharts=!1}i()})).on("error",(function(){console.log("could not load gchart"),l.useGoogleCharts=!1,i()})).googleLoad():i()},name:"Pivot Table",nameLabel:"yasr.pivot.pivot_table",canHandleResults:function(){return t.results&&t.results.getVariables&&t.results.getVariables()&&t.results.getVariables().length>0},getPriority:4}};s.defaults={mergeLabelsWithUris:!1,useGoogleCharts:!0,useD3Chart:!0,persistencyId:"pivot",pivotTable:{}},s.version={"YASR-rawResponse":e("../package.json").version,jquery:r.fn.jquery}},{"../node_modules/pivottable/dist/d3_renderers.js":20,"../node_modules/pivottable/dist/gchart_renderers.js":21,"../package.json":39,"./gChartLoader.js":47,"./imgs.js":51,"./translate.js":65,"./utils.js":66,jquery:18,"jquery-ui/sortable":16,pivottable:22,"yasgui-utils":36}],63:[function(e,t,n){"use strict";var r=e("jquery"),i=e("codemirror");e("codemirror/addon/fold/foldcode.js"),e("codemirror/addon/fold/foldgutter.js"),e("codemirror/addon/fold/xml-fold.js"),e("codemirror/addon/fold/brace-fold.js"),e("codemirror/addon/edit/matchbrackets.js"),e("codemirror/mode/xml/xml.js"),e("codemirror/mode/javascript/javascript.js");var o=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r.extend(!0,{},o.defaults),a=null;return{draw:function(){var e=n.CodeMirror;e.value=t.results.getShortOriginalResponse(n.limit);var r=t.results.getType();r&&("json"==r&&(r={name:"javascript",json:!0}),e.mode=r),(a=i(t.resultsContainer.get()[0],e)).on("fold",(function(){a.refresh()})),a.on("unfold",(function(){a.refresh()}))},name:"Raw Response",nameLabel:"yasr.name.raw_response",canHandleResults:function(){if(!t.results)return!1;if(!t.results.getOriginalResponseAsString)return!1;var e=t.results.getOriginalResponseAsString();return!((!e||0==e.length)&&t.results.getException())},getPriority:2,getDownloadInfo:function(){if(!t.results)return null;var e=t.results.getOriginalContentType(),n=t.results.getType();return{getContent:function(){return t.results.getOriginalResponse()},filename:"queryResults"+(n?"."+n:""),contentType:e||"text/plain",buttonTitle:t.translate("yasr.btn.title.raw")}}}};o.defaults={CodeMirror:{readOnly:!0,lineNumbers:!0,lineWrapping:!0,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"]},limit:100},o.version={"YASR-rawResponse":e("../package.json").version,jquery:r.fn.jquery,CodeMirror:i.version}},{"../package.json":39,"./translate.js":65,codemirror:10,"codemirror/addon/edit/matchbrackets.js":5,"codemirror/addon/fold/brace-fold.js":6,"codemirror/addon/fold/foldcode.js":7,"codemirror/addon/fold/foldgutter.js":8,"codemirror/addon/fold/xml-fold.js":9,"codemirror/mode/javascript/javascript.js":11,"codemirror/mode/xml/xml.js":12,jquery:18}],64:[function(e,t,n){"use strict";var r=e("jquery"),i=e("yasgui-utils"),o=e("./utils.js"),a=(e("./imgs.js"),e("lodash"));e("../lib/DataTables/media/js/jquery.dataTables.js"),e("../lib/colResizable-1.4.js");var s=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=null,o={name:"Table",nameLabel:"yasr.table",getPriority:10},l=o.options=r.extend(!0,{},s.defaults),u=l.persistency?t.getPersistencyId(l.persistency.tableLength):null;t.getPersistencyId("eventId")||r(t.container).closest("[id]").attr("id");o.draw=function(){n=r('<table cellpadding="0" cellspacing="0" border="0" class="resultsTable table stripe hover table-bordered fixedCellWidth"></table>'),r(t.resultsContainer).html(n);var s=l.datatable;s.data=function(){var e=[],n=t.results.getBindings(),r=t.results.getVariables(),i=null;t.options.getUsedPrefixes&&(i="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),i=a.invert(i);for(var s=0;s<n.length;s++){var u=[];u.push("");for(var c=n[s],f=0;f<r.length;f++){var d=r[f];d in c&&l.getCellContent?u.push(l.getCellContent(t,o,c,d,{rowId:s,colId:f,usedPrefixes:i})):u.push("")}e.push(u)}return e}(),s.columns=l.getColumns(t,o);var d=i.storage.get(u);d&&(s.pageLength=d),s.translate=e("./translate.js")(t.options.locale),n.DataTable(r.extend(!0,{},s)),c(),(t.getPersistencyId("eventId")||r(t.container).closest("[id]").attr("id"),function(){var e;n.on("order.dt",(function(){c()})),u&&n.on("length.dt",(function(e,t,n){i.storage.set(u,n,"month")})),r.extend(!0,l.callbacks,l.handlers),n.delegate("td","click",(function(e){if(l.callbacks&&l.callbacks.onCellClick&&!1===l.callbacks.onCellClick(this,e))return!1})).delegate("td","mouseenter",(function(e){l.callbacks&&l.callbacks.onCellMouseEnter&&l.callbacks.onCellMouseEnter(this,e);var t=r(this);l.fetchTitlesFromPreflabel&&void 0===t.attr("title")&&0==t.text().trim().indexOf("http")&&f(t)})).delegate("td","mouseleave",(function(e){l.callbacks&&l.callbacks.onCellMouseLeave&&l.callbacks.onCellMouseLeave(this,e)})),e=angular.element(r("#yasr")[0]).scope(),r("td div .fa-link").on("click",(function(){var t=this.dataset.clipboardText;e.copyToClipboardResult(t)}))})(),n.colResizable(),n.find("thead").outerHeight(),r(t.resultsContainer).find(".JCLRgrip").height(n.find("thead").outerHeight()),t.header.outerHeight();var h=t.resultsContainer.find(".dataTables_filter label");r(h.contents().get(0)).remove(),h.find("input[type=search]").attr("placeholder",t.translate("yasr.table.filter")).addClass("form-control"),l.highlightLiteralCellResult()};var c=function(){for(var e in n.find(".sortIcons").remove(),{sorting:"unsorted",sorting_asc:"sortAsc",sorting_desc:"sortDesc"}){var t=r("<div class='sortIcons'></div>");"sorting"==e?t.append("<a class='fa fa-sort'></a>"):"sorting_asc"==e?t.append("<a class='fa fa-sort-alpha-asc'></a>"):"sorting_desc"==e&&t.append("<a class='fa fa-sort-alpha-desc'></a>"),n.find("th."+e).append(t)}};return o.canHandleResults=function(){return t.results&&t.results.getVariables&&t.results.getVariables()&&t.results.getVariables().length>0},o.getDownloadInfo=function(){return t.results?{getContent:function(){return e("./bindingsToCsv.js")(t.results.getAsJson())},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:null},o},l=function(e,t,n,r){var i="",s=null;let f=r.translate("yasr.copy.to.clipboard");if("uri"===e.type){var d=null,h=e.value,p=h;if(t.usedPrefixes){var g=o.uriToPrefixWithLocalName(t.usedPrefixes,p);if(g){var v=g.localName;p=g.prefix+":"+v}}var m=window.location.origin+"/resource/";w=0===h.indexOf(m)&&h.length>m.length?h:"resource?uri="+encodeURIComponent(h),null!=n&&!0===n&&(w+="&context="+encodeURIComponent("http://rdf4j.org/schema/rdf4j#SHACLShapeGraph")),w=w.replace(/'/g,"'"),s="<a title='"+(h=h.replace(/'/g,"'"))+"' class='uri' href='"+w+"'>"+a.escape(p)+"</a> <a class='fa fa-link share-result' data-clipboard-text='"+h+"' title='"+f+"' href='#'></a>",i=" class = 'uri-cell'"}else if("triple"===e.type){var y="<ul class='triple-list'><li>"+l(e.value.s,t,n,r)+"</li><li>"+l(e.value.p,t,n,r)+"</li><li>"+l(e.value.o,t,n,r)+"</li></ul>",b=u(r,e,!1),w="resource?triple="+encodeURIComponent(b).replace(/'/g,"'");s="<a title='"+(d=a.escape(b))+"' class='triple-link' href='"+w+"'>"+a.escape("<<")+"</a>"+y+"<a title='"+d+"' class='triple-link triple-link-end' href='"+w+"'>"+a.escape(">>")+"</a><a class='fa fa-link share-result' data-clipboard-text='"+b+"' title='"+f+"' href='#'></a>",i=" class = 'triple-cell'"}else s="<p class='nonUri' style='border: none; background-color: transparent; padding: 0; margin: 0'>"+c(r,e,!0)+"</p>",i=" class = 'literal-cell'";return"<div"+i+">"+s+"</div>"},u=function(e,t,n){return"uri"===t.type?"<"+t.value+">":"triple"===t.type?"<<"+u(e,t.value.s,n)+" "+u(e,t.value.p,n)+" "+u(e,t.value.o,n)+">>":c(e,t,n)},c=function(e,t,n){var r=o.escapeHtmlEntities(t.value),i="http://www.w3.org/2001/XMLSchema#";if("bnode"==t.type)return"_:"+r;if(t["xml:lang"])r='"'+r+(n?'"<sup>':'"')+"@"+t["xml:lang"]+(n?"</sup>":"");else if(t.lang)r='"'+r+(n?'"<sup>':'"@')+t.lang+(n?"</sup>":"");else if(t.datatype&&t.datatype!==i+"string"){var a=t.datatype;r='"'+r+(n?'"<sup>':'"')+"^^"+(a=0===a.indexOf(i)&&n?"xsd:"+a.substring(i.length):n?"<"+a+">":"<"+a+">")+(n?"</sup>":"")}return 0===r.indexOf('"')?r:'"'+r+'"'},f=function(e){var t=function(){e.attr("title","")};r.get("http://preflabel.org/api/v1/label/"+encodeURIComponent(e.text())+"?silent=true").success((function(n){"object"==typeof n&&n.label?e.attr("title",n.label):"string"==typeof n&&n.length>0?e.attr("title",n):t()})).fail(t)};s.defaults={getCellContent:function(e,t,n,r,i){var o=n[r],a=e.header.context.ownerDocument.URL.includes("http:%2F%2Frdf4j.org%2Fschema%2Frdf4j%23SHACLShapeGraph");return l(o,i,a,e)},highlightLiteralCellResult:function(){},persistency:{tableLength:"tableLength"},getColumns:function(e,t){var n=function(n){if(!t.options.mergeLabelsWithUris)return!0;var r="string"==typeof t.options.mergeLabelsWithUris?t.options.mergeLabelsWithUris:"Label";return!(-1!==n.indexOf(r,n.length-r.length)&&e.results.getVariables().indexOf(n.substring(0,n.length-r.length))>=0)},r=[];return r.push({title:""}),e.results.getVariables().forEach((function(e){r.push({title:"<span>"+e+"</span>",visible:n(e)})})),r},fetchTitlesFromPreflabel:!0,mergeLabelsWithUris:!1,callbacks:{onCellMouseEnter:null,onCellMouseLeave:null,onCellClick:null},datatable:{paginate:!1,info:!1,autoWidth:!1,order:[],pageLength:50,lengthMenu:[[10,50,100,1e3,-1],[10,50,100,1e3,"All"]],lengthChange:!0,drawCallback:function(e){for(var t=0;t<e.aiDisplay.length;t++)r("td:eq(0)",e.aoData[e.aiDisplay[t]].nTr).html(t+1);var n=!1;r(e.nTableWrapper).find(".paginate_button").each((function(){-1==r(this).attr("class").indexOf("current")&&-1==r(this).attr("class").indexOf("disabled")&&(n=!0)})),n?r(e.nTableWrapper).find(".dataTables_paginate").show():r(e.nTableWrapper).find(".dataTables_paginate").hide()},columnDefs:[{width:"32px",orderable:!1,targets:0}]}},s.version={"YASR-table":e("../package.json").version,jquery:r.fn.jquery,"jquery-datatables":r.fn.DataTable.version}},{"../lib/DataTables/media/js/jquery.dataTables.js":2,"../lib/colResizable-1.4.js":3,"../package.json":39,"./bindingsToCsv.js":40,"./imgs.js":51,"./translate.js":65,"./utils.js":66,jquery:18,lodash:19,"yasgui-utils":36}],65:[function(e,t,n){const r={en:e("./i18n/locale-en"),fr:e("./i18n/locale-fr")};var i="en",o=function(e,t){const n=i;if(!r||!r[n])return console.warn("Missing locale file for ["+n+"]"),e;let o=r[n][e];return o||(o=r.en[e]),t&&(o=o.replace(`{{${t.key}}}`,t.value)),o||(console.warn("Missing translation for ["+e+"] key in ["+n+"] locale"),e)};t.exports=function(e){return e&&(i=e),o}},{"./i18n/locale-en":49,"./i18n/locale-fr":50}],66:[function(e,t,n){"use strict";var r=e("jquery"),i=(e("lodash"),e("./exceptions.js").GoogleTypeException);t.exports={escapeHtmlEntities:function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},uriToPrefixed:function(e,t){if(e)for(var n in e)if(0==t.indexOf(e[n])){t=n+":"+t.substring(e[n].length);break}return t},uriToPrefixWithLocalName:function(e,t){var n=Object.keys(e).filter((function(e){return 0==t.indexOf(e)}));if(n.length>0){var r=(n=n.sort((function(e,t){return e.length<t.length})))[0];return{prefix:e[r],localName:t.substring(r.length)}}return null},getGoogleTypeForBinding:function(e){if(null==e)return null;if(null==e.type||"typed-literal"!==e.type&&"literal"!==e.type)return"string";switch(e.datatype){case"http://www.w3.org/2001/XMLSchema#float":case"http://www.w3.org/2001/XMLSchema#decimal":case"http://www.w3.org/2001/XMLSchema#int":case"http://www.w3.org/2001/XMLSchema#integer":case"http://www.w3.org/2001/XMLSchema#long":case"http://www.w3.org/2001/XMLSchema#gYearMonth":case"http://www.w3.org/2001/XMLSchema#gYear":case"http://www.w3.org/2001/XMLSchema#gMonthDay":case"http://www.w3.org/2001/XMLSchema#gDay":case"http://www.w3.org/2001/XMLSchema#gMonth":return"number";case"http://www.w3.org/2001/XMLSchema#date":return"date";case"http://www.w3.org/2001/XMLSchema#dateTime":return"datetime";case"http://www.w3.org/2001/XMLSchema#time":return"timeofday";default:return"string"}},getGoogleTypeForBindings:function(e,n){var r={},o=0;if(e.forEach((function(e){var i=t.exports.getGoogleTypeForBinding(e[n]);null!=i&&(i in r||(r[i]=0,o++),r[i]++)})),0==o)return"string";if(1!=o)throw new i(r,n);for(var a in r)return a},castGoogleType:function(e,n,r){if(null==e)return null;if("string"==r||null==e.type||"typed-literal"!==e.type&&"literal"!==e.type)return"uri"==e.type?t.exports.uriToPrefixed(n,e.value):e.value;switch(e.datatype){case"http://www.w3.org/2001/XMLSchema#float":case"http://www.w3.org/2001/XMLSchema#decimal":case"http://www.w3.org/2001/XMLSchema#int":case"http://www.w3.org/2001/XMLSchema#integer":case"http://www.w3.org/2001/XMLSchema#long":case"http://www.w3.org/2001/XMLSchema#gYearMonth":case"http://www.w3.org/2001/XMLSchema#gYear":case"http://www.w3.org/2001/XMLSchema#gMonthDay":case"http://www.w3.org/2001/XMLSchema#gDay":case"http://www.w3.org/2001/XMLSchema#gMonth":return Number(e.value);case"http://www.w3.org/2001/XMLSchema#date":var i=o(e.value);if(i)return i;case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://www.w3.org/2001/XMLSchema#time":return new Date(e.value);default:return e.value}},fireClick:function(e){e&&e.each((function(e,t){var n=r(t);if(document.dispatchEvent){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,1,1,1,1,1,!1,!1,!1,!1,0,n[0]),n[0].dispatchEvent(i)}else document.fireEvent&&n[0].click()}))}};var o=function(e){var t=new Date(e.replace(/(\d)([\+-]\d{2}:\d{2})/,"$1Z$2"));return isNaN(t)?null:t}},{"./exceptions.js":45,jquery:18,lodash:19}]},{},[1])(1)},module.exports=e()}).call(this,__webpack_require__(5))}}]);
|
|
82
|
-
//# sourceMappingURL=0.
|
|
81
|
+
function(e){var t,n,r,i,o,a,s,l,u,c,f,d,h,p,g,v,m,y="sizzle"+-new Date,b=e.document,w=0,x=0,C=re(),S=re(),_=re(),T=function(e,t){return e===t&&(u=!0),0},k="undefined",D=1<<31,L={}.hasOwnProperty,A=[],N=A.pop,j=A.push,M=A.push,E=A.slice,I=A.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F=R.replace("w","w#"),H="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+F+")|)|)"+P+"*\\]",W=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+H.replace(3,8)+")*)|.*)\\)|)",z=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),q=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),V=new RegExp(W),G=new RegExp("^"+F+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R.replace("w","w*")+")"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),te=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,1023&r|56320)};try{M.apply(A=E.call(b.childNodes),b.childNodes),A[b.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){j.apply(e,E.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ne(e,t,i,o){var s,l,u,d,g,v,w,x,C,S;if((t?t.ownerDocument||t:b)!==f&&c(t),i=i||[],!e||"string"!=typeof e)return i;if(1!==(d=(t=t||f).nodeType)&&9!==d)return[];if(h&&!o){if(s=K.exec(e))if(u=s[1]){if(9===d){if(!(l=t.getElementById(u))||!l.parentNode)return i;if(l.id===u)return i.push(l),i}else if(t.ownerDocument&&(l=t.ownerDocument.getElementById(u))&&m(t,l)&&l.id===u)return i.push(l),i}else{if(s[2])return M.apply(i,t.getElementsByTagName(e)),i;if((u=s[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(i,t.getElementsByClassName(u)),i}if(n.qsa&&(!p||!p.test(e))){if(x=w=y,C=t,S=9===d&&e,1===d&&"object"!==t.nodeName.toLowerCase()){for(v=he(e),(w=t.getAttribute("id"))?x=w.replace(Z,"\\$&"):t.setAttribute("id",x),x="[id='"+x+"'] ",g=v.length;g--;)v[g]=x+pe(v[g]);C=Q.test(e)&&fe(t.parentNode)||t,S=v.join(",")}if(S)try{return M.apply(i,C.querySelectorAll(S)),i}catch(e){}finally{w||t.removeAttribute("id")}}}return function(e,t,i,o){var s,l,u,c,f,d=he(e);if(!o&&1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&n.getById&&9===t.nodeType&&h&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(ee,te),t)||[])[0]))return i;e=e.slice(l.shift().value.length)}for(s=X.needsContext.test(e)?0:l.length;s--&&(u=l[s],!r.relative[c=u.type]);)if((f=r.find[c])&&(o=f(u.matches[0].replace(ee,te),Q.test(l[0].type)&&fe(t.parentNode)||t))){if(l.splice(s,1),!(e=o.length&&pe(l)))return M.apply(i,o),i;break}}return a(e,d)(o,t,!h,i,Q.test(e)&&fe(t.parentNode)||t),i}(e.replace(z,"$1"),t,i,o)}function re(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ie(e){return e[y]=!0,e}function oe(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function se(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ue(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ce(e){return ie((function(t){return t=+t,ie((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function fe(e){return e&&typeof e.getElementsByTagName!==k&&e}for(t in n=ne.support={},o=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},c=ne.setDocument=function(e){var t,i=e?e.ownerDocument||e:b,a=i.defaultView;return i!==f&&9===i.nodeType&&i.documentElement?(f=i,d=i.documentElement,h=!o(i),a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",(function(){c()}),!1):a.attachEvent&&a.attachEvent("onunload",(function(){c()}))),n.attributes=oe((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=oe((function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Y.test(i.getElementsByClassName)&&oe((function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length})),n.getById=oe((function(e){return d.appendChild(e).id=y,!i.getElementsByName||!i.getElementsByName(y).length})),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!==k&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=typeof e.getAttributeNode!==k&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==k)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==k&&h)return t.getElementsByClassName(e)},g=[],p=[],(n.qsa=Y.test(i.querySelectorAll))&&(oe((function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&p.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+O+")"),e.querySelectorAll(":checked").length||p.push(":checked")})),oe((function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")}))),(n.matchesSelector=Y.test(v=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&oe((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),g.push("!=",W)})),p=p.length&&new RegExp(p.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),m=t||Y.test(d.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return u=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===i||e.ownerDocument===b&&m(b,e)?-1:t===i||t.ownerDocument===b&&m(b,t)?1:l?I.call(l,e)-I.call(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,r=0,o=e.parentNode,a=t.parentNode,s=[e],c=[t];if(!o||!a)return e===i?-1:t===i?1:o?-1:a?1:l?I.call(l,e)-I.call(l,t):0;if(o===a)return se(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)c.unshift(n);for(;s[r]===c[r];)r++;return r?se(s[r],c[r]):s[r]===b?-1:c[r]===b?1:0},i):f},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&c(e),t=t.replace(U,"='$1']"),n.matchesSelector&&h&&(!g||!g.test(t))&&(!p||!p.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ne(t,f,null,[e]).length>0},ne.contains=function(e,t){return(e.ownerDocument||e)!==f&&c(e),m(e,t)},ne.attr=function(e,t){(e.ownerDocument||e)!==f&&c(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!h):void 0;return void 0!==o?o:n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var t,r=[],i=0,o=0;if(u=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(T),u){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=ne.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ne.selectors={cacheLength:50,createPseudo:ie,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ne.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ne.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return X.CHILD.test(e[0])?null:(e[3]&&void 0!==e[4]?e[2]=e[4]:n&&V.test(n)&&(t=he(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==k&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ne.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,h,p,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s;if(v){if(o){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&b){for(h=(u=(c=v[y]||(v[y]={}))[e]||[])[0]===w&&u[1],d=u[0]===w&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[g]||(d=h=0)||p.pop();)if(1===f.nodeType&&++d&&f===t){c[e]=[w,h,d];break}}else if(b&&(u=(t[y]||(t[y]={}))[e])&&u[0]===w)d=u[1];else for(;(f=++h&&f&&f[g]||(d=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++d||(b&&((f[y]||(f[y]={}))[e]=[w,d]),f!==t)););return(d-=i)===r||d%r==0&&d/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ie((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=I.call(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ie((function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[y]?ie((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}})),has:ie((function(e){return function(t){return ne(e,t).length>0}})),contains:ie((function(e){return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ie((function(e){return G.test(e||"")||ne.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ce((function(){return[0]})),last:ce((function(e,t){return[t-1]})),eq:ce((function(e,t,n){return[n<0?n+t:n]})),even:ce((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ce((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ce((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:ce((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=le(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ue(t);function de(){}function he(e,t){var n,i,o,a,s,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(i=q.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=B.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=X[a].exec(s))||u[a]&&!(i=u[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ne.error(e):S(e,l).slice(0)}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=x++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u=[w,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(l=t[y]||(t[y]={}))[r])&&s[0]===w&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function ve(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function me(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function ye(e,t,n,r,i,o){return r&&!r[y]&&(r=ye(r)),i&&!i[y]&&(i=ye(i,o)),ie((function(o,a,s,l){var u,c,f,d=[],h=[],p=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ne(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?g:me(g,d,e,s,l),m=n?i||(o?e:p||r)?[]:a:v;if(n&&n(v,m,s,l),r)for(u=me(m,h),r(u,[],s,l),c=u.length;c--;)(f=u[c])&&(m[h[c]]=!(v[h[c]]=f));if(o){if(i||e){if(i){for(u=[],c=m.length;c--;)(f=m[c])&&u.push(v[c]=f);i(null,m=[],u,l)}for(c=m.length;c--;)(f=m[c])&&(u=i?I.call(o,f):d[c])>-1&&(o[u]=!(a[u]=f))}}else m=me(m===a?m.splice(p,m.length):m),i?i(null,a,m,l):M.apply(a,m)}))}function be(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],l=a||r.relative[" "],u=a?1:0,c=ge((function(e){return e===t}),l,!0),f=ge((function(e){return I.call(t,e)>-1}),l,!0),d=[function(e,n,r){return!a&&(r||n!==s)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];u<o;u++)if(n=r.relative[e[u].type])d=[ge(ve(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[y]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return ye(u>1&&ve(d),u>1&&pe(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(z,"$1"),n,u<i&&be(e.slice(u,i)),i<o&&be(e=e.slice(i)),i<o&&pe(e))}d.push(n)}return ve(d)}return de.prototype=r.filters=r.pseudos,r.setFilters=new de,a=ne.compile=function(e,t){var n,i=[],o=[],a=_[e+" "];if(!a){for(t||(t=he(e)),n=t.length;n--;)(a=be(t[n]))[y]?i.push(a):o.push(a);a=_(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,l,u,c){var d,h,p,g=0,v="0",m=o&&[],y=[],b=s,x=o||i&&r.find.TAG("*",c),C=w+=null==b?1:Math.random()||.1,S=x.length;for(c&&(s=a!==f&&a);v!==S&&null!=(d=x[v]);v++){if(i&&d){for(h=0;p=e[h++];)if(p(d,a,l)){u.push(d);break}c&&(w=C)}n&&((d=!p&&d)&&g--,o&&m.push(d))}if(g+=v,n&&v!==g){for(h=0;p=t[h++];)p(m,y,a,l);if(o){if(g>0)for(;v--;)m[v]||y[v]||(y[v]=N.call(u));y=me(y)}M.apply(u,y),c&&!o&&y.length>0&&g+t.length>1&&ne.uniqueSort(u)}return c&&(w=C,s=b),m};return n?ie(o):o}(o,i))}return a},n.sortStable=y.split("").sort(T).join("")===y,n.detectDuplicates=!!u,c(),n.sortDetached=oe((function(e){return 1&e.compareDocumentPosition(f.createElement("div"))})),oe((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ae("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&oe((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ae("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),oe((function(e){return null==e.getAttribute("disabled")}))||ae(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ne}(e);d.find=y,d.expr=y.selectors,d.expr[":"]=d.expr.pseudos,d.unique=y.uniqueSort,d.text=y.getText,d.isXMLDoc=y.isXML,d.contains=y.contains;var b=d.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function C(e,t,n){if(d.isFunction(t))return d.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return d.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(x.test(t))return d.filter(t,e,n);t=d.filter(t,e)}return d.grep(e,(function(e){return d.inArray(e,t)>=0!==n}))}d.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?d.find.matchesSelector(r,e)?[r]:[]:d.find.matches(e,d.grep(t,(function(e){return 1===e.nodeType})))},d.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(d(e).filter((function(){for(t=0;t<i;t++)if(d.contains(r[t],this))return!0})));for(t=0;t<i;t++)d.find(e,r[t],n);return(n=this.pushStack(i>1?d.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(C(this,e||[],!1))},not:function(e){return this.pushStack(C(this,e||[],!0))},is:function(e){return!!C(this,"string"==typeof e&&b.test(e)?d(e):e||[],!1).length}});var S,_=e.document,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(d.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e))||!n[1]&&t)return!t||t.jquery?(t||S).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof d?t[0]:t,d.merge(this,d.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),w.test(n[1])&&d.isPlainObject(t))for(n in t)d.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=_.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return S.find(e);this.length=1,this[0]=r}return this.context=_,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):d.isFunction(e)?void 0!==S.ready?S.ready(e):e(d):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this))}).prototype=d.fn,S=d(_);var k=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}d.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!d(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),d.fn.extend({has:function(e){var t,n=d(e,this),r=n.length;return this.filter((function(){for(t=0;t<r;t++)if(d.contains(this,n[t]))return!0}))},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=b.test(e)||"string"!=typeof e?d(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&d.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?d.unique(o):o)},index:function(e){return e?"string"==typeof e?d.inArray(this[0],d(e)):d.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(d.unique(d.merge(this.get(),d(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),d.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d.dir(e,"parentNode")},parentsUntil:function(e,t,n){return d.dir(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return d.dir(e,"nextSibling")},prevAll:function(e){return d.dir(e,"previousSibling")},nextUntil:function(e,t,n){return d.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return d.dir(e,"previousSibling",n)},siblings:function(e){return d.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return d.sibling(e.firstChild)},contents:function(e){return d.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:d.merge([],e.childNodes)}},(function(e,t){d.fn[e]=function(n,r){var i=d.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=d.filter(r,i)),this.length>1&&(D[e]||(i=d.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}}));var A,N=/\S+/g,j={};function M(){_.addEventListener?(_.removeEventListener("DOMContentLoaded",E,!1),e.removeEventListener("load",E,!1)):(_.detachEvent("onreadystatechange",E),e.detachEvent("onload",E))}function E(){(_.addEventListener||"load"===event.type||"complete"===_.readyState)&&(M(),d.ready())}d.Callbacks=function(e){e="string"==typeof e?j[e]||function(e){var t=j[e]={};return d.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):d.extend({},e);var t,n,r,i,o,a,s=[],l=!e.once&&[],u=function(f){for(n=e.memory&&f,r=!0,o=a||0,a=0,i=s.length,t=!0;s&&o<i;o++)if(!1===s[o].apply(f[0],f[1])&&e.stopOnFalse){n=!1;break}t=!1,s&&(l?l.length&&u(l.shift()):n?s=[]:c.disable())},c={add:function(){if(s){var r=s.length;!function t(n){d.each(n,(function(n,r){var i=d.type(r);"function"===i?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==i&&t(r)}))}(arguments),t?i=s.length:n&&(a=r,u(n))}return this},remove:function(){return s&&d.each(arguments,(function(e,n){for(var r;(r=d.inArray(n,s,r))>-1;)s.splice(r,1),t&&(r<=i&&i--,r<=o&&o--)})),this},has:function(e){return e?d.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],i=0,this},disable:function(){return s=l=n=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,n||c.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!s||r&&!l||(n=[e,(n=n||[]).slice?n.slice():n],t?l.push(n):u(n)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},d.extend({Deferred:function(e){var t=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return d.Deferred((function(n){d.each(t,(function(t,o){var a=d.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=a&&a.apply(this,arguments);e&&d.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?d.extend(e,r):r}},i={};return r.pipe=r.then,d.each(t,(function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,i,o=0,a=r.call(arguments),s=a.length,l=1!==s||e&&d.isFunction(e.promise)?s:0,u=1===l?e:d.Deferred(),c=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?r.call(arguments):o,i===t?u.notifyWith(n,i):--l||u.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)a[o]&&d.isFunction(a[o].promise)?a[o].promise().done(c(o,i,a)).fail(u.reject).progress(c(o,n,t)):--l;return l||u.resolveWith(i,a),u.promise()}}),d.fn.ready=function(e){return d.ready.promise().done(e),this},d.extend({isReady:!1,readyWait:1,holdReady:function(e){e?d.readyWait++:d.ready(!0)},ready:function(e){if(!0===e?!--d.readyWait:!d.isReady){if(!_.body)return setTimeout(d.ready);d.isReady=!0,!0!==e&&--d.readyWait>0||(A.resolveWith(_,[d]),d.fn.trigger&&d(_).trigger("ready").off("ready"))}}}),d.ready.promise=function(t){if(!A)if(A=d.Deferred(),"complete"===_.readyState)setTimeout(d.ready);else if(_.addEventListener)_.addEventListener("DOMContentLoaded",E,!1),e.addEventListener("load",E,!1);else{_.attachEvent("onreadystatechange",E),e.attachEvent("onload",E);var n=!1;try{n=null==e.frameElement&&_.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!d.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}M(),d.ready()}}()}return A.promise(t)};var I,O="undefined";for(I in d(f))break;f.ownLast="0"!==I,f.inlineBlockNeedsLayout=!1,d((function(){var e,t,n=_.getElementsByTagName("body")[0];n&&((e=_.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=_.createElement("div"),n.appendChild(e).appendChild(t),typeof t.style.zoom!==O&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(f.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)})),function(){var e=_.createElement("div");if(null==f.deleteExpando){f.deleteExpando=!0;try{delete e.test}catch(e){f.deleteExpando=!1}}e=null}(),d.acceptData=function(e){var t=d.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,R=/([A-Z])/g;function F(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(R,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:P.test(n)?d.parseJSON(n):n)}catch(e){}d.data(e,t,n)}else n=void 0}return n}function H(e){var t;for(t in e)if(("data"!==t||!d.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function W(e,t,r,i){if(d.acceptData(e)){var o,a,s=d.expando,l=e.nodeType,u=l?d.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||void 0!==r||"string"!=typeof t)return c||(c=l?e[s]=n.pop()||d.guid++:s),u[c]||(u[c]=l?{}:{toJSON:d.noop}),"object"!=typeof t&&"function"!=typeof t||(i?u[c]=d.extend(u[c],t):u[c].data=d.extend(u[c].data,t)),a=u[c],i||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[d.camelCase(t)]=r),"string"==typeof t?null==(o=a[t])&&(o=a[d.camelCase(t)]):o=a,o}}function z(e,t,n){if(d.acceptData(e)){var r,i,o=e.nodeType,a=o?d.cache:e,s=o?e[d.expando]:d.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=d.isArray(t)?t.concat(d.map(t,d.camelCase)):t in r?[t]:(t=d.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!H(r):!d.isEmptyObject(r))return}(n||(delete a[s].data,H(a[s])))&&(o?d.cleanData([e],!0):f.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}d.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?d.cache[e[d.expando]]:e[d.expando])&&!H(e)},data:function(e,t,n){return W(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return W(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),d.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=d.data(o),1===o.nodeType&&!d._data(o,"parsedAttrs"))){for(n=a.length;n--;)0===(r=a[n].name).indexOf("data-")&&F(o,r=d.camelCase(r.slice(5)),i[r]);d._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each((function(){d.data(this,e)})):arguments.length>1?this.each((function(){d.data(this,e,t)})):o?F(o,e,d.data(o,e)):void 0},removeData:function(e){return this.each((function(){d.removeData(this,e)}))}}),d.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=d._data(e,t),n&&(!r||d.isArray(n)?r=d._data(e,t,d.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=d.queue(e,t),r=n.length,i=n.shift(),o=d._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){d.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return d._data(e,n)||d._data(e,n,{empty:d.Callbacks("once memory").add((function(){d._removeData(e,t+"queue"),d._removeData(e,n)}))})}}),d.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?d.queue(this[0],e):void 0===t?this:this.each((function(){var n=d.queue(this,e,t);d._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&d.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){d.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=d.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=d._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,B=["Top","Right","Bottom","Left"],U=function(e,t){return e=t||e,"none"===d.css(e,"display")||!d.contains(e.ownerDocument,e)},V=d.access=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===d.type(n))for(s in i=!0,n)d.access(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,d.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(d(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},G=/^(?:checkbox|radio)$/i;!function(){var e=_.createDocumentFragment(),t=_.createElement("div"),n=_.createElement("input");if(t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a>",f.leadingWhitespace=3===t.firstChild.nodeType,f.tbody=!t.getElementsByTagName("tbody").length,f.htmlSerialize=!!t.getElementsByTagName("link").length,f.html5Clone="<:nav></:nav>"!==_.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),f.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",f.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,f.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",(function(){f.noCloneEvent=!1})),t.cloneNode(!0).click()),null==f.deleteExpando){f.deleteExpando=!0;try{delete t.test}catch(e){f.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,r=_.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(f[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),f[t+"Bubbles"]=!1===r.attributes[n].expando);r=null}();var X=/^(?:input|select|textarea)$/i,J=/^key/,$=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,K=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function Z(){return!1}function ee(){try{return _.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}d.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,h,p,g,v,m=d._data(e);if(m){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=d.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||((c=m.handle=function(e){return typeof d===O||e&&d.event.triggered===e.type?void 0:d.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(N)||[""]).length;s--;)p=v=(o=K.exec(t[s])||[])[1],g=(o[2]||"").split(".").sort(),p&&(u=d.event.special[p]||{},p=(i?u.delegateType:u.bindType)||p,u=d.event.special[p]||{},f=d.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&d.expr.match.needsContext.test(i),namespace:g.join(".")},l),(h=a[p])||((h=a[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,g,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,f):h.push(f),d.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,h,p,g,v,m=d.hasData(e)&&d._data(e);if(m&&(c=m.events)){for(u=(t=(t||"").match(N)||[""]).length;u--;)if(p=v=(s=K.exec(t[u])||[])[1],g=(s[2]||"").split(".").sort(),p){for(f=d.event.special[p]||{},h=c[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)a=h[o],!i&&v!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(h.splice(o,1),a.selector&&h.delegateCount--,f.remove&&f.remove.call(e,a));l&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,g,m.handle)||d.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)d.event.remove(e,p+t[u],n,r,!0);d.isEmptyObject(c)&&(delete m.handle,d._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,l,c,f,h,p=[r||_],g=u.call(t,"type")?t.type:t,v=u.call(t,"namespace")?t.namespace.split("."):[];if(s=f=r=r||_,3!==r.nodeType&&8!==r.nodeType&&!Y.test(g+d.event.triggered)&&(g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),a=g.indexOf(":")<0&&"on"+g,(t=t[d.expando]?t:new d.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:d.makeArray(n,[t]),c=d.event.special[g]||{},i||!c.trigger||!1!==c.trigger.apply(r,n))){if(!i&&!c.noBubble&&!d.isWindow(r)){for(l=c.delegateType||g,Y.test(l+g)||(s=s.parentNode);s;s=s.parentNode)p.push(s),f=s;f===(r.ownerDocument||_)&&p.push(f.defaultView||f.parentWindow||e)}for(h=0;(s=p[h++])&&!t.isPropagationStopped();)t.type=h>1?l:c.bindType||g,(o=(d._data(s,"events")||{})[t.type]&&d._data(s,"handle"))&&o.apply(s,n),(o=a&&s[a])&&o.apply&&d.acceptData(s)&&(t.result=o.apply(s,n),!1===t.result&&t.preventDefault());if(t.type=g,!i&&!t.isDefaultPrevented()&&(!c._default||!1===c._default.apply(p.pop(),n))&&d.acceptData(r)&&a&&r[g]&&!d.isWindow(r)){(f=r[a])&&(r[a]=null),d.event.triggered=g;try{r[g]()}catch(e){}d.event.triggered=void 0,f&&(r[a]=f)}return t.result}},dispatch:function(e){e=d.event.fix(e);var t,n,i,o,a,s=[],l=r.call(arguments),u=(d._data(this,"events")||{})[e.type]||[],c=d.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=d.event.handlers.call(this,e,u),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,a=0;(i=o.handlers[a++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(n=((d.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?d(n,this).index(l)>=0:d.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[d.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=$.test(i)?this.mouseHooks:J.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new d.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||_),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||_).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ee()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(d.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return d.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=d.extend(new d.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?d.event.trigger(i,null,t):d.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},d.removeEvent=_.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===O&&(e[r]=null),e.detachEvent(r,n))},d.Event=function(e,t){if(!(this instanceof d.Event))return new d.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&(!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault())?Q:Z):this.type=e,t&&d.extend(this,t),this.timeStamp=e&&e.timeStamp||d.now(),this[d.expando]=!0},d.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q,this.stopPropagation()}},d.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(e,t){d.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||d.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),f.submitBubbles||(d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return!1;d.event.add(this,"click._submit keypress._submit",(function(e){var t=e.target,n=d.nodeName(t,"input")||d.nodeName(t,"button")?t.form:void 0;n&&!d._data(n,"submitBubbles")&&(d.event.add(n,"submit._submit",(function(e){e._submit_bubble=!0})),d._data(n,"submitBubbles",!0))}))},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&d.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(d.nodeName(this,"form"))return!1;d.event.remove(this,"._submit")}}),f.changeBubbles||(d.event.special.change={setup:function(){if(X.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(d.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)})),d.event.add(this,"click._change",(function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),d.event.simulate("change",this,e,!0)}))),!1;d.event.add(this,"beforeactivate._change",(function(e){var t=e.target;X.test(t.nodeName)&&!d._data(t,"changeBubbles")&&(d.event.add(t,"change._change",(function(e){!this.parentNode||e.isSimulated||e.isTrigger||d.event.simulate("change",this.parentNode,e,!0)})),d._data(t,"changeBubbles",!0))}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return d.event.remove(this,"._change"),!X.test(this.nodeName)}}),f.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){d.event.simulate(t,e.target,d.event.fix(e),!0)};d.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=d._data(r,t);i||r.addEventListener(e,n,!0),d._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=d._data(r,t)-1;i?d._data(r,t,i):(r.removeEventListener(e,n,!0),d._removeData(r,t))}}})),d.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return d().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=d.guid++)),this.each((function(){d.event.add(this,e,r,n,t)}))},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,d(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Z),this.each((function(){d.event.remove(this,e,n,t)}))},trigger:function(e,t){return this.each((function(){d.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return d.event.trigger(e,t,n,!0)}});var ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",re=/ jQuery\d+="(?:null|\d+)"/g,ie=new RegExp("<(?:"+ne+")[\\s/>]","i"),oe=/^\s+/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,se=/<([\w:]+)/,le=/<tbody/i,ue=/<|&#?\w+;/,ce=/<(?:script|style|link)/i,fe=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^$|\/(?:java|ecma)script/i,he=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:f.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ve=te(_).appendChild(_.createElement("div"));function me(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==O?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==O?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||d.nodeName(r,t)?o.push(r):d.merge(o,me(r,t));return void 0===t||t&&d.nodeName(e,t)?d.merge([e],o):o}function ye(e){G.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return d.nodeName(e,"table")&&d.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function we(e){return e.type=(null!==d.find.attr(e,"type"))+"/"+e.type,e}function xe(e){var t=he.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ce(e,t){for(var n,r=0;null!=(n=e[r]);r++)d._data(n,"globalEval",!t||d._data(t[r],"globalEval"))}function Se(e,t){if(1===t.nodeType&&d.hasData(e)){var n,r,i,o=d._data(e),a=d._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)d.event.add(t,n,s[n][r]);a.data&&(a.data=d.extend({},a.data))}}function _e(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!f.noCloneEvent&&t[d.expando]){for(r in(i=d._data(t)).events)d.removeEvent(t,r,i.handle);t.removeAttribute(d.expando)}"script"===n&&t.text!==e.text?(we(t).text=e.text,xe(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),f.html5Clone&&e.innerHTML&&!d.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&G.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,d.extend({clone:function(e,t,n){var r,i,o,a,s,l=d.contains(e.ownerDocument,e);if(f.html5Clone||d.isXMLDoc(e)||!ie.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ve.innerHTML=e.outerHTML,ve.removeChild(o=ve.firstChild)),!(f.noCloneEvent&&f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||d.isXMLDoc(e)))for(r=me(o),s=me(e),a=0;null!=(i=s[a]);++a)r[a]&&_e(i,r[a]);if(t)if(n)for(s=s||me(e),r=r||me(o),a=0;null!=(i=s[a]);a++)Se(i,r[a]);else Se(e,o);return(r=me(o,"script")).length>0&&Ce(r,!l&&me(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,h=e.length,p=te(t),g=[],v=0;v<h;v++)if((o=e[v])||0===o)if("object"===d.type(o))d.merge(g,o.nodeType?[o]:o);else if(ue.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(se.exec(o)||["",""])[1].toLowerCase(),c=ge[l]||ge._default,s.innerHTML=c[1]+o.replace(ae,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!f.leadingWhitespace&&oe.test(o)&&g.push(t.createTextNode(oe.exec(o)[0])),!f.tbody)for(i=(o="table"!==l||le.test(o)?"<table>"!==c[1]||le.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)d.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(d.merge(g,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else g.push(t.createTextNode(o));for(s&&p.removeChild(s),f.appendChecked||d.grep(me(g,"input"),ye),v=0;o=g[v++];)if((!r||-1===d.inArray(o,r))&&(a=d.contains(o.ownerDocument,o),s=me(p.appendChild(o),"script"),a&&Ce(s),n))for(i=0;o=s[i++];)de.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var r,i,o,a,s=0,l=d.expando,u=d.cache,c=f.deleteExpando,h=d.event.special;null!=(r=e[s]);s++)if((t||d.acceptData(r))&&(a=(o=r[l])&&u[o])){if(a.events)for(i in a.events)h[i]?d.event.remove(r,i):d.removeEvent(r,i,a.handle);u[o]&&(delete u[o],c?delete r[l]:typeof r.removeAttribute!==O?r.removeAttribute(l):r[l]=null,n.push(o))}}}),d.fn.extend({text:function(e){return V(this,(function(e){return void 0===e?d.text(this):this.empty().append((this[0]&&this[0].ownerDocument||_).createTextNode(e))}),null,e,arguments.length)},append:function(){return this.domManip(arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)}))},prepend:function(){return this.domManip(arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=be(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var n,r=e?d.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||d.cleanData(me(n)),n.parentNode&&(t&&d.contains(n.ownerDocument,n)&&Ce(me(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&d.cleanData(me(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&d.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return d.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(re,""):void 0;if("string"==typeof e&&!ce.test(e)&&(f.htmlSerialize||!ie.test(e))&&(f.leadingWhitespace||!oe.test(e))&&!ge[(se.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ae,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(d.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,(function(t){e=this.parentNode,d.cleanData(me(this)),e&&e.replaceChild(t,this)})),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=i.apply([],e);var n,r,o,a,s,l,u=0,c=this.length,h=this,p=c-1,g=e[0],v=d.isFunction(g);if(v||c>1&&"string"==typeof g&&!f.checkClone&&fe.test(g))return this.each((function(n){var r=h.eq(n);v&&(e[0]=g.call(this,n,r.html())),r.domManip(e,t)}));if(c&&(n=(l=d.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(o=(a=d.map(me(l,"script"),we)).length;u<c;u++)r=l,u!==p&&(r=d.clone(r,!0,!0),o&&d.merge(a,me(r,"script"))),t.call(this[u],r,u);if(o)for(s=a[a.length-1].ownerDocument,d.map(a,xe),u=0;u<o;u++)r=a[u],de.test(r.type||"")&&!d._data(r,"globalEval")&&d.contains(s,r)&&(r.src?d._evalUrl&&d._evalUrl(r.src):d.globalEval((r.text||r.textContent||r.innerHTML||"").replace(pe,"")));l=n=null}return this}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){d.fn[e]=function(e){for(var n,r=0,i=[],a=d(e),s=a.length-1;r<=s;r++)n=r===s?this:this.clone(!0),d(a[r])[t](n),o.apply(i,n.get());return this.pushStack(i)}}));var Te,ke,De,Le,Ae={};function Ne(t,n){var r=d(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle?e.getDefaultComputedStyle(r[0]).display:d.css(r[0],"display");return r.detach(),i}function je(e){var t=_,n=Ae[e];return n||("none"!==(n=Ne(e,t))&&n||((t=((Te=(Te||d("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Te[0].contentDocument).document).write(),t.close(),n=Ne(e,t),Te.detach()),Ae[e]=n),n}(Le=_.createElement("div")).innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(ke=Le.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",f.opacity=/^0.5/.test(ke.style.opacity),f.cssFloat=!!ke.style.cssFloat,Le.style.backgroundClip="content-box",Le.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===Le.style.backgroundClip,ke=Le=null,f.shrinkWrapBlocks=function(){var e,t,n;if(null==De){if(!(e=_.getElementsByTagName("body")[0]))return;t=_.createElement("div"),n=_.createElement("div"),e.appendChild(t).appendChild(n),De=!1,typeof n.style.zoom!==O&&(n.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0;width:1px;padding:1px;zoom:1",n.innerHTML="<div></div>",n.firstChild.style.width="5px",De=3!==n.offsetWidth),e.removeChild(t),e=t=n=null}return De};var Me,Ee,Ie=/^margin/,Oe=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),Pe=/^(top|right|bottom|left)$/;function Re(e,t){return{get:function(){var n=e();if(null!=n){if(!n)return(this.get=t).apply(this,arguments);delete this.get}}}}e.getComputedStyle?(Me=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},Ee=function(e,t,n){var r,i,o,a,s=e.style;return a=(n=n||Me(e))?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||d.contains(e.ownerDocument,e)||(a=d.style(e,t)),Oe.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):_.documentElement.currentStyle&&(Me=function(e){return e.currentStyle},Ee=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||Me(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),Oe.test(a)&&!Pe.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){var t,n,r,i,o,a,s=_.createElement("div"),l="border:0;width:0;height:0;position:absolute;top:0;left:-9999px";function u(){var t,n,s=_.getElementsByTagName("body")[0];s&&(t=_.createElement("div"),n=_.createElement("div"),t.style.cssText=l,s.appendChild(t).appendChild(n),n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",d.swap(s,null!=s.style.zoom?{zoom:1}:{},(function(){r=4===n.offsetWidth})),i=!0,o=!1,a=!0,e.getComputedStyle&&(o="1%"!==(e.getComputedStyle(n,null)||{}).top,i="4px"===(e.getComputedStyle(n,null)||{width:"4px"}).width),s.removeChild(t),n=s=null)}s.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(t=s.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",f.opacity=/^0.5/.test(t.style.opacity),f.cssFloat=!!t.style.cssFloat,s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===s.style.backgroundClip,t=s=null,d.extend(f,{reliableHiddenOffsets:function(){if(null!=n)return n;var e,t,r,i=_.createElement("div"),o=_.getElementsByTagName("body")[0];return o?(i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(e=_.createElement("div")).style.cssText=l,o.appendChild(e).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(t=i.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",r=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",n=r&&0===t[0].offsetHeight,o.removeChild(e),i=o=null,n):void 0},boxSizing:function(){return null==r&&u(),r},boxSizingReliable:function(){return null==i&&u(),i},pixelPosition:function(){return null==o&&u(),o},reliableMarginRight:function(){var t,n,r,i;if(null==a&&e.getComputedStyle){if(!(t=_.getElementsByTagName("body")[0]))return;n=_.createElement("div"),r=_.createElement("div"),n.style.cssText=l,t.appendChild(n).appendChild(r),(i=r.appendChild(_.createElement("div"))).style.cssText=r.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0",i.style.marginRight=i.style.width="0",r.style.width="1px",a=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight),t.removeChild(n)}return a}})}(),d.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};var Fe=/alpha\([^)]*\)/i,He=/opacity\s*=\s*([^)]*)/,We=/^(none|table(?!-c[ea]).+)/,ze=new RegExp("^("+q+")(.*)$","i"),qe=new RegExp("^([+-])=("+q+")","i"),Be={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:0,fontWeight:400},Ve=["Webkit","O","Moz","ms"];function Ge(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Ve.length;i--;)if((t=Ve[i]+n)in e)return t;return r}function Xe(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=d._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&U(r)&&(o[a]=d._data(r,"olddisplay",je(r.nodeName)))):o[a]||(i=U(r),(n&&"none"!==n||!i)&&d._data(r,"olddisplay",i?n:d.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function Je(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function $e(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=d.css(e,n+B[o],!0,i)),r?("content"===n&&(a-=d.css(e,"padding"+B[o],!0,i)),"margin"!==n&&(a-=d.css(e,"border"+B[o]+"Width",!0,i))):(a+=d.css(e,"padding"+B[o],!0,i),"padding"!==n&&(a+=d.css(e,"border"+B[o]+"Width",!0,i)));return a}function Ye(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Me(e),a=f.boxSizing()&&"border-box"===d.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ee(e,t,o))<0||null==i)&&(i=e.style[t]),Oe.test(i))return i;r=a&&(f.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+$e(e,t,n||(a?"border":"content"),r,o)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}d.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ee(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:f.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=d.camelCase(t),l=e.style;if(t=d.cssProps[s]||(d.cssProps[s]=Ge(l,s)),a=d.cssHooks[t]||d.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if("string"==(o=typeof n)&&(i=qe.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(d.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||d.cssNumber[s]||(n+="px"),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]="",l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=d.camelCase(t);return t=d.cssProps[s]||(d.cssProps[s]=Ge(e.style,s)),(a=d.cssHooks[t]||d.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ee(e,t,r)),"normal"===o&&t in Ue&&(o=Ue[t]),""===n||n?(i=parseFloat(o),!0===n||d.isNumeric(i)?i||0:o):o}}),d.each(["height","width"],(function(e,t){d.cssHooks[t]={get:function(e,n,r){if(n)return 0===e.offsetWidth&&We.test(d.css(e,"display"))?d.swap(e,Be,(function(){return Ye(e,t,r)})):Ye(e,t,r)},set:function(e,n,r){var i=r&&Me(e);return Je(0,n,r?$e(e,t,r,f.boxSizing()&&"border-box"===d.css(e,"boxSizing",!1,i),i):0)}}})),f.opacity||(d.cssHooks.opacity={get:function(e,t){return He.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=d.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===d.trim(o.replace(Fe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=Fe.test(o)?o.replace(Fe,i):o+" "+i)}}),d.cssHooks.marginRight=Re(f.reliableMarginRight,(function(e,t){if(t)return d.swap(e,{display:"inline-block"},Ee,[e,"marginRight"])})),d.each({margin:"",padding:"",border:"Width"},(function(e,t){d.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+B[r]+t]=o[r]||o[r-2]||o[0];return i}},Ie.test(e)||(d.cssHooks[e+t].set=Je)})),d.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,i,o={},a=0;if(d.isArray(t)){for(r=Me(e),i=t.length;a<i;a++)o[t[a]]=d.css(e,t[a],!1,r);return o}return void 0!==n?d.style(e,t,n):d.css(e,t)}),e,t,arguments.length>1)},show:function(){return Xe(this,!0)},hide:function(){return Xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){U(this)?d(this).show():d(this).hide()}))}}),d.Tween=Ke,Ke.prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(d.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=d.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ke.propHooks._default.set(this),this}},Ke.prototype.init.prototype=Ke.prototype,Ke.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=d.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){d.fx.step[e.prop]?d.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[d.cssProps[e.prop]]||d.cssHooks[e.prop])?d.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ke.propHooks.scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},d.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},d.fx=Ke.prototype.init,d.fx.step={};var Qe,Ze,et=/^(?:toggle|show|hide)$/,tt=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),nt=/queueHooks$/,rt=[function(e,t,n){var r,i,o,a,s,l,u,c,h=this,p={},g=e.style,v=e.nodeType&&U(e),m=d._data(e,"fxshow");for(r in n.queue||(null==(s=d._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,d.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[g.overflow,g.overflowX,g.overflowY],u=d.css(e,"display"),c=je(e.nodeName),"none"===u&&(u=c),"inline"===u&&"none"===d.css(e,"float")&&(f.inlineBlockNeedsLayout&&"inline"!==c?g.zoom=1:g.display="inline-block")),n.overflow&&(g.overflow="hidden",f.shrinkWrapBlocks()||h.always((function(){g.overflow=n.overflow[0],g.overflowX=n.overflow[1],g.overflowY=n.overflow[2]}))),t)if(i=t[r],et.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;v=!0}p[r]=m&&m[r]||d.style(e,r)}if(!d.isEmptyObject(p))for(r in m?"hidden"in m&&(v=m.hidden):m=d._data(e,"fxshow",{}),o&&(m.hidden=!v),v?d(e).show():h.done((function(){d(e).hide()})),h.done((function(){var t;for(t in d._removeData(e,"fxshow"),p)d.style(e,t,p[t])})),p)a=st(v?m[r]:0,r,h),r in m||(m[r]=a.start,v&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],it={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tt.exec(t),o=i&&i[3]||(d.cssNumber[e]?"":"px"),a=(d.cssNumber[e]||"px"!==o&&+r)&&tt.exec(d.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{a/=s=s||".5",d.style(n.elem,e,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function ot(){return setTimeout((function(){Qe=void 0})),Qe=d.now()}function at(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=B[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function st(e,t,n){for(var r,i=(it[t]||[]).concat(it["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(e,t,n){var r,i,o=0,a=rt.length,s=d.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=Qe||ot(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:d.extend({},t),opts:d.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Qe||ot(),duration:n.duration,tweens:[],createTween:function(t,n){var r=d.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=d.camelCase(n)],o=e[n],d.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=d.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,u.opts.specialEasing);o<a;o++)if(r=rt[o].call(u,e,c,u.opts))return r;return d.map(c,st,u),d.isFunction(u.opts.start)&&u.opts.start.call(e,u),d.fx.timer(d.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}d.Animation=d.extend(lt,{tweener:function(e,t){d.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],it[n]=it[n]||[],it[n].unshift(t)},prefilter:function(e,t){t?rt.unshift(e):rt.push(e)}}),d.speed=function(e,t,n){var r=e&&"object"==typeof e?d.extend({},e):{complete:n||!n&&t||d.isFunction(e)&&e,duration:e,easing:n&&t||t&&!d.isFunction(t)&&t};return r.duration=d.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in d.fx.speeds?d.fx.speeds[r.duration]:d.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){d.isFunction(r.old)&&r.old.call(this),r.queue&&d.dequeue(this,r.queue)},r},d.fn.extend({fadeTo:function(e,t,n,r){return this.filter(U).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=d.isEmptyObject(e),o=d.speed(t,n,r),a=function(){var t=lt(this,d.extend({},e),o);(i||d._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=d.timers,a=d._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&nt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||d.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=d._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=d.timers,a=r?r.length:0;for(n.finish=!0,d.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),d.each(["toggle","show","hide"],(function(e,t){var n=d.fn[t];d.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(at(t,!0),e,r,i)}})),d.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){d.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),d.timers=[],d.fx.tick=function(){var e,t=d.timers,n=0;for(Qe=d.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||d.fx.stop(),Qe=void 0},d.fx.timer=function(e){d.timers.push(e),e()?d.fx.start():d.timers.pop()},d.fx.interval=13,d.fx.start=function(){Ze||(Ze=setInterval(d.fx.tick,d.fx.interval))},d.fx.stop=function(){clearInterval(Ze),Ze=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(e,t){return e=d.fx&&d.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}}))},function(){var e,t,n,r,i=_.createElement("div");i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],r=(n=_.createElement("select")).appendChild(_.createElement("option")),t=i.getElementsByTagName("input")[0],e.style.cssText="top:1px",f.getSetAttribute="t"!==i.className,f.style=/top/.test(e.getAttribute("style")),f.hrefNormalized="/a"===e.getAttribute("href"),f.checkOn=!!t.value,f.optSelected=r.selected,f.enctype=!!_.createElement("form").enctype,n.disabled=!0,f.optDisabled=!r.disabled,(t=_.createElement("input")).setAttribute("value",""),f.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),f.radioValue="t"===t.value,e=t=n=r=i=null}();var ut=/\r/g;d.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=d.isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,d(this).val()):e)?i="":"number"==typeof i?i+="":d.isArray(i)&&(i=d.map(i,(function(e){return null==e?"":e+""}))),(t=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=d.valHooks[i.type]||d.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ut,""):null==n?"":n:void 0}}),d.extend({valHooks:{option:{get:function(e){var t=d.find.attr(e,"value");return null!=t?t:d.text(e)}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!d.nodeName(n.parentNode,"optgroup"))){if(t=d(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=d.makeArray(t),a=i.length;a--;)if(r=i[a],d.inArray(d.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),d.each(["radio","checkbox"],(function(){d.valHooks[this]={set:function(e,t){if(d.isArray(t))return e.checked=d.inArray(d(e).val(),t)>=0}},f.checkOn||(d.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var ct,ft,dt=d.expr.attrHandle,ht=/^(?:checked|selected)$/i,pt=f.getSetAttribute,gt=f.input;d.fn.extend({attr:function(e,t){return V(this,d.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){d.removeAttr(this,e)}))}}),d.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===O?d.prop(e,t,n):(1===o&&d.isXMLDoc(e)||(t=t.toLowerCase(),r=d.attrHooks[t]||(d.expr.match.bool.test(t)?ft:ct)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=d.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void d.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[i++];)r=d.propFix[n]||n,d.expr.match.bool.test(n)?gt&&pt||!ht.test(n)?e[r]=!1:e[d.camelCase("default-"+n)]=e[r]=!1:d.attr(e,n,""),e.removeAttribute(pt?n:r)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&d.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),ft={set:function(e,t,n){return!1===t?d.removeAttr(e,n):gt&&pt||!ht.test(n)?e.setAttribute(!pt&&d.propFix[n]||n,n):e[d.camelCase("default-"+n)]=e[n]=!0,n}},d.each(d.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=dt[t]||d.find.attr;dt[t]=gt&&pt||!ht.test(t)?function(e,t,r){var i,o;return r||(o=dt[t],dt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,dt[t]=o),i}:function(e,t,n){if(!n)return e[d.camelCase("default-"+t)]?t.toLowerCase():null}})),gt&&pt||(d.attrHooks.value={set:function(e,t,n){if(!d.nodeName(e,"input"))return ct&&ct.set(e,t,n);e.defaultValue=t}}),pt||(ct={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},dt.id=dt.name=dt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},d.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:ct.set},d.attrHooks.contenteditable={set:function(e,t,n){ct.set(e,""!==t&&t,n)}},d.each(["width","height"],(function(e,t){d.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}}))),f.style||(d.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var vt=/^(?:input|select|textarea|button|object)$/i,mt=/^(?:a|area)$/i;d.fn.extend({prop:function(e,t){return V(this,d.prop,e,t,arguments.length>1)},removeProp:function(e){return e=d.propFix[e]||e,this.each((function(){try{this[e]=void 0,delete this[e]}catch(e){}}))}}),d.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!d.isXMLDoc(e))&&(t=d.propFix[t]||t,i=d.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=d.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}}}),f.hrefNormalized||d.each(["href","src"],(function(e,t){d.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),f.optSelected||(d.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){d.propFix[this.toLowerCase()]=this})),f.enctype||(d.propFix.enctype="encoding");var yt=/[\t\r\n\f]/g;d.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u="string"==typeof e&&e;if(d.isFunction(e))return this.each((function(t){d(this).addClass(e.call(this,t,this.className))}));if(u)for(t=(e||"").match(N)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(yt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=d.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(d.isFunction(e))return this.each((function(t){d(this).removeClass(e.call(this,t,this.className))}));if(u)for(t=(e||"").match(N)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(yt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?d.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):d.isFunction(e)?this.each((function(n){d(this).toggleClass(e.call(this,n,this.className,t),t)})):this.each((function(){if("string"===n)for(var t,r=0,i=d(this),o=e.match(N)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else n!==O&&"boolean"!==n||(this.className&&d._data(this,"__className__",this.className),this.className=this.className||!1===e?"":d._data(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(yt," ").indexOf(t)>=0)return!0;return!1}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){d.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),d.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var bt=d.now(),wt=/\?/,xt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;d.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=d.trim(t+"");return i&&!d.trim(i.replace(xt,(function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")})))?Function("return "+i)():d.error("Invalid JSON: "+t)},d.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(new DOMParser).parseFromString(t,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(e){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||d.error("Invalid XML: "+t),n};var Ct,St,_t=/#.*$/,Tt=/([?&])_=[^&]*/,kt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dt=/^(?:GET|HEAD)$/,Lt=/^\/\//,At=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nt={},jt={},Mt="*/".concat("*");try{St=location.href}catch(e){(St=_.createElement("a")).href="",St=St.href}function Et(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(N)||[];if(d.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function It(e,t,n,r){var i={},o=e===jt;function a(s){var l;return i[s]=!0,d.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ot(e,t){var n,r,i=d.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&d.extend(!0,e,n),e}Ct=At.exec(St.toLowerCase())||[],d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ot(Ot(e,d.ajaxSettings),t):Ot(d.ajaxSettings,e)},ajaxPrefilter:Et(Nt),ajaxTransport:Et(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,o,a,s,l,u,c=d.ajaxSetup({},t),f=c.context||c,h=c.context&&(f.nodeType||f.jquery)?d(f):d.event,p=d.Deferred(),g=d.Callbacks("once memory"),v=c.statusCode||{},m={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!u)for(u={};t=kt.exec(o);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,m[e]=t),this},overrideMimeType:function(e){return b||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return l&&l.abort(t),C(0,t),this}};if(p.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,c.url=((e||c.url||St)+"").replace(_t,"").replace(Lt,Ct[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=d.trim(c.dataType||"*").toLowerCase().match(N)||[""],null==c.crossDomain&&(n=At.exec(c.url.toLowerCase()),c.crossDomain=!(!n||n[1]===Ct[1]&&n[2]===Ct[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ct[3]||("http:"===Ct[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=d.param(c.data,c.traditional)),It(Nt,c,t,x),2===b)return x;for(r in(s=c.global)&&0==d.active++&&d.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Dt.test(c.type),i=c.url,c.hasContent||(c.data&&(i=c.url+=(wt.test(i)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=Tt.test(i)?i.replace(Tt,"$1_="+bt++):i+(wt.test(i)?"&":"?")+"_="+bt++)),c.ifModified&&(d.lastModified[i]&&x.setRequestHeader("If-Modified-Since",d.lastModified[i]),d.etag[i]&&x.setRequestHeader("If-None-Match",d.etag[i])),(c.data&&c.hasContent&&!1!==c.contentType||t.contentType)&&x.setRequestHeader("Content-Type",c.contentType),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Mt+"; q=0.01":""):c.accepts["*"]),c.headers)x.setRequestHeader(r,c.headers[r]);if(c.beforeSend&&(!1===c.beforeSend.call(f,x,c)||2===b))return x.abort();for(r in w="abort",{success:1,error:1,complete:1})x[r](c[r]);if(l=It(jt,c,t,x)){x.readyState=1,s&&h.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(a=setTimeout((function(){x.abort("timeout")}),c.timeout));try{b=1,l.send(m,C)}catch(e){if(!(b<2))throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,n,r){var u,m,y,w,C,S=t;2!==b&&(b=2,a&&clearTimeout(a),l=void 0,o=r||"",x.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}(c,x,n)),w=function(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];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)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}}(c,w,x,u),u?(c.ifModified&&((C=x.getResponseHeader("Last-Modified"))&&(d.lastModified[i]=C),(C=x.getResponseHeader("etag"))&&(d.etag[i]=C)),204===e||"HEAD"===c.type?S="nocontent":304===e?S="notmodified":(S=w.state,m=w.data,u=!(y=w.error))):(y=S,!e&&S||(S="error",e<0&&(e=0))),x.status=e,x.statusText=(t||S)+"",u?p.resolveWith(f,[m,S,x]):p.rejectWith(f,[x,S,y]),x.statusCode(v),v=void 0,s&&h.trigger(u?"ajaxSuccess":"ajaxError",[x,c,u?m:y]),g.fireWith(f,[x,S]),s&&(h.trigger("ajaxComplete",[x,c]),--d.active||d.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return d.get(e,t,n,"json")},getScript:function(e,t){return d.get(e,void 0,t,"script")}}),d.each(["get","post"],(function(e,t){d[t]=function(e,n,r,i){return d.isFunction(n)&&(i=i||r,r=n,n=void 0),d.ajax({url:e,type:t,dataType:i,data:n,success:r})}})),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){d.fn[t]=function(e){return this.on(t,e)}})),d._evalUrl=function(e){return d.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},d.fn.extend({wrapAll:function(e){if(d.isFunction(e))return this.each((function(t){d(this).wrapAll(e.call(this,t))}));if(this[0]){var t=d(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return d.isFunction(e)?this.each((function(t){d(this).wrapInner(e.call(this,t))})):this.each((function(){var t=d(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=d.isFunction(e);return this.each((function(n){d(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)})).end()}}),d.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!f.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||d.css(e,"display"))},d.expr.filters.visible=function(e){return!d.expr.filters.hidden(e)};var Pt=/%20/g,Rt=/\[\]$/,Ft=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;function zt(e,t,n,r){var i;if(d.isArray(t))d.each(t,(function(t,i){n||Rt.test(e)?r(e,i):zt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)}));else if(n||"object"!==d.type(t))r(e,t);else for(i in t)zt(e+"["+i+"]",t[i],n,r)}d.param=function(e,t){var n,r=[],i=function(e,t){t=d.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=d.ajaxSettings&&d.ajaxSettings.traditional),d.isArray(e)||e.jquery&&!d.isPlainObject(e))d.each(e,(function(){i(this.name,this.value)}));else for(n in e)zt(n,e[n],t,i);return r.join("&").replace(Pt,"+")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=d.prop(this,"elements");return e?d.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!d(this).is(":disabled")&&Wt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!G.test(e))})).map((function(e,t){var n=d(this).val();return null==n?null:d.isArray(n)?d.map(n,(function(e){return{name:t.name,value:e.replace(Ft,"\r\n")}})):{name:t.name,value:n.replace(Ft,"\r\n")}})).get()}}),d.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Vt()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Vt;var qt=0,Bt={},Ut=d.ajaxSettings.xhr();function Vt(){try{return new e.XMLHttpRequest}catch(e){}}e.ActiveXObject&&d(e).on("unload",(function(){for(var e in Bt)Bt[e](void 0,!0)})),f.cors=!!Ut&&"withCredentials"in Ut,(Ut=f.ajax=!!Ut)&&d.ajaxTransport((function(e){var t;if(!e.crossDomain||f.cors)return{send:function(n,r){var i,o=e.xhr(),a=++qt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];for(i in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,l,u;if(t&&(i||4===o.readyState))if(delete Bt[a],t=void 0,o.onreadystatechange=d.noop,i)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(e){l=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&r(s,l,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=Bt[a]=t:t()},abort:function(){t&&t(void 0,!0)}}})),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return d.globalEval(e),e}}}),d.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),d.ajaxTransport("script",(function(e){if(e.crossDomain){var t,n=_.head||d("head")[0]||_.documentElement;return{send:function(r,i){(t=_.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}));var Gt=[],Xt=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||d.expando+"_"+bt++;return this[e]=!0,e}}),d.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=d.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xt,"$1"+i):!1!==t.jsonp&&(t.url+=(wt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||d.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(i)),a&&d.isFunction(o)&&o(a[0]),a=o=void 0})),"script"})),d.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||_;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=d.buildFragment([e],t,i),i&&i.length&&d(i).remove(),d.merge([],r.childNodes))};var Jt=d.fn.load;d.fn.load=function(e,t,n){if("string"!=typeof e&&Jt)return Jt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=e.slice(s,e.length),e=e.slice(0,s)),d.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&d.ajax({url:e,type:o,dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?d("<div>").append(d.parseHTML(e)).find(r):e)})).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},d.expr.filters.animated=function(e){return d.grep(d.timers,(function(t){return e===t.elem})).length};var $t=e.document.documentElement;function Yt(e){return d.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}d.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u=d.css(e,"position"),c=d(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=d.css(e,"top"),l=d.css(e,"left"),("absolute"===u||"fixed"===u)&&d.inArray("auto",[o,l])>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),d.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},d.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){d.offset.setOffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,d.contains(t,i)?(typeof i.getBoundingClientRect!==O&&(r=i.getBoundingClientRect()),n=Yt(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===d.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),d.nodeName(e[0],"html")||(n=e.offset()),n.top+=d.css(e[0],"borderTopWidth",!0),n.left+=d.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-d.css(r,"marginTop",!0),left:t.left-n.left-d.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||$t;e&&!d.nodeName(e,"html")&&"static"===d.css(e,"position");)e=e.offsetParent;return e||$t}))}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n=/Y/.test(t);d.fn[e]=function(r){return V(this,(function(e,r,i){var o=Yt(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?d(o).scrollLeft():i,n?i:d(o).scrollTop()):e[r]=i}),e,r,arguments.length,null)}})),d.each(["top","left"],(function(e,t){d.cssHooks[t]=Re(f.pixelPosition,(function(e,n){if(n)return n=Ee(e,t),Oe.test(n)?d(e).position()[t]+"px":n}))})),d.each({Height:"height",Width:"width"},(function(e,t){d.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){d.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return V(this,(function(t,n,r){var i;return d.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?d.css(t,n,a):d.style(t,n,r,a)}),t,o?r:void 0,o,null)}}))})),d.fn.size=function(){return this.length},d.fn.andSelf=d.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return d}));var Kt=e.jQuery,Qt=e.$;return d.noConflict=function(t){return e.$===d&&(e.$=Qt),t&&e.jQuery===d&&(e.jQuery=Kt),d},typeof t===O&&(e.jQuery=e.$=d),d}))},{}],19:[function(e,t,n){(function(e){(function(){var r,i,o,a="3.10.1",s=1,l=2,u=4,c=8,f=16,d=32,h=64,p=128,g=256,v=30,m="...",y=150,b=16,w=200,x=1,C=2,S="Expected a function",_="__lodash_placeholder__",T="[object Arguments]",k="[object Array]",D="[object Boolean]",L="[object Date]",A="[object Error]",N="[object Function]",j="[object Number]",M="[object Object]",E="[object RegExp]",I="[object String]",O="[object ArrayBuffer]",P="[object Float32Array]",R="[object Float64Array]",F="[object Int8Array]",H="[object Int16Array]",W="[object Int32Array]",z="[object Uint8Array]",q="[object Uint8ClampedArray]",B="[object Uint16Array]",U="[object Uint32Array]",V=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,J=/&(?:amp|lt|gt|quot|#39|#96);/g,$=/[&<>"'`]/g,Y=RegExp(J.source),K=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,ce=/^0[xX]/,fe=/^\[object .+?Constructor\]$/,de=/^\d+$/,he=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,pe=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,ve=(i="[A-Z\\xc0-\\xd6\\xd8-\\xde]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]+",RegExp(i+"+(?="+i+o+")|"+i+"?"+o+"|"+i+"+|[0-9]+","g")),me=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],ye=-1,be={};be[P]=be[R]=be[F]=be[H]=be[W]=be[z]=be[q]=be[B]=be[U]=!0,be[T]=be[k]=be[O]=be[D]=be[L]=be[A]=be[N]=be["[object Map]"]=be[j]=be[M]=be[E]=be["[object Set]"]=be[I]=be["[object WeakMap]"]=!1;var we={};we[T]=we[k]=we[O]=we[D]=we[L]=we[P]=we[R]=we[F]=we[H]=we[W]=we[j]=we[M]=we[E]=we[I]=we[z]=we[q]=we[B]=we[U]=!0,we[A]=we[N]=we["[object Map]"]=we["[object Set]"]=we["[object WeakMap]"]=!1;var xe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ce={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Se={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},_e={function:!0,object:!0},Te={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},ke={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},De=_e[typeof n]&&n&&!n.nodeType&&n,Le=_e[typeof t]&&t&&!t.nodeType&&t,Ae=De&&Le&&"object"==typeof e&&e&&e.Object&&e,Ne=_e[typeof self]&&self&&self.Object&&self,je=_e[typeof window]&&window&&window.Object&&window,Me=Le&&Le.exports===De&&De,Ee=Ae||je!==(this&&this.window)&&je||Ne||this;function Ie(e,t){if(e!==t){var n=null===e,i=e===r,o=e==e,a=null===t,s=t===r,l=t==t;if(e>t&&!a||!o||n&&!s&&l||i&&l)return 1;if(e<t&&!n||!l||a&&!i&&o||s&&o)return-1}return 0}function Oe(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Pe(e,t,n){if(t!=t)return Ge(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Re(e){return"function"==typeof e||!1}function Fe(e){return null==e?"":e+""}function He(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function We(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function ze(e,t){return Ie(e.criteria,t.criteria)||e.index-t.index}function qe(e){return xe[e]}function Be(e){return Ce[e]}function Ue(e,t,n){return t?e=Te[e]:n&&(e=ke[e]),"\\"+e}function Ve(e){return"\\"+ke[e]}function Ge(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function Xe(e){return!!e&&"object"==typeof e}function Je(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function $e(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=_,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Je(e.charCodeAt(t)););return t}function Ke(e){for(var t=e.length;t--&&Je(e.charCodeAt(t)););return t}function Qe(e){return Se[e]}var Ze=function e(t){var n=(t=t?Ze.defaults(Ee.Object(),t,Ze.pick(Ee,me)):Ee).Array,i=t.Date,o=t.Error,xe=t.Function,Ce=t.Math,Se=t.Number,_e=t.Object,Te=t.RegExp,ke=t.String,De=t.TypeError,Le=n.prototype,Ae=_e.prototype,Ne=ke.prototype,je=xe.prototype.toString,Me=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Ee._,nt=Te("^"+je.call(Me).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=Ce.pow,st=Ae.propertyIsEnumerable,lt=Cr(t,"Set"),ut=t.setTimeout,ct=Le.splice,ft=t.Uint8Array,dt=Cr(t,"WeakMap"),ht=Ce.ceil,pt=Cr(_e,"create"),gt=Ce.floor,vt=Cr(n,"isArray"),mt=t.isFinite,yt=Cr(_e,"keys"),bt=Ce.max,wt=Ce.min,xt=Cr(i,"now"),Ct=t.parseInt,St=Ce.random,_t=Se.NEGATIVE_INFINITY,Tt=Se.POSITIVE_INFINITY,kt=4294967295,Dt=kt-1,Lt=kt>>>1,At=9007199254740991,Nt=dt&&new dt,jt={};function Mt(e){if(Xe(e)&&!Yi(e)&&!(e instanceof Ot)){if(e instanceof It)return e;if(Me.call(e,"__chain__")&&Me.call(e,"__wrapped__"))return Wr(e)}return new It(e)}function Et(){}function It(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Ot(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Tt,this.__views__=[]}function Pt(){this.__data__={}}function Rt(e){var t=e?e.length:0;for(this.data={hash:pt(null),set:new lt};t--;)this.push(e[t])}function Ft(e,t){var n=e.data;return("string"==typeof t||eo(t)?n.set.has(t):n.hash[t])?0:-1}function Ht(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Wt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function zt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function qt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Bt(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Vt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Gt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Xt(e,t,n,i){return e!==r&&Me.call(i,n)?e:t}function Jt(e,t,n){for(var i=-1,o=Co(t),a=o.length;++i<a;){var s=o[i],l=e[s],u=n(l,t[s],s,e,t);(u==u?u===l:l!=l)&&(l!==r||s in e)||(e[s]=u)}return e}function $t(e,t){return null==t?e:Kt(t,Co(t),e)}function Yt(e,t){for(var i=-1,o=null==e,a=!o&&_r(e),s=a?e.length:0,l=t.length,u=n(l);++i<l;){var c=t[i];u[i]=a?Tr(c,s)?e[c]:r:o?r:e[c]}return u}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var i=typeof e;return"function"==i?t===r?e:Rn(e,t,n):null==e?qo:"object"==i?wn(e):t===r?Jo(e):xn(e,t)}function Zt(e,t,n,i,o,a,s){var l;if(n&&(l=o?n(e,i,o):n(e)),l!==r)return l;if(!eo(e))return e;var u=Yi(e);if(u){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Ht(e,l)}else{var c=et.call(e),f=c==N;if(c!=M&&c!=T&&(!f||o))return we[c]?function(e,t,n){var r=e.constructor;switch(t){case O:return Fn(e);case D:case L:return new r(+e);case P:case R:case F:case H:case W:case z:case q:case B:case U:var i=e.buffer;return new r(n?Fn(i):i,e.byteOffset,e.length);case j:case I:return new r(e);case E:var o=new r(e.source,ue.exec(e));o.lastIndex=e.lastIndex}return o}(e,c,t):o?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=_e),new t}(f?{}:e),!t)return $t(l,e)}a||(a=[]),s||(s=[]);for(var d=a.length;d--;)if(a[d]==e)return s[d];return a.push(e),s.push(l),(u?Wt:hn)(e,(function(r,i){l[i]=Zt(r,t,n,i,e,a,s)})),l}Mt.support={},Mt.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:Mt}};var en=function(){function e(){}return function(t){if(eo(t)){e.prototype=t;var n=new e;e.prototype=r}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new De(S);return ut((function(){e.apply(r,n)}),t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=br(),a=o==Pe,s=a&&t.length>=w?Vn(t):null,l=t.length;s&&(o=Ft,a=!1,t=s);e:for(;++i<n;){var u=e[i];if(a&&u==u){for(var c=l;c--;)if(t[c]===u)continue e;r.push(u)}else o(t,u,0)<0&&r.push(u)}return r}var rn=Bn(hn),on=Bn(pn,!0);function an(e,t){var n=!0;return rn(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function sn(e,t){var n=[];return rn(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function ln(e,t,n,r){var i;return n(e,(function(e,n,o){if(t(e,n,o))return i=r?n:e,!1})),i}function un(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];Xe(a)&&_r(a)&&(n||Yi(a)||$i(a))?t?un(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var cn=Un(),fn=Un(!0);function dn(e,t){return cn(e,t,So)}function hn(e,t){return cn(e,t,Co)}function pn(e,t){return fn(e,t,Co)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Zi(e[a])&&(o[++i]=a)}return o}function vn(e,t,n){if(null!=e){n!==r&&n in Fr(e)&&(t=[n]);for(var i=0,o=t.length;null!=e&&i<o;)e=e[t[i++]];return i&&i==o?e:r}}function mn(e,t,n,r,i,o){return e===t||(null==e||null==t||!eo(e)&&!Xe(t)?e!=e&&t!=t:function(e,t,n,r,i,o,a){var s=Yi(e),l=Yi(t),u=k,c=k;s||((u=et.call(e))==T?u=M:u!=M&&(s=ao(e))),l||((c=et.call(t))==T?c=M:c!=M&&(l=ao(t)));var f=u==M,d=c==M,h=u==c;if(h&&!s&&!f)return function(e,t,n){switch(n){case D:case L:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case j:return e!=+e?t!=+t:e==+t;case E:case I:return e==t+""}return!1}(e,t,u);if(!i){var p=f&&Me.call(e,"__wrapped__"),g=d&&Me.call(t,"__wrapped__");if(p||g)return n(p?e.value():e,g?t.value():t,r,i,o,a)}if(!h)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var m=(s?pr:gr)(e,t,n,r,i,o,a);return o.pop(),a.pop(),m}(e,t,mn,n,r,i,o))}function yn(e,t,n){var i=t.length,o=i,a=!n;if(null==e)return!o;for(e=Fr(e);i--;){var s=t[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=t[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(u===r&&!(l in e))return!1}else{var f=n?n(u,c,l):r;if(!(f===r?mn(c,u,n,!0):f))return!1}}return!0}function bn(e,t){var r=-1,i=_r(e)?n(e.length):[];return rn(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function wn(e){var t=xr(e);if(1==t.length&&t[0][2]){var n=t[0][0],i=t[0][1];return function(e){return null!=e&&e[n]===i&&(i!==r||n in Fr(e))}}return function(e){return yn(e,t)}}function xn(e,t){var n=Yi(e),i=Dr(e)&&Nr(t),o=e+"";return e=Hr(e),function(a){if(null==a)return!1;var s=o;if(a=Fr(a),(n||!i)&&!(s in a)){if(null==(a=1==e.length?a:vn(a,Dn(e,0,-1))))return!1;s=$r(e),a=Fr(a)}return a[s]===t?t!==r||s in a:mn(t,a[s],r,!0)}}function Cn(e){return function(t){return null==t?r:t[e]}}function Sn(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Tr(r)){var i=r;ct.call(e,r,1)}}return e}function _n(e,t){return e+gt(St()*(t-e+1))}function Tn(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}var kn=Nt?function(e,t){return Nt.set(e,t),e}:qo;function Dn(e,t,i){var o=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(i=i===r||i>a?a:+i||0)<0&&(i+=a),a=t>i?0:i-t>>>0,t>>>=0;for(var s=n(a);++o<a;)s[o]=e[o+t];return s}function Ln(e,t){var n;return rn(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function An(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Nn(e,t,n){var r=vr(),i=-1;return t=Bt(t,(function(e){return r(e)})),An(bn(e,(function(e){return{criteria:Bt(t,(function(t){return t(e)})),index:++i,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ie(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("asc"===u||!0===u?1:-1)}}return e.index-t.index}(e,t,n)}))}function jn(e,t){var n=-1,r=br(),i=e.length,o=r==Pe,a=o&&i>=w,s=a?Vn():null,l=[];s?(r=Ft,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var u=e[n],c=t?t(u,n,e):u;if(o&&u==u){for(var f=s.length;f--;)if(s[f]===c)continue e;t&&s.push(c),l.push(u)}else r(s,c,0)<0&&((t||a)&&s.push(c),l.push(u))}return l}function Mn(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function En(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Dn(e,r?0:o,r?o+1:i):Dn(e,r?o+1:0,r?i:o)}function In(e,t){var n=e;n instanceof Ot&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function On(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Lt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return Pn(e,t,qo,n)}function Pn(e,t,n,i){t=n(t);for(var o=0,a=e?e.length:0,s=t!=t,l=null===t,u=t===r;o<a;){var c=gt((o+a)/2),f=n(e[c]),d=f!==r,h=f==f;if(s)var p=h||i;else p=l?h&&d&&(i||null!=f):u?h&&(i||d):null!=f&&(i?f<=t:f<t);p?o=c+1:a=c}return wt(a,Dt)}function Rn(e,t,n){if("function"!=typeof e)return qo;if(t===r)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Fn(e){var t=new rt(e.byteLength);return new ft(t).set(new ft(e)),t}function Hn(e,t,r){for(var i=r.length,o=-1,a=bt(e.length-i,0),s=-1,l=t.length,u=n(l+a);++s<l;)u[s]=t[s];for(;++o<i;)u[r[o]]=e[o];for(;a--;)u[s++]=e[o++];return u}function Wn(e,t,r){for(var i=-1,o=r.length,a=-1,s=bt(e.length-o,0),l=-1,u=t.length,c=n(s+u);++a<s;)c[a]=e[a];for(var f=a;++l<u;)c[f+l]=t[l];for(;++i<o;)c[f+r[i]]=e[a++];return c}function zn(e,t){return function(n,r,i){var o=t?t():{};if(r=vr(r,i,3),Yi(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,(function(t,n,i){e(o,t,r(t,n,i),i)}));return o}}function qn(e){return Xi((function(t,n){var i=-1,o=null==t?0:n.length,a=o>2?n[o-2]:r,s=o>2?n[2]:r,l=o>1?n[o-1]:r;for("function"==typeof a?(a=Rn(a,l,5),o-=2):o-=(a="function"==typeof l?l:r)?1:0,s&&kr(n[0],n[1],s)&&(a=o<3?r:a,o=1);++i<o;){var u=n[i];u&&e(t,u,a)}return t}))}function Bn(e,t){return function(n,r){var i=n?wr(n):0;if(!Ar(i))return e(n,r);for(var o=t?i:-1,a=Fr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Un(e){return function(t,n,r){for(var i=Fr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Vn(e){return pt&<?new Rt(e):null}function Gn(e){return function(t){for(var n=-1,r=Ho(jo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Xn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return eo(r)?r:n}}function Jn(e){return function t(n,i,o){o&&kr(n,i,o)&&(i=r);var a=hr(n,e,r,r,r,r,r,i);return a.placeholder=t.placeholder,a}}function $n(e,t){return Xi((function(n){var i=n[0];return null==i?i:(n.push(t),e.apply(r,n))}))}function Yn(e,t){return function(n,i,o){if(o&&kr(n,i,o)&&(i=r),1==(i=vr(i,o,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],u=+t(l);n(u,a)&&(a=u,s=l)}return s}(n=Yi(n)?n:Rr(n),i,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,(function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)})),o}(n,i,e,t)}}function Kn(e,t){return function(n,i,o){if(i=vr(i,o,3),Yi(n)){var a=Oe(n,i,t);return a>-1?n[a]:r}return ln(n,i,e)}}function Qn(e){return function(t,n,r){return t&&t.length?Oe(t,n=vr(n,r,3),e):-1}}function Zn(e){return function(t,n,r){return ln(t,n=vr(n,r,3),e,!0)}}function er(e){return function(){for(var t,i=arguments.length,o=e?i:-1,a=0,s=n(i);e?o--:++o<i;){var l=s[a++]=arguments[o];if("function"!=typeof l)throw new De(S);!t&&It.prototype.thru&&"wrapper"==yr(l)&&(t=new It([],!0))}for(o=t?-1:i;++o<i;){var u=yr(l=s[o]),f="wrapper"==u?mr(l):r;t=f&&Lr(f[0])&&f[1]==(p|c|d|g)&&!f[4].length&&1==f[9]?t[yr(f[0])].apply(t,f[3]):1==l.length&&Lr(l)?t[u]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Yi(n)&&n.length>=w)return t.plant(n).value();for(var r=0,o=i?s[r].apply(this,e):n;++r<i;)o=s[r].call(this,o);return o}}}function tr(e,t){return function(n,i,o){return"function"==typeof i&&o===r&&Yi(n)?e(n,i):t(n,Rn(i,o,3))}}function nr(e){return function(t,n,i){return"function"==typeof n&&i===r||(n=Rn(n,i,3)),e(t,n,So)}}function rr(e){return function(t,n,i){return"function"==typeof n&&i===r||(n=Rn(n,i,3)),e(t,n)}}function ir(e){return function(t,n,r){var i={};return n=vr(n,r,3),hn(t,(function(t,r,o){var a=n(t,r,o);t=e?t:a,i[r=e?a:r]=t})),i}}function or(e){return function(t,n,r){return t=Fe(t),(e?t:"")+ur(t,n,r)+(e?"":t)}}function ar(e){var t=Xi((function(n,i){var o=$e(i,t.placeholder);return hr(n,e,r,i,o)}));return t}function sr(e,t){return function(n,i,o,a){var s=arguments.length<3;return"function"==typeof i&&a===r&&Yi(n)?e(n,i,o,s):Tn(n,vr(i,a,4),o,s,t)}}function lr(e,t,i,o,a,g,v,m,y,b){var w=t&p,x=t&s,C=t&l,S=t&c,_=t&u,T=t&f,k=C?r:Xn(e);return function u(){for(var c=arguments.length,f=c,p=n(c);f--;)p[f]=arguments[f];if(o&&(p=Hn(p,o,a)),g&&(p=Wn(p,g,v)),S||T){var D=u.placeholder,L=$e(p,D);if((c-=L.length)<b){var A=m?Ht(m):r,N=bt(b-c,0);t|=S?d:h,t&=~(S?h:d),_||(t&=~(s|l));var j=[e,t,i,S?p:r,S?L:r,S?r:p,S?r:L,A,y,N],M=lr.apply(r,j);return Lr(e)&&Or(M,j),M.placeholder=D,M}}var E=x?i:this,I=C?E[e]:e;return m&&(p=function(e,t){for(var n=e.length,i=wt(t.length,n),o=Ht(e);i--;){var a=t[i];e[i]=Tr(a,n)?o[a]:r}return e}(p,m)),w&&y<p.length&&(p.length=y),this&&this!==Ee&&this instanceof u&&(I=k||Xn(e)),I.apply(E,p)}}function ur(e,t,n){var r=e.length;if(r>=(t=+t)||!mt(t))return"";var i=t-r;return Oo(n=null==n?" ":n+"",ht(i/n.length)).slice(0,i)}function cr(e,t,r,i){var o=t&s,a=Xn(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=i.length,f=n(c+l);++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++s];return(this&&this!==Ee&&this instanceof t?a:e).apply(o?r:this,f)}}function fr(e){var t=Ce[e];return function(e,n){return(n=n===r?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function dr(e){return function(t,n,r,i){var o=vr(r);return null==r&&o===Qt?On(t,n,e):Pn(t,n,o(r,i,1),e)}}function hr(e,t,n,i,o,a,f,v){var m=t&l;if(!m&&"function"!=typeof e)throw new De(S);var y=i?i.length:0;if(y||(t&=~(d|h),i=o=r),y-=o?o.length:0,t&h){var b=i,w=o;i=o=r}var x=m?r:mr(e),C=[e,t,n,i,o,b,w,a,f,v];if(x&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<p,a=r==p&&n==c||r==p&&n==g&&e[7].length<=t[8]||r==(p|g)&&n==c;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:u);var l=t[3];if(l){var f=e[3];e[3]=f?Hn(f,l,t[4]):Ht(l),e[4]=f?$e(e[3],_):Ht(t[4])}(l=t[5])&&(f=e[5],e[5]=f?Wn(f,l,t[6]):Ht(l),e[6]=f?$e(e[5],_):Ht(t[6])),(l=t[7])&&(e[7]=Ht(l)),r&p&&(e[8]=null==e[8]?t[8]:wt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(C,x),t=C[1],v=C[9]),C[9]=null==v?m?0:e.length:bt(v-y,0)||0,t==s)var T=function(e,t){var n=Xn(e);return function r(){return(this&&this!==Ee&&this instanceof r?n:e).apply(t,arguments)}}(C[0],C[2]);else T=t!=d&&t!=(s|d)||C[4].length?lr.apply(r,C):cr.apply(r,C);return(x?kn:Or)(T,C)}function pr(e,t,n,i,o,a,s){var l=-1,u=e.length,c=t.length;if(u!=c&&!(o&&c>u))return!1;for(;++l<u;){var f=e[l],d=t[l],h=i?i(o?d:f,o?f:d,l):r;if(h!==r){if(h)continue;return!1}if(o){if(!Gt(t,(function(e){return f===e||n(f,e,i,o,a,s)})))return!1}else if(f!==d&&!n(f,d,i,o,a,s))return!1}return!0}function gr(e,t,n,i,o,a,s){var l=Co(e),u=l.length;if(u!=Co(t).length&&!o)return!1;for(var c=u;c--;){var f=l[c];if(!(o?f in t:Me.call(t,f)))return!1}for(var d=o;++c<u;){var h=e[f=l[c]],p=t[f],g=i?i(o?p:h,o?h:p,f):r;if(!(g===r?n(h,p,i,o,a,s):g))return!1;d||(d="constructor"==f)}if(!d){var v=e.constructor,m=t.constructor;if(v!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof m&&m instanceof m))return!1}return!0}function vr(e,t,n){var r=Mt.callback||zo;return r=r===zo?Qt:r,n?r(e,t,n):r}var mr=Nt?function(e){return Nt.get(e)}:Xo;function yr(e){for(var t=e.name,n=jt[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function br(e,t,n){var r=Mt.indexOf||Xr;return r=r===Xr?Pe:r,e?r(e,t,n):r}var wr=Cn("length");function xr(e){for(var t=Do(e),n=t.length;n--;)t[n][2]=Nr(t[n][1]);return t}function Cr(e,t){var n=null==e?r:e[t];return to(n)?n:r}function Sr(e,t,n){null==e||Dr(t,e)||(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1)),t=$r(t));var i=null==e?e:e[t];return null==i?r:i.apply(e,n)}function _r(e){return null!=e&&Ar(wr(e))}function Tr(e,t){return e="number"==typeof e||de.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!eo(n))return!1;var r=typeof t;if("number"==r?_r(n)&&Tr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function Dr(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Yi(e)&&(!te.test(e)||null!=t&&e in Fr(t))}function Lr(e){var t=yr(e);if(!(t in Ot.prototype))return!1;var n=Mt[t];if(e===n)return!0;var r=mr(n);return!!r&&e===r[0]}function Ar(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Nr(e){return e==e&&!eo(e)}function jr(e,t){e=Fr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Mr(e,t){var n={};return dn(e,(function(e,r,i){t(e,r,i)&&(n[r]=e)})),n}var Er,Ir,Or=(Er=0,Ir=0,function(e,t){var n=Ni(),r=b-(n-Ir);if(Ir=n,r>0){if(++Er>=y)return e}else Er=0;return kn(e,t)});function Pr(e){for(var t=So(e),n=t.length,r=n&&e.length,i=!!r&&Ar(r)&&(Yi(e)||$i(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Tr(s,r)||Me.call(e,s))&&a.push(s)}return a}function Rr(e){return null==e?[]:_r(e)?eo(e)?e:_e(e):Ao(e)}function Fr(e){return eo(e)?e:_e(e)}function Hr(e){if(Yi(e))return e;var t=[];return Fe(e).replace(re,(function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)})),t}function Wr(e){return e instanceof Ot?e.clone():new It(e.__wrapped__,e.__chain__,Ht(e.__actions__))}var zr=Xi((function(e,t){return Xe(e)&&_r(e)?nn(e,un(t,!1,!0)):[]}));function qr(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,t<0?0:t)):[]}function Br(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,0,(t=r-(+t||0))<0?0:t)):[]}var Ur=Qn(),Vr=Qn(!0);function Gr(e){return e?e[0]:r}function Xr(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?bt(r+n,0):n;else if(n){var i=On(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Pe(e,t,n||0)}var Jr=Xi((function(e){for(var t=e.length,r=t,i=n(f),o=br(),a=o==Pe,s=[];r--;){var l=e[r]=_r(l=e[r])?l:[];i[r]=a&&l.length>=120?Vn(r&&l):null}var u=e[0],c=-1,f=u?u.length:0,d=i[0];e:for(;++c<f;)if(l=u[c],(d?Ft(d,l):o(s,l,0))<0){for(r=t;--r;){var h=i[r];if((h?Ft(h,l):o(e[r],l,0))<0)continue e}d&&d.push(l),s.push(l)}return s}));function $r(e){var t=e?e.length:0;return t?e[t-1]:r}var Yr=Xi((function(e,t){var n=Yt(e,t=un(t));return Sn(e,t.sort(Ie)),n}));function Kr(e){return qr(e,1)}var Qr=dr(),Zr=dr(!0),ei=Xi((function(e){return jn(un(e,!1,!0))}));function ti(e,t,n,i){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,i=n)?r:t,t=!1);var o=vr();return null==n&&o===Qt||(n=o(n,i,3)),t&&br()==Pe?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):jn(e,n)}function ni(e){if(!e||!e.length)return[];var t=-1,r=0;e=qt(e,(function(e){if(_r(e))return r=bt(e.length,r),!0}));for(var i=n(r);++t<r;)i[t]=Bt(e,Cn(t));return i}function ri(e,t,n){if(!e||!e.length)return[];var i=ni(e);return null==t?i:(t=Rn(t,n,4),Bt(i,(function(e){return Vt(e,t,r,!0)})))}var ii=Xi((function(e,t){return _r(e)?nn(e,t):[]})),oi=Xi(ni);function ai(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Yi(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var si=Xi((function(e){var t=e.length,n=t>2?e[t-2]:r,i=t>1?e[t-1]:r;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof i?(--t,i):r,i=r),e.length=t,ri(e,n,i)}));function li(e){var t=Mt(e);return t.__chain__=!0,t}function ui(e,t,n){return t.call(n,e)}var ci=Xi((function(e){return e=un(e),this.thru((function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Yi(t)?t:[Fr(t)],e)}))})),fi=Xi((function(e,t){return Yt(e,un(t))})),di=zn((function(e,t,n){Me.call(e,n)?++e[n]:e[n]=1}));function hi(e,t,n){var i=Yi(e)?zt:an;return n&&kr(e,t,n)&&(t=r),"function"==typeof t&&n===r||(t=vr(t,n,3)),i(e,t)}function pi(e,t,n){return(Yi(e)?qt:sn)(e,t=vr(t,n,3))}var gi=Kn(rn),vi=Kn(on,!0),mi=tr(Wt,rn),yi=tr((function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e}),on),bi=zn((function(e,t,n){Me.call(e,n)?e[n].push(t):e[n]=[t]}));function wi(e,t,n,r){var i=e?wr(e):0;return Ar(i)||(i=(e=Ao(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?bt(i+n,0):n||0,"string"==typeof e||!Yi(e)&&oo(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&br(e,t,n)>-1}var xi=zn((function(e,t,n){e[n]=t})),Ci=Xi((function(e,t,i){var o=-1,a="function"==typeof t,s=Dr(t),l=_r(e)?n(e.length):[];return rn(e,(function(e){var n=a?t:s&&null!=e?e[t]:r;l[++o]=n?n.apply(e,i):Sr(e,t,i)})),l}));function Si(e,t,n){return(Yi(e)?Bt:bn)(e,t=vr(t,n,3))}var _i=zn((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ti=sr(Vt,rn),ki=sr((function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}),on);function Di(e,t,n){if(n?kr(e,t,n):null==t)return(i=(e=Rr(e)).length)>0?e[_n(0,i-1)]:r;var i,o=-1,a=lo(e),s=(i=a.length)-1;for(t=wt(t<0?0:+t||0,i);++o<t;){var l=_n(o,s),u=a[l];a[l]=a[o],a[o]=u}return a.length=t,a}function Li(e,t,n){var i=Yi(e)?Gt:Ln;return n&&kr(e,t,n)&&(t=r),"function"==typeof t&&n===r||(t=vr(t,n,3)),i(e,t)}var Ai=Xi((function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),Nn(e,un(t),[])})),Ni=xt||function(){return(new i).getTime()};function ji(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new De(S);var i=e;e=t,t=i}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Mi=Xi((function(e,t,n){var r=s;if(n.length){var i=$e(n,Mi.placeholder);r|=d}return hr(e,r,t,n,i)})),Ei=Xi((function(e,t){for(var n=-1,r=(t=t.length?un(t):xo(e)).length;++n<r;){var i=t[n];e[i]=hr(e[i],s,e)}return e})),Ii=Xi((function(e,t,n){var r=s|l;if(n.length){var i=$e(n,Ii.placeholder);r|=d}return hr(t,r,e,n,i)})),Oi=Jn(c),Pi=Jn(f);function Ri(e,t,n){var i,o,a,s,l,u,c,f=0,d=!1,h=!0;if("function"!=typeof e)throw new De(S);if(t=t<0?0:+t||0,!0===n){var p=!0;h=!1}else eo(n)&&(p=!!n.leading,d="maxWait"in n&&bt(+n.maxWait||0,t),h="trailing"in n?!!n.trailing:h);function g(t,n){n&&it(n),o=u=c=r,t&&(f=Ni(),a=e.apply(l,i),u||o||(i=l=r))}function v(){var e=t-(Ni()-s);e<=0||e>t?g(c,o):u=ut(v,e)}function m(){g(h,u)}function y(){if(i=arguments,s=Ni(),l=this,c=h&&(u||!p),!1===d)var n=p&&!u;else{o||p||(f=s);var g=d-(s-f),y=g<=0||g>d;y?(o&&(o=it(o)),f=s,a=e.apply(l,i)):o||(o=ut(m,g))}return y&&u?u=it(u):u||t===d||(u=ut(v,t)),n&&(y=!0,a=e.apply(l,i)),!y||u||o||(i=l=r),a}return y.cancel=function(){u&&it(u),o&&it(o),f=0,o=u=c=r},y}var Fi=Xi((function(e,t){return tn(e,1,t)})),Hi=Xi((function(e,t,n){return tn(e,t,n)})),Wi=er(),zi=er(!0);function qi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new De(S);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new qi.Cache,n}var Bi=Xi((function(e,t){if(t=un(t),"function"!=typeof e||!zt(t,Re))throw new De(S);var n=t.length;return Xi((function(r){for(var i=wt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)}))})),Ui=ar(d),Vi=ar(h),Gi=Xi((function(e,t){return hr(e,g,r,r,r,un(t))}));function Xi(e,t){if("function"!=typeof e)throw new De(S);return t=bt(t===r?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=bt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Ji(e,t){return e>t}function $i(e){return Xe(e)&&_r(e)&&Me.call(e,"callee")&&!st.call(e,"callee")}var Yi=vt||function(e){return Xe(e)&&Ar(e.length)&&et.call(e)==k};function Ki(e,t,n,i){var o=(n="function"==typeof n?Rn(n,i,3):r)?n(e,t):r;return o===r?mn(e,t,n):!!o}function Qi(e){return Xe(e)&&"string"==typeof e.message&&et.call(e)==A}function Zi(e){return eo(e)&&et.call(e)==N}function eo(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function to(e){return null!=e&&(Zi(e)?nt.test(je.call(e)):Xe(e)&&fe.test(e))}function no(e){return"number"==typeof e||Xe(e)&&et.call(e)==j}function ro(e){var t,n;return!(!Xe(e)||et.call(e)!=M||$i(e)||!(Me.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(dn(e,(function(e,t){n=t})),n===r||Me.call(e,n))}function io(e){return eo(e)&&et.call(e)==E}function oo(e){return"string"==typeof e||Xe(e)&&et.call(e)==I}function ao(e){return Xe(e)&&Ar(e.length)&&!!be[et.call(e)]}function so(e,t){return e<t}function lo(e){var t=e?wr(e):0;return Ar(t)?t?Ht(e):[]:Ao(e)}function uo(e){return Kt(e,So(e))}var co=qn((function e(t,n,i,o,a){if(!eo(t))return t;var s=_r(n)&&(Yi(n)||ao(n)),l=s?r:Co(n);return Wt(l||n,(function(u,c){if(l&&(u=n[c=u]),Xe(u))o||(o=[]),a||(a=[]),function(e,t,n,i,o,a,s){for(var l=a.length,u=t[n];l--;)if(a[l]==u)return void(e[n]=s[l]);var c=e[n],f=o?o(c,u,n,e,t):r,d=f===r;d&&(f=u,_r(u)&&(Yi(u)||ao(u))?f=Yi(c)?c:_r(c)?Ht(c):[]:ro(u)||$i(u)?f=$i(c)?uo(c):ro(c)?c:{}:d=!1),a.push(u),s.push(f),d?e[n]=i(f,u,o,a,s):(f==f?f!==c:c==c)&&(e[n]=f)}(t,n,c,e,i,o,a);else{var f=t[c],d=i?i(f,u,c,t,n):r,h=d===r;h&&(d=u),d===r&&(!s||c in t)||!h&&(d==d?d===f:f!=f)||(t[c]=d)}})),t})),fo=qn((function(e,t,n){return n?Jt(e,t,n):$t(e,t)})),ho=$n(fo,(function(e,t){return e===r?t:e})),po=$n(co,(function e(t,n){return t===r?n:co(t,n,e)})),go=Zn(hn),vo=Zn(pn),mo=nr(cn),yo=nr(fn),bo=rr(hn),wo=rr(pn);function xo(e){return gn(e,So(e))}var Co=yt?function(e){var t=null==e?r:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&_r(e)?Pr(e):eo(e)?yt(e):[]}:Pr;function So(e){if(null==e)return[];eo(e)||(e=_e(e));var t=e.length;t=t&&Ar(t)&&(Yi(e)||$i(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&Tr(l,t)||"constructor"==l&&(o||!Me.call(e,l))||a.push(l);return a}var _o=ir(!0),To=ir(),ko=Xi((function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Bt(un(t),ke),jr(e,nn(So(e),t));var n=Rn(t[0],t[1],3);return Mr(e,(function(e,t,r){return!n(e,t,r)}))}));function Do(e){e=Fr(e);for(var t=-1,r=Co(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var Lo=Xi((function(e,t){return null==e?{}:"function"==typeof t[0]?Mr(e,Rn(t[0],t[1],3)):jr(e,un(t))}));function Ao(e){return Mn(e,Co(e))}var No=Gn((function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}));function jo(e){return(e=Fe(e))&&e.replace(he,qe).replace(ae,"")}var Mo=Gn((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Eo=or(),Io=or(!0);function Oo(e,t){var n="";if(e=Fe(e),(t=+t)<1||!e||!mt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Po=Gn((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ro=Gn((function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))}));function Fo(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ke(e)+1):(t+="",e.slice(He(e,t),We(e,t)+1)):e}function Ho(e,t,n){return n&&kr(e,t,n)&&(t=r),(e=Fe(e)).match(t||ve)||[]}var Wo=Xi((function(e,t){try{return e.apply(r,t)}catch(e){return Qi(e)?e:new o(e)}}));function zo(e,t,n){return n&&kr(e,t,n)&&(t=r),Xe(e)?Bo(e):Qt(e,t)}function qo(e){return e}function Bo(e){return wn(Zt(e,!0))}var Uo=Xi((function(e,t){return function(n){return Sr(n,e,t)}})),Vo=Xi((function(e,t){return function(n){return Sr(e,n,t)}}));function Go(e,t,n){if(null==n){var i=eo(t),o=i?Co(t):r,a=o&&o.length?gn(t,o):r;(a?a.length:i)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,Co(t)));var s=!0,l=-1,u=Zi(e),c=a.length;!1===n?s=!1:eo(n)&&"chain"in n&&(s=n.chain);for(;++l<c;){var f=a[l],d=t[f];e[f]=d,u&&(e.prototype[f]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__),i=r.__actions__=Ht(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(d))}return e}function Xo(){}function Jo(e){return Dr(e)?Cn(e):function(e){var t=e+"";return e=Hr(e),function(n){return vn(n,e,t)}}(e)}var $o,Yo=fr("ceil"),Ko=fr("floor"),Qo=Yn(Ji,_t),Zo=Yn(so,Tt),ea=fr("round");return Mt.prototype=Et.prototype,It.prototype=en(Et.prototype),It.prototype.constructor=It,Ot.prototype=en(Et.prototype),Ot.prototype.constructor=Ot,Pt.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Pt.prototype.get=function(e){return"__proto__"==e?r:this.__data__[e]},Pt.prototype.has=function(e){return"__proto__"!=e&&Me.call(this.__data__,e)},Pt.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Rt.prototype.push=function(e){var t=this.data;"string"==typeof e||eo(e)?t.set.add(e):t.hash[e]=!0},qi.Cache=Pt,Mt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new De(S);var n=e;e=t,t=n}return e=mt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Mt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=r),t=e&&null==t?e.length:bt(+t||0,0),hr(e,p,r,r,r,r,t)},Mt.assign=fo,Mt.at=fi,Mt.before=ji,Mt.bind=Mi,Mt.bindAll=Ei,Mt.bindKey=Ii,Mt.callback=zo,Mt.chain=li,Mt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:bt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ht(o/t));i<o;)s[++a]=Dn(e,i,i+=t);return s},Mt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Mt.constant=function(e){return function(){return e}},Mt.countBy=di,Mt.create=function(e,t,n){var i=en(e);return n&&kr(e,t,n)&&(t=r),t?$t(i,t):i},Mt.curry=Oi,Mt.curryRight=Pi,Mt.debounce=Ri,Mt.defaults=ho,Mt.defaultsDeep=po,Mt.defer=Fi,Mt.delay=Hi,Mt.difference=zr,Mt.drop=qr,Mt.dropRight=Br,Mt.dropRightWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!0,!0):[]},Mt.dropWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!0):[]},Mt.fill=function(e,t,n,i){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,i=o),function(e,t,n,i){var o=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:+i||0)<0&&(i+=o),o=n>i?0:i>>>0,n>>>=0;n<o;)e[n++]=t;return e}(e,t,n,i)):[]},Mt.filter=pi,Mt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?un(e,t):[]},Mt.flattenDeep=function(e){return e&&e.length?un(e,!0):[]},Mt.flow=Wi,Mt.flowRight=zi,Mt.forEach=mi,Mt.forEachRight=yi,Mt.forIn=mo,Mt.forInRight=yo,Mt.forOwn=bo,Mt.forOwnRight=wo,Mt.functions=xo,Mt.groupBy=bi,Mt.indexBy=xi,Mt.initial=function(e){return Br(e,1)},Mt.intersection=Jr,Mt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=r);for(var i=-1,o=Co(e),a=o.length,s={};++i<a;){var l=o[i],u=e[l];t?Me.call(s,u)?s[u].push(l):s[u]=[l]:s[u]=l}return s},Mt.invoke=Ci,Mt.keys=Co,Mt.keysIn=So,Mt.map=Si,Mt.mapKeys=_o,Mt.mapValues=To,Mt.matches=Bo,Mt.matchesProperty=function(e,t){return xn(e,Zt(t,!0))},Mt.memoize=qi,Mt.merge=co,Mt.method=Uo,Mt.methodOf=Vo,Mt.mixin=Go,Mt.modArgs=Bi,Mt.negate=function(e){if("function"!=typeof e)throw new De(S);return function(){return!e.apply(this,arguments)}},Mt.omit=ko,Mt.once=function(e){return ji(2,e)},Mt.pairs=Do,Mt.partial=Ui,Mt.partialRight=Vi,Mt.partition=_i,Mt.pick=Lo,Mt.pluck=function(e,t){return Si(e,Jo(t))},Mt.property=Jo,Mt.propertyOf=function(e){return function(t){return vn(e,Hr(t),t+"")}},Mt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=br(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ct.call(t,o,1);return t},Mt.pullAt=Yr,Mt.range=function(e,t,i){i&&kr(e,t,i)&&(t=i=r),e=+e||0,null==t?(t=e,e=0):t=+t||0;for(var o=-1,a=bt(ht((t-e)/((i=null==i?1:+i||0)||1)),0),s=n(a);++o<a;)s[o]=e,e+=i;return s},Mt.rearg=Gi,Mt.reject=function(e,t,n){var r=Yi(e)?qt:sn;return t=vr(t,n,3),r(e,(function(e,n,r){return!t(e,n,r)}))},Mt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=vr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Sn(e,o),r},Mt.rest=Kr,Mt.restParam=Xi,Mt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||Dr(t,e)?[r]:Hr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];eo(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=Tr(t[i+1])?[]:{})),s=s[l]}return e},Mt.shuffle=function(e){return Di(e,Tt)},Mt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Dn(e,t,n)):[]},Mt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=r);var i=-1;return t=vr(t,n,3),An(bn(e,(function(e,n,r){return{criteria:t(e,n,r),index:++i,value:e}})),ze)},Mt.sortByAll=Ai,Mt.sortByOrder=function(e,t,n,i){return null==e?[]:(i&&kr(t,n,i)&&(n=r),Yi(t)||(t=null==t?[]:[t]),Yi(n)||(n=null==n?[]:[n]),Nn(e,t,n))},Mt.spread=function(e){if("function"!=typeof e)throw new De(S);return function(t){return e.apply(this,t)}},Mt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,0,t<0?0:t)):[]},Mt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Dn(e,(t=r-(+t||0))<0?0:t)):[]},Mt.takeRightWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3),!1,!0):[]},Mt.takeWhile=function(e,t,n){return e&&e.length?En(e,vr(t,n,3)):[]},Mt.tap=function(e,t,n){return t.call(n,e),e},Mt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new De(S);return!1===n?r=!1:eo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ri(e,t,{leading:r,maxWait:+t,trailing:i})},Mt.thru=ui,Mt.times=function(e,t,r){if((e=gt(e))<1||!mt(e))return[];var i=-1,o=n(wt(e,kt));for(t=Rn(t,r,1);++i<e;)i<kt?o[i]=t(i):t(i);return o},Mt.toArray=lo,Mt.toPlainObject=uo,Mt.transform=function(e,t,n,i){var o=Yi(e)||ao(e);if(t=vr(t,i,4),null==n)if(o||eo(e)){var a=e.constructor;n=o?Yi(e)?new a:[]:en(Zi(a)?a.prototype:r)}else n={};return(o?Wt:hn)(e,(function(e,r,i){return t(n,e,r,i)})),n},Mt.union=ei,Mt.uniq=ti,Mt.unzip=ni,Mt.unzipWith=ri,Mt.values=Ao,Mt.valuesIn=function(e){return Mn(e,So(e))},Mt.where=function(e,t){return pi(e,wn(t))},Mt.without=ii,Mt.wrap=function(e,t){return hr(t=null==t?qo:t,d,r,[e],[])},Mt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(_r(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?jn(r):[]},Mt.zip=oi,Mt.zipObject=ai,Mt.zipWith=si,Mt.backflow=zi,Mt.collect=Si,Mt.compose=zi,Mt.each=mi,Mt.eachRight=yi,Mt.extend=fo,Mt.iteratee=zo,Mt.methods=xo,Mt.object=ai,Mt.select=pi,Mt.tail=Kr,Mt.unique=ti,Go(Mt,Mt),Mt.add=function(e,t){return(+e||0)+(+t||0)},Mt.attempt=Wo,Mt.camelCase=No,Mt.capitalize=function(e){return(e=Fe(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Mt.ceil=Yo,Mt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Zt(e,t,Rn(n,r,1)):Zt(e,t)},Mt.cloneDeep=function(e,t,n){return"function"==typeof t?Zt(e,!0,Rn(t,n,1)):Zt(e,!0)},Mt.deburr=jo,Mt.endsWith=function(e,t,n){t+="";var i=(e=Fe(e)).length;return n=n===r?i:wt(n<0?0:+n||0,i),(n-=t.length)>=0&&e.indexOf(t,n)==n},Mt.escape=function(e){return(e=Fe(e))&&K.test(e)?e.replace($,Be):e},Mt.escapeRegExp=function(e){return(e=Fe(e))&&oe.test(e)?e.replace(ie,Ue):e||"(?:)"},Mt.every=hi,Mt.find=gi,Mt.findIndex=Ur,Mt.findKey=go,Mt.findLast=vi,Mt.findLastIndex=Vr,Mt.findLastKey=vo,Mt.findWhere=function(e,t){return gi(e,wn(t))},Mt.first=Gr,Mt.floor=Ko,Mt.get=function(e,t,n){var i=null==e?r:vn(e,Hr(t),t+"");return i===r?n:i},Mt.gt=Ji,Mt.gte=function(e,t){return e>=t},Mt.has=function(e,t){if(null==e)return!1;var n=Me.call(e,t);if(!n&&!Dr(t)){if(null==(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1))))return!1;t=$r(t),n=Me.call(e,t)}return n||Ar(e.length)&&Tr(t,e.length)&&(Yi(e)||$i(e))},Mt.identity=qo,Mt.includes=wi,Mt.indexOf=Xr,Mt.inRange=function(e,t,n){return t=+t||0,n===r?(n=t,t=0):n=+n||0,e>=wt(t,n)&&e<bt(t,n)},Mt.isArguments=$i,Mt.isArray=Yi,Mt.isBoolean=function(e){return!0===e||!1===e||Xe(e)&&et.call(e)==D},Mt.isDate=function(e){return Xe(e)&&et.call(e)==L},Mt.isElement=function(e){return!!e&&1===e.nodeType&&Xe(e)&&!ro(e)},Mt.isEmpty=function(e){return null==e||(_r(e)&&(Yi(e)||oo(e)||$i(e)||Xe(e)&&Zi(e.splice))?!e.length:!Co(e).length)},Mt.isEqual=Ki,Mt.isError=Qi,Mt.isFinite=function(e){return"number"==typeof e&&mt(e)},Mt.isFunction=Zi,Mt.isMatch=function(e,t,n,i){return n="function"==typeof n?Rn(n,i,3):r,yn(e,xr(t),n)},Mt.isNaN=function(e){return no(e)&&e!=+e},Mt.isNative=to,Mt.isNull=function(e){return null===e},Mt.isNumber=no,Mt.isObject=eo,Mt.isPlainObject=ro,Mt.isRegExp=io,Mt.isString=oo,Mt.isTypedArray=ao,Mt.isUndefined=function(e){return e===r},Mt.kebabCase=Mo,Mt.last=$r,Mt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?bt(r+n,0):wt(n||0,r-1))+1;else if(n){var o=e[i=On(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return Ge(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Mt.lt=so,Mt.lte=function(e,t){return e<=t},Mt.max=Qo,Mt.min=Zo,Mt.noConflict=function(){return Ee._=tt,this},Mt.noop=Xo,Mt.now=Ni,Mt.pad=function(e,t,n){t=+t;var r=(e=Fe(e)).length;if(r>=t||!mt(t))return e;var i=(t-r)/2,o=gt(i);return(n=ur("",ht(i),n)).slice(0,o)+e+n},Mt.padLeft=Eo,Mt.padRight=Io,Mt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Fo(e),Ct(e,t||(ce.test(e)?16:10))},Mt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=r);var i=null==e,o=null==t;if(null==n&&(o&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,o=!0)),i&&o&&(t=1,o=!1),e=+e||0,o?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=St();return wt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return _n(e,t)},Mt.reduce=Ti,Mt.reduceRight=ki,Mt.repeat=Oo,Mt.result=function(e,t,n){var i=null==e?r:e[t];return i===r&&(null==e||Dr(t,e)||(i=null==(e=1==(t=Hr(t)).length?e:vn(e,Dn(t,0,-1)))?r:e[$r(t)]),i=i===r?n:i),Zi(i)?i.call(e):i},Mt.round=ea,Mt.runInContext=e,Mt.size=function(e){var t=e?wr(e):0;return Ar(t)?t:Co(e).length},Mt.snakeCase=Po,Mt.some=Li,Mt.sortedIndex=Qr,Mt.sortedLastIndex=Zr,Mt.startCase=Ro,Mt.startsWith=function(e,t,n){return e=Fe(e),n=null==n?0:wt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Mt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=r),1==(t=vr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Yi(e)?e:Rr(e),t):function(e,t){var n=0;return rn(e,(function(e,r,i){n+=+t(e,r,i)||0})),n}(e,t)},Mt.template=function(e,t,n){var i=Mt.templateSettings;n&&kr(e,t,n)&&(t=n=r),e=Fe(e),t=Jt($t({},n||t),i,Xt);var o,a,s=Jt($t({},t.imports),i.imports,Xt),l=Co(s),u=Mn(s,l),c=0,f=t.interpolate||pe,d="__p += '",h=Te((t.escape||pe).source+"|"+f.source+"|"+(f===ee?le:pe).source+"|"+(t.evaluate||pe).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++ye+"]")+"\n";e.replace(h,(function(t,n,r,i,s,l){return r||(r=i),d+=e.slice(c,l).replace(ge,Ve),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var g=t.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(V,""):d).replace(G,"$1").replace(X,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Wo((function(){return xe(l,p+"return "+d).apply(r,u)}));if(v.source=d,Qi(v))throw v;return v},Mt.trim=Fo,Mt.trimLeft=function(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(He(e,t+"")):e},Mt.trimRight=function(e,t,n){var r=e;return(e=Fe(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ke(e)+1):e.slice(0,We(e,t+"")+1):e},Mt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=r);var i=v,o=m;if(null!=t)if(eo(t)){var a="separator"in t?t.separator:a;i="length"in t?+t.length||0:i,o="omission"in t?Fe(t.omission):o}else i=+t||0;if(i>=(e=Fe(e)).length)return e;var s=i-o.length;if(s<1)return o;var l=e.slice(0,s);if(null==a)return l+o;if(io(a)){if(e.slice(s).search(a)){var u,c,f=e.slice(0,s);for(a.global||(a=Te(a.source,(ue.exec(a)||"")+"g")),a.lastIndex=0;u=a.exec(f);)c=u.index;l=l.slice(0,null==c?s:c)}}else if(e.indexOf(a,s)!=s){var d=l.lastIndexOf(a);d>-1&&(l=l.slice(0,d))}return l+o},Mt.unescape=function(e){return(e=Fe(e))&&Y.test(e)?e.replace(J,Qe):e},Mt.uniqueId=function(e){var t=++Je;return Fe(e)+t},Mt.words=Ho,Mt.all=hi,Mt.any=Li,Mt.contains=wi,Mt.eq=Ki,Mt.detect=gi,Mt.foldl=Ti,Mt.foldr=ki,Mt.head=Gr,Mt.include=wi,Mt.inject=Ti,Go(Mt,($o={},hn(Mt,(function(e,t){Mt.prototype[t]||($o[t]=e)})),$o),!1),Mt.sample=Di,Mt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru((function(t){return Di(t,e)})):Di(this.value())},Mt.VERSION=a,Wt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Mt[e].placeholder=Mt})),Wt(["drop","take"],(function(e,t){Ot.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Ot(this);n=null==n?1:bt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=wt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},Ot.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Wt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n!=C;Ot.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:vr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}})),Wt(["first","last"],(function(e,t){var n="take"+(t?"Right":"");Ot.prototype[e]=function(){return this[n](1).value()[0]}})),Wt(["initial","rest"],(function(e,t){var n="drop"+(t?"":"Right");Ot.prototype[e]=function(){return this.__filtered__?new Ot(this):this[n](1)}})),Wt(["pluck","where"],(function(e,t){var n=t?"filter":"map",r=t?wn:Jo;Ot.prototype[e]=function(e){return this[n](r(e))}})),Ot.prototype.compact=function(){return this.filter(qo)},Ot.prototype.reject=function(e,t){return e=vr(e,t,1),this.filter((function(t){return!e(t)}))},Ot.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new Ot(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},Ot.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Ot.prototype.toArray=function(){return this.take(Tt)},hn(Ot.prototype,(function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),i=/^(?:first|last)$/.test(t),o=Mt[i?"take"+("last"==t?"Right":""):t];o&&(Mt.prototype[t]=function(){var t=i?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,u=s instanceof Ot,c=t[0],f=u||Yi(s);f&&n&&"function"==typeof c&&1!=c.length&&(u=f=!1);var d=function(e){return i&&a?o(e,1)[0]:o.apply(r,Ut([e],t))},h={func:ui,args:[d],thisArg:r},p=u&&!l;if(i&&!a)return p?((s=s.clone()).__actions__.push(h),e.call(s)):o.call(r,this.value())[0];if(!i&&f){s=p?s:new Ot(this);var g=e.apply(s,t);return g.__actions__.push(h),new It(g,a)}return this.thru(d)})})),Wt(["join","pop","push","replace","shift","sort","splice","split","unshift"],(function(e){var t=(/^(?:replace|split)$/.test(e)?Ne:Le)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Mt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n]((function(n){return t.apply(n,e)}))}})),hn(Ot.prototype,(function(e,t){var n=Mt[t];if(n){var r=n.name;(jt[r]||(jt[r]=[])).push({name:t,func:n})}})),jt[lr(r,l).name]=[{name:"wrapper",func:r}],Ot.prototype.clone=function(){var e=new Ot(this.__wrapped__);return e.__actions__=Ht(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ht(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ht(this.__views__),e},Ot.prototype.reverse=function(){if(this.__filtered__){var e=new Ot(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ot.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Yi(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wt(t,e+a);break;case"takeRight":e=bt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,h=wt(l,this.__takeCount__);if(!n||i<w||i==l&&h==l)return In(r&&n?e.reverse():e,this.__actions__);var p=[];e:for(;l--&&d<h;){for(var g=-1,v=e[u+=t];++g<f;){var m=c[g],y=m.iteratee,b=m.type,S=y(v);if(b==C)v=S;else if(!S){if(b==x)continue e;break e}}p[d++]=v}return p},Mt.prototype.chain=function(){return li(this)},Mt.prototype.commit=function(){return new It(this.value(),this.__chain__)},Mt.prototype.concat=ci,Mt.prototype.plant=function(e){for(var t,n=this;n instanceof Et;){var r=Wr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Mt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Ot){var n=e;return this.__actions__.length&&(n=new Ot(this)),(n=n.reverse()).__actions__.push({func:ui,args:[t],thisArg:r}),new It(n,this.__chain__)}return this.thru(t)},Mt.prototype.toString=function(){return this.value()+""},Mt.prototype.run=Mt.prototype.toJSON=Mt.prototype.valueOf=Mt.prototype.value=function(){return In(this.__wrapped__,this.__actions__)},Mt.prototype.collect=Mt.prototype.map,Mt.prototype.head=Mt.prototype.first,Mt.prototype.select=Mt.prototype.filter,Mt.prototype.tail=Mt.prototype.rest,Mt}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ee._=Ze,define((function(){return Ze}))):De&&Le?Me?(Le.exports=Ze)._=Ze:De._=Ze:Ee._=Ze}).call(this)}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(e,t,n){(function(){var r;r=function(e){return e.pivotUtilities.d3_renderers={Treemap:function(t,n){var r,i,o,a,s,l,u,c,f,d,h,p,g;for(o={localeStrings:{},d3:{width:function(){return e(window).width()/1.4},height:function(){return e(window).height()/1.4}}},n=e.extend(o,n),c=e("<div>").css({width:"100%",height:"100%"}),d={name:"All",children:[]},r=function(e,t,n){var i,o,a,s,l,u;if(0!==t.length){for(null==e.children&&(e.children=[]),u=t.shift(),o=0,a=(l=e.children).length;o<a;o++)if((i=l[o]).name===u)return void r(i,t,n);return r(s={name:u},t,n),e.children.push(s)}e.value=n},s=0,l=(u=t.getRowKeys()).length;s<l;s++)f=u[s],null!=(p=t.getAggregator(f,[]).value())&&r(d,f,p);return i=d3.scale.category10(),g=n.d3.width(),a=n.d3.height(),h=d3.layout.treemap().size([g,a]).sticky(!0).value((function(e){return e.size})),d3.select(c[0]).append("div").style("position","relative").style("width",g+"px").style("height",a+"px").datum(d).selectAll(".node").data(h.padding([15,0,0,0]).value((function(e){return e.value})).nodes).enter().append("div").attr("class","node").style("background",(function(e){return null!=e.children?"lightgrey":i(e.name)})).text((function(e){return e.name})).call((function(){this.style("left",(function(e){return e.x+"px"})).style("top",(function(e){return e.y+"px"})).style("width",(function(e){return Math.max(0,e.dx-1)+"px"})).style("height",(function(e){return Math.max(0,e.dy-1)+"px"}))})),c}}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],21:[function(e,t,n){(function(){var r;r=function(e){var t;return t=function(t,n){return function(r,i){var o,a,s,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S,_,T,k,D,L,A,N,j,M,E,I,O;if(d={localeStrings:{vs:"vs",by:"by"},gchart:{}},null==(a=(i=e.extend(!0,d,i)).gchart).width&&(a.width=window.innerWidth/1.4),null==(s=i.gchart).height&&(s.height=window.innerHeight/1.4),0===(L=r.getRowKeys()).length&&L.push([]),0===(u=r.getColKeys()).length&&u.push([]),h=r.aggregatorName,r.valAttrs.length&&(h+="("+r.valAttrs.join(", ")+")"),(m=function(){var e,t,n;for(n=[],e=0,t=L.length;e<t;e++)g=L[e],n.push(g.join("-"));return n}()).unshift(""),C=0,"ScatterChart"===t){for(O in c=[],_=r.tree)for(I in N=_[O])o=N[I],c.push([parseFloat(I),parseFloat(O),h+": \n"+o.format(o.value())]);(f=new google.visualization.DataTable).addColumn("number",r.colAttrs.join("-")),f.addColumn("number",r.rowAttrs.join("-")),f.addColumn({type:"string",role:"tooltip"}),f.addRows(c),v=r.colAttrs.join("-"),j=r.rowAttrs.join("-"),A=""}else{for(c=[m],y=0,w=u.length;y<w;y++){for(C+=(k=[(l=u[y]).join("-")])[0].length,b=0,x=L.length;b<x;b++)D=L[b],null!=(o=r.getAggregator(D,l)).value()?(M=o.value(),e.isNumeric(M)?M<1?k.push(parseFloat(M.toPrecision(3))):k.push(parseFloat(M.toFixed(3))):k.push(M)):k.push(null);c.push(k)}f=google.visualization.arrayToDataTable(c),A=j=h,""!==(v=r.colAttrs.join("-"))&&(A+=" "+i.localeStrings.vs+" "+v),""!==(p=r.rowAttrs.join("-"))&&(A+=" "+i.localeStrings.by+" "+p)}return S={title:A,hAxis:{title:v,slantedText:C>50},vAxis:{title:j},tooltip:{textStyle:{fontName:"Arial",fontSize:12}}},"ColumnChart"===t&&(S.vAxis.minValue=0),"ScatterChart"===t?(S.legend={position:"none"},S.chartArea={width:"80%",height:"80%"}):2===c[0].length&&""===c[0][1]&&(S.legend={position:"none"}),e.extend(S,i.gchart,n),T=e("<div>").css({width:"100%",height:"100%"}),(E=new google.visualization.ChartWrapper({dataTable:f,chartType:t,options:S})).draw(T[0]),T.bind("dblclick",(function(){var e;return e=new google.visualization.ChartEditor,google.visualization.events.addListener(e,"ok",(function(){return e.getChartWrapper().draw(T[0])})),e.openDialog(E)})),T}},e.pivotUtilities.gchart_renderers={"Line Chart":t("LineChart"),"Bar Chart":t("ColumnChart"),"Stacked Bar Chart":t("ColumnChart",{isStacked:!0}),"Area Chart":t("AreaChart",{isStacked:!0}),"Scatter Chart":t("ScatterChart")}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],22:[function(e,t,n){(function(){var r,i=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o=[].slice,a=function(e,t){return function(){return e.apply(t,arguments)}},s={}.hasOwnProperty;r=function(e){var t,n,r,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S;return n=function(e,t,n){var r,i,o,a;for(o=(i=(e+="").split("."))[0],a=i.length>1?n+i[1]:"",r=/(\d+)(\d{3})/;r.test(o);)o=o.replace(r,"$1"+t+"$2");return o+a},b=(g=function(t){var r;return r={digitsAfterDecimal:2,scaler:1,thousandsSep:",",decimalSep:".",prefix:"",suffix:"",showZero:!1},t=e.extend(r,t),function(e){var r;return isNaN(e)||!isFinite(e)?"":0!==e||t.showZero?(r=n((t.scaler*e).toFixed(t.digitsAfterDecimal),t.thousandsSep,t.decimalSep),""+t.prefix+r+t.suffix):""}})(),w=g({digitsAfterDecimal:0}),x=g({digitsAfterDecimal:1,scaler:100,suffix:"%"}),l={Count:(S=r={count:function(e){return null==e&&(e=w),function(){return function(t,n,r){return{count:0,push:function(){return this.count++},value:function(){return this.count},format:e}}}},countUnique:function(e){return null==e&&(e=w),function(t){var n;return n=t[0],function(t,r,o){return{uniq:[],push:function(e){var t;if(t=e[n],i.call(this.uniq,t)<0)return this.uniq.push(e[n])},value:function(){return this.uniq.length},format:e,numInputs:null!=n?0:1}}}},listUnique:function(e){return function(t){var n;return n=t[0],function(t,r,o){return{uniq:[],push:function(e){var t;if(t=e[n],i.call(this.uniq,t)<0)return this.uniq.push(e[n])},value:function(){return this.uniq.join(e)},format:function(e){return e},numInputs:null!=n?0:1}}}},sum:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{sum:0,push:function(e){if(!isNaN(parseFloat(e[n])))return this.sum+=parseFloat(e[n])},value:function(){return this.sum},format:e,numInputs:null!=n?0:1}}}},min:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{val:null,push:function(e){var t,r;if(r=parseFloat(e[n]),!isNaN(r))return this.val=Math.min(r,null!=(t=this.val)?t:r)},value:function(){return this.val},format:e,numInputs:null!=n?0:1}}}},max:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{val:null,push:function(e){var t,r;if(r=parseFloat(e[n]),!isNaN(r))return this.val=Math.max(r,null!=(t=this.val)?t:r)},value:function(){return this.val},format:e,numInputs:null!=n?0:1}}}},average:function(e){return null==e&&(e=b),function(t){var n;return n=t[0],function(t,r,i){return{sum:0,len:0,push:function(e){if(!isNaN(parseFloat(e[n])))return this.sum+=parseFloat(e[n]),this.len++},value:function(){return this.sum/this.len},format:e,numInputs:null!=n?0:1}}}},sumOverSum:function(e){return null==e&&(e=b),function(t){var n,r;return r=t[0],n=t[1],function(t,i,o){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[r]))||(this.sumNum+=parseFloat(e[r])),!isNaN(parseFloat(e[n])))return this.sumDenom+=parseFloat(e[n])},value:function(){return this.sumNum/this.sumDenom},format:e,numInputs:null!=r&&null!=n?0:2}}}},sumOverSumBound80:function(e,t){return null==e&&(e=!0),null==t&&(t=b),function(n){var r,i;return i=n[0],r=n[1],function(n,o,a){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[i]))||(this.sumNum+=parseFloat(e[i])),!isNaN(parseFloat(e[r])))return this.sumDenom+=parseFloat(e[r])},value:function(){var t;return t=e?1:-1,(.821187207574908/this.sumDenom+this.sumNum/this.sumDenom+1.2815515655446004*t*Math.sqrt(.410593603787454/(this.sumDenom*this.sumDenom)+this.sumNum*(1-this.sumNum/this.sumDenom)/(this.sumDenom*this.sumDenom)))/(1+1.642374415149816/this.sumDenom)},format:t,numInputs:null!=i&&null!=r?0:2}}}},fractionOf:function(e,t,n){return null==t&&(t="total"),null==n&&(n=x),function(){var r;return r=1<=arguments.length?o.call(arguments,0):[],function(i,o,a){return{selector:{total:[[],[]],row:[o,[]],col:[[],a]}[t],inner:e.apply(null,r)(i,o,a),push:function(e){return this.inner.push(e)},format:n,value:function(){return this.inner.value()/i.getAggregator.apply(i,this.selector).inner.value()},numInputs:e.apply(null,r)().numInputs}}}}}).count(w),"Count Unique Values":S.countUnique(w),"List Unique Values":S.listUnique(", "),Sum:S.sum(b),"Integer Sum":S.sum(w),Average:S.average(b),Minimum:S.min(b),Maximum:S.max(b),"Sum over Sum":S.sumOverSum(b),"80% Upper Bound":S.sumOverSumBound80(!0,b),"80% Lower Bound":S.sumOverSumBound80(!1,b),"Sum as Fraction of Total":S.fractionOf(S.sum(),"total",x),"Sum as Fraction of Rows":S.fractionOf(S.sum(),"row",x),"Sum as Fraction of Columns":S.fractionOf(S.sum(),"col",x),"Count as Fraction of Total":S.fractionOf(S.count(),"total",x),"Count as Fraction of Rows":S.fractionOf(S.count(),"row",x),"Count as Fraction of Columns":S.fractionOf(S.count(),"col",x)},d={en:{aggregators:l,renderers:m={Table:function(e,t){return v(e,t)},"Table Barchart":function(t,n){return e(v(t,n)).barchart()},Heatmap:function(t,n){return e(v(t,n)).heatmap()},"Row Heatmap":function(t,n){return e(v(t,n)).heatmap("rowheatmap")},"Col Heatmap":function(t,n){return e(v(t,n)).heatmap("colheatmap")}},localeStrings:{renderError:"An error occurred rendering the PivotTable results.",computeError:"An error occurred computing the PivotTable results.",uiRenderError:"An error occurred rendering the PivotTable UI.",selectAll:"Select All",selectNone:"Select None",tooMany:"(too many to list)",filterResults:"Filter results",totals:"Totals",vs:"vs",by:"by"}}},h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],u=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=function(e){return("0"+e).substr(-2,2)},c={bin:function(e,t){return function(n){return n[e]-n[e]%t}},dateFormat:function(e,t,n,r,i){var o;return null==n&&(n=!1),null==r&&(r=h),null==i&&(i=u),o=n?"UTC":"",function(n){var a;return a=new Date(Date.parse(n[e])),isNaN(a)?"":t.replace(/%(.)/g,(function(e,t){switch(t){case"y":return a["get"+o+"FullYear"]();case"m":return C(a["get"+o+"Month"]()+1);case"n":return r[a["get"+o+"Month"]()];case"d":return C(a["get"+o+"Date"]());case"w":return i[a["get"+o+"Day"]()];case"x":return a["get"+o+"Day"]();case"H":return C(a["get"+o+"Hours"]());case"M":return C(a["get"+o+"Minutes"]());case"S":return C(a["get"+o+"Seconds"]());default:return"%"+t}}))}}},p=function(e,t){var n,r,i,o,a,s,l;if(s=/(\d+)|(\D+)/g,a=/\d/,l=/^0/,"number"==typeof e||"number"==typeof t)return isNaN(e)?1:isNaN(t)?-1:e-t;if((n=String(e).toLowerCase())===(i=String(t).toLowerCase()))return 0;if(!a.test(n)||!a.test(i))return n>i?1:-1;for(n=n.match(s),i=i.match(s);n.length&&i.length;)if((r=n.shift())!==(o=i.shift()))return a.test(r)&&a.test(o)?r.replace(l,".0")-o.replace(l,".0"):r>o?1:-1;return n.length-i.length},y=function(e){var t,n,r;for(t in n={},e)r=e[t],n[r]=t;return function(e,t){return null!=n[e]&&null!=n[t]?n[e]-n[t]:null!=n[e]?-1:null!=n[t]?1:p(e,t)}},f=function(t,n){var r;return r=t(n),e.isFunction(r)?r:p},e.pivotUtilities={aggregatorTemplates:r,aggregators:l,renderers:m,derivers:c,locales:d,naturalSort:p,numberFormat:g,sortAs:y},t=function(){function t(e,n){var r;this.getAggregator=a(this.getAggregator,this),this.getRowKeys=a(this.getRowKeys,this),this.getColKeys=a(this.getColKeys,this),this.sortKeys=a(this.sortKeys,this),this.arrSort=a(this.arrSort,this),this.aggregator=n.aggregator,this.aggregatorName=n.aggregatorName,this.colAttrs=n.cols,this.rowAttrs=n.rows,this.valAttrs=n.vals,this.sorters=n.sorters,this.tree={},this.rowKeys=[],this.colKeys=[],this.rowTotals={},this.colTotals={},this.allTotal=this.aggregator(this,[],[]),this.sorted=!1,t.forEachRecord(e,n.derivedAttributes,(r=this,function(e){if(n.filter(e))return r.processRecord(e)}))}return t.forEachRecord=function(t,n,r){var i,o,a,l,u,c,f,d,h,p,g,v;if(i=e.isEmptyObject(n)?r:function(e){var t,i,o;for(t in n)o=n[t],e[t]=null!=(i=o(e))?i:e[t];return r(e)},e.isFunction(t))return t(i);if(e.isArray(t)){if(e.isArray(t[0])){for(a in p=[],t)if(s.call(t,a)&&(o=t[a],a>0)){for(l in d={},h=t[0])s.call(h,l)&&(u=h[l],d[u]=o[l]);p.push(i(d))}return p}for(g=[],c=0,f=t.length;c<f;c++)d=t[c],g.push(i(d));return g}if(t instanceof jQuery)return v=[],e("thead > tr > th",t).each((function(t){return v.push(e(this).text())})),e("tbody > tr",t).each((function(t){return d={},e("td",this).each((function(t){return d[v[t]]=e(this).html()})),i(d)}));throw new Error("unknown input format")},t.convertToArray=function(e){var n;return n=[],t.forEachRecord(e,{},(function(e){return n.push(e)})),n},t.prototype.arrSort=function(e){var t,n;return n=function(){var n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(f(this.sorters,t));return i}.call(this),function(e,t){var r,i;for(i in n)if(0!==(r=(0,n[i])(e[i],t[i])))return r;return 0}},t.prototype.sortKeys=function(){if(!this.sorted)return this.sorted=!0,this.rowKeys.sort(this.arrSort(this.rowAttrs)),this.colKeys.sort(this.arrSort(this.colAttrs))},t.prototype.getColKeys=function(){return this.sortKeys(),this.colKeys},t.prototype.getRowKeys=function(){return this.sortKeys(),this.rowKeys},t.prototype.processRecord=function(e){var t,n,r,i,o,a,s,l,u,c,f,d,h;for(t=[],d=[],i=0,o=(l=this.colAttrs).length;i<o;i++)h=l[i],t.push(null!=(u=e[h])?u:"null");for(s=0,a=(c=this.rowAttrs).length;s<a;s++)h=c[s],d.push(null!=(f=e[h])?f:"null");if(r=d.join(String.fromCharCode(0)),n=t.join(String.fromCharCode(0)),this.allTotal.push(e),0!==d.length&&(this.rowTotals[r]||(this.rowKeys.push(d),this.rowTotals[r]=this.aggregator(this,d,[])),this.rowTotals[r].push(e)),0!==t.length&&(this.colTotals[n]||(this.colKeys.push(t),this.colTotals[n]=this.aggregator(this,[],t)),this.colTotals[n].push(e)),0!==t.length&&0!==d.length)return this.tree[r]||(this.tree[r]={}),this.tree[r][n]||(this.tree[r][n]=this.aggregator(this,d,t)),this.tree[r][n].push(e)},t.prototype.getAggregator=function(e,t){var n,r,i;return i=e.join(String.fromCharCode(0)),r=t.join(String.fromCharCode(0)),null!=(n=0===e.length&&0===t.length?this.allTotal:0===e.length?this.colTotals[r]:0===t.length?this.rowTotals[i]:this.tree[i][r])?n:{value:function(){return null},format:function(){return""}}},t}(),v=function(t,n){var r,i,o,a,l,u,c,f,d,h,p,g,v,m,y,b,w,x,C,S,_;for(f in u={localeStrings:{totals:"Totals"}},n=e.extend(u,n),o=t.colAttrs,p=t.rowAttrs,v=t.getRowKeys(),l=t.getColKeys(),(h=document.createElement("table")).className="pvtTable",m=function(e,t,n){var r,i,o,a,s,l,u,c;if(0!==t){for(a=!0,c=r=0,s=n;0<=s?r<=s:r>=s;c=0<=s?++r:--r)e[t-1][c]!==e[t][c]&&(a=!1);if(a)return-1}for(i=0;t+i<e.length;){for(u=!1,c=o=0,l=n;0<=l?o<=l:o>=l;c=0<=l?++o:--o)e[t][c]!==e[t+i][c]&&(u=!0);if(u)break;i++}return i},o)if(s.call(o,f)){for(c in i=o[f],x=document.createElement("tr"),0===parseInt(f)&&0!==p.length&&((b=document.createElement("th")).setAttribute("colspan",p.length),b.setAttribute("rowspan",o.length),x.appendChild(b)),(b=document.createElement("th")).className="pvtAxisLabel",b.innerHTML=i,x.appendChild(b),l)s.call(l,c)&&(a=l[c],-1!==(_=m(l,parseInt(c),parseInt(f)))&&((b=document.createElement("th")).className="pvtColLabel",b.innerHTML=a[f],b.setAttribute("colspan",_),parseInt(f)===o.length-1&&0!==p.length&&b.setAttribute("rowspan",2),x.appendChild(b)));0===parseInt(f)&&((b=document.createElement("th")).className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals,b.setAttribute("rowspan",o.length+(0===p.length?0:1)),x.appendChild(b)),h.appendChild(x)}if(0!==p.length){for(c in x=document.createElement("tr"),p)s.call(p,c)&&(d=p[c],(b=document.createElement("th")).className="pvtAxisLabel",b.innerHTML=d,x.appendChild(b));b=document.createElement("th"),0===o.length&&(b.className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals),x.appendChild(b),h.appendChild(x)}for(c in v)if(s.call(v,c)){for(f in g=v[c],x=document.createElement("tr"),g)s.call(g,f)&&(C=g[f],-1!==(_=m(v,parseInt(c),parseInt(f)))&&((b=document.createElement("th")).className="pvtRowLabel",b.innerHTML=C,b.setAttribute("rowspan",_),parseInt(f)===p.length-1&&0!==o.length&&b.setAttribute("colspan",2),x.appendChild(b)));for(f in l)s.call(l,f)&&(a=l[f],S=(r=t.getAggregator(g,a)).value(),(y=document.createElement("td")).className="pvtVal row"+c+" col"+f,y.innerHTML=r.format(S),y.setAttribute("data-value",S),x.appendChild(y));S=(w=t.getAggregator(g,[])).value(),(y=document.createElement("td")).className="pvtTotal rowTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),y.setAttribute("data-for","row"+c),x.appendChild(y),h.appendChild(x)}for(f in x=document.createElement("tr"),(b=document.createElement("th")).className="pvtTotalLabel",b.innerHTML=n.localeStrings.totals,b.setAttribute("colspan",p.length+(0===o.length?0:1)),x.appendChild(b),l)s.call(l,f)&&(a=l[f],S=(w=t.getAggregator([],a)).value(),(y=document.createElement("td")).className="pvtTotal colTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),y.setAttribute("data-for","col"+f),x.appendChild(y));return S=(w=t.getAggregator([],[])).value(),(y=document.createElement("td")).className="pvtGrandTotal",y.innerHTML=w.format(S),y.setAttribute("data-value",S),x.appendChild(y),h.appendChild(x),h.setAttribute("data-numrows",v.length),h.setAttribute("data-numcols",l.length),h},e.fn.pivot=function(n,i){var o,a,s,l,u;o={cols:[],rows:[],vals:[],filter:function(){return!0},aggregator:r.count()(),aggregatorName:"Count",sorters:function(){},derivedAttributes:{},renderer:v,rendererOptions:null,localeStrings:d.en.localeStrings},i=e.extend(o,i),l=null;try{s=new t(n,i);try{l=i.renderer(s,i.rendererOptions)}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),l=e("<span>").html(i.localeStrings.renderError)}}catch(t){a=t,"undefined"!=typeof console&&null!==console&&console.error(a.stack),l=e("<span>").html(i.localeStrings.computeError)}for(u=this[0];u.hasChildNodes();)u.removeChild(u.lastChild);return this.append(l)},e.fn.pivotUI=function(n,r,o,a){var l,u,c,h,g,v,m,y,b,w,x,C,S,_,T,k,D,L,A,N,j,M,E,I,O,P,R,F,H,W,z,q,B,U,V,G,X,J,$,Y;null==o&&(o=!1),null==a&&(a="en"),null==d[a]&&(a="en"),v={derivedAttributes:{},aggregators:d[a].aggregators,renderers:d[a].renderers,hiddenAttributes:[],menuLimit:200,cols:[],rows:[],vals:[],exclusions:{},inclusions:{},unusedAttrsVertical:85,autoSortUnusedAttrs:!1,rendererOptions:{localeStrings:d[a].localeStrings},onRefresh:null,filter:function(){return!0},sorters:function(){},localeStrings:d[a].localeStrings},y=this.data("pivotUIOptions"),N=null==y||o?e.extend(v,r):y;try{for(h in n=t.convertToArray(n),B=function(){var e,t;for(C in t=[],e=n[0])s.call(e,C)&&t.push(C);return t}(),E=N.derivedAttributes)s.call(E,h)&&i.call(B,h)<0&&B.push(h);for(c={},S=0,_=B.length;S<_;S++)$=B[S],c[$]={};for($ in t.forEachRecord(n,N.derivedAttributes,(function(e){var t,n,r;for(C in n=[],e)s.call(e,C)&&(r=e[C],N.filter(e)&&(null==r&&(r="null"),null==(t=c[C])[r]&&(t[r]=0),n.push(c[C][r]++)));return n})),G=e("<table>",{class:"pvtUi"}).attr("cellpadding",5),z=e("<td>"),W=e("<select>").addClass("pvtRenderer").appendTo(z).bind("change",(function(){return F()})),I=N.renderers)s.call(I,$)&&e("<option>").val($).html($).appendTo(W);if(g=e("<td>").addClass("pvtAxisContainer pvtUnused"),q=function(){var e,t,n;for(n=[],t=0,e=B.length;t<e;t++)h=B[t],i.call(N.hiddenAttributes,h)<0&&n.push(h);return n}(),J=!1,X="auto"===N.unusedAttrsVertical?120:parseInt(N.unusedAttrsVertical),!isNaN(X)){for(u=0,L=0,T=q.length;L<T;L++)u+=q[L].length;J=u>X}for(w in!0===N.unusedAttrsVertical||J?g.addClass("pvtVertList"):g.addClass("pvtHorizList"),b=function(t){var n,r,o,a,s,l,u,d,h,p,v,m,y,b,x;if(u=function(){var e;for(C in e=[],c[t])e.push(C);return e}(),l=!1,(x=e("<div>").addClass("pvtFilterBox").hide()).append(e("<h4>").text(t+" ("+u.length+")")),u.length>N.menuLimit)x.append(e("<p>").html(N.localeStrings.tooMany));else for((r=e("<p>").appendTo(x)).append(e("<button>",{type:"button"}).html(N.localeStrings.selectAll).bind("click",(function(){return x.find("input:visible").prop("checked",!0)}))),r.append(e("<button>",{type:"button"}).html(N.localeStrings.selectNone).bind("click",(function(){return x.find("input:visible").prop("checked",!1)}))),r.append(e("<br>")),r.append(e("<input>",{type:"text",placeholder:N.localeStrings.filterResults,class:"pvtSearch"}).bind("keyup",(function(){var t;return t=e(this).val().toLowerCase(),x.find(".pvtCheckContainer p").each((function(){return-1!==e(this).text().toLowerCase().indexOf(t)?e(this).show():e(this).hide()}))}))),o=e("<div>").addClass("pvtCheckContainer").appendTo(x),h=0,d=(p=u.sort(f(N.sorters,t))).length;h<d;h++)C=p[h],b=c[t][C],a=e("<label>"),s=!1,N.inclusions[t]?s=i.call(N.inclusions[t],C)<0:N.exclusions[t]&&(s=i.call(N.exclusions[t],C)>=0),l||(l=s),e("<input>").attr("type","checkbox").addClass("pvtFilter").attr("checked",!s).data("filter",[t,C]).appendTo(a),a.append(e("<span>").html(C)),a.append(e("<span>").text(" ("+b+")")),o.append(e("<p>").append(a));return y=function(){return x.find("[type='checkbox']").length-x.find("[type='checkbox']:checked").length>0?n.addClass("pvtFilteredAttribute"):n.removeClass("pvtFilteredAttribute"),u.length>N.menuLimit?x.toggle():x.toggle(0,F)},e("<p>").appendTo(x).append(e("<button>",{type:"button"}).text("OK").bind("click",y)),v=function(t){var n,r,i;return n=(i=e(t.currentTarget).position()).left,r=i.top,x.css({left:n+10,top:r+10}).toggle(),x.find(".pvtSearch").val(""),x.find(".pvtCheckContainer p").show()},m=e("<span>").addClass("pvtTriangle").html(" ▾").bind("click",v),n=e("<li>").addClass("axis_"+w).append(e("<span>").addClass("pvtAttr").text(t).data("attrName",t).append(m)),l&&n.addClass("pvtFilteredAttribute"),g.append(n).append(x),n.bind("dblclick",v)},q)s.call(q,w)&&b(h=q[w]);for($ in U=e("<tr>").appendTo(G),l=e("<select>").addClass("pvtAggregator").bind("change",(function(){return F()})),O=N.aggregators)s.call(O,$)&&l.append(e("<option>").val($).html($));for(e("<td>").addClass("pvtVals").appendTo(U).append(l).append(e("<br>")),e("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols").appendTo(U),(V=e("<tr>").appendTo(G)).append(e("<td>").addClass("pvtAxisContainer pvtRows").attr("valign","top")),j=e("<td>").attr("valign","top").addClass("pvtRendererArea").appendTo(V),!0===N.unusedAttrsVertical||J?(G.find("tr:nth-child(1)").prepend(z),G.find("tr:nth-child(2)").prepend(g)):G.prepend(e("<tr>").append(z).append(g)),this.html(G),P=N.cols,A=0,k=P.length;A<k;A++)$=P[A],this.find(".pvtCols").append(this.find(".axis_"+e.inArray($,q)));for(R=N.rows,M=0,D=R.length;M<D;M++)$=R[M],this.find(".pvtRows").append(this.find(".axis_"+e.inArray($,q)));null!=N.aggregatorName&&this.find(".pvtAggregator").val(N.aggregatorName),null!=N.rendererName&&this.find(".pvtRenderer").val(N.rendererName),x=!0,Y=this,H=function(){var t,r,o,a,s,u,c,f,d,h,g,v,m,y,b;if(v={derivedAttributes:N.derivedAttributes,localeStrings:N.localeStrings,rendererOptions:N.rendererOptions,sorters:N.sorters,cols:[],rows:[]},u=null!=(d=N.aggregators[l.val()]([])().numInputs)?d:0,b=[],Y.find(".pvtRows li span.pvtAttr").each((function(){return v.rows.push(e(this).data("attrName"))})),Y.find(".pvtCols li span.pvtAttr").each((function(){return v.cols.push(e(this).data("attrName"))})),Y.find(".pvtVals select.pvtAttrDropdown").each((function(){return 0===u?e(this).remove():(u--,""!==e(this).val()?b.push(e(this).val()):void 0)})),0!==u)for(f=Y.find(".pvtVals"),$=g=0,h=u;0<=h?g<h:g>h;$=0<=h?++g:--g){for(s=e("<select>").addClass("pvtAttrDropdown").append(e("<option>")).bind("change",(function(){return F()})),m=0,a=q.length;m<a;m++)t=q[m],s.append(e("<option>").val(t).text(t));f.append(s)}if(x&&(b=N.vals,w=0,Y.find(".pvtVals select.pvtAttrDropdown").each((function(){return e(this).val(b[w]),w++})),x=!1),v.aggregatorName=l.val(),v.vals=b,v.aggregator=N.aggregators[l.val()](b),v.renderer=N.renderers[W.val()],r={},Y.find("input.pvtFilter").not(":checked").each((function(){var t;return t=e(this).data("filter"),null!=r[t[0]]?r[t[0]].push(t[1]):r[t[0]]=[t[1]]})),o={},Y.find("input.pvtFilter:checked").each((function(){var t;if(t=e(this).data("filter"),null!=r[t[0]])return null!=o[t[0]]?o[t[0]].push(t[1]):o[t[0]]=[t[1]]})),v.filter=function(e){var t,n;if(!N.filter(e))return!1;for(C in r)if(t=r[C],n=""+e[C],i.call(t,n)>=0)return!1;return!0},j.pivot(n,v),c=e.extend(N,{cols:v.cols,rows:v.rows,vals:b,exclusions:r,inclusions:o,inclusionsInfo:o,aggregatorName:l.val(),rendererName:W.val()}),Y.data("pivotUIOptions",c),N.autoSortUnusedAttrs&&(y=Y.find("td.pvtUnused.pvtAxisContainer"),e(y).children("li").sort((function(t,n){return p(e(t).text(),e(n).text())})).appendTo(y)),j.css("opacity",1),null!=N.onRefresh)return N.onRefresh(c)},(F=function(){return j.css("opacity",.5),setTimeout(H,10)})(),this.find(".pvtAxisContainer").sortable({update:function(e,t){if(null==t.sender)return F()},connectWith:this.find(".pvtAxisContainer"),items:"li",placeholder:"pvtPlaceholder"})}catch(e){m=e,"undefined"!=typeof console&&null!==console&&console.error(m.stack),this.html(N.localeStrings.uiRenderError)}return this},e.fn.heatmap=function(t){var n,r,i,o,a,s,l,u,c,f,d;switch(null==t&&(t="heatmap"),u=this.data("numrows"),l=this.data("numcols"),n=function(e,t,n){var r;return r=function(){switch(e){case"red":return function(e){return"ff"+e+e};case"green":return function(e){return e+"ff"+e};case"blue":return function(e){return""+e+e+"ff"}}}(),function(e){var i;return 1===(i=(255-Math.round(255*(e-t)/(n-t))).toString(16).split(".")[0]).length&&(i=0+i),r(i)}},d=this,r=function(t,r){var i,o,a;return a=[],(o=function(n){return d.find(t).each((function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))}))})((function(e){return a.push(e)})),i=n(r,Math.min.apply(Math,a),Math.max.apply(Math,a)),o((function(e,t){return t.css("background-color","#"+i(e))}))},t){case"heatmap":r(".pvtVal","red");break;case"rowheatmap":for(i=a=0,c=u;0<=c?a<c:a>c;i=0<=c?++a:--a)r(".pvtVal.row"+i,"red");break;case"colheatmap":for(o=s=0,f=l;0<=f?s<f:s>f;o=0<=f?++s:--s)r(".pvtVal.col"+o,"red")}return r(".pvtTotal.rowTotal","red"),r(".pvtTotal.colTotal","red"),this},e.fn.barchart=function(){var t,n,r,i,o,a;for(i=this.data("numrows"),this.data("numcols"),a=this,t=function(t){var n,r,i,o;return o=[],(n=function(n){return a.find(t).each((function(){var t;if(null!=(t=e(this).data("value"))&&isFinite(t))return n(t,e(this))}))})((function(e){return o.push(e)})),r=Math.max.apply(Math,o),i=function(e){return 100*e/(1.4*r)},n((function(t,n){var r,o;return r=n.text(),(o=e("<div>").css({position:"relative",height:"55px"})).append(e("<div>").css({position:"absolute",bottom:0,left:0,right:0,height:i(t)+"%","background-color":"gray"})),o.append(e("<div>").text(r).css({position:"relative","padding-left":"5px","padding-right":"5px"})),n.css({padding:0,"padding-top":"5px","text-align":"center"}).html(o)}))},n=r=0,o=i;0<=o?r<o:r>o;n=0<=o?++r:--r)t(".pvtVal.row"+n);return t(".pvtTotal.colTotal"),this}},"object"==typeof n&&"object"==typeof t?r(e("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r(jQuery)}).call(this)},{jquery:18}],23:[function(e,t,n){var r=e("../src/store-engine"),i=e("../storages/all"),o=[e("../plugins/json2")];t.exports=r.createStore(i,o)},{"../plugins/json2":24,"../src/store-engine":26,"../storages/all":28}],24:[function(e,t,n){t.exports=function(){return e("./lib/json2"),{}}},{"./lib/json2":25}],25:[function(require,module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;n<o;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],l))&&a.push(quote(r)+(gap?": ":":")+i);else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l))&&a.push(quote(r)+(gap?": ":":")+i);return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(void 0!==(r=walk(i,n))?i[n]=r:delete i[n]);return reviver.call(e,t,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},{}],26:[function(e,t,n){var r=e("./util"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,l=r.create,u=r.isList,c=r.isFunction,f=r.isObject;t.exports={createStore:h};var d={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return h.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return h(this.storage,this.plugins,e)}};function h(e,t,n){n||(n=""),e&&!u(e)&&(e=[e]),t&&!u(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",h=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=l({_namespacePrefix:r,_namespaceRegexp:h,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var s=[o].concat(t);return e.apply(r,s)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(u(e))a(e,(function(e){t._addPlugin(e)}));else if(!o(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!c(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!c(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},d,{plugins:[]});return p.raw={},a(p,(function(e,t){c(e)&&(p.raw[t]=s(p,e))})),a(e,(function(e){p._addStorage(e)})),a(t,(function(e){p._addPlugin(e)})),p}},{"./util":27}],27:[function(e,t,n){(function(e){var n=Object.assign?Object.assign:function(e,t,n,r){for(var i=1;i<arguments.length;i++)s(Object(arguments[i]),(function(t,n){e[n]=t}));return e},r=function(){if(Object.create)return function(e,t,r,i){var o=a(arguments,1);return n.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,r,i,o){var s=a(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(s))}}}(),i=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o="undefined"!=typeof window?window:e;function a(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){l(e,(function(e,n){return t(e,n),!1}))}function l(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}t.exports={assign:n,create:r,trim:i,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:s,map:function(e,t){var n=u(e)?[]:{};return l(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:l,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(e,t,n){t.exports=[e("./localStorage"),e("./oldFF-globalStorage"),e("./oldIE-userDataStorage"),e("./cookieStorage"),e("./sessionStorage"),e("./memoryStorage")]},{"./cookieStorage":29,"./localStorage":30,"./memoryStorage":31,"./oldFF-globalStorage":32,"./oldIE-userDataStorage":33,"./sessionStorage":34}],29:[function(e,t,n){var r=e("../src/util"),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(e){if(!e||!u(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:s,remove:l,clearAll:function(){s((function(e,t){l(t)}))}};var a=i.document;function s(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var r=t[n].split("="),i=unescape(r[0]);e(unescape(r[1]),i)}}function l(e){e&&u(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},{"../src/util":27}],30:[function(e,t,n){var r=e("../src/util").Global;function i(){return r.localStorage}function o(e){return i().getItem(e)}t.exports={name:"localStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{"../src/util":27}],31:[function(e,t,n){t.exports={name:"memoryStorage",read:function(e){return r[e]},write:function(e,t){r[e]=t},each:function(e){for(var t in r)r.hasOwnProperty(t)&&e(r[t],t)},remove:function(e){delete r[e]},clearAll:function(e){r={}}};var r={}},{}],32:[function(e,t,n){var r=e("../src/util").Global;t.exports={name:"oldFF-globalStorage",read:function(e){return i[e]},write:function(e,t){i[e]=t},each:o,remove:function(e){return i.removeItem(e)},clearAll:function(){o((function(e,t){delete i[e]}))}};var i=r.globalStorage;function o(e){for(var t=i.length-1;t>=0;t--){var n=i.key(t);e(i[n],n)}}},{"../src/util":27}],33:[function(e,t,n){var r=e("../src/util").Global;t.exports={name:"oldIE-userDataStorage",write:function(e,t){if(!s){var n=u(e);a((function(e){e.setAttribute(n,t),e.save(i)}))}},read:function(e){if(!s){var t=u(e),n=null;return a((function(e){n=e.getAttribute(t)})),n}},each:function(e){a((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];e(t.getAttribute(i.name),i.name)}}))},remove:function(e){var t=u(e);a((function(e){e.removeAttribute(t),e.save(i)}))},clearAll:function(){a((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(i);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(i)}))}};var i="storejs",o=r.document,a=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(t){n=o.createElement("div"),e=o.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(i),t.apply(this,r),e.removeChild(n)}}(),s=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./),l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function u(e){return e.replace(/^\d/,"___$&").replace(l,"___")}},{"../src/util":27}],34:[function(e,t,n){var r=e("../src/util").Global;function i(){return r.sessionStorage}function o(e){return i().getItem(e)}t.exports={name:"sessionStorage",read:o,write:function(e,t){return i().setItem(e,t)},each:function(e){for(var t=i().length-1;t>=0;t--){var n=i().key(t);e(o(n),n)}},remove:function(e){return i().removeItem(e)},clearAll:function(){return i().clear()}}},{"../src/util":27}],35:[function(e,t,n){t.exports={_args:[[{raw:"yasgui-utils@^1.4.1",scope:null,escapedName:"yasgui-utils",name:"yasgui-utils",rawSpec:"^1.4.1",spec:">=1.4.1 <2.0.0",type:"range"},"/home/sava/IntellijProjects/YASR-Ontotext"]],_from:"yasgui-utils@>=1.4.1 <2.0.0",_id:"yasgui-utils@1.6.7",_inCache:!0,_location:"/yasgui-utils",_nodeVersion:"7.10.0",_npmOperationalInternal:{host:"s3://npm-registry-packages",tmp:"tmp/yasgui-utils-1.6.7.tgz_1495459781202_0.06725964159704745"},_npmUser:{name:"laurens.rietveld",email:"laurens.rietveld@gmail.com"},_npmVersion:"4.2.0",_phantomChildren:{},_requested:{raw:"yasgui-utils@^1.4.1",scope:null,escapedName:"yasgui-utils",name:"yasgui-utils",rawSpec:"^1.4.1",spec:">=1.4.1 <2.0.0",type:"range"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/yasgui-utils/-/yasgui-utils-1.6.7.tgz",_shasum:"2bcfc5a315688de3ae6057883d9ae342b205f267",_shrinkwrap:null,_spec:"yasgui-utils@^1.4.1",_where:"/home/sava/IntellijProjects/YASR-Ontotext",author:{name:"Laurens Rietveld"},bugs:{url:"https://github.com/YASGUI/Utils/issues"},dependencies:{store:"^2.0.4"},description:"Utils for YASGUI libs",devDependencies:{},directories:{},dist:{shasum:"2bcfc5a315688de3ae6057883d9ae342b205f267",tarball:"https://registry.npmjs.org/yasgui-utils/-/yasgui-utils-1.6.7.tgz"},gitHead:"6031b1cb732d390b29cd5376dceb9a9d665bbd11",homepage:"https://github.com/YASGUI/Utils",licenses:[{type:"MIT",url:"http://yasgui.github.io/license.txt"}],main:"src/main.js",maintainers:[{name:"laurens.rietveld",email:"laurens.rietveld@gmail.com"}],name:"yasgui-utils",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git://github.com/YASGUI/Utils.git"},scripts:{},version:"1.6.7"}},{}],36:[function(e,t,n){window.console=window.console||{log:function(){}},t.exports={storage:e("./storage.js"),svg:e("./svg.js"),version:{"yasgui-utils":e("../package.json").version},nestedExists:function(e){for(var t=Array.prototype.slice.call(arguments,1),n=0;n<t.length;n++){if(!e||!e.hasOwnProperty(t[n]))return!1;e=e[t[n]]}return!0}}},{"../package.json":35,"./storage.js":37,"./svg.js":38}],37:[function(e,t,n){var r=e("store"),i={day:function(){return 864e5},month:function(){i.day()},year:function(){i.month()}},o=t.exports={set:function(e,t,n,o){if(r.enabled&&e&&void 0!==t){"string"==typeof n&&(n=i[n]()),t.documentElement&&(t=(new XMLSerializer).serializeToString(t.documentElement));try{r.set(e,{val:t,exp:n,time:(new Date).getTime()})}catch(e){if(e.quotaExceeded=function(e){var t=!1;if(e)if(e.code)switch(e.code){case 22:t=!0;break;case 1014:"NS_ERROR_DOM_QUOTA_REACHED"===e.name&&(t=!0)}else-2147024882===e.number&&(t=!0);return t}(e),!e.quotaExceeded||!o)throw e;o(e)}}},remove:function(e){r.enabled&&e&&r.remove(e)},removeAll:function(e){r.enabled&&(e?"function"==typeof e&&r.each((function(t,n){e(n,t)&&o.remove(n)})):r.clearAll())},get:function(e){if(!r.enabled)return null;if(e){var t=r.get(e);return t?t.exp&&(new Date).getTime()-t.time>t.exp?null:t.val:null}return null}}},{store:23}],38:[function(e,t,n){t.exports={draw:function(e,n){if(e){var r=t.exports.getElement(n);r&&(e.append?e.append(r):e.appendChild(r))}},getElement:function(e){if(e&&0==e.indexOf("<svg")){var t=(new DOMParser).parseFromString(e,"text/xml").documentElement,n=document.createElement("div");return n.className="svgImg",n.appendChild(t),n}return!1}}},{}],39:[function(e,t,n){t.exports={name:"yasgui-yasr",description:"Yet Another SPARQL Resultset GUI",version:"2.4.12",main:"src/main.js",scripts:{dev:"gulp serve",build:"gulp"},licenses:[{type:"MIT",url:"http://yasr.yasgui.org/license.txt"}],author:"Laurens Rietveld",homepage:"http://yasr.yasgui.org",devDependencies:{browserify:"^6.1.0",gulp:"~3.9.0","gulp-bump":"^0.1.11","gulp-concat":"^2.4.1","gulp-connect":"^2.0.5","gulp-embedlr":"^0.5.2","gulp-filter":"^1.0.2","gulp-git":"^0.5.2","gulp-jsvalidate":"^0.2.0","gulp-livereload":"^1.3.1","gulp-minify-css":"0.3.11","gulp-notify":"^2.0.1","gulp-rename":"^1.2.0","gulp-streamify":"0.0.5","gulp-tag-version":"^1.1.0","gulp-uglify":"~0.2.1","require-dir":"^0.1.0","run-sequence":"^1.0.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"~0.1.1",watchify:"^0.6.4","gulp-sourcemaps":"^1.2.8",exorcist:"^0.1.6","vinyl-transform":"0.0.1","gulp-sass":"^2.2.0","bootstrap-sass":"~3.3.1","browserify-transform-tools":"^1.2.1","gulp-cssimport":"^1.3.1","gulp-html-replace":"^1.4.1","browserify-shim":"^3.8.1"},bugs:"https://github.com/YASGUI/YASR/issues/",keywords:["JavaScript","SPARQL","Editor","Semantic Web","Linked Data"],maintainers:[{name:"Laurens Rietveld",email:"laurens.rietveld@gmail.com",web:"http://laurensrietveld.nl"}],repository:{type:"git",url:"https://github.com/YASGUI/YASR.git"},dependencies:{jquery:"1.11.0",codemirror:"^4.7.0","yasgui-utils":"^1.4.1",pivottable:"^1.2.2","jquery-ui":"1.10.5",cytoscape:"^2.3.11",lodash:"^3.6.0"},"browserify-shim":{google:"global:google"},browserify:{transform:["browserify-shim"]},optionalShim:{codemirror:{require:"codemirror",global:"CodeMirror"},jquery:{require:"jquery",global:"jQuery"},"../../lib/codemirror":{require:"codemirror",global:"CodeMirror"},"../lib/DataTables/media/js/jquery.dataTables.js":{require:"datatables",global:"jQuery"},datatables:{require:"datatables",global:"jQuery"},"jquery-ui/sortable":{require:"jquery-ui/sortable",global:"jQuery"},pivottable:{require:"pivottable",global:"jQuery"}}}},{}],40:[function(e,t,n){"use strict";t.exports=function(e){var t=e.head.vars,n=e.results.bindings,r=function(e){for(var n=0;n<t.length;n++){var r=t[n];e.hasOwnProperty(r)?i(e[r].value):i("")}},i=function(e){e.replace('"','""'),o(e)&&(e='"'+e+'"'),a+=" "+e+" ,"},o=function(e){var t=!1;return e.match('[\\w|,|"]')&&(t=!0),t},a="";return function(){for(var e=0;e<t.length;e++)i(t[e]);a+="\n"}(),function(){for(var e=0;e<n.length;e++)r(n[e]),a+="\n"}(),a}},{}],41:[function(e,t,n){"use strict";var r=e("jquery");(t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='booleanResult'></div>");return{name:null,draw:function(){n.empty().appendTo(t.resultsContainer);var i=t.results.getBoolean(),o=null,a=null;!0===i?(o="check",a=t.translate("yasr.boolean.true")):!1===i?(o="cross",a=t.translate("yasr.boolean.false")):(n.width("140"),a=t.translate("yasr.boolean.no_boolean")),o&&e("yasgui-utils").svg.draw(n,e("./imgs.js")[o]),r("<span></span>").text(a).appendTo(n)},hideFromSelection:!0,getPriority:1,canHandleResults:function(){return t.results.getBoolean&&(!0===t.results.getBoolean()||0==t.results.getBoolean())}}}).version={"YASR-boolean":e("../package.json").version,jquery:r.fn.jquery}},{"../package.json":39,"./imgs.js":51,"./translate.js":65,jquery:18,"yasgui-utils":36}],42:[function(e,t,n){"use strict";var r=e("jquery");(t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='booleanBootResult'></div>");return{name:null,draw:function(){n.empty().appendTo(t.resultsContainer);var e=t.results.getBoolean(),i=null;!0===e?i=r("<div class='boolRes alert alert-success no-icon'><span class='boolResTex'>"+t.translate("yasr.boolean.alert.yes")+"</span></div>"):!1===e?i=r("<div class='boolRes alert alert-danger no-icon'><span class='boolResTex'>"+t.translate("yasr.boolean.alert.no")+"</span></div>"):(n.width("140"),textVal=t.translate("yasr.boolean.no_boolean")),i.appendTo(n)},hideFromSelection:!0,getPriority:3,canHandleResults:function(){return t.results.getBoolean&&(!0===t.results.getBoolean()||0==t.results.getBoolean())}}}).version={"YASR-boolean":e("../package.json").version,jquery:r.fn.jquery}},{"../package.json":39,"./translate.js":65,jquery:18}],43:[function(e,t,n){"use strict";var r=e("jquery");t.exports={output:"table",useGoogleCharts:!0,outputPlugins:["table","error","boolean","rawResponse"],drawOutputSelector:!0,drawDownloadIcon:!0,getUsedPrefixes:null,persistency:{prefix:function(e){return"yasr_"+r(e.container).closest("[id]").attr("id")+"_"},outputSelector:function(e){return"selector"},results:{id:function(e){return"results_"+r(e.container).closest("[id]").attr("id")},key:"results",maxSize:1e5}}}},{jquery:18}],44:[function(e,t,n){"use strict";var r=e("jquery"),i=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r("<div class='errorResult'></div>"),o=r.extend(!0,{},i.defaults),a=function(){var e=null;if(o.tryQueryLink){var n=o.tryQueryLink();e=r("<button>",{class:"yasr_btn yasr_tryQuery"}).text(t.translate("yasr.error.new_window")).click((function(){window.open(n,"_blank"),r(this).blur()}))}return e};return{name:null,draw:function(){var e=t.results.getException();n.empty().appendTo(t.resultsContainer);var i=r("<div>",{class:"errorHeader"}).appendTo(n);if(0!==e.status){var s="Error";e.statusText&&e.statusText.length<100&&(s=e.statusText),s+=" (#"+e.status+")",i.append(r("<span>",{class:"exception"}).text(s)).append(a());var l=null;e.responseText?l=e.responseText:"string"==typeof e&&(l=e),l&&n.append(r("<pre>").text(l))}else i.append(a()),n.append(r("<div>",{class:"corsMessage"}).append(o.corsMessage))},getPriority:20,hideFromSelection:!0,canHandleResults:function(e){return e.results.getException()||!1}}};i.defaults={corsMessage:yasr.translate("yasr.error.no_response"),tryQueryLink:null}},{"./translate.js":65,jquery:18}],45:[function(e,t,n){t.exports={GoogleTypeException:function(t,n){let r=e("./translate.js")("");this.foundTypes=t,this.varName=n,this.toString=function(){return r("yasr.exceptions.conflict",{key:"varName",value:this.varName})},this.toHtml=function(){return r("yasr.exceptions.conflict_render",{key:"varName",value:"<i>"+this.varName+"</i>"})}}}},{"./translate.js":65}],46:[function(e,t,n){"use strict";let r=e("./translate.js")()("yasr.download.as.label");t.exports={selectSaveAsDropDown:'<div class="saveAsDropDown btn-group pull-right"><button id="saveAsBtn" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" type="button">'+r+' </button><ul class="dropdown-menu" role="menu"><li><a class="format dropdown-item" data-accepts="application/sparql-results+json" href="#">JSON</a></li><li><a class="format dropdown-item" data-accepts="application/x-sparqlstar-results+json" href="#">JSON*</a></li><li><a class="format dropdown-item" data-accepts="application/sparql-results+xml" href="#">XML</a></li><li><a class="format dropdown-item" data-accepts="application/x-sparqlstar-results+xml" href="#">XML*</a></li><li><a class="format dropdown-item" data-accepts="text/csv" href="#">CSV</a></li><li><a class="format dropdown-item " data-accepts="text/tab-separated-values" href="#">TSV</a></li><li><a class="format dropdown-item " data-accepts="text/x-tab-separated-values-star" href="#">TSV*</a></li><li><a class="format dropdown-item" data-accepts="application/x-binary-rdf-results-table" href="#">Binary RDF Results</a></li></ul></div>',graphSaveAsDropDown:'<div class="saveAsDropDown btn-group pull-right"><button id="saveAsBtn" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" type="button">'+r+' </button><ul class="dropdown-menu" role="menu"><li><a class="format dropdown-item" data-accepts="application/rdf+json" href="#">JSON</a></li><li><a class="format dropdown-item" data-accepts="application/ld+json" href="#">JSON-LD</a></li><li><a class="format dropdown-item" data-accepts="application/rdf+xml" href="#">RDF-XML</a></li><li><a class="format dropdown-item" data-accepts="text/rdf+n3" href="#">N3</a></li><li><a class="format dropdown-item" data-accepts="text/plain" href="#">N-Triples</a></li><li><a class="format dropdown-item" data-accepts="text/x-nquads" href="#">N-Quads</a></li><li><a class="format dropdown-item" data-accepts="text/turtle" href="#">Turtle</a></li><li><a class="format dropdown-item" data-accepts="application/x-turtlestar" href="#">Turtle*</a></li><li><a class="format dropdown-item" data-accepts="application/trix" href="#">TriX</a></li><li><a class="format dropdown-item" data-accepts="application/x-trig" href="#">TriG</a></li><li><a class="format dropdown-item" data-accepts="application/x-trigstar" href="#">TriG*</a></li><li><a class="format dropdown-item" data-accepts="application/x-binary-rdf" href="#">Binary RDF</a></li></ul></div>'}},{"./translate.js":65}],47:[function(e,t,n){(function(n){var r=e("events").EventEmitter,i=(e("jquery"),!1),o=!1,a=function(){let t=e("./translate.js")("");r.call(this);var a=this;this.init=function(){if(o||("undefined"!=typeof window?window.google:void 0!==n&&n.google)||i)("undefined"!=typeof window?window.google:void 0!==n&&n.google)?a.emit("initDone"):o&&a.emit("initError");else{i=!0,s("https://google.com/jsapi",(function(){i=!1,a.emit("initDone")}));var e=+new Date,t=function(){("undefined"!=typeof window?window.google:void 0!==n&&n.google)||(+new Date-e>6e3?(o=!0,i=!1,a.emit("initError")):setTimeout(t,100))};t()}},this.googleLoad=function(){var e=function(){("undefined"!=typeof window?window.google:void 0!==n?n.google:null).load("visualization","1",{packages:["corechart","charteditor"],callback:function(){a.emit("done")}})};i?(a.once("initDone",e),a.once("initError",(function(){a.emit("error",t("yasr.gchartLoader.unable_to_load"))}))):("undefined"!=typeof window?window.google:void 0!==n&&n.google)?e():o?a.emit("error",t("yasr.gchartLoader.unable_to_load")):(a.once("initDone",e),a.once("initError",(function(){a.emit("error",t("yasr.gchartLoader.unable_to_load"))})))}},s=function(e,t){var n=document.createElement("script");n.type="text/javascript",n.readyState?n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()},n.src=e,document.body.appendChild(n)};a.prototype=new r,t.exports=new a}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./translate.js":65,events:13,jquery:18}],48:[function(e,t,n){(function(n){"use strict";var r=e("jquery"),i=e("./utils.js"),o=e("yasgui-utils"),a=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var s=r.extend(!0,{},a.defaults),l=t.container.closest("[id]").attr("id");null==t.options.gchart&&(t.options.gchart={});var u=t.getPersistencyId("motionchart"),c=t.getPersistencyId("chartConfig");null==t.options.gchart.motionChartState&&(t.options.gchart.motionChartState=o.storage.get(u)),null==t.options.gchart.chartConfig&&(t.options.gchart.chartConfig=o.storage.get(c));var f=null,d=function(e){var r="undefined"!=typeof window?window.google:void 0!==n?n.google:null;f=new r.visualization.ChartEditor,r.visualization.events.addListener(f,"ok",(function(){var e,n,i,a,l,d,h,p;e=f.getChartWrapper(),i=e.getChartType,a="===",l={}.toString,d={}.hasOwnProperty,h=function(e,t){return d.call(e,t)},p=!0,function e(t,n,r){var i,o,s,u,c,f,d,g;if(null==t||null==n)return t===n;if(t.__placeholder__||n.__placeholder__)return!0;if(t===n)return 0!==t||1/t==1/n;if(i=l.call(t),l.call(n)!=i)return!1;switch(i){case"[object String]":return t==String(n);case"[object Number]":return t!=+t?n!=+n:0==t?1/t==1/n:t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object RegExp]":return t.source==n.source&&t.global==n.global&&t.multiline==n.multiline&&t.ignoreCase==n.ignoreCase}if("object"!=typeof t||"object"!=typeof n)return!1;for(o=r.length;o--;)if(r[o]==t)return!0;if(r.push(t),s=0,u=!0,"[object Array]"==i){if(c=t.length,f=n.length,p){switch(a){case"===":u=c===f;break;case"<==":u=c<=f;break;case"<<=":u=c<f}s=c,p=!1}else u=c===f,s=c;if(u)for(;s--&&(u=s in t==s in n&&e(t[s],n[s],r)););}else{if("constructor"in t!="constructor"in n||t.constructor!=n.constructor)return!1;for(d in t)if(h(t,d)&&(s++,!(u=h(n,d)&&e(t[d],n[d],r))))break;if(u){for(d in g=0,n)h(n,d)&&++g;p?u="<<="===a?s<g:"<=="===a?s<=g:s===g:(p=!1,u=s===g)}}return r.pop(),u}(i,"MotionChart",[])||(t.options.gchart.motionChartState=e.n,o.storage.set(u,t.options.gchart.motionChartState),e.setOption("state",t.options.gchart.motionChartState),r.visualization.events.addListener(e,"ready",(function(){var n;n=e.getChart(),r.visualization.events.addListener(n,"statechange",(function(){t.options.gchart.motionChartState=n.getState(),o.storage.set(u,t.options.gchart.motionChartState)}))}))),n=e.getDataTable(),e.setDataTable(null),t.options.gchart.chartConfig=e.toJSON(),o.storage.set(c,t.options.gchart.chartConfig),e.setDataTable(n),e.setOption("width",s.width),e.setOption("height",s.height),e.draw(),t.updateHeader()})),e&&e()};return{name:"Google Chart",nameLabel:"yasr.gchart.chart_name",hideFromSelection:!1,priority:7,canHandleResults:function(e){var t,n;return null!=(t=e.results)&&(n=t.getVariables())&&n.length>0},getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg");if(e.length>0)return{getContent:function(){return e[0].outerHTML?e[0].outerHTML:r("<div>").append(e.clone()).html()},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:t.translate("yasr.btn.title.svg")};var n=t.resultsContainer.find(".google-visualization-table-table");return n.length>0?{getContent:function(){return n.tableToCsv()},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:void 0},getEmbedHtml:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg").clone().css("height","").css("width","");if(0==e.length)return null;var n=e[0].outerHTML;return n||(n=r("<div>").append(e.clone()).html()),'<div style="width: 800px; height: 600px;">\n'+n+"\n</div>"},draw:function(){var c=function(){if(t.resultsContainer=r(".yasr_results"),t.resultsContainer.empty(),t.options.output==a.defaults.persistencyId){var n=l+"_gchartWrapper",c=null;t.resultsContainer.append(r("<button>",{class:"openGchartBtn yasr_btn"}).text(t.translate("yasr.chart.config")).click((function(){f.openDialog(c)}))).append(r("<div>",{id:n,class:"gchartWrapper"}));var d=new google.visualization.DataTable,h=t.results.getAsJson();h.head.vars.forEach((function(n){var r="string";try{r=i.getGoogleTypeForBindings(h.results.bindings,n)}catch(n){if(!(n instanceof e("./exceptions.js").GoogleTypeException))throw n;t.warn(n.toHtml())}d.addColumn(r,n)}));var p=null;t.options.getUsedPrefixes&&(p="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),h.results.bindings.forEach((function(e){var t=[];h.head.vars.forEach((function(n,r){t.push(i.castGoogleType(e[n],p,d.getColumnType(r)))})),d.addRow(t)})),t.options.gchart.chartConfig?("MotionChart"===(c=new google.visualization.ChartWrapper(t.options.gchart.chartConfig)).getChartType()&&null!=t.options.gchart.motionChartState&&(c.setOption("state",t.options.gchart.motionChartState),google.visualization.events.addListener(c,"ready",(function(){var e;e=c.getChart(),google.visualization.events.addListener(e,"statechange",(function(){t.options.gchart.motionChartState=e.getState(),o.storage.set(u,t.options.gchart.motionChartState)}))}))),c.setDataTable(d)):c=new google.visualization.ChartWrapper({chartType:"Table",dataTable:d,containerId:n}),c.setOption("width",s.width),c.setOption("height",s.height),c.draw(),t.updateHeader()}};("undefined"!=typeof window?window.google:void 0!==n&&n.google)&&("undefined"!=typeof window?window.google:void 0!==n?n.google:null).visualization&&f?c():e("./gChartLoader.js").on("done",(function(){d(),c()})).on("error",(function(){console.log("errorrr")})).googleLoad()}}};a.defaults={height:"600px",width:"100%",persistencyId:"gchart"}}).call(this,void 0!==global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./exceptions.js":45,"./gChartLoader.js":47,"./translate.js":65,"./utils.js":66,jquery:18,"yasgui-utils":36}],49:[function(e,t,n){t.exports={"yasr.table.filter":"Filter query results","yasr.table":"Table","yasr.graph.beta":"Graph(beta)","yasr.pivot.pivot_table":"Pivot Table","yasr.name.raw_response":"Raw Response","yasr.headers.columns":"Columns","yasr.headers.rows":"Rows","yasr.headers.variables":"Available Variables","yasr.headers.cells":"Cells","yasr.gchartLoader.unable_to_load":"Could not load google loader","yasr.gchart.chart_name":"Google Chart","yasr.exceptions.conflict":'Conflicting data types found for variable {{varName}}. Assuming all values of this variable are "string". To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype',"yasr.exceptions.conflict_render":'Conflicting data types found for variable {{varName}}. Assuming all values of this variable are "string". As a result, several Google Charts will not render values of this particular variable. To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype',"yasr.error.no_response":"Unable to get response from endpoint","yasr.error.new_window":"Try query in new browser window","yasr.boolean.alert.yes":"YES","yasr.boolean.alert.no":"NO","yasr.boolean.true":"True","yasr.boolean.false":"False","yasr.boolean.no_boolean":"Could not find boolean value in response","yasr.http.403":"You don't have permission to execute this query. Ask your admin for support.","yasr.btn.title.unsupported_download":"Download not supported for this result representation","yasr.btn.title.embed":"Save","yasr.btn.label.save":"Get HTML snippet to embed results on a web page","yasr.download.as.label":"Download as","yasr.btn.title.svg":"Download SVG Image","yasr.btn.title.csv":"Download as CSV","yasr.btn.title.raw":"Download raw response","yasr.copy.to.clipboard":"Copy to Clipboard","yasr.chart.config":"Chart Config","yasr.empty.table":"No data available in table","yasr.loading.label":"Loading..."}},{}],50:[function(e,t,n){t.exports={"yasr.table.filter":"Filtrer les résultats des requêtes","yasr.table":"Tableau","yasr.graph.beta":"Graphe(beta)","yasr.pivot.pivot_table":"Table de pivotement","yasr.name.raw_response":"Réponse brute","yasr.headers.columns":"Colonnes","yasr.headers.rows":"Lignes","yasr.headers.variables":"Variables disponibles","yasr.headers.cells":"Cellules","yasr.gchartLoader.unable_to_load":"Impossible de charger le loader de google","yasr.gchart.chart_name":"Graphique Google","yasr.exceptions.conflict":'Des types de données contradictoires ont été trouvés pour la variable {{varName}}. On suppose que toutes les valeurs de cette variable sont "string". Pour éviter ce problème, convertissez les valeurs de votre requête SPARQL dans le type de données xsd prévu.',"yasr.exceptions.conflict_render":'Des types de données contradictoires ont été trouvés pour la variable {{varName}}. On suppose que toutes les valeurs de cette variable sont "string". Par conséquent, plusieurs graphiques Google ne rendent pas les valeurs de cette variable particulière. Pour éviter ce problème, convertissez les valeurs de votre requête SPARQL dans le type de données xsd prévu.',"yasr.error.no_response":"Impossible d'obtenir une réponse du point de terminaison","yasr.error.new_window":"Essayez la requête dans une nouvelle fenêtre du navigateur","yasr.boolean.alert.yes":"OUI","yasr.boolean.alert.no":"NON","yasr.boolean.true":"Vrai","yasr.boolean.false":"Faux","yasr.boolean.no_boolean":"Impossible de trouver une valeur booléenne en réponse","yasr.http.403":"Vous n'avez pas la permission d'exécuter cette requête. Demandez de l'aide à votre administrateur.","yasr.btn.title.unsupported_download":"Le téléchargement n'est pas pris en charge pour cette représentation de résultat","yasr.btn.title.embed":"Sauvegarder","yasr.btn.label.save":"Obtenir un extrait HTML pour intégrer les résultats dans une page web","yasr.download.as.label":"Téléchargement","yasr.btn.title.svg":"Télécharger l'image SVG","yasr.btn.title.csv":"Télécharger comme CSV","yasr.btn.title.raw":"Télécharger la réponse brute","yasr.copy.to.clipboard":"Copier dans le presse-papiers","yasr.chart.config":"Configuration du graphique","yasr.empty.table":"Aucune donnée disponible dans le tableau","yasr.loading.label":"Chargement..."}},{}],51:[function(e,t,n){"use strict";t.exports={cross:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g>\t<path d="M83.288,88.13c-2.114,2.112-5.575,2.112-7.689,0L53.659,66.188c-2.114-2.112-5.573-2.112-7.687,0L24.251,87.907 c-2.113,2.114-5.571,2.114-7.686,0l-4.693-4.691c-2.114-2.114-2.114-5.573,0-7.688l21.719-21.721c2.113-2.114,2.113-5.573,0-7.686 L11.872,24.4c-2.114-2.113-2.114-5.571,0-7.686l4.842-4.842c2.113-2.114,5.571-2.114,7.686,0L46.12,33.591 c2.114,2.114,5.572,2.114,7.688,0l21.721-21.719c2.114-2.114,5.573-2.114,7.687,0l4.695,4.695c2.111,2.113,2.111,5.571-0.003,7.686 L66.188,45.973c-2.112,2.114-2.112,5.573,0,7.686L88.13,75.602c2.112,2.111,2.112,5.572,0,7.687L83.288,88.13z"/></g></svg>',check:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><path fill="#000000" d="M14.301,49.982l22.606,17.047L84.361,4.903c2.614-3.733,7.76-4.64,11.493-2.026l0.627,0.462 c3.732,2.614,4.64,7.758,2.025,11.492l-51.783,79.77c-1.955,2.791-3.896,3.762-7.301,3.988c-3.405,0.225-5.464-1.039-7.508-3.084 L2.447,61.814c-3.263-3.262-3.263-8.553,0-11.814l0.041-0.019C5.75,46.718,11.039,46.718,14.301,49.982z"/></svg>',unsorted:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path7-9" d="m 8.8748339,52.571766 16.9382111,-0.222584 4.050851,-0.06665 15.719154,-0.222166 0.27778,-0.04246 0.43276,0.0017 0.41632,-0.06121 0.37532,-0.0611 0.47132,-0.119342 0.27767,-0.08206 0.55244,-0.198047 0.19707,-0.08043 0.61095,-0.259721 0.0988,-0.05825 0.019,-0.01914 0.59303,-0.356548 0.11787,-0.0788 0.49125,-0.337892 0.17994,-0.139779 0.37317,-0.336871 0.21862,-0.219786 0.31311,-0.31479 0.21993,-0.259387 c 0.92402,-1.126057 1.55249,-2.512251 1.78961,-4.016904 l 0.0573,-0.25754 0.0195,-0.374113 0.0179,-0.454719 0.0175,-0.05874 -0.0169,-0.258049 -0.0225,-0.493503 -0.0398,-0.355569 -0.0619,-0.414201 -0.098,-0.414812 -0.083,-0.353334 L 53.23955,41.1484 53.14185,40.850967 52.93977,40.377742 52.84157,40.161628 34.38021,4.2507375 C 33.211567,1.9401875 31.035446,0.48226552 28.639484,0.11316952 l -0.01843,-0.01834 -0.671963,-0.07882 -0.236871,0.0042 L 27.335984,-4.7826577e-7 27.220736,0.00379952 l -0.398804,0.0025 -0.313848,0.04043 -0.594474,0.07724 -0.09611,0.02147 C 23.424549,0.60716252 21.216017,2.1142355 20.013025,4.4296865 L 0.93967491,40.894479 c -2.08310801,3.997178 -0.588125,8.835482 3.35080799,10.819749 1.165535,0.613495 2.43199,0.88731 3.675026,0.864202 l 0.49845,-0.02325 0.410875,0.01658 z M 9.1502369,43.934401 9.0136999,43.910011 27.164145,9.2564625 44.70942,43.42818 l -14.765289,0.214677 -4.031106,0.0468 -16.7627881,0.244744 z" /></svg>',sortDesc:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path9" d="m 27.813273,0.12823506 0.09753,0.02006 c 2.39093,0.458209 4.599455,1.96811104 5.80244,4.28639004 L 52.785897,40.894525 c 2.088044,4.002139 0.590949,8.836902 -3.348692,10.821875 -1.329078,0.688721 -2.766603,0.943695 -4.133174,0.841768 l -0.454018,0.02 L 27.910392,52.354171 23.855313,52.281851 8.14393,52.061827 7.862608,52.021477 7.429856,52.021738 7.014241,51.959818 6.638216,51.900838 6.164776,51.779369 5.889216,51.699439 5.338907,51.500691 5.139719,51.419551 4.545064,51.145023 4.430618,51.105123 4.410168,51.084563 3.817138,50.730843 3.693615,50.647783 3.207314,50.310611 3.028071,50.174369 2.652795,49.833957 2.433471,49.613462 2.140099,49.318523 1.901127,49.041407 C 0.97781,47.916059 0.347935,46.528448 0.11153,45.021676 L 0.05352,44.766255 0.05172,44.371683 0.01894,43.936017 0,43.877277 0.01836,43.62206 0.03666,43.122889 0.0765,42.765905 0.13912,42.352413 0.23568,41.940425 0.32288,41.588517 0.481021,41.151945 0.579391,40.853806 0.77369,40.381268 0.876097,40.162336 19.338869,4.2542801 c 1.172169,-2.308419 3.34759,-3.76846504 5.740829,-4.17716604 l 0.01975,0.01985 0.69605,-0.09573 0.218437,0.0225 0.490791,-0.02132 0.39809,0.0046 0.315972,0.03973 0.594462,0.08149 z" /></svg>',sortAsc:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 54.552711 113.78478" enable-background="new 0 0 100 100" xml:space="preserve"><g id="g5" transform="matrix(-0.70522156,0.70898699,-0.70898699,-0.70522156,97.988199,58.704807)"><path style="fill:#000000" inkscape:connector-curvature="0" id="path7" d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path style="fill:#000000" inkscape:connector-curvature="0" id="path9" d="m 27.813273,113.65778 0.09753,-0.0201 c 2.39093,-0.45821 4.599455,-1.96811 5.80244,-4.28639 L 52.785897,72.891487 c 2.088044,-4.002139 0.590949,-8.836902 -3.348692,-10.821875 -1.329078,-0.688721 -2.766603,-0.943695 -4.133174,-0.841768 l -0.454018,-0.02 -16.939621,0.223997 -4.055079,0.07232 -15.711383,0.220024 -0.281322,0.04035 -0.432752,-2.61e-4 -0.415615,0.06192 -0.376025,0.05898 -0.47344,0.121469 -0.27556,0.07993 -0.550309,0.198748 -0.199188,0.08114 -0.594655,0.274528 -0.114446,0.0399 -0.02045,0.02056 -0.59303,0.35372 -0.123523,0.08306 -0.486301,0.337172 -0.179243,0.136242 -0.375276,0.340412 -0.219324,0.220495 -0.293372,0.294939 -0.238972,0.277116 C 0.97781,65.869953 0.347935,67.257564 0.11153,68.764336 L 0.05352,69.019757 0.05172,69.414329 0.01894,69.849995 0,69.908735 l 0.01836,0.255217 0.0183,0.499171 0.03984,0.356984 0.06262,0.413492 0.09656,0.411988 0.0872,0.351908 0.158141,0.436572 0.09837,0.298139 0.194299,0.472538 0.102407,0.218932 18.462772,35.908054 c 1.172169,2.30842 3.34759,3.76847 5.740829,4.17717 l 0.01975,-0.0199 0.69605,0.0957 0.218437,-0.0225 0.490791,0.0213 0.39809,-0.005 0.315972,-0.0397 0.594462,-0.0815 z" /></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 100 100" xml:space="preserve"><g id="Captions"></g><g id="Your_Icon">\t<path fill-rule="evenodd" fill="#000000" d="M88,84v-2c0-2.961-0.859-4-4-4H16c-2.961,0-4,0.98-4,4v2c0,3.102,1.039,4,4,4h68 C87.02,88,88,87.039,88,84z M58,12H42c-5,0-6,0.941-6,6v22H16l34,34l34-34H64V18C64,12.941,62.939,12,58,12z"/></g></svg>',move:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_11656_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="753" inkscape:window-height="480" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="287" inkscape:window-y="249" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" /><polygon points="33,83 50,100 67,83 54,83 54,17 67,17 50,0 33,17 46,17 46,83 " transform="translate(-7.962963,-10)" /><polygon points="83,67 100,50 83,33 83,46 17,46 17,33 0,50 17,67 17,54 83,54 " transform="translate(-7.962963,-10)" /></svg>',fullscreen:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_2186_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="640" inkscape:window-height="480" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="65" inkscape:window-y="24" inkscape:window-maximized="0" inkscape:current-layer="Layer_1" /><path d="m -7.962963,-10 v 38.889 l 16.667,-16.667 16.667,16.667 5.555,-5.555 -16.667,-16.667 16.667,-16.667 h -38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 92.037037,-10 v 38.889 l -16.667,-16.667 -16.666,16.667 -5.556,-5.555 16.666,-16.667 -16.666,-16.667 h 38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="M -7.962963,90 V 51.111 l 16.667,16.666 16.667,-16.666 5.555,5.556 -16.667,16.666 16.667,16.667 h -38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="M 92.037037,90 V 51.111 l -16.667,16.666 -16.666,-16.666 -5.556,5.556 16.666,16.666 -16.666,16.667 h 38.889 z" inkscape:connector-curvature="0" style="fill:#010101" /></svg>',smallscreen:'<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" width="100%" height="100%" viewBox="5 -10 74.074074 100" enable-background="new 0 0 100 100" xml:space="preserve" inkscape:version="0.48.4 r9939" sodipodi:docname="noun_2186_cc.svg"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1855" inkscape:window-height="1056" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.36" inkscape:cx="44.101509" inkscape:cy="31.481481" inkscape:window-x="65" inkscape:window-y="24" inkscape:window-maximized="1" inkscape:current-layer="Layer_1" /><path d="m 30.926037,28.889 0,-38.889 -16.667,16.667 -16.667,-16.667 -5.555,5.555 16.667,16.667 -16.667,16.667 38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 53.148037,28.889 0,-38.889 16.667,16.667 16.666,-16.667 5.556,5.555 -16.666,16.667 16.666,16.667 -38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 30.926037,51.111 0,38.889 -16.667,-16.666 -16.667,16.666 -5.555,-5.556 16.667,-16.666 -16.667,-16.667 38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /><path d="m 53.148037,51.111 0,38.889 16.667,-16.666 16.666,16.666 5.556,-5.556 -16.666,-16.666 16.666,-16.667 -38.889,0 z" inkscape:connector-curvature="0" style="fill:#010101" /></svg>'}},{}],52:[function(e,t,n){e("./tableToCsv.js")},{"./tableToCsv.js":53}],53:[function(e,t,n){"use strict";var r=e("jquery");r.fn.tableToCsv=function(e){var t="";e=r.extend({quote:'"',delimiter:",",lineBreak:"\n"},e);var n=function(n){n.replace(e.quote,e.quote+e.quote),function(t){var n=!1;return t.match("[\\w|"+e.delimiter+"|"+e.quote+"]")&&(n=!0),n}(n)&&(n=e.quote+n+e.quote),t+=" "+n+" "+e.delimiter},i=r(this),o={},a=0;return i.find("tr:first *").each((function(){r(this).attr("colspan")?a+=+r(this).attr("colspan"):a++})),i.find("tr").each((function(i,s){for(var l=r(s),u=[],c=0,f=0;f+c<a;f++)if(o[f])u.push(o[f].text),o[f].rowSpan--,o[f].rowSpan||delete o[f];else{var d=l.find(":nth-child("+(f+1)+")");console.log(d);var h=d.attr("colspan"),p=d.attr("rowspan");if(h&&!isNaN(h)){for(var g=0;g<h;g++)u.push(d.text());c+=h-1}else p&&!isNaN(p)?(o[f+c]={rowSpan:p-1,text:d.text()},u.push(d.text()),c++):u.push(d.text())}!function(r){r.forEach((function(e){n(e)})),t+=e.lineBreak}(u)})),t}},{jquery:18}],54:[function(e,t,n){"use strict";var r=e("jquery"),i=e("yasgui-utils");console=console||{log:function(){}},e("./jquery/extendJquery.js");var o=t.exports=function(t,n,a){var s={};s.options=r.extend(!0,{},o.defaults,n),s.container=r(t).find(".yasr"),s.header=r(t).find(".yasr_header"),s.resultsContainer=r(t).find(".yasr_results"),s.storage=i.storage,s.translate=e("./translate.js")(s.options.locale),s.changeLanguage=function(t){s.translate=e("./translate.js")(t);let n=document.getElementById("saveAsBtn");n&&(n.innerText=s.translate("yasr.download.as.label"));let r=document.getElementById("yasrBtnGroup"),i=document.getElementById("yasrDownloadIcon");r&&r.remove(),i&&i.remove(),s.options.hideHeader||g(s),s.draw()};var l=null;for(var u in s.getPersistencyId=function(e){return null===l&&(l=!(!s.options.persistency||!s.options.persistency.prefix)&&("string"==typeof s.options.persistency.prefix?s.options.persistency.prefix:s.options.persistency.prefix(s))),l&&e?l+("string"==typeof e?e:e(s)):null},s.options.useGoogleCharts&&e("./gChartLoader.js").once("initError",(function(){s.options.useGoogleCharts=!1})).init(),s.plugins={},o.plugins)(s.options.useGoogleCharts||"gchart"!=u)&&(s.plugins[u]=new o.plugins[u](s));s.updateHeader=function(){var e=s.header.find(".yasr_downloadIcon").removeAttr("title"),t=s.header.find(".saveAsDropDown"),n=s.header.find(".yasr_embedBtn"),r=s.plugins[s.options.output];if(r){"Table"==r.name?(e.hide(),t.removeAttr("style")):(t.hide(),e.show());var i=r.getDownloadInfo?r.getDownloadInfo():null;i?(i.buttonTitle&&e.attr("title",i.buttonTitle),e.prop("disabled",!1),e.find("path").each((function(){this.style.fill="black"}))):(e.prop("disabled",!0).prop("title",s.translate("yasr.btn.title.unsupported_download")),e.find("path").each((function(){this.style.fill="gray"})));var o=null;r.getEmbedHtml&&(o=r.getEmbedHtml()),o&&o.length>0?n.show():n.hide()}},s.draw=function(e){if(s.updateHeader(),!s.results)return!1;e||(e=s.options.output);var t=null,n=-1,r=[];for(var i in s.plugins)if(s.plugins[i].canHandleResults(s)){var o=s.plugins[i].getPriority;"function"==typeof o&&(o=o(s)),null!=o&&null!=o&&o>n&&(n=o,t=i)}else r.push(i);return f(r),"table"==t&&s.plugins[t].canHandleResults(s)&&t!=e&&angular.isUndefined(e)?c(t):e in s.plugins&&s.plugins[e].canHandleResults(s)&&"booleanBootstrap"!=t?c(e):!!t&&c(t)};var c=function(e){return s.header.find(".yasr_btnGroup").find("li.active").removeClass("active"),r(s.resultsContainer).empty(),s.plugins[e].draw(),s.header.find(".yasr_btnGroup .select_"+e).parent().addClass("active"),!0},f=function(e){s.header.find(".yasr_btnGroup li").removeClass("disabled"),e.forEach((function(e){s.header.find(".yasr_btnGroup .select_"+e).parent().addClass("disabled")}))};s.somethingDrawn=function(){return!s.resultsContainer.is(":empty")},s.updateDownloadDropdown=function(){var t;if(window.editor){s.header.find(".saveAsDropDown").remove();var n=window.editor.getQueryType();"SELECT"==n&&(t=r(e("./extensions.js").selectSaveAsDropDown)),"CONSTRUCT"!=n&&"DESCRIBE"!=n||(t=r(e("./extensions.js").graphSaveAsDropDown)),t&&(t.find(".format").click((function(){s.getQueryResultsAsFormat(r(this).data("accepts"))})),s.header.append(t))}},s.setResultsCount=function(e,t,n){if(0==e.responseJSON&&(s.allCount=-1),(e.responseJSON||0==e.responseJSON)&&(s.allCount=-1,e.responseJSON["http://www.ontotext.com/"]&&(s.allCount=e.responseJSON["http://www.ontotext.com/"]["http://www.ontotext.com/"][0].value),r.isNumeric(e.responseJSON)&&(s.allCount=e.responseJSON),e.responseJSON.results&&e.responseJSON.results.bindings)){var i=e.responseJSON.results.bindings[0],o=e.responseJSON.head.vars,a=Object.keys(i).filter((function(e){return o.indexOf(e)>-1}));a.length>0&&(s.allCount=i[a[0]].value)}},s.setResponse=function(t,n,r){try{s.results=e("./parsers/wrapper.js")(t,n,r)}catch(e){s.results={getException:function(){return e}}}if(s.results.getAsJson().results&&(s.resultsCount=s.results.getAsJson().results.bindings.length),s.results.getAsJson()&&!s.options.hideHeader&&(s.header.show(),s.updateDownloadDropdown()),403==t.status&&(s.results.getException=function(){return{status:403,statusText:"Forbidden",responseText:s.translate("yasr.http.403")}}),s.draw(),s.options.persistency){var o=s.getPersistencyId(s.options.persistency.results.key);o&&(s.results.getOriginalResponseAsString&&s.results.getOriginalResponseAsString().length<s.options.persistency.results.maxSize?i.storage.set(o,s.results.getAsStoreObject(),"month"):i.storage.remove(o))}};var d=null,h=null;s.warn=function(e){d||(d=r("<div>",{class:"toggableWarning"}).prependTo(s.container).hide(),r("<span>",{class:"toggleWarning"}).html("×").click((function(){d.hide(400)})).appendTo(d),h=r("<span>",{class:"toggableMsg"}).appendTo(d)),h.empty(),e instanceof r?h.append(e):h.html(e),d.show(400)};var p=null,g=function(t){var n,o,a;t.options.drawOutputSelector&&(n=r('<ul id="yasrBtnGroup" class="yasr_btnGroup nav nav-tabs"></ul>'),r.each(t.plugins,(function(e,o){if(!o.hideFromSelection){var a=o.nameLabel?t.translate(o.nameLabel):e,s=r("<li class='nav-item'></li>");r("<a class='nav-link'></a>").text(a).addClass("select_"+e).click((function(){if(!r(this).parent().hasClass("disabled")){n.find("li.active").removeClass("active"),s.addClass("active"),t.options.output=e;var o=t.getPersistencyId(t.options.persistency.outputSelector);o&&i.storage.set(o,t.options.output,"month"),d&&d.hide(400),t.draw(e),t.updateHeader()}})).appendTo(s),s.appendTo(n),t.options.output==e&&s.addClass("active")}})),n.children().length>1&&t.header.append(n)),t.options.drawDownloadIcon&&function(){if(null===p){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;p=e&&Blob}return p}()&&(o=t.translate("yasr.btn.label.save"),a=r("<button id='yasrDownloadIcon' class='btn btn-primary btn-sm yasr_downloadIcon pull-right'>"+o+"</button>").click((function(){var n=t.plugins[t.options.output];if(n&&n.getDownloadInfo){var i=n.getDownloadInfo(),o=function(e,t){var n=null,r=window.URL||window.webkitURL||window.mozURL||window.msURL;if(r&&Blob){var i=new Blob([e],{type:t});n=r.createObjectURL(i)}return n}(i.getContent(),i.contentType?i.contentType:"text/plain"),a=r("<a></a>",{href:o,download:i.filename});e("./utils.js").fireClick(a)}})),t.header.append(a))},v=s.getPersistencyId(s.options.persistency.outputSelector);if(v){var m=i.storage.get(v);m&&(s.options.output=m)}if(s.options.hideHeader||g(s),!a&&s.options.persistency&&s.options.persistency.results){var y,b=s.getPersistencyId(s.options.persistency.results.key);if(b&&(y=i.storage.get(b)),!y&&s.options.persistency.results.id){var w="string"==typeof s.options.persistency.results.id?s.options.persistency.results.id:s.options.persistency.results.id(s);w&&(y=i.storage.get(w))&&i.storage.remove(w)}y&&(r.isArray(y)?s.setResponse.apply(this,y):s.setResponse(y))}return a&&s.setResponse(a),s.updateHeader(),s};o.plugins={},o.registerOutput=function(e,t){o.plugins[e]=t},o.defaults=e("./defaults.js"),o.version={YASR:e("../package.json").version,jquery:r.fn.jquery,"yasgui-utils":e("yasgui-utils").version},o.utils=e("./utils.js"),o.$=r;try{o.registerOutput("boolean",e("./boolean.js"))}catch(e){}try{o.registerOutput("booleanBootstrap",e("./booleanBootstrap.js"))}catch(e){}try{o.registerOutput("table",e("./table.js"))}catch(e){}try{o.registerOutput("rawResponse",e("./rawResponse.js"))}catch(e){}try{o.registerOutput("error",e("./error.js"))}catch(e){}try{o.registerOutput("pivot",e("./pivot.js"))}catch(e){}try{o.registerOutput("gchart",e("./gchart.js"))}catch(e){}},{"../package.json":39,"./boolean.js":41,"./booleanBootstrap.js":42,"./defaults.js":43,"./error.js":44,"./extensions.js":46,"./gChartLoader.js":47,"./gchart.js":48,"./imgs.js":51,"./jquery/extendJquery.js":52,"./parsers/wrapper.js":60,"./pivot.js":62,"./rawResponse.js":63,"./table.js":64,"./translate.js":65,"./utils.js":66,jquery:18,"yasgui-utils":36}],55:[function(e,t,n){"use strict";e("jquery"),t.exports=function(t){return e("./dlv.js")(t,",")}},{"./dlv.js":56,jquery:18}],56:[function(e,t,n){"use strict";var r=e("jquery");e("../../lib/jquery.csv-0.71.js"),t.exports=function(e,t){var n={},i=r.csv.toArrays(e,{separator:t}),o=function(e){return 0==e.indexOf("http")?"uri":null};return 2==i.length&&1==i[0].length&&1==i[1].length&&"boolean"==i[0][0]&&("1"==i[1][0]||"0"==i[1][0])&&(n.boolean="1"==i[1][0],1)||i.length>0&&i[0].length>0&&(n.head={vars:i[0]},1)&&function(){if(i.length>1){n.results={bindings:[]};for(var e=1;e<i.length;e++){for(var t={},r=0;r<i[e].length;r++){var a=n.head.vars[r];if(a){var s=i[e][r],l=o(s);t[a]={value:s},l&&(t[a].type=l)}}n.results.bindings.push(t)}n.head={vars:i[0]}}}(),n}},{"../../lib/jquery.csv-0.71.js":4,jquery:18}],57:[function(e,t,n){"use strict";e("jquery");var r=e("lodash"),i=function(e){return"object"==typeof e?("bnode"==e.type&&(e.value=e.value.slice(2)),e):0==e.indexOf("_:")?{type:"bnode",value:e.slice(2)}:-1==e.indexOf(":")?{type:"bnode",value:e}:{type:"uri",value:e}};t.exports=function(e){if(e){var t,n="RESOURCE"==window.editor.getQueryType(),o=r.map(e,(function(e,t){return r.map(e,(function(e,o){return r.map(e,(function(e){return e.graphs?(n=!0,r.map(e.graphs,(function(n){return[i(t),i(o),i(e),i(n)]}))):[i(t),i(o),i(e)]}))}))})),a=r.reduce(o,(function(e,t){return e.concat(t)}),[]);return a=r.reduce(a,(function(e,t){return e.concat(t)}),[]),t=n?(a=r.reduce(a,(function(e,t){return e.concat(t)}),[])).map((function(e){return{subject:e[0],predicate:e[1],object:e[2],context:e[3]}})):a.map((function(e){return{subject:e[0],predicate:e[1],object:e[2]}})),{head:{vars:n?["subject","predicate","object","context"]:["subject","predicate","object"]},results:{bindings:t}}}return!1}},{jquery:18,lodash:19}],58:[function(e,t,n){"use strict";e("jquery"),t.exports=function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){return!1}return"object"==typeof e&&e.constructor==={}.constructor&&e}},{jquery:18}],59:[function(e,t,n){"use strict";e("jquery"),t.exports=function(t){return e("./dlv.js")(t,"\t")}},{"./dlv.js":56,jquery:18}],60:[function(e,t,n){"use strict";e("jquery");var r=e("lodash");t.exports=function(t,n,i){var o={xml:e("./xml.js"),json:e("./json.js"),tsv:e("./tsv.js"),csv:e("./csv.js"),graphJson:e("./graphJson.js")},a=null,s=null,l=null,u=null,c=null,f=null,d=function(){return u?(l||(l=u),u):!1!==u&&!f&&(function(){if(a)if(a.indexOf("json")>-1){try{u=o.json(s,window.editor.getQueryType()),l=u,a.indexOf("application/rdf+json")>-1&&(u=o.graphJson(l))}catch(e){f=e}c="json"}else if(a.indexOf("xml")>-1){try{u=o.xml(s)}catch(e){f=e}c="xml"}else if(a.indexOf("csv")>-1){try{u=o.csv(s)}catch(e){f=e}c="csv"}else if(a.indexOf("tab-separated")>-1){try{u=o.tsv(s)}catch(e){f=e}c="tsv"}}(),u||function(){if(u=o.json(s))c="json";else try{(u=o.xml(s))&&(c="xml")}catch(e){}}(),u||(u=!1),u)},h=function(e){if(l.results&&l.results.bindings&&l.results.bindings.length>e){var t=jQuery.extend(!0,{},l);t.results.bindings=l.results.bindings.slice(0,e)}else{var n=r.keys(l).slice(0,e);t=r.pick(l,(function(e,t){return n.indexOf(t)>=0}))}return t},p=function(){var e="";return"string"==typeof s?e=s:"json"==c?e=JSON.stringify(s,void 0,2):"xml"==c&&(e=(new XMLSerializer).serializeToString(s)),e};return function(){if("object"==typeof t){if(t.exception?f=t.exception:null!=t.status&&(t.status>=300||0===t.status)&&(f={status:t.status},"string"==typeof i&&(f.errorString=i),t.responseText&&(f.responseText=t.responseText),t.statusText&&(f.statusText=t.statusText)),t.contentType)a=t.contentType.toLowerCase();else if(t.getResponseHeader&&t.getResponseHeader("content-type")){var e=t.getResponseHeader("content-type").trim().toLowerCase();e.length>0&&(a=e)}t.response?s=t.response:n||i||(s=t)}f||s||(s=t.responseText?t.responseText:t)}(),u=d(),{getAsStoreObject:function(){var e={};t.status?(e.status=t.status,e.responseText=t.responseText,e.statusText=t.statusText,e.contentType=a):e=t;var r=void 0;return"string"==typeof i&&(r=i),[e,n,r]},getRawJson:function(){return l},getAsJson:d,getOriginalResponse:function(){return s},getShortOriginalResponse:function(e){if("json"==c){var t=h(e);return JSON.stringify(t,void 0,2)}return p().slice(0,e)},getShortOriginalResponseAsJSON:h,getOriginalResponseAsString:p,getOriginalContentType:function(){return a},getVariables:function(){var e=d();return e&&"head"in e?e.head.vars:null},getBindings:function(){var e=d();return e&&"results"in e?e.results.bindings:null},getBoolean:function(){var e=d();return e&&"boolean"in e?e.boolean:null},getType:function(){return null==c&&d(),c},getException:function(){return f}}}},{"./csv.js":55,"./graphJson.js":57,"./json.js":58,"./tsv.js":59,"./xml.js":61,jquery:18,lodash:19}],61:[function(e,t,n){"use strict";var r=e("jquery");t.exports=function(e){var t=function(e){a.head={};for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if("variable"==n.nodeName){a.head.vars||(a.head.vars=[]);var r=n.getAttribute("name");r&&a.head.vars.push(r)}}},n=function(e){a.results={},a.results.bindings=[];for(var t=0;t<e.childNodes.length;t++){for(var n=e.childNodes[t],r=null,i=0;i<n.childNodes.length;i++){var o=n.childNodes[i];if("binding"==o.nodeName){var s=o.getAttribute("name");if(s){(r=r||{})[s]={};for(var l=0;l<o.childNodes.length;l++){var u=o.childNodes[l],c=u.nodeName;if("#text"!=c){r[s].type=c,r[s].value=u.innerHTML;var f=u.getAttribute("datatype");f&&(r[s].datatype=f)}}}}}r&&a.results.bindings.push(r)}},i=function(e){"true"==e.innerHTML?a.boolean=!0:a.boolean=!1},o=null;if("string"==typeof e?o=r.parseXML(e):r.isXMLDoc(e)&&(o=e),e=null,!(o.childNodes.length>0))return null;e=o.childNodes[0];for(var a={},s=0;s<e.childNodes.length;s++){var l=e.childNodes[s];"head"==l.nodeName&&t(l),"results"==l.nodeName&&n(l),"boolean"==l.nodeName&&i(l)}return a}},{jquery:18}],62:[function(e,t,n){"use strict";var r=e("jquery"),i=e("./utils.js"),o=e("yasgui-utils"),a=e("./imgs.js");if(e("jquery-ui/sortable"),e("pivottable"),!r.fn.pivotUI)throw new Error("Pivot lib not loaded");var s=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n,l=r.extend(!0,{},s.defaults);if(l.useD3Chart){try{d3&&e("../node_modules/pivottable/dist/d3_renderers.js")}catch(e){}r.pivotUtilities.d3_renderers&&r.extend(!0,r.pivotUtilities.renderers,r.pivotUtilities.d3_renderers)}var u=null,c=function(e){var n=function(){var e=t.results.getVariables();if(!l.mergeLabelsWithUris)return e;var n=[];return u="string"==typeof l.mergeLabelsWithUris?l.mergeLabelsWithUris:"Label",e.forEach((function(t){-1!==t.indexOf(u,t.length-u.length)&&e.indexOf(t.substring(0,t.length-u.length))>=0||n.push(t)})),n}(),r=null;t.options.getUsedPrefixes&&(r="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),t.results.getBindings().forEach((function(t){var o={};n.forEach((function(e){if(e in t){var n=t[e].value;u&&t[e+u]?n=t[e+u].value:"uri"==t[e].type&&(n=i.uriToPrefixed(r,n)),o[e]=n}else o[e]=null})),e(o)}))},f=t.getPersistencyId(l.persistencyId);return{getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find(".pvtRendererArea svg");if(e.length>0)return{getContent:function(){return e[0].outerHTML?e[0].outerHTML:r("<div>").append(e.clone()).html()},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:t.translate("yasr.btn.title.svg")};var n=t.resultsContainer.find(".pvtRendererArea table");return n.length>0?{getContent:function(){return n.tableToCsv()},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:void 0},getEmbedHtml:function(){if(!t.results)return null;var e=t.resultsContainer.find(".pvtRendererArea svg").clone().css("height","").css("width","");if(0==e.length)return null;var n=e[0].outerHTML;return n||(n=r("<div>").append(e.clone()).html()),'<div style="width: 800px; height: 600px;">\n'+n+"\n</div>"},options:l,draw:function(){var i=function(){var e=r("<button>",{class:"openPivotGchart yasr_btn"}).text(t.translate("yasr.chart.config")).click((function(){n.find('div[dir="ltr"]').dblclick()})).appendTo(t.resultsContainer);n=r("<div>",{class:"pivotTable"}).appendTo(r(t.resultsContainer));var i,l=r.extend(!0,{},function(){var e=o.storage.get(f);if(e){var n=t.results.getVariables(),i=!0;e.cols.forEach((function(e){n.indexOf(e)<0&&(i=!1)})),i&&e.rows.forEach((function(e){n.indexOf(e)<0&&(i=!1)})),i||(e.cols=[],e.rows=[]),r.pivotUtilities.renderers[e.rendererName]||delete e.rendererName}else e={};return e}(),s.defaults.pivotTable);l.onRefresh=(i=l.onRefresh,function(n){!function(n){if(f){var r={cols:n.cols,rows:n.rows,rendererName:n.rendererName,aggregatorName:n.aggregatorName,vals:n.vals};o.storage.set(f,r,"month")}n.rendererName.toLowerCase().indexOf(" chart")>=0?e.show():e.hide(),t.updateHeader()}(n),i&&i(n)}),window.pivot=n.pivotUI(c,l);var u=r(o.svg.getElement(a.move));n.find(".pvtTriangle").replaceWith(u),r(".pvtCols").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.columns"))),r(".pvtRows").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.rows"))),r(".pvtUnused").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.variables"))),r(".pvtVals").prepend(r("<div>",{class:"containerHeader"}).text(t.translate("yasr.headers.cells"))),setTimeout(t.updateHeader,400)};t.options.useGoogleCharts&&l.useGoogleCharts&&!r.pivotUtilities.gchart_renderers?e("./gChartLoader.js").on("done",(function(){try{e("../node_modules/pivottable/dist/gchart_renderers.js"),r.extend(!0,r.pivotUtilities.renderers,r.pivotUtilities.gchart_renderers)}catch(e){l.useGoogleCharts=!1}i()})).on("error",(function(){console.log("could not load gchart"),l.useGoogleCharts=!1,i()})).googleLoad():i()},name:"Pivot Table",nameLabel:"yasr.pivot.pivot_table",canHandleResults:function(){return t.results&&t.results.getVariables&&t.results.getVariables()&&t.results.getVariables().length>0},getPriority:4}};s.defaults={mergeLabelsWithUris:!1,useGoogleCharts:!0,useD3Chart:!0,persistencyId:"pivot",pivotTable:{}},s.version={"YASR-rawResponse":e("../package.json").version,jquery:r.fn.jquery}},{"../node_modules/pivottable/dist/d3_renderers.js":20,"../node_modules/pivottable/dist/gchart_renderers.js":21,"../package.json":39,"./gChartLoader.js":47,"./imgs.js":51,"./translate.js":65,"./utils.js":66,jquery:18,"jquery-ui/sortable":16,pivottable:22,"yasgui-utils":36}],63:[function(e,t,n){"use strict";var r=e("jquery"),i=e("codemirror");e("codemirror/addon/fold/foldcode.js"),e("codemirror/addon/fold/foldgutter.js"),e("codemirror/addon/fold/xml-fold.js"),e("codemirror/addon/fold/brace-fold.js"),e("codemirror/addon/edit/matchbrackets.js"),e("codemirror/mode/xml/xml.js"),e("codemirror/mode/javascript/javascript.js");var o=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=r.extend(!0,{},o.defaults),a=null;return{draw:function(){var e=n.CodeMirror;e.value=t.results.getShortOriginalResponse(n.limit);var r=t.results.getType();r&&("json"==r&&(r={name:"javascript",json:!0}),e.mode=r),(a=i(t.resultsContainer.get()[0],e)).on("fold",(function(){a.refresh()})),a.on("unfold",(function(){a.refresh()}))},name:"Raw Response",nameLabel:"yasr.name.raw_response",canHandleResults:function(){if(!t.results)return!1;if(!t.results.getOriginalResponseAsString)return!1;var e=t.results.getOriginalResponseAsString();return!((!e||0==e.length)&&t.results.getException())},getPriority:2,getDownloadInfo:function(){if(!t.results)return null;var e=t.results.getOriginalContentType(),n=t.results.getType();return{getContent:function(){return t.results.getOriginalResponseAsString()},filename:"queryResults"+(n?"."+n:""),contentType:e||"text/plain",buttonTitle:t.translate("yasr.btn.title.raw")}}}};o.defaults={CodeMirror:{readOnly:!0,lineNumbers:!0,lineWrapping:!0,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"]},limit:100},o.version={"YASR-rawResponse":e("../package.json").version,jquery:r.fn.jquery,CodeMirror:i.version}},{"../package.json":39,"./translate.js":65,codemirror:10,"codemirror/addon/edit/matchbrackets.js":5,"codemirror/addon/fold/brace-fold.js":6,"codemirror/addon/fold/foldcode.js":7,"codemirror/addon/fold/foldgutter.js":8,"codemirror/addon/fold/xml-fold.js":9,"codemirror/mode/javascript/javascript.js":11,"codemirror/mode/xml/xml.js":12,jquery:18}],64:[function(e,t,n){"use strict";var r=e("jquery"),i=e("yasgui-utils"),o=e("./utils.js"),a=(e("./imgs.js"),e("lodash"));e("../lib/DataTables/media/js/jquery.dataTables.js"),e("../lib/colResizable-1.4.js");var s=t.exports=function(t){t.translate=e("./translate.js")(t.options.locale);var n=null,o={name:"Table",nameLabel:"yasr.table",getPriority:10},l=o.options=r.extend(!0,{},s.defaults),u=l.persistency?t.getPersistencyId(l.persistency.tableLength):null;t.getPersistencyId("eventId")||r(t.container).closest("[id]").attr("id");o.draw=function(){n=r('<table cellpadding="0" cellspacing="0" border="0" class="resultsTable table stripe hover table-bordered fixedCellWidth"></table>'),r(t.resultsContainer).html(n);var s=l.datatable;s.data=function(){var e=[],n=t.results.getBindings(),r=t.results.getVariables(),i=null;t.options.getUsedPrefixes&&(i="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes),i=a.invert(i);for(var s=0;s<n.length;s++){var u=[];u.push("");for(var c=n[s],f=0;f<r.length;f++){var d=r[f];d in c&&l.getCellContent?u.push(l.getCellContent(t,o,c,d,{rowId:s,colId:f,usedPrefixes:i})):u.push("")}e.push(u)}return e}(),s.columns=l.getColumns(t,o);var d=i.storage.get(u);d&&(s.pageLength=d),s.translate=e("./translate.js")(t.options.locale),n.DataTable(r.extend(!0,{},s)),c(),(t.getPersistencyId("eventId")||r(t.container).closest("[id]").attr("id"),function(){var e;n.on("order.dt",(function(){c()})),u&&n.on("length.dt",(function(e,t,n){i.storage.set(u,n,"month")})),r.extend(!0,l.callbacks,l.handlers),n.delegate("td","click",(function(e){if(l.callbacks&&l.callbacks.onCellClick&&!1===l.callbacks.onCellClick(this,e))return!1})).delegate("td","mouseenter",(function(e){l.callbacks&&l.callbacks.onCellMouseEnter&&l.callbacks.onCellMouseEnter(this,e);var t=r(this);l.fetchTitlesFromPreflabel&&void 0===t.attr("title")&&0==t.text().trim().indexOf("http")&&f(t)})).delegate("td","mouseleave",(function(e){l.callbacks&&l.callbacks.onCellMouseLeave&&l.callbacks.onCellMouseLeave(this,e)})),e=angular.element(r("#yasr")[0]).scope(),r("td div .fa-link").on("click",(function(){var t=this.dataset.clipboardText;e.copyToClipboardResult(t)}))})(),n.colResizable(),n.find("thead").outerHeight(),r(t.resultsContainer).find(".JCLRgrip").height(n.find("thead").outerHeight()),t.header.outerHeight();var h=t.resultsContainer.find(".dataTables_filter label");r(h.contents().get(0)).remove(),h.find("input[type=search]").attr("placeholder",t.translate("yasr.table.filter")).addClass("form-control"),l.highlightLiteralCellResult()};var c=function(){for(var e in n.find(".sortIcons").remove(),{sorting:"unsorted",sorting_asc:"sortAsc",sorting_desc:"sortDesc"}){var t=r("<div class='sortIcons'></div>");"sorting"==e?t.append("<a class='fa fa-sort'></a>"):"sorting_asc"==e?t.append("<a class='fa fa-sort-alpha-asc'></a>"):"sorting_desc"==e&&t.append("<a class='fa fa-sort-alpha-desc'></a>"),n.find("th."+e).append(t)}};return o.canHandleResults=function(){return t.results&&t.results.getVariables&&t.results.getVariables()&&t.results.getVariables().length>0},o.getDownloadInfo=function(){return t.results?{getContent:function(){return e("./bindingsToCsv.js")(t.results.getAsJson())},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:t.translate("yasr.btn.title.csv")}:null},o},l=function(e,t,n,r){var i="",s=null;let f=r.translate("yasr.copy.to.clipboard");if("uri"===e.type){var d=null,h=e.value,p=h;if(t.usedPrefixes){var g=o.uriToPrefixWithLocalName(t.usedPrefixes,p);if(g){var v=g.localName;p=g.prefix+":"+v}}var m=window.location.origin+"/resource/";w=0===h.indexOf(m)&&h.length>m.length?h:"resource?uri="+encodeURIComponent(h),null!=n&&!0===n&&(w+="&context="+encodeURIComponent("http://rdf4j.org/schema/rdf4j#SHACLShapeGraph")),w=w.replace(/'/g,"'"),s="<a title='"+(h=h.replace(/'/g,"'"))+"' class='uri' href='"+w+"'>"+a.escape(p)+"</a> <a class='fa fa-link share-result' data-clipboard-text='"+h+"' title='"+f+"' href='#'></a>",i=" class = 'uri-cell'"}else if("triple"===e.type){var y="<ul class='triple-list'><li>"+l(e.value.s,t,n,r)+"</li><li>"+l(e.value.p,t,n,r)+"</li><li>"+l(e.value.o,t,n,r)+"</li></ul>",b=u(r,e,!1),w="resource?triple="+encodeURIComponent(b).replace(/'/g,"'");s="<a title='"+(d=a.escape(b))+"' class='triple-link' href='"+w+"'>"+a.escape("<<")+"</a>"+y+"<a title='"+d+"' class='triple-link triple-link-end' href='"+w+"'>"+a.escape(">>")+"</a><a class='fa fa-link share-result' data-clipboard-text='"+b+"' title='"+f+"' href='#'></a>",i=" class = 'triple-cell'"}else s="<p class='nonUri' style='border: none; background-color: transparent; padding: 0; margin: 0'>"+c(r,e,!0)+"</p>",i=" class = 'literal-cell'";return"<div"+i+">"+s+"</div>"},u=function(e,t,n){return"uri"===t.type?"<"+t.value+">":"triple"===t.type?"<<"+u(e,t.value.s,n)+" "+u(e,t.value.p,n)+" "+u(e,t.value.o,n)+">>":c(e,t,n)},c=function(e,t,n){var r=o.escapeHtmlEntities(t.value),i="http://www.w3.org/2001/XMLSchema#";if("bnode"==t.type)return"_:"+r;if(t["xml:lang"])r='"'+r+(n?'"<sup>':'"')+"@"+t["xml:lang"]+(n?"</sup>":"");else if(t.lang)r='"'+r+(n?'"<sup>':'"@')+t.lang+(n?"</sup>":"");else if(t.datatype&&t.datatype!==i+"string"){var a=t.datatype;r='"'+r+(n?'"<sup>':'"')+"^^"+(a=0===a.indexOf(i)&&n?"xsd:"+a.substring(i.length):n?"<"+a+">":"<"+a+">")+(n?"</sup>":"")}return 0===r.indexOf('"')?r:'"'+r+'"'},f=function(e){var t=function(){e.attr("title","")};r.get("http://preflabel.org/api/v1/label/"+encodeURIComponent(e.text())+"?silent=true").success((function(n){"object"==typeof n&&n.label?e.attr("title",n.label):"string"==typeof n&&n.length>0?e.attr("title",n):t()})).fail(t)};s.defaults={getCellContent:function(e,t,n,r,i){var o=n[r],a=e.header.context.ownerDocument.URL.includes("http:%2F%2Frdf4j.org%2Fschema%2Frdf4j%23SHACLShapeGraph");return l(o,i,a,e)},highlightLiteralCellResult:function(){},persistency:{tableLength:"tableLength"},getColumns:function(e,t){var n=function(n){if(!t.options.mergeLabelsWithUris)return!0;var r="string"==typeof t.options.mergeLabelsWithUris?t.options.mergeLabelsWithUris:"Label";return!(-1!==n.indexOf(r,n.length-r.length)&&e.results.getVariables().indexOf(n.substring(0,n.length-r.length))>=0)},r=[];return r.push({title:""}),e.results.getVariables().forEach((function(e){r.push({title:"<span>"+e+"</span>",visible:n(e)})})),r},fetchTitlesFromPreflabel:!0,mergeLabelsWithUris:!1,callbacks:{onCellMouseEnter:null,onCellMouseLeave:null,onCellClick:null},datatable:{paginate:!1,info:!1,autoWidth:!1,order:[],pageLength:50,lengthMenu:[[10,50,100,1e3,-1],[10,50,100,1e3,"All"]],lengthChange:!0,drawCallback:function(e){for(var t=0;t<e.aiDisplay.length;t++)r("td:eq(0)",e.aoData[e.aiDisplay[t]].nTr).html(t+1);var n=!1;r(e.nTableWrapper).find(".paginate_button").each((function(){-1==r(this).attr("class").indexOf("current")&&-1==r(this).attr("class").indexOf("disabled")&&(n=!0)})),n?r(e.nTableWrapper).find(".dataTables_paginate").show():r(e.nTableWrapper).find(".dataTables_paginate").hide()},columnDefs:[{width:"32px",orderable:!1,targets:0}]}},s.version={"YASR-table":e("../package.json").version,jquery:r.fn.jquery,"jquery-datatables":r.fn.DataTable.version}},{"../lib/DataTables/media/js/jquery.dataTables.js":2,"../lib/colResizable-1.4.js":3,"../package.json":39,"./bindingsToCsv.js":40,"./imgs.js":51,"./translate.js":65,"./utils.js":66,jquery:18,lodash:19,"yasgui-utils":36}],65:[function(e,t,n){const r={en:e("./i18n/locale-en"),fr:e("./i18n/locale-fr")};var i="en",o=function(e,t){const n=i;if(!r||!r[n])return console.warn("Missing locale file for ["+n+"]"),e;let o=r[n][e];return o||(o=r.en[e]),t&&(o=o.replace(`{{${t.key}}}`,t.value)),o||(console.warn("Missing translation for ["+e+"] key in ["+n+"] locale"),e)};t.exports=function(e){return e&&(i=e),o}},{"./i18n/locale-en":49,"./i18n/locale-fr":50}],66:[function(e,t,n){"use strict";var r=e("jquery"),i=(e("lodash"),e("./exceptions.js").GoogleTypeException);t.exports={escapeHtmlEntities:function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},uriToPrefixed:function(e,t){if(e)for(var n in e)if(0==t.indexOf(e[n])){t=n+":"+t.substring(e[n].length);break}return t},uriToPrefixWithLocalName:function(e,t){var n=Object.keys(e).filter((function(e){return 0==t.indexOf(e)}));if(n.length>0){var r=(n=n.sort((function(e,t){return e.length<t.length})))[0];return{prefix:e[r],localName:t.substring(r.length)}}return null},getGoogleTypeForBinding:function(e){if(null==e)return null;if(null==e.type||"typed-literal"!==e.type&&"literal"!==e.type)return"string";switch(e.datatype){case"http://www.w3.org/2001/XMLSchema#float":case"http://www.w3.org/2001/XMLSchema#decimal":case"http://www.w3.org/2001/XMLSchema#int":case"http://www.w3.org/2001/XMLSchema#integer":case"http://www.w3.org/2001/XMLSchema#long":case"http://www.w3.org/2001/XMLSchema#gYearMonth":case"http://www.w3.org/2001/XMLSchema#gYear":case"http://www.w3.org/2001/XMLSchema#gMonthDay":case"http://www.w3.org/2001/XMLSchema#gDay":case"http://www.w3.org/2001/XMLSchema#gMonth":return"number";case"http://www.w3.org/2001/XMLSchema#date":return"date";case"http://www.w3.org/2001/XMLSchema#dateTime":return"datetime";case"http://www.w3.org/2001/XMLSchema#time":return"timeofday";default:return"string"}},getGoogleTypeForBindings:function(e,n){var r={},o=0;if(e.forEach((function(e){var i=t.exports.getGoogleTypeForBinding(e[n]);null!=i&&(i in r||(r[i]=0,o++),r[i]++)})),0==o)return"string";if(1!=o)throw new i(r,n);for(var a in r)return a},castGoogleType:function(e,n,r){if(null==e)return null;if("string"==r||null==e.type||"typed-literal"!==e.type&&"literal"!==e.type)return"uri"==e.type?t.exports.uriToPrefixed(n,e.value):e.value;switch(e.datatype){case"http://www.w3.org/2001/XMLSchema#float":case"http://www.w3.org/2001/XMLSchema#decimal":case"http://www.w3.org/2001/XMLSchema#int":case"http://www.w3.org/2001/XMLSchema#integer":case"http://www.w3.org/2001/XMLSchema#long":case"http://www.w3.org/2001/XMLSchema#gYearMonth":case"http://www.w3.org/2001/XMLSchema#gYear":case"http://www.w3.org/2001/XMLSchema#gMonthDay":case"http://www.w3.org/2001/XMLSchema#gDay":case"http://www.w3.org/2001/XMLSchema#gMonth":return Number(e.value);case"http://www.w3.org/2001/XMLSchema#date":var i=o(e.value);if(i)return i;case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://www.w3.org/2001/XMLSchema#time":return new Date(e.value);default:return e.value}},fireClick:function(e){e&&e.each((function(e,t){var n=r(t);if(document.dispatchEvent){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,1,1,1,1,1,!1,!1,!1,!1,0,n[0]),n[0].dispatchEvent(i)}else document.fireEvent&&n[0].click()}))}};var o=function(e){var t=new Date(e.replace(/(\d)([\+-]\d{2}:\d{2})/,"$1Z$2"));return isNaN(t)?null:t}},{"./exceptions.js":45,jquery:18,lodash:19}]},{},[1])(1)},module.exports=e()}).call(this,__webpack_require__(5))}}]);
|
|
82
|
+
//# sourceMappingURL=0.509486bd2d198aadcb58.bundle.js.map
|