PageSourceSearch

https://www.slowfood.de/++plone++production/++unique++2023-05-30T10:07:39.612453/default.js

js slowfood.de collected 2026-09-24 17:19:45 UTC 1,001,395 bytes, 3,646 lines download raw bytes

vendor: 4,491 bytes, lines 1-2
1/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
2!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*ne
vendor: 3,069 bytes, line 2
2w Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}
vendor: 4,884 bytes, line 2
2function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0}
vendor: 5,075 bytes, line 2
2,fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)}
vendor: 10,751 bytes, line 2
2,input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.pu
vendor: 4,130 bytes, lines 2-3
2sh(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0;
3}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}
vendor: 4,101 bytes, line 3
3:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return c=d.getElementsByTagName("body")[0],c&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),V=["Top","Right","Bottom","Left"],W=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function X(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&U.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var Y=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;
vendor: 11,769 bytes, line 3
3for(h in c)Y(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={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:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/<tbody/i;function ia(a){Z.test(a.type)&&(a.defaultChecked=a.checked)}function ja(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ca(b),q=[],r=0;o>r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?"<table>"!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ma.test(f)?this.mouseHooks:la.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ra()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===ra()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&("undefined"==typeof a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?pa:qa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:qa,isPropagationStopped:qa,isImmediatePropagationStopped:qa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=pa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=pa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=pa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 18,922 bytes, lines 3-4
3,n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){return ka.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ka.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!ka.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return sa(this,a,b,c,d)},one:function(a,b,c,d){return sa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=qa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ta=/ jQuery\d+="(?:null|\d+)"/g,ua=new RegExp("<(?:"+ba+")[\\s/>]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/<script|<style|<link/i,xa=/checked\s*(?:[^=]|=\s*.checked.)/i,ya=/^true\/(.*)/,za=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ja[0].contentWindow||Ja[0].contentDocument).document,b.write(),b.close(),c=La(a,b),Ja.detach()),Ka[a]=c),c}var Na=/^margin/,Oa=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Pa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Qa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");if(j.style){j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}});function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",f=0===k[0].offsetHeight,f&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}}}();var Ra,Sa,Ta=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ra=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Oa.test(g)&&Na.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Qa.currentStyle&&(Ra=function(a){return a.currentStyle},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Oa.test(g)&&!Ta.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ua(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Va=/alpha\([^)]*\)/i,Wa=/opacity\s*=\s*([^)]*)/i,Xa=/^(none|table(?!-c[ea]).+)/,Ya=new RegExp("^("+T+")(.*)$","i"),Za={position:"absolute",visibility:"hidden",display:"block"},$a={letterSpacing:"0",fontWeight:"400"},_a=["Webkit","O","Moz","ms"],ab=d.createElement("div").style;function bb(a){if(a in ab)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=_a.length;while(c--)if(a=_a[c]+b,a in ab)return a}function cb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&W(d)&&(f[g]=n._data(d,"olddisplay",Ma(d.nodeName)))):(e=W(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function db(a,b,c){var d=Ya.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function eb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+V[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+V[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+V[f]+"Width",!0,e))):(g+=n.css(a,"padding"+V[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+V[f]+"Width",!0,e)));return g}function fb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ra(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Sa(a,b,f),(0>e||null==e)&&(e=a.style[b]),Oa.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+eb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Sa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=U.exec(c))&&e[1]&&(c=X(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Sa(a,b,d)),"normal"===f&&b in $a&&(f=$a[b]),""===c||c?(e=parseFloat(f),c===!0||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Xa.test(n.css(a,"display"))&&0===a.offsetWidth?Pa(a,Za,function(){return fb(a,b,d)}):fb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ra(a);return db(a,c,d?eb(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Wa.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Va,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Va.test(f)?f.replace(Va,e):f+" "+e)}}),n.cssHooks.marginRight=Ua(l.reliableMarginRight,function(a,b){return b?Pa(a,{display:"inline-block"},Sa,[a,"marginRight"]):void 0}),n.cssHooks.marginLeft=Ua(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{
4marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+V[d]+b]=f[d]||f[d-2]||f[0];return e}},Na.test(a)||(n.cssHooks[a+b].set=db)}),n.fn.extend({css:function(a,b){return Y(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ra(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return cb(this,!0)},hide:function(){return cb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){W(this)?n(this).show():n(this).hide()})}});function gb(a,b,c,d,e){return new gb.prototype.init(a,b,c,d,e)}n.Tween=gb,gb.prototype={constructor:gb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=gb.propHooks[this.prop];return a&&a.get?a.get(this):gb.propHooks._default.get(this)},run:function(a){var b,c=gb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):gb.propHooks._default.set(this),this}},gb.prototype.init.prototype=gb.prototype,gb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},gb.propHooks.scrollTop=gb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=gb.prototype.init,n.fx.step={};var hb,ib,jb=/^(?:toggle|show|hide)$/,kb=/queueHooks$/;function lb(){return a.setTimeout(function(){hb=void 0}),hb=n.now()}function mb(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=V[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function nb(a,b,c){for(var d,e=(qb.tweeners[b]||[]).concat(qb.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ob(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&W(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k="none"===j?
vendor: 5,193 bytes, line 4
4n._data(a,"olddisplay")||Ma(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==Ma(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],jb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?Ma(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=nb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function pb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function qb(a,b,c){var d,e,f=0,g=qb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=hb||lb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:hb||lb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(pb(k,j.opts.specialEasing);g>f;f++)if(d=qb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,nb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(qb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return X(c.elem,a,U.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],qb.tweeners[c]=qb.tweeners[c]||[],qb.tweeners[c].unshift(b)},prefilters:[ob],prefilter:function(a,b){b?qb.prefilters.unshift(a):qb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(W).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=qb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&kb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(mb(b,!0),a,d,e)}}),n.each({slideDown:mb("show"),slideUp:mb("hide"),slideToggle:mb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(hb=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),hb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ib||(ib=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(ib),ib=null},n.fx.speeds={slow:600,fast:200,_default:400}
vendor: 7,423 bytes, line 4
4,n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var rb=/\r/g,sb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(sb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var tb,ub,vb=n.expr.attrHandle,wb=/^(?:checked|selected)$/i,xb=l.getSetAttribute,yb=l.input;n.fn.extend({attr:function(a,b){return Y(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ub:tb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?yb&&xb||!wb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(xb?c:d)}}),ub={set:function(a,b,c){return b===!1?n.removeAttr(a,c):yb&&xb||!wb.test(c)?a.setAttribute(!xb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=vb[b]||n.find.attr;yb&&xb||!wb.test(b)?vb[b]=function(a,b,d){var e,f;return d||(f=vb[b],vb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,vb[b]=f),e}:vb[b]=function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),yb&&xb||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):tb&&tb.set(a,b,c)}}),xb||(tb={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},vb.id=vb.name=vb.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:tb.set},n.attrHooks.contenteditable={set:function(a,b,c){tb.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var zb=/^(?:input|select|textarea|button|object)$/i,Ab=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return Y(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):zb.test(a.nodeName)||Ab.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Bb=/[\t\r\n\f]/g;function Cb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Cb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Cb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Cb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];
vendor: 4,816 bytes, line 4
4while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Cb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||a===!1?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Cb(c)+" ").replace(Bb," ").indexOf(b)>-1)return!0;return!1}}),n.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(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Db=a.location,Eb=n.now(),Fb=/\?/,Gb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Gb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Hb=/#.*$/,Ib=/([?&])_=[^&]*/,Jb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Kb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lb=/^(?:GET|HEAD)$/,Mb=/^\/\//,Nb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ob={},Pb={},Qb="*/".concat("*"),Rb=Db.href,Sb=Nb.exec(Rb.toLowerCase())||[];function Tb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Ub(a,b,c,d){var e={},f=a===Pb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Vb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Wb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Xb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rb,type:"GET",isLocal:Kb.test(Sb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Vb(Vb(a,n.ajaxSettings),b):Vb(n.ajaxSettings,a)},ajaxPrefilter:Tb(Ob),ajaxTransport:Tb(Pb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Jb.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>u)for(b in a)r[b]=[r[b],a[b]];
vendor: 12,539 bytes, lines 4-5
4else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),y(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Rb)+"").replace(Hb,"").replace(Mb,Sb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(G)||[""],null==l.crossDomain&&(d=Nb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Sb[1]&&d[2]===Sb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Sb[3]||("http:"===Sb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Ub(Ob,l,c,w),2===u)return w;i=n.event&&l.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Lb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Fb.test(f)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ib.test(f)?f.replace(Ib,"$1_="+Eb++):f+(Fb.test(f)?"&":"?")+"_="+Eb++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Qb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(l.beforeSend.call(m,w,l)===!1||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Ub(Pb,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,y)}catch(x){if(!(2>u))throw x;y(-1,x)}}else y(-1,"No Transport");function y(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&300>b||304===b,d&&(v=Wb(l,w,d)),v=Xb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),x=w.getResponseHeader("etag"),x&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Yb(a){return a.style&&a.style.display||n.css(a,"display")}function Zb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Yb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Zb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var $b=/%20/g,_b=/\[\]$/,ac=/\r?\n/g,bc=/^(?:submit|button|image|reset|file)$/i,cc=/^(?:input|select|textarea|keygen)/i;function dc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||_b.test(a)?d(a,e):dc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)dc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)dc(c,a[c],b,e);return d.join("&").replace($b,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&cc.test(this.nodeName)&&!bc.test(a)&&(this.checked||!Z.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(ac,"\r\n")}}):{name:b.name,value:c.replace(ac,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?ic():d.documentMode>8?hc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&hc()||ic()}:hc;var ec=0,fc={},gc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in fc)fc[a](void 0,!0)}),l.cors=!!gc&&"withCredentials"in gc,gc=l.ajax=!!gc,gc&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++ec;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete fc[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=fc[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function hc(){try{return new a.XMLHttpRequest}catch(b){}}function ic(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var jc=[],kc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=jc.pop()||n.expando+"_"+Eb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(kc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&kc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(kc,"$1"+e):b.jsonp!==!1&&(b.url+=(Fb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,jc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ja([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var lc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&lc)return lc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function mc(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?("undefined"!=typeof e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=mc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Qa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return Y(this,function(a,d,e){var f=mc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ua(l.pixelPosition,function(a,c){return c?(c=Sa(a,b),Oa.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({
5padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return Y(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var nc=a.jQuery,oc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=oc),b&&a.jQuery===n&&(a.jQuery=nc),n},b||(a.jQuery=a.$=n),n});
vendor: 3,518 bytes, lines 6-103
6
7/** vim: et:ts=4:sw=4:sts=4
8 * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors.
9 * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
10 */
11//Not using strict: uneven strict support in browsers, #392, and causes
12//problems with requirejs.exec()/transpiler plugins that may not be strict.
13/*jslint regexp: true, nomen: true, sloppy: true */
14/*global window, navigator, document, importScripts, setTimeout, opera */
15
16var requirejs, require, define;
17(function (global, setTimeout) {
18    var req, s, head, baseElement, dataMain, src,
19        interactiveScript, currentlyAddingScript, mainScript, subPath,
20        version = '2.3.6',
21        commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
22        cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
23        jsSuffixRegExp = /\.js$/,
24        currDirRegExp = /^\.\//,
25        op = Object.prototype,
26        ostring = op.toString,
27        hasOwn = op.hasOwnProperty,
28        isBrowser = !!(typeof window !== 'undefined' && typeof navigator !== 'undefined' && window.document),
29        isWebWorker = !isBrowser && typeof importScripts !== 'undefined',
30        //PS3 indicates loaded and complete, but need to wait for complete
31        //specifically. Sequence is 'loading', 'loaded', execution,
32        // then 'complete'. The UA check is unfortunate, but not sure how
33        //to feature test w/o causing perf issues.
34        readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ?
35                      /^complete$/ : /^(complete|loaded)$/,
36        defContextName = '_',
37        //Oh the tragedy, detecting opera. See the usage of isOpera for reason.
38        isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]',
39        contexts = {},
40        cfg = {},
41        globalDefQueue = [],
42        useInteractive = false;
43
44    //Could match something like ')//comment', do not lose the prefix to comment.
45    function commentReplace(match, singlePrefix) {
46        return singlePrefix || '';
47    }
48
49    function isFunction(it) {
50        return ostring.call(it) === '[object Function]';
51    }
52
53    function isArray(it) {
54        return ostring.call(it) === '[object Array]';
55    }
56
57    /**
58     * Helper function for iterating over an array. If the func returns
59     * a true value, it will break out of the loop.
60     */
61    function each(ary, func) {
62        if (ary) {
63            var i;
64            for (i = 0; i < ary.length; i += 1) {
65                if (ary[i] && func(ary[i], i, ary)) {
66                    break;
67                }
68            }
69        }
70    }
71
72    /**
73     * Helper function for iterating over an array backwards. If the func
74     * returns a true value, it will break out of the loop.
75     */
76    function eachReverse(ary, func) {
77        if (ary) {
78            var i;
79            for (i = ary.length - 1; i > -1; i -= 1) {
80                if (ary[i] && func(ary[i], i, ary)) {
81                    break;
82                }
83            }
84        }
85    }
86
87    function hasProp(obj, prop) {
88        return hasOwn.call(obj, prop);
89    }
90
91    function getOwn(obj, prop) {
92        return hasProp(obj, prop) && obj[prop];
93    }
94
95    /**
96     * Cycles over properties in an object and calls a function for each
97     * property value. If the function returns a truthy value, then the
98     * iteration is stopped.
99     */
100    function eachProp(obj, func) {
101        var prop;
102        for (prop in obj) {
103            if (hasProp(obj, prop)
vendor: 82,966 bytes, lines 103-2151
103) {
104                if (func(obj[prop], prop)) {
105                    break;
106                }
107            }
108        }
109    }
110
111    /**
112     * Simple function to mix in properties from source into target,
113     * but only if target does not already have a property of the same name.
114     */
115    function mixin(target, source, force, deepStringMixin) {
116        if (source) {
117            eachProp(source, function (value, prop) {
118                if (force || !hasProp(target, prop)) {
119                    if (deepStringMixin && typeof value === 'object' && value &&
120                        !isArray(value) && !isFunction(value) &&
121                        !(value instanceof RegExp)) {
122
123                        if (!target[prop]) {
124                            target[prop] = {};
125                        }
126                        mixin(target[prop], value, force, deepStringMixin);
127                    } else {
128                        target[prop] = value;
129                    }
130                }
131            });
132        }
133        return target;
134    }
135
136    //Similar to Function.prototype.bind, but the 'this' object is specified
137    //first, since it is easier to read/figure out what 'this' will be.
138    function bind(obj, fn) {
139        return function () {
140            return fn.apply(obj, arguments);
141        };
142    }
143
144    function scripts() {
145        return document.getElementsByTagName('script');
146    }
147
148    function defaultOnError(err) {
149        throw err;
150    }
151
152    //Allow getting a global that is expressed in
153    //dot notation, like 'a.b.c'.
154    function getGlobal(value) {
155        if (!value) {
156            return value;
157        }
158        var g = global;
159        each(value.split('.'), function (part) {
160            g = g[part];
161        });
162        return g;
163    }
164
165    /**
166     * Constructs an error with a pointer to an URL with more information.
167     * @param {String} id the error ID that maps to an ID on a web page.
168     * @param {String} message human readable error.
169     * @param {Error} [err] the original error, if there is one.
170     *
171     * @returns {Error}
172     */
173    function makeError(id, msg, err, requireModules) {
174        var e = new Error(msg + '\nhttps://requirejs.org/docs/errors.html#' + id);
175        e.requireType = id;
176        e.requireModules = requireModules;
177        if (err) {
178            e.originalError = err;
179        }
180        return e;
181    }
182
183    if (typeof define !== 'undefined') {
184        //If a define is already in play via another AMD loader,
185        //do not overwrite.
186        return;
187    }
188
189    if (typeof requirejs !== 'undefined') {
190        if (isFunction(requirejs)) {
191            //Do not overwrite an existing requirejs instance.
192            return;
193        }
194        cfg = requirejs;
195        requirejs = undefined;
196    }
197
198    //Allow for a require config object
199    if (typeof require !== 'undefined' && !isFunction(require)) {
200        //assume it is a config object.
201        cfg = require;
202        require = undefined;
203    }
204
205    function newContext(contextName) {
206        var inCheckLoaded, Module, context, handlers,
207            checkLoadedTimeoutId,
208            config = {
209                //Defaults. Do not set a default for map
210                //config to speed up normalize(), which
211                //will run faster if there is no default.
212                waitSeconds: 7,
213                baseUrl: './',
214                paths: {},
215                bundles: {},
216                pkgs: {},
217                shim: {},
218                config: {}
219            },
220            registry = {},
221            //registry of just enabled modules, to speed
222            //cycle breaking code when lots of modules
223            //are registered, but not activated.
224            enabledRegistry = {},
225            undefEvents = {},
226            defQueue = [],
227            defined = {},
228            urlFetched = {},
229            bundlesMap = {},
230            requireCounter = 1,
231            unnormalizedCounter = 1;
232
233        /**
234         * Trims the . and .. from an array of path segments.
235         * It will keep a leading path segment if a .. will become
236         * the first path segment, to help with module name lookups,
237         * which act like paths, but can be remapped. But the end result,
238         * all paths that use this function should look normalized.
239         * NOTE: this method MODIFIES the input array.
240         * @param {Array} ary the array of path segments.
241         */
242        function trimDots(ary) {
243            var i, part;
244            for (i = 0; i < ary.length; i++) {
245                part = ary[i];
246                if (part === '.') {
247                    ary.splice(i, 1);
248                    i -= 1;
249                } else if (part === '..') {
250                    // If at the start, or previous value is still ..,
251                    // keep them so that when converted to a path it may
252                    // still work when converted to a path, even though
253                    // as an ID it is less than ideal. In larger point
254                    // releases, may be better to just kick out an error.
255                    if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') {
256                        continue;
257                    } else if (i > 0) {
258                        ary.splice(i - 1, 2);
259                        i -= 2;
260                    }
261                }
262            }
263        }
264
265        /**
266         * Given a relative module name, like ./something, normalize it to
267         * a real name that can be mapped to a path.
268         * @param {String} name the relative name
269         * @param {String} baseName a real name that the name arg is relative
270         * to.
271         * @param {Boolean} applyMap apply the map config to the value. Should
272         * only be done if this normalization is for a dependency ID.
273         * @returns {String} normalized name
274         */
275        function normalize(name, baseName, applyMap) {
276            var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex,
277                foundMap, foundI, foundStarMap, starI, normalizedBaseParts,
278                baseParts = (baseName && baseName.split('/')),
279                map = config.map,
280                starMap = map && map['*'];
281
282            //Adjust any relative paths.
283            if (name) {
284                name = name.split('/');
285                lastIndex = name.length - 1;
286
287                // If wanting node ID compatibility, strip .js from end
288                // of IDs. Have to do this here, and not in nameToUrl
289                // because node allows either .js or non .js to map
290                // to same file.
291                if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {
292                    name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');
293                }
294
295                // Starts with a '.' so need the baseName
296                if (name[0].charAt(0) === '.' && baseParts) {
297                    //Convert baseName to array, and lop off the last part,
298                    //so that . matches that 'directory' and not name of the baseName's
299                    //module. For instance, baseName of 'one/two/three', maps to
300                    //'one/two/three.js', but we want the directory, 'one/two' for
301                    //this normalization.
302                    normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);
303                    name = normalizedBaseParts.concat(name);
304                }
305
306                trimDots(name);
307                name = name.join('/');
308            }
309
310            //Apply map config if available.
311            if (applyMap && map && (baseParts || starMap)) {
312                nameParts = name.split('/');
313
314                outerLoop: for (i = nameParts.length; i > 0; i -= 1) {
315                    nameSegment = nameParts.slice(0, i).join('/');
316
317                    if (baseParts) {
318                        //Find the longest baseName segment match in the config.
319                        //So, do joins on the biggest to smallest lengths of baseParts.
320                        for (j = baseParts.length; j > 0; j -= 1) {
321                            mapValue = getOwn(map, baseParts.slice(0, j).join('/'));
322
323                            //baseName segment has config, find if it has one for
324                            //this name.
325                            if (mapValue) {
326                                mapValue = getOwn(mapValue, nameSegment);
327                                if (mapValue) {
328                                    //Match, update name to the new value.
329                                    foundMap = mapValue;
330                                    foundI = i;
331                                    break outerLoop;
332                                }
333                            }
334                        }
335                    }
336
337                    //Check for a star map match, but just hold on to it,
338                    //if there is a shorter segment match later in a matching
339                    //config, then favor over this star map.
340                    if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) {
341                        foundStarMap = getOwn(starMap, nameSegment);
342                        starI = i;
343                    }
344                }
345
346                if (!foundMap && foundStarMap) {
347                    foundMap = foundStarMap;
348                    foundI = starI;
349                }
350
351                if (foundMap) {
352                    nameParts.splice(0, foundI, foundMap);
353                    name = nameParts.join('/');
354                }
355            }
356
357            // If the name points to a package's name, use
358            // the package main instead.
359            pkgMain = getOwn(config.pkgs, name);
360
361            return pkgMain ? pkgMain : name;
362        }
363
364        function removeScript(name) {
365            if (isBrowser) {
366                each(scripts(), function (scriptNode) {
367                    if (scriptNode.getAttribute('data-requiremodule') === name &&
368                            scriptNode.getAttribute('data-requirecontext') === context.contextName) {
369                        scriptNode.parentNode.removeChild(scriptNode);
370                        return true;
371                    }
372                });
373            }
374        }
375
376        function hasPathFallback(id) {
377            var pathConfig = getOwn(config.paths, id);
378            if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) {
379                //Pop off the first array value, since it failed, and
380                //retry
381                pathConfig.shift();
382                context.require.undef(id);
383
384                //Custom require that does not do map translation, since
385                //ID is "absolute", already mapped/resolved.
386                context.makeRequire(null, {
387                    skipMap: true
388                })([id]);
389
390                return true;
391            }
392        }
393
394        //Turns a plugin!resource to [plugin, resource]
395        //with the plugin being undefined if the name
396        //did not have a plugin prefix.
397        function splitPrefix(name) {
398            var prefix,
399                index = name ? name.indexOf('!') : -1;
400            if (index > -1) {
401                prefix = name.substring(0, index);
402                name = name.substring(index + 1, name.length);
403            }
404            return [prefix, name];
405        }
406
407        /**
408         * Creates a module mapping that includes plugin prefix, module
409         * name, and path. If parentModuleMap is provided it will
410         * also normalize the name via require.normalize()
411         *
412         * @param {String} name the module name
413         * @param {String} [parentModuleMap] parent module map
414         * for the module name, used to resolve relative names.
415         * @param {Boolean} isNormalized: is the ID already normalized.
416         * This is true if this call is done for a define() module ID.
417         * @param {Boolean} applyMap: apply the map config to the ID.
418         * Should only be true if this map is for a dependency.
419         *
420         * @returns {Object}
421         */
422        function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) {
423            var url, pluginModule, suffix, nameParts,
424                prefix = null,
425                parentName = parentModuleMap ? parentModuleMap.name : null,
426                originalName = name,
427                isDefine = true,
428                normalizedName = '';
429
430            //If no name, then it means it is a require call, generate an
431            //internal name.
432            if (!name) {
433                isDefine = false;
434                name = '_@r' + (requireCounter += 1);
435            }
436
437            nameParts = splitPrefix(name);
438            prefix = nameParts[0];
439            name = nameParts[1];
440
441            if (prefix) {
442                prefix = normalize(prefix, parentName, applyMap);
443                pluginModule = getOwn(defined, prefix);
444            }
445
446            //Account for relative paths if there is a base name.
447            if (name) {
448                if (prefix) {
449                    if (isNormalized) {
450                        normalizedName = name;
451                    } else if (pluginModule && pluginModule.normalize) {
452                        //Plugin is loaded, use its normalize method.
453                        normalizedName = pluginModule.normalize(name, function (name) {
454                            return normalize(name, parentName, applyMap);
455                        });
456                    } else {
457                        // If nested plugin references, then do not try to
458                        // normalize, as it will not normalize correctly. This
459                        // places a restriction on resourceIds, and the longer
460                        // term solution is not to normalize until plugins are
461                        // loaded and all normalizations to allow for async
462                        // loading of a loader plugin. But for now, fixes the
463                        // common uses. Details in #1131
464                        normalizedName = name.indexOf('!') === -1 ?
465                                         normalize(name, parentName, applyMap) :
466                                         name;
467                    }
468                } else {
469                    //A regular module.
470                    normalizedName = normalize(name, parentName, applyMap);
471
472                    //Normalized name may be a plugin ID due to map config
473                    //application in normalize. The map config values must
474                    //already be normalized, so do not need to redo that part.
475                    nameParts = splitPrefix(normalizedName);
476                    prefix = nameParts[0];
477                    normalizedName = nameParts[1];
478                    isNormalized = true;
479
480                    url = context.nameToUrl(normalizedName);
481                }
482            }
483
484            //If the id is a plugin id that cannot be determined if it needs
485            //normalization, stamp it with a unique ID so two matching relative
486            //ids that may conflict can be separate.
487            suffix = prefix && !pluginModule && !isNormalized ?
488                     '_unnormalized' + (unnormalizedCounter += 1) :
489                     '';
490
491            return {
492                prefix: prefix,
493                name: normalizedName,
494                parentMap: parentModuleMap,
495                unnormalized: !!suffix,
496                url: url,
497                originalName: originalName,
498                isDefine: isDefine,
499                id: (prefix ?
500                        prefix + '!' + normalizedName :
501                        normalizedName) + suffix
502            };
503        }
504
505        function getModule(depMap) {
506            var id = depMap.id,
507                mod = getOwn(registry, id);
508
509            if (!mod) {
510                mod = registry[id] = new context.Module(depMap);
511            }
512
513            return mod;
514        }
515
516        function on(depMap, name, fn) {
517            var id = depMap.id,
518                mod = getOwn(registry, id);
519
520            if (hasProp(defined, id) &&
521                    (!mod || mod.defineEmitComplete)) {
522                if (name === 'defined') {
523                    fn(defined[id]);
524                }
525            } else {
526                mod = getModule(depMap);
527                if (mod.error && name === 'error') {
528                    fn(mod.error);
529                } else {
530                    mod.on(name, fn);
531                }
532            }
533        }
534
535        function onError(err, errback) {
536            var ids = err.requireModules,
537                notified = false;
538
539            if (errback) {
540                errback(err);
541            } else {
542                each(ids, function (id) {
543                    var mod = getOwn(registry, id);
544                    if (mod) {
545                        //Set error on module, so it skips timeout checks.
546                        mod.error = err;
547                        if (mod.events.error) {
548                            notified = true;
549                            mod.emit('error', err);
550                        }
551                    }
552                });
553
554                if (!notified) {
555                    req.onError(err);
556                }
557            }
558        }
559
560        /**
561         * Internal method to transfer globalQueue items to this context's
562         * defQueue.
563         */
564        function takeGlobalQueue() {
565            //Push all the globalDefQueue items into the context's defQueue
566            if (globalDefQueue.length) {
567                each(globalDefQueue, function(queueItem) {
568                    var id = queueItem[0];
569                    if (typeof id === 'string') {
570                        context.defQueueMap[id] = true;
571                    }
572                    defQueue.push(queueItem);
573                });
574                globalDefQueue = [];
575            }
576        }
577
578        handlers = {
579            'require': function (mod) {
580                if (mod.require) {
581                    return mod.require;
582                } else {
583                    return (mod.require = context.makeRequire(mod.map));
584                }
585            },
586            'exports': function (mod) {
587                mod.usingExports = true;
588                if (mod.map.isDefine) {
589                    if (mod.exports) {
590                        return (defined[mod.map.id] = mod.exports);
591                    } else {
592                        return (mod.exports = defined[mod.map.id] = {});
593                    }
594                }
595            },
596            'module': function (mod) {
597                if (mod.module) {
598                    return mod.module;
599                } else {
600                    return (mod.module = {
601                        id: mod.map.id,
602                        uri: mod.map.url,
603                        config: function () {
604                            return getOwn(config.config, mod.map.id) || {};
605                        },
606                        exports: mod.exports || (mod.exports = {})
607                    });
608                }
609            }
610        };
611
612        function cleanRegistry(id) {
613            //Clean up machinery used for waiting modules.
614            delete registry[id];
615            delete enabledRegistry[id];
616        }
617
618        function breakCycle(mod, traced, processed) {
619            var id = mod.map.id;
620
621            if (mod.error) {
622                mod.emit('error', mod.error);
623            } else {
624                traced[id] = true;
625                each(mod.depMaps, function (depMap, i) {
626                    var depId = depMap.id,
627                        dep = getOwn(registry, depId);
628
629                    //Only force things that have not completed
630                    //being defined, so still in the registry,
631                    //and only if it has not been matched up
632                    //in the module already.
633                    if (dep && !mod.depMatched[i] && !processed[depId]) {
634                        if (getOwn(traced, depId)) {
635                            mod.defineDep(i, defined[depId]);
636                            mod.check(); //pass false?
637                        } else {
638                            breakCycle(dep, traced, processed);
639                        }
640                    }
641                });
642                processed[id] = true;
643            }
644        }
645
646        function checkLoaded() {
647            var err, usingPathFallback,
648                waitInterval = config.waitSeconds * 1000,
649                //It is possible to disable the wait interval by using waitSeconds of 0.
650                expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(),
651                noLoads = [],
652                reqCalls = [],
653                stillLoading = false,
654                needCycleCheck = true;
655
656            //Do not bother if this call was a result of a cycle break.
657            if (inCheckLoaded) {
658                return;
659            }
660
661            inCheckLoaded = true;
662
663            //Figure out the state of all the modules.
664            eachProp(enabledRegistry, function (mod) {
665                var map = mod.map,
666                    modId = map.id;
667
668                //Skip things that are not enabled or in error state.
669                if (!mod.enabled) {
670                    return;
671                }
672
673                if (!map.isDefine) {
674                    reqCalls.push(mod);
675                }
676
677                if (!mod.error) {
678                    //If the module should be executed, and it has not
679                    //been inited and time is up, remember it.
680                    if (!mod.inited && expired) {
681                        if (hasPathFallback(modId)) {
682                            usingPathFallback = true;
683                            stillLoading = true;
684                        } else {
685                            noLoads.push(modId);
686                            removeScript(modId);
687                        }
688                    } else if (!mod.inited && mod.fetched && map.isDefine) {
689                        stillLoading = true;
690                        if (!map.prefix) {
691                            //No reason to keep looking for unfinished
692                            //loading. If the only stillLoading is a
693                            //plugin resource though, keep going,
694                            //because it may be that a plugin resource
695                            //is waiting on a non-plugin cycle.
696                            return (needCycleCheck = false);
697                        }
698                    }
699                }
700            });
701
702            if (expired && noLoads.length) {
703                //If wait time expired, throw error of unloaded modules.
704                err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads);
705                err.contextName = context.contextName;
706                return onError(err);
707            }
708
709            //Not expired, check for a cycle.
710            if (needCycleCheck) {
711                each(reqCalls, function (mod) {
712                    breakCycle(mod, {}, {});
713                });
714            }
715
716            //If still waiting on loads, and the waiting load is something
717            //other than a plugin resource, or there are still outstanding
718            //scripts, then just try back later.
719            if ((!expired || usingPathFallback) && stillLoading) {
720                //Something is still waiting to load. Wait for it, but only
721                //if a timeout is not already in effect.
722                if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) {
723                    checkLoadedTimeoutId = setTimeout(function () {
724                        checkLoadedTimeoutId = 0;
725                        checkLoaded();
726                    }, 50);
727                }
728            }
729
730            inCheckLoaded = false;
731        }
732
733        Module = function (map) {
734            this.events = getOwn(undefEvents, map.id) || {};
735            this.map = map;
736            this.shim = getOwn(config.shim, map.id);
737            this.depExports = [];
738            this.depMaps = [];
739            this.depMatched = [];
740            this.pluginMaps = {};
741            this.depCount = 0;
742
743            /* this.exports this.factory
744               this.depMaps = [],
745               this.enabled, this.fetched
746            */
747        };
748
749        Module.prototype = {
750            init: function (depMaps, factory, errback, options) {
751                options = options || {};
752
753                //Do not do more inits if already done. Can happen if there
754                //are multiple define calls for the same module. That is not
755                //a normal, common case, but it is also not unexpected.
756                if (this.inited) {
757                    return;
758                }
759
760                this.factory = factory;
761
762                if (errback) {
763                    //Register for errors on this module.
764                    this.on('error', errback);
765                } else if (this.events.error) {
766                    //If no errback already, but there are error listeners
767                    //on this module, set up an errback to pass to the deps.
768                    errback = bind(this, function (err) {
769                        this.emit('error', err);
770                    });
771                }
772
773                //Do a copy of the dependency array, so that
774                //source inputs are not modified. For example
775                //"shim" deps are passed in here directly, and
776                //doing a direct modification of the depMaps array
777                //would affect that config.
778                this.depMaps = depMaps && depMaps.slice(0);
779
780                this.errback = errback;
781
782                //Indicate this module has be initialized
783                this.inited = true;
784
785                this.ignore = options.ignore;
786
787                //Could have option to init this module in enabled mode,
788                //or could have been previously marked as enabled. However,
789                //the dependencies are not known until init is called. So
790                //if enabled previously, now trigger dependencies as enabled.
791                if (options.enabled || this.enabled) {
792                    //Enable this module and dependencies.
793                    //Will call this.check()
794                    this.enable();
795                } else {
796                    this.check();
797                }
798            },
799
800            defineDep: function (i, depExports) {
801                //Because of cycles, defined callback for a given
802                //export can be called more than once.
803                if (!this.depMatched[i]) {
804                    this.depMatched[i] = true;
805                    this.depCount -= 1;
806                    this.depExports[i] = depExports;
807                }
808            },
809
810            fetch: function () {
811                if (this.fetched) {
812                    return;
813                }
814                this.fetched = true;
815
816                context.startTime = (new Date()).getTime();
817
818                var map = this.map;
819
820                //If the manager is for a plugin managed resource,
821                //ask the plugin to load it now.
822                if (this.shim) {
823                    context.makeRequire(this.map, {
824                        enableBuildCallback: true
825                    })(this.shim.deps || [], bind(this, function () {
826                        return map.prefix ? this.callPlugin() : this.load();
827                    }));
828                } else {
829                    //Regular dependency.
830                    return map.prefix ? this.callPlugin() : this.load();
831                }
832            },
833
834            load: function () {
835                var url = this.map.url;
836
837                //Regular dependency.
838                if (!urlFetched[url]) {
839                    urlFetched[url] = true;
840                    context.load(this.map.id, url);
841                }
842            },
843
844            /**
845             * Checks if the module is ready to define itself, and if so,
846             * define it.
847             */
848            check: function () {
849                if (!this.enabled || this.enabling) {
850                    return;
851                }
852
853                var err, cjsModule,
854                    id = this.map.id,
855                    depExports = this.depExports,
856                    exports = this.exports,
857                    factory = this.factory;
858
859                if (!this.inited) {
860                    // Only fetch if not already in the defQueue.
861                    if (!hasProp(context.defQueueMap, id)) {
862                        this.fetch();
863                    }
864                } else if (this.error) {
865                    this.emit('error', this.error);
866                } else if (!this.defining) {
867                    //The factory could trigger another require call
868                    //that would result in checking this module to
869                    //define itself again. If already in the process
870                    //of doing that, skip this work.
871                    this.defining = true;
872
873                    if (this.depCount < 1 && !this.defined) {
874                        if (isFunction(factory)) {
875                            //If there is an error listener, favor passing
876                            //to that instead of throwing an error. However,
877                            //only do it for define()'d  modules. require
878                            //errbacks should not be called for failures in
879                            //their callbacks (#699). However if a global
880                            //onError is set, use that.
881                            if ((this.events.error && this.map.isDefine) ||
882                                req.onError !== defaultOnError) {
883                                try {
884                                    exports = context.execCb(id, factory, depExports, exports);
885                                } catch (e) {
886                                    err = e;
887                                }
888                            } else {
889                                exports = context.execCb(id, factory, depExports, exports);
890                            }
891
892                            // Favor return value over exports. If node/cjs in play,
893                            // then will not have a return value anyway. Favor
894                            // module.exports assignment over exports object.
895                            if (this.map.isDefine && exports === undefined) {
896                                cjsModule = this.module;
897                                if (cjsModule) {
898                                    exports = cjsModule.exports;
899                                } else if (this.usingExports) {
900                                    //exports already set the defined value.
901                                    exports = this.exports;
902                                }
903                            }
904
905                            if (err) {
906                                err.requireMap = this.map;
907                                err.requireModules = this.map.isDefine ? [this.map.id] : null;
908                                err.requireType = this.map.isDefine ? 'define' : 'require';
909                                return onError((this.error = err));
910                            }
911
912                        } else {
913                            //Just a literal value
914                            exports = factory;
915                        }
916
917                        this.exports = exports;
918
919                        if (this.map.isDefine && !this.ignore) {
920                            defined[id] = exports;
921
922                            if (req.onResourceLoad) {
923                                var resLoadMaps = [];
924                                each(this.depMaps, function (depMap) {
925                                    resLoadMaps.push(depMap.normalizedMap || depMap);
926                                });
927                                req.onResourceLoad(context, this.map, resLoadMaps);
928                            }
929                        }
930
931                        //Clean up
932                        cleanRegistry(id);
933
934                        this.defined = true;
935                    }
936
937                    //Finished the define stage. Allow calling check again
938                    //to allow define notifications below in the case of a
939                    //cycle.
940                    this.defining = false;
941
942                    if (this.defined && !this.defineEmitted) {
943                        this.defineEmitted = true;
944                        this.emit('defined', this.exports);
945                        this.defineEmitComplete = true;
946                    }
947
948                }
949            },
950
951            callPlugin: function () {
952                var map = this.map,
953                    id = map.id,
954                    //Map already normalized the prefix.
955                    pluginMap = makeModuleMap(map.prefix);
956
957                //Mark this as a dependency for this plugin, so it
958                //can be traced for cycles.
959                this.depMaps.push(pluginMap);
960
961                on(pluginMap, 'defined', bind(this, function (plugin) {
962                    var load, normalizedMap, normalizedMod,
963                        bundleId = getOwn(bundlesMap, this.map.id),
964                        name = this.map.name,
965                        parentName = this.map.parentMap ? this.map.parentMap.name : null,
966                        localRequire = context.makeRequire(map.parentMap, {
967                            enableBuildCallback: true
968                        });
969
970                    //If current map is not normalized, wait for that
971                    //normalized name to load instead of continuing.
972                    if (this.map.unnormalized) {
973                        //Normalize the ID if the plugin allows it.
974                        if (plugin.normalize) {
975                            name = plugin.normalize(name, function (name) {
976                                return normalize(name, parentName, true);
977                            }) || '';
978                        }
979
980                        //prefix and name should already be normalized, no need
981                        //for applying map config again either.
982                        normalizedMap = makeModuleMap(map.prefix + '!' + name,
983                                                      this.map.parentMap,
984                                                      true);
985                        on(normalizedMap,
986                            'defined', bind(this, function (value) {
987                                this.map.normalizedMap = normalizedMap;
988                                this.init([], function () { return value; }, null, {
989                                    enabled: true,
990                                    ignore: true
991                                });
992                            }));
993
994                        normalizedMod = getOwn(registry, normalizedMap.id);
995                        if (normalizedMod) {
996                            //Mark this as a dependency for this plugin, so it
997                            //can be traced for cycles.
998                            this.depMaps.push(normalizedMap);
999
1000                            if (this.events.error) {
1001                                normalizedMod.on('error', bind(this, function (err) {
1002                                    this.emit('error', err);
1003                                }));
1004                            }
1005                            normalizedMod.enable();
1006                        }
1007
1008                        return;
1009                    }
1010
1011                    //If a paths config, then just load that file instead to
1012                    //resolve the plugin, as it is built into that paths layer.
1013                    if (bundleId) {
1014                        this.map.url = context.nameToUrl(bundleId);
1015                        this.load();
1016                        return;
1017                    }
1018
1019                    load = bind(this, function (value) {
1020                        this.init([], function () { return value; }, null, {
1021                            enabled: true
1022                        });
1023                    });
1024
1025                    load.error = bind(this, function (err) {
1026                        this.inited = true;
1027                        this.error = err;
1028                        err.requireModules = [id];
1029
1030                        //Remove temp unnormalized modules for this module,
1031                        //since they will never be resolved otherwise now.
1032                        eachProp(registry, function (mod) {
1033                            if (mod.map.id.indexOf(id + '_unnormalized') === 0) {
1034                                cleanRegistry(mod.map.id);
1035                            }
1036                        });
1037
1038                        onError(err);
1039                    });
1040
1041                    //Allow plugins to load other code without having to know the
1042                    //context or how to 'complete' the load.
1043                    load.fromText = bind(this, function (text, textAlt) {
1044                        /*jslint evil: true */
1045                        var moduleName = map.name,
1046                            moduleMap = makeModuleMap(moduleName),
1047                            hasInteractive = useInteractive;
1048
1049                        //As of 2.1.0, support just passing the text, to reinforce
1050                        //fromText only being called once per resource. Still
1051                        //support old style of passing moduleName but discard
1052                        //that moduleName in favor of the internal ref.
1053                        if (textAlt) {
1054                            text = textAlt;
1055                        }
1056
1057                        //Turn off interactive script matching for IE for any define
1058                        //calls in the text, then turn it back on at the end.
1059                        if (hasInteractive) {
1060                            useInteractive = false;
1061                        }
1062
1063                        //Prime the system by creating a module instance for
1064                        //it.
1065                        getModule(moduleMap);
1066
1067                        //Transfer any config to this other module.
1068                        if (hasProp(config.config, id)) {
1069                            config.config[moduleName] = config.config[id];
1070                        }
1071
1072                        try {
1073                            req.exec(text);
1074                        } catch (e) {
1075                            return onError(makeError('fromtexteval',
1076                                             'fromText eval for ' + id +
1077                                            ' failed: ' + e,
1078                                             e,
1079                                             [id]));
1080                        }
1081
1082                        if (hasInteractive) {
1083                            useInteractive = true;
1084                        }
1085
1086                        //Mark this as a dependency for the plugin
1087                        //resource
1088                        this.depMaps.push(moduleMap);
1089
1090                        //Support anonymous modules.
1091                        context.completeLoad(moduleName);
1092
1093                        //Bind the value of that module to the value for this
1094                        //resource ID.
1095                        localRequire([moduleName], load);
1096                    });
1097
1098                    //Use parentName here since the plugin's name is not reliable,
1099                    //could be some weird string with no path that actually wants to
1100                    //reference the parentName's path.
1101                    plugin.load(map.name, localRequire, load, config);
1102                }));
1103
1104                context.enable(pluginMap, this);
1105                this.pluginMaps[pluginMap.id] = pluginMap;
1106            },
1107
1108            enable: function () {
1109                enabledRegistry[this.map.id] = this;
1110                this.enabled = true;
1111
1112                //Set flag mentioning that the module is enabling,
1113                //so that immediate calls to the defined callbacks
1114                //for dependencies do not trigger inadvertent load
1115                //with the depCount still being zero.
1116                this.enabling = true;
1117
1118                //Enable each dependency
1119                each(this.depMaps, bind(this, function (depMap, i) {
1120                    var id, mod, handler;
1121
1122                    if (typeof depMap === 'string') {
1123                        //Dependency needs to be converted to a depMap
1124                        //and wired up to this module.
1125                        depMap = makeModuleMap(depMap,
1126                                               (this.map.isDefine ? this.map : this.map.parentMap),
1127                                               false,
1128                                               !this.skipMap);
1129                        this.depMaps[i] = depMap;
1130
1131                        handler = getOwn(handlers, depMap.id);
1132
1133                        if (handler) {
1134                            this.depExports[i] = handler(this);
1135                            return;
1136                        }
1137
1138                        this.depCount += 1;
1139
1140                        on(depMap, 'defined', bind(this, function (depExports) {
1141                            if (this.undefed) {
1142                                return;
1143                            }
1144                            this.defineDep(i, depExports);
1145                            this.check();
1146                        }));
1147
1148                        if (this.errback) {
1149                            on(depMap, 'error', bind(this, this.errback));
1150                        } else if (this.events.error) {
1151                            // No direct errback on this module, but something
1152                            // else is listening for errors, so be sure to
1153                            // propagate the error correctly.
1154                            on(depMap, 'error', bind(this, function(err) {
1155                                this.emit('error', err);
1156                            }));
1157                        }
1158                    }
1159
1160                    id = depMap.id;
1161                    mod = registry[id];
1162
1163                    //Skip special modules like 'require', 'exports', 'module'
1164                    //Also, don't call enable if it is already enabled,
1165                    //important in circular dependency cases.
1166                    if (!hasProp(handlers, id) && mod && !mod.enabled) {
1167                        context.enable(depMap, this);
1168                    }
1169                }));
1170
1171                //Enable each plugin that is used in
1172                //a dependency
1173                eachProp(this.pluginMaps, bind(this, function (pluginMap) {
1174                    var mod = getOwn(registry, pluginMap.id);
1175                    if (mod && !mod.enabled) {
1176                        context.enable(pluginMap, this);
1177                    }
1178                }));
1179
1180                this.enabling = false;
1181
1182                this.check();
1183            },
1184
1185            on: function (name, cb) {
1186                var cbs = this.events[name];
1187                if (!cbs) {
1188                    cbs = this.events[name] = [];
1189                }
1190                cbs.push(cb);
1191            },
1192
1193            emit: function (name, evt) {
1194                each(this.events[name], function (cb) {
1195                    cb(evt);
1196                });
1197                if (name === 'error') {
1198                    //Now that the error handler was triggered, remove
1199                    //the listeners, since this broken Module instance
1200                    //can stay around for a while in the registry.
1201                    delete this.events[name];
1202                }
1203            }
1204        };
1205
1206        function callGetModule(args) {
1207            //Skip modules already defined.
1208            if (!hasProp(defined, args[0])) {
1209                getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]);
1210            }
1211        }
1212
1213        function removeListener(node, func, name, ieName) {
1214            //Favor detachEvent because of IE9
1215            //issue, see attachEvent/addEventListener comment elsewhere
1216            //in this file.
1217            if (node.detachEvent && !isOpera) {
1218                //Probably IE. If not it will throw an error, which will be
1219                //useful to know.
1220                if (ieName) {
1221                    node.detachEvent(ieName, func);
1222                }
1223            } else {
1224                node.removeEventListener(name, func, false);
1225            }
1226        }
1227
1228        /**
1229         * Given an event from a script node, get the requirejs info from it,
1230         * and then removes the event listeners on the node.
1231         * @param {Event} evt
1232         * @returns {Object}
1233         */
1234        function getScriptData(evt) {
1235            //Using currentTarget instead of target for Firefox 2.0's sake. Not
1236            //all old browsers will be supported, but this one was easy enough
1237            //to support and still makes sense.
1238            var node = evt.currentTarget || evt.srcElement;
1239
1240            //Remove the listeners once here.
1241            removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
1242            removeListener(node, context.onScriptError, 'error');
1243
1244            return {
1245                node: node,
1246                id: node && node.getAttribute('data-requiremodule')
1247            };
1248        }
1249
1250        function intakeDefines() {
1251            var args;
1252
1253            //Any defined modules in the global queue, intake them now.
1254            takeGlobalQueue();
1255
1256            //Make sure any remaining defQueue items get properly processed.
1257            while (defQueue.length) {
1258                args = defQueue.shift();
1259                if (args[0] === null) {
1260                    return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' +
1261                        args[args.length - 1]));
1262                } else {
1263                    //args are id, deps, factory. Should be normalized by the
1264                    //define() function.
1265                    callGetModule(args);
1266                }
1267            }
1268            context.defQueueMap = {};
1269        }
1270
1271        context = {
1272            config: config,
1273            contextName: contextName,
1274            registry: registry,
1275            defined: defined,
1276            urlFetched: urlFetched,
1277            defQueue: defQueue,
1278            defQueueMap: {},
1279            Module: Module,
1280            makeModuleMap: makeModuleMap,
1281            nextTick: req.nextTick,
1282            onError: onError,
1283
1284            /**
1285             * Set a configuration for the context.
1286             * @param {Object} cfg config object to integrate.
1287             */
1288            configure: function (cfg) {
1289                //Make sure the baseUrl ends in a slash.
1290                if (cfg.baseUrl) {
1291                    if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') {
1292                        cfg.baseUrl += '/';
1293                    }
1294                }
1295
1296                // Convert old style urlArgs string to a function.
1297                if (typeof cfg.urlArgs === 'string') {
1298                    var urlArgs = cfg.urlArgs;
1299                    cfg.urlArgs = function(id, url) {
1300                        return (url.indexOf('?') === -1 ? '?' : '&') + urlArgs;
1301                    };
1302                }
1303
1304                //Save off the paths since they require special processing,
1305                //they are additive.
1306                var shim = config.shim,
1307                    objs = {
1308                        paths: true,
1309                        bundles: true,
1310                        config: true,
1311                        map: true
1312                    };
1313
1314                eachProp(cfg, function (value, prop) {
1315                    if (objs[prop]) {
1316                        if (!config[prop]) {
1317                            config[prop] = {};
1318                        }
1319                        mixin(config[prop], value, true, true);
1320                    } else {
1321                        config[prop] = value;
1322                    }
1323                });
1324
1325                //Reverse map the bundles
1326                if (cfg.bundles) {
1327                    eachProp(cfg.bundles, function (value, prop) {
1328                        each(value, function (v) {
1329                            if (v !== prop) {
1330                                bundlesMap[v] = prop;
1331                            }
1332                        });
1333                    });
1334                }
1335
1336                //Merge shim
1337                if (cfg.shim) {
1338                    eachProp(cfg.shim, function (value, id) {
1339                        //Normalize the structure
1340                        if (isArray(value)) {
1341                            value = {
1342                                deps: value
1343                            };
1344                        }
1345                        if ((value.exports || value.init) && !value.exportsFn) {
1346                            value.exportsFn = context.makeShimExports(value);
1347                        }
1348                        shim[id] = value;
1349                    });
1350                    config.shim = shim;
1351                }
1352
1353                //Adjust packages if necessary.
1354                if (cfg.packages) {
1355                    each(cfg.packages, function (pkgObj) {
1356                        var location, name;
1357
1358                        pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj;
1359
1360                        name = pkgObj.name;
1361                        location = pkgObj.location;
1362                        if (location) {
1363                            config.paths[name] = pkgObj.location;
1364                        }
1365
1366                        //Save pointer to main module ID for pkg name.
1367                        //Remove leading dot in main, so main paths are normalized,
1368                        //and remove any trailing .js, since different package
1369                        //envs have different conventions: some use a module name,
1370                        //some use a file name.
1371                        config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main')
1372                                     .replace(currDirRegExp, '')
1373                                     .replace(jsSuffixRegExp, '');
1374                    });
1375                }
1376
1377                //If there are any "waiting to execute" modules in the registry,
1378                //update the maps for them, since their info, like URLs to load,
1379                //may have changed.
1380                eachProp(registry, function (mod, id) {
1381                    //If module already has init called, since it is too
1382                    //late to modify them, and ignore unnormalized ones
1383                    //since they are transient.
1384                    if (!mod.inited && !mod.map.unnormalized) {
1385                        mod.map = makeModuleMap(id, null, true);
1386                    }
1387                });
1388
1389                //If a deps array or a config callback is specified, then call
1390                //require with those args. This is useful when require is defined as a
1391                //config object before require.js is loaded.
1392                if (cfg.deps || cfg.callback) {
1393                    context.require(cfg.deps || [], cfg.callback);
1394                }
1395            },
1396
1397            makeShimExports: function (value) {
1398                function fn() {
1399                    var ret;
1400                    if (value.init) {
1401                        ret = value.init.apply(global, arguments);
1402                    }
1403                    return ret || (value.exports && getGlobal(value.exports));
1404                }
1405                return fn;
1406            },
1407
1408            makeRequire: function (relMap, options) {
1409                options = options || {};
1410
1411                function localRequire(deps, callback, errback) {
1412                    var id, map, requireMod;
1413
1414                    if (options.enableBuildCallback && callback && isFunction(callback)) {
1415                        callback.__requireJsBuild = true;
1416                    }
1417
1418                    if (typeof deps === 'string') {
1419                        if (isFunction(callback)) {
1420                            //Invalid call
1421                            return onError(makeError('requireargs', 'Invalid require call'), errback);
1422                        }
1423
1424                        //If require|exports|module are requested, get the
1425                        //value for them from the special handlers. Caveat:
1426                        //this only works while module is being defined.
1427                        if (relMap && hasProp(handlers, deps)) {
1428                            return handlers[deps](registry[relMap.id]);
1429                        }
1430
1431                        //Synchronous access to one module. If require.get is
1432                        //available (as in the Node adapter), prefer that.
1433                        if (req.get) {
1434                            return req.get(context, deps, relMap, localRequire);
1435                        }
1436
1437                        //Normalize module name, if it contains . or ..
1438                        map = makeModuleMap(deps, relMap, false, true);
1439                        id = map.id;
1440
1441                        if (!hasProp(defined, id)) {
1442                            return onError(makeError('notloaded', 'Module name "' +
1443                                        id +
1444                                        '" has not been loaded yet for context: ' +
1445                                        contextName +
1446                                        (relMap ? '' : '. Use require([])')));
1447                        }
1448                        return defined[id];
1449                    }
1450
1451                    //Grab defines waiting in the global queue.
1452                    intakeDefines();
1453
1454                    //Mark all the dependencies as needing to be loaded.
1455                    context.nextTick(function () {
1456                        //Some defines could have been added since the
1457                        //require call, collect them.
1458                        intakeDefines();
1459
1460                        requireMod = getModule(makeModuleMap(null, relMap));
1461
1462                        //Store if map config should be applied to this require
1463                        //call for dependencies.
1464                        requireMod.skipMap = options.skipMap;
1465
1466                        requireMod.init(deps, callback, errback, {
1467                            enabled: true
1468                        });
1469
1470                        checkLoaded();
1471                    });
1472
1473                    return localRequire;
1474                }
1475
1476                mixin(localRequire, {
1477                    isBrowser: isBrowser,
1478
1479                    /**
1480                     * Converts a module name + .extension into an URL path.
1481                     * *Requires* the use of a module name. It does not support using
1482                     * plain URLs like nameToUrl.
1483                     */
1484                    toUrl: function (moduleNamePlusExt) {
1485                        var ext,
1486                            index = moduleNamePlusExt.lastIndexOf('.'),
1487                            segment = moduleNamePlusExt.split('/')[0],
1488                            isRelative = segment === '.' || segment === '..';
1489
1490                        //Have a file extension alias, and it is not the
1491                        //dots from a relative path.
1492                        if (index !== -1 && (!isRelative || index > 1)) {
1493                            ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);
1494                            moduleNamePlusExt = moduleNamePlusExt.substring(0, index);
1495                        }
1496
1497                        return context.nameToUrl(normalize(moduleNamePlusExt,
1498                                                relMap && relMap.id, true), ext,  true);
1499                    },
1500
1501                    defined: function (id) {
1502                        return hasProp(defined, makeModuleMap(id, relMap, false, true).id);
1503                    },
1504
1505                    specified: function (id) {
1506                        id = makeModuleMap(id, relMap, false, true).id;
1507                        return hasProp(defined, id) || hasProp(registry, id);
1508                    }
1509                });
1510
1511                //Only allow undef on top level require calls
1512                if (!relMap) {
1513                    localRequire.undef = function (id) {
1514                        //Bind any waiting define() calls to this context,
1515                        //fix for #408
1516                        takeGlobalQueue();
1517
1518                        var map = makeModuleMap(id, relMap, true),
1519                            mod = getOwn(registry, id);
1520
1521                        mod.undefed = true;
1522                        removeScript(id);
1523
1524                        delete defined[id];
1525                        delete urlFetched[map.url];
1526                        delete undefEvents[id];
1527
1528                        //Clean queued defines too. Go backwards
1529                        //in array so that the splices do not
1530                        //mess up the iteration.
1531                        eachReverse(defQueue, function(args, i) {
1532                            if (args[0] === id) {
1533                                defQueue.splice(i, 1);
1534                            }
1535                        });
1536                        delete context.defQueueMap[id];
1537
1538                        if (mod) {
1539                            //Hold on to listeners in case the
1540                            //module will be attempted to be reloaded
1541                            //using a different config.
1542                            if (mod.events.defined) {
1543                                undefEvents[id] = mod.events;
1544                            }
1545
1546                            cleanRegistry(id);
1547                        }
1548                    };
1549                }
1550
1551                return localRequire;
1552            },
1553
1554            /**
1555             * Called to enable a module if it is still in the registry
1556             * awaiting enablement. A second arg, parent, the parent module,
1557             * is passed in for context, when this method is overridden by
1558             * the optimizer. Not shown here to keep code compact.
1559             */
1560            enable: function (depMap) {
1561                var mod = getOwn(registry, depMap.id);
1562                if (mod) {
1563                    getModule(depMap).enable();
1564                }
1565            },
1566
1567            /**
1568             * Internal method used by environment adapters to complete a load event.
1569             * A load event could be a script load or just a load pass from a synchronous
1570             * load call.
1571             * @param {String} moduleName the name of the module to potentially complete.
1572             */
1573            completeLoad: function (moduleName) {
1574                var found, args, mod,
1575                    shim = getOwn(config.shim, moduleName) || {},
1576                    shExports = shim.exports;
1577
1578                takeGlobalQueue();
1579
1580                while (defQueue.length) {
1581                    args = defQueue.shift();
1582                    if (args[0] === null) {
1583                        args[0] = moduleName;
1584                        //If already found an anonymous module and bound it
1585                        //to this name, then this is some other anon module
1586                        //waiting for its completeLoad to fire.
1587                        if (found) {
1588                            break;
1589                        }
1590                        found = true;
1591                    } else if (args[0] === moduleName) {
1592                        //Found matching define call for this script!
1593                        found = true;
1594                    }
1595
1596                    callGetModule(args);
1597                }
1598                context.defQueueMap = {};
1599
1600                //Do this after the cycle of callGetModule in case the result
1601                //of those calls/init calls changes the registry.
1602                mod = getOwn(registry, moduleName);
1603
1604                if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) {
1605                    if (config.enforceDefine && (!shExports || !getGlobal(shExports))) {
1606                        if (hasPathFallback(moduleName)) {
1607                            return;
1608                        } else {
1609                            return onError(makeError('nodefine',
1610                                             'No define call for ' + moduleName,
1611                                             null,
1612                                             [moduleName]));
1613                        }
1614                    } else {
1615                        //A script that does not call define(), so just simulate
1616                        //the call for it.
1617                        callGetModule([moduleName, (shim.deps || []), shim.exportsFn]);
1618                    }
1619                }
1620
1621                checkLoaded();
1622            },
1623
1624            /**
1625             * Converts a module name to a file path. Supports cases where
1626             * moduleName may actually be just an URL.
1627             * Note that it **does not** call normalize on the moduleName,
1628             * it is assumed to have already been normalized. This is an
1629             * internal API, not a public one. Use toUrl for the public API.
1630             */
1631            nameToUrl: function (moduleName, ext, skipExt) {
1632                var paths, syms, i, parentModule, url,
1633                    parentPath, bundleId,
1634                    pkgMain = getOwn(config.pkgs, moduleName);
1635
1636                if (pkgMain) {
1637                    moduleName = pkgMain;
1638                }
1639
1640                bundleId = getOwn(bundlesMap, moduleName);
1641
1642                if (bundleId) {
1643                    return context.nameToUrl(bundleId, ext, skipExt);
1644                }
1645
1646                //If a colon is in the URL, it indicates a protocol is used and it is just
1647                //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?)
1648                //or ends with .js, then assume the user meant to use an url and not a module id.
1649                //The slash is important for protocol-less URLs as well as full paths.
1650                if (req.jsExtRegExp.test(moduleName)) {
1651                    //Just a plain path, not module name lookup, so just return it.
1652                    //Add extension if it is included. This is a bit wonky, only non-.js things pass
1653                    //an extension, this method probably needs to be reworked.
1654                    url = moduleName + (ext || '');
1655                } else {
1656                    //A module that needs to be converted to a path.
1657                    paths = config.paths;
1658
1659                    syms = moduleName.split('/');
1660                    //For each module name segment, see if there is a path
1661                    //registered for it. Start with most specific name
1662                    //and work up from it.
1663                    for (i = syms.length; i > 0; i -= 1) {
1664                        parentModule = syms.slice(0, i).join('/');
1665
1666                        parentPath = getOwn(paths, parentModule);
1667                        if (parentPath) {
1668                            //If an array, it means there are a few choices,
1669                            //Choose the one that is desired
1670                            if (isArray(parentPath)) {
1671                                parentPath = parentPath[0];
1672                            }
1673                            syms.splice(0, i, parentPath);
1674                            break;
1675                        }
1676                    }
1677
1678                    //Join the path parts together, then figure out if baseUrl is needed.
1679                    url = syms.join('/');
1680                    url += (ext || (/^data\:|^blob\:|\?/.test(url) || skipExt ? '' : '.js'));
1681                    url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url;
1682                }
1683
1684                return config.urlArgs && !/^blob\:/.test(url) ?
1685                       url + config.urlArgs(moduleName, url) : url;
1686            },
1687
1688            //Delegates to req.load. Broken out as a separate function to
1689            //allow overriding in the optimizer.
1690            load: function (id, url) {
1691                req.load(context, id, url);
1692            },
1693
1694            /**
1695             * Executes a module callback function. Broken out as a separate function
1696             * solely to allow the build system to sequence the files in the built
1697             * layer in the right sequence.
1698             *
1699             * @private
1700             */
1701            execCb: function (name, callback, args, exports) {
1702                return callback.apply(exports, args);
1703            },
1704
1705            /**
1706             * callback for script loads, used to check status of loading.
1707             *
1708             * @param {Event} evt the event from the browser for the script
1709             * that was loaded.
1710             */
1711            onScriptLoad: function (evt) {
1712                //Using currentTarget instead of target for Firefox 2.0's sake. Not
1713                //all old browsers will be supported, but this one was easy enough
1714                //to support and still makes sense.
1715                if (evt.type === 'load' ||
1716                        (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) {
1717                    //Reset interactive script so a script node is not held onto for
1718                    //to long.
1719                    interactiveScript = null;
1720
1721                    //Pull out the name of the module and the context.
1722                    var data = getScriptData(evt);
1723                    context.completeLoad(data.id);
1724                }
1725            },
1726
1727            /**
1728             * Callback for script errors.
1729             */
1730            onScriptError: function (evt) {
1731                var data = getScriptData(evt);
1732                if (!hasPathFallback(data.id)) {
1733                    var parents = [];
1734                    eachProp(registry, function(value, key) {
1735                        if (key.indexOf('_@r') !== 0) {
1736                            each(value.depMaps, function(depMap) {
1737                                if (depMap.id === data.id) {
1738                                    parents.push(key);
1739                                    return true;
1740                                }
1741                            });
1742                        }
1743                    });
1744                    return onError(makeError('scripterror', 'Script error for "' + data.id +
1745                                             (parents.length ?
1746                                             '", needed by: ' + parents.join(', ') :
1747                                             '"'), evt, [data.id]));
1748                }
1749            }
1750        };
1751
1752        context.require = context.makeRequire();
1753        return context;
1754    }
1755
1756    /**
1757     * Main entry point.
1758     *
1759     * If the only argument to require is a string, then the module that
1760     * is represented by that string is fetched for the appropriate context.
1761     *
1762     * If the first argument is an array, then it will be treated as an array
1763     * of dependency string names to fetch. An optional function callback can
1764     * be specified to execute when all of those dependencies are available.
1765     *
1766     * Make a local req variable to help Caja compliance (it assumes things
1767     * on a require that are not standardized), and to give a short
1768     * name for minification/local scope use.
1769     */
1770    req = requirejs = function (deps, callback, errback, optional) {
1771
1772        //Find the right context, use default
1773        var context, config,
1774            contextName = defContextName;
1775
1776        // Determine if have config object in the call.
1777        if (!isArray(deps) && typeof deps !== 'string') {
1778            // deps is a config object
1779            config = deps;
1780            if (isArray(callback)) {
1781                // Adjust args if there are dependencies
1782                deps = callback;
1783                callback = errback;
1784                errback = optional;
1785            } else {
1786                deps = [];
1787            }
1788        }
1789
1790        if (config && config.context) {
1791            contextName = config.context;
1792        }
1793
1794        context = getOwn(contexts, contextName);
1795        if (!context) {
1796            context = contexts[contextName] = req.s.newContext(contextName);
1797        }
1798
1799        if (config) {
1800            context.configure(config);
1801        }
1802
1803        return context.require(deps, callback, errback);
1804    };
1805
1806    /**
1807     * Support require.config() to make it easier to cooperate with other
1808     * AMD loaders on globally agreed names.
1809     */
1810    req.config = function (config) {
1811        return req(config);
1812    };
1813
1814    /**
1815     * Execute something after the current tick
1816     * of the event loop. Override for other envs
1817     * that have a better solution than setTimeout.
1818     * @param  {Function} fn function to execute later.
1819     */
1820    req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) {
1821        setTimeout(fn, 4);
1822    } : function (fn) { fn(); };
1823
1824    /**
1825     * Export require as a global, but only if it does not already exist.
1826     */
1827    if (!require) {
1828        require = req;
1829    }
1830
1831    req.version = version;
1832
1833    //Used to filter out dependencies that are already paths.
1834    req.jsExtRegExp = /^\/|:|\?|\.js$/;
1835    req.isBrowser = isBrowser;
1836    s = req.s = {
1837        contexts: contexts,
1838        newContext: newContext
1839    };
1840
1841    //Create default context.
1842    req({});
1843
1844    //Exports some context-sensitive methods on global require.
1845    each([
1846        'toUrl',
1847        'undef',
1848        'defined',
1849        'specified'
1850    ], function (prop) {
1851        //Reference from contexts instead of early binding to default context,
1852        //so that during builds, the latest instance of the default context
1853        //with its config gets used.
1854        req[prop] = function () {
1855            var ctx = contexts[defContextName];
1856            return ctx.require[prop].apply(ctx, arguments);
1857        };
1858    });
1859
1860    if (isBrowser) {
1861        head = s.head = document.getElementsByTagName('head')[0];
1862        //If BASE tag is in play, using appendChild is a problem for IE6.
1863        //When that browser dies, this can be removed. Details in this jQuery bug:
1864        //http://dev.jquery.com/ticket/2709
1865        baseElement = document.getElementsByTagName('base')[0];
1866        if (baseElement) {
1867            head = s.head = baseElement.parentNode;
1868        }
1869    }
1870
1871    /**
1872     * Any errors that require explicitly generates will be passed to this
1873     * function. Intercept/override it if you want custom error handling.
1874     * @param {Error} err the error object.
1875     */
1876    req.onError = defaultOnError;
1877
1878    /**
1879     * Creates the node for the load command. Only used in browser envs.
1880     */
1881    req.createNode = function (config, moduleName, url) {
1882        var node = config.xhtml ?
1883                document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') :
1884                document.createElement('script');
1885        node.type = config.scriptType || 'text/javascript';
1886        node.charset = 'utf-8';
1887        node.async = true;
1888        return node;
1889    };
1890
1891    /**
1892     * Does the request to load a module for the browser case.
1893     * Make this a separate function to allow other environments
1894     * to override it.
1895     *
1896     * @param {Object} context the require context to find state.
1897     * @param {String} moduleName the name of the module.
1898     * @param {Object} url the URL to the module.
1899     */
1900    req.load = function (context, moduleName, url) {
1901        var config = (context && context.config) || {},
1902            node;
1903        if (isBrowser) {
1904            //In the browser so use a script tag
1905            node = req.createNode(config, moduleName, url);
1906
1907            node.setAttribute('data-requirecontext', context.contextName);
1908            node.setAttribute('data-requiremodule', moduleName);
1909
1910            //Set up load listener. Test attachEvent first because IE9 has
1911            //a subtle issue in its addEventListener and script onload firings
1912            //that do not match the behavior of all other browsers with
1913            //addEventListener support, which fire the onload event for a
1914            //script right after the script execution. See:
1915            //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution
1916            //UNFORTUNATELY Opera implements attachEvent but does not follow the script
1917            //script execution mode.
1918            if (node.attachEvent &&
1919                    //Check if node.attachEvent is artificially added by custom script or
1920                    //natively supported by browser
1921                    //read https://github.com/requirejs/requirejs/issues/187
1922                    //if we can NOT find [native code] then it must NOT natively supported.
1923                    //in IE8, node.attachEvent does not have toString()
1924                    //Note the test for "[native code" with no closing brace, see:
1925                    //https://github.com/requirejs/requirejs/issues/273
1926                    !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) &&
1927                    !isOpera) {
1928                //Probably IE. IE (at least 6-8) do not fire
1929                //script onload right after executing the script, so
1930                //we cannot tie the anonymous define call to a name.
1931                //However, IE reports the script as being in 'interactive'
1932                //readyState at the time of the define call.
1933                useInteractive = true;
1934
1935                node.attachEvent('onreadystatechange', context.onScriptLoad);
1936                //It would be great to add an error handler here to catch
1937                //404s in IE9+. However, onreadystatechange will fire before
1938                //the error handler, so that does not help. If addEventListener
1939                //is used, then IE will fire error before load, but we cannot
1940                //use that pathway given the connect.microsoft.com issue
1941                //mentioned above about not doing the 'script execute,
1942                //then fire the script load event listener before execute
1943                //next script' that other browsers do.
1944                //Best hope: IE10 fixes the issues,
1945                //and then destroys all installs of IE 6-9.
1946                //node.attachEvent('onerror', context.onScriptError);
1947            } else {
1948                node.addEventListener('load', context.onScriptLoad, false);
1949                node.addEventListener('error', context.onScriptError, false);
1950            }
1951            node.src = url;
1952
1953            //Calling onNodeCreated after all properties on the node have been
1954            //set, but before it is placed in the DOM.
1955            if (config.onNodeCreated) {
1956                config.onNodeCreated(node, config, moduleName, url);
1957            }
1958
1959            //For some cache cases in IE 6-8, the script executes before the end
1960            //of the appendChild execution, so to tie an anonymous define
1961            //call to the module name (which is stored on the node), hold on
1962            //to a reference to this node, but clear after the DOM insertion.
1963            currentlyAddingScript = node;
1964            if (baseElement) {
1965                head.insertBefore(node, baseElement);
1966            } else {
1967                head.appendChild(node);
1968            }
1969            currentlyAddingScript = null;
1970
1971            return node;
1972        } else if (isWebWorker) {
1973            try {
1974                //In a web worker, use importScripts. This is not a very
1975                //efficient use of importScripts, importScripts will block until
1976                //its script is downloaded and evaluated. However, if web workers
1977                //are in play, the expectation is that a build has been done so
1978                //that only one script needs to be loaded anyway. This may need
1979                //to be reevaluated if other use cases become common.
1980
1981                // Post a task to the event loop to work around a bug in WebKit
1982                // where the worker gets garbage-collected after calling
1983                // importScripts(): https://webkit.org/b/153317
1984                setTimeout(function() {}, 0);
1985                importScripts(url);
1986
1987                //Account for anonymous modules
1988                context.completeLoad(moduleName);
1989            } catch (e) {
1990                context.onError(makeError('importscripts',
1991                                'importScripts failed for ' +
1992                                    moduleName + ' at ' + url,
1993                                e,
1994                                [moduleName]));
1995            }
1996        }
1997    };
1998
1999    function getInteractiveScript() {
2000        if (interactiveScript && interactiveScript.readyState === 'interactive') {
2001            return interactiveScript;
2002        }
2003
2004        eachReverse(scripts(), function (script) {
2005            if (script.readyState === 'interactive') {
2006                return (interactiveScript = script);
2007            }
2008        });
2009        return interactiveScript;
2010    }
2011
2012    //Look for a data-main script attribute, which could also adjust the baseUrl.
2013    if (isBrowser && !cfg.skipDataMain) {
2014        //Figure out baseUrl. Get it from the script tag with require.js in it.
2015        eachReverse(scripts(), function (script) {
2016            //Set the 'head' where we can append children by
2017            //using the script's parent.
2018            if (!head) {
2019                head = script.parentNode;
2020            }
2021
2022            //Look for a data-main attribute to set main script for the page
2023            //to load. If it is there, the path to data main becomes the
2024            //baseUrl, if it is not already set.
2025            dataMain = script.getAttribute('data-main');
2026            if (dataMain) {
2027                //Preserve dataMain in case it is a path (i.e. contains '?')
2028                mainScript = dataMain;
2029
2030                //Set final baseUrl if there is not already an explicit one,
2031                //but only do so if the data-main value is not a loader plugin
2032                //module ID.
2033                if (!cfg.baseUrl && mainScript.indexOf('!') === -1) {
2034                    //Pull off the directory of data-main for use as the
2035                    //baseUrl.
2036                    src = mainScript.split('/');
2037                    mainScript = src.pop();
2038                    subPath = src.length ? src.join('/')  + '/' : './';
2039
2040                    cfg.baseUrl = subPath;
2041                }
2042
2043                //Strip off any trailing .js since mainScript is now
2044                //like a module name.
2045                mainScript = mainScript.replace(jsSuffixRegExp, '');
2046
2047                //If mainScript is still a path, fall back to dataMain
2048                if (req.jsExtRegExp.test(mainScript)) {
2049                    mainScript = dataMain;
2050                }
2051
2052                //Put the data-main script in the files to load.
2053                cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript];
2054
2055                return true;
2056            }
2057        });
2058    }
2059
2060    /**
2061     * The function that handles definitions of modules. Differs from
2062     * require() in that a string for the module should be the first argument,
2063     * and the function to execute after dependencies are loaded should
2064     * return a value to define the module corresponding to the first argument's
2065     * name.
2066     */
2067    define = function (name, deps, callback) {
2068        var node, context;
2069
2070        //Allow for anonymous modules
2071        if (typeof name !== 'string') {
2072            //Adjust args appropriately
2073            callback = deps;
2074            deps = name;
2075            name = null;
2076        }
2077
2078        //This module may not have dependencies
2079        if (!isArray(deps)) {
2080            callback = deps;
2081            deps = null;
2082        }
2083
2084        //If no name, and callback is a function, then figure out if it a
2085        //CommonJS thing with dependencies.
2086        if (!deps && isFunction(callback)) {
2087            deps = [];
2088            //Remove comments from the callback string,
2089            //look for require calls, and pull them into the dependencies,
2090            //but only if there are function args.
2091            if (callback.length) {
2092                callback
2093                    .toString()
2094                    .replace(commentRegExp, commentReplace)
2095                    .replace(cjsRequireRegExp, function (match, dep) {
2096                        deps.push(dep);
2097                    });
2098
2099                //May be a CommonJS thing even without require calls, but still
2100                //could use exports, and module. Avoid doing exports and module
2101                //work though if it just needs require.
2102                //REQUIRES the function to expect the CommonJS variables in the
2103                //order listed below.
2104                deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps);
2105            }
2106        }
2107
2108        //If in IE 6-8 and hit an anonymous define() call, do the interactive
2109        //work.
2110        if (useInteractive) {
2111            node = currentlyAddingScript || getInteractiveScript();
2112            if (node) {
2113                if (!name) {
2114                    name = node.getAttribute('data-requiremodule');
2115                }
2116                context = contexts[node.getAttribute('data-requirecontext')];
2117            }
2118        }
2119
2120        //Always save off evaluating the def call until the script onload handler.
2121        //This allows multiple modules to be in a file without prematurely
2122        //tracing dependencies, and allows for anonymous module support,
2123        //where the module name is not known until the script onload event
2124        //occurs. If no context, use the global queue, and get it processed
2125        //in the onscript load callback.
2126        if (context) {
2127            context.defQueue.push([name, deps, callback]);
2128            context.defQueueMap[name] = true;
2129        } else {
2130            globalDefQueue.push([name, deps, callback]);
2131        }
2132    };
2133
2134    define.amd = {
2135        jQuery: true
2136    };
2137
2138    /**
2139     * Executes the text. Normally just uses eval, but can be modified
2140     * to use a better, environment-specific call. Only used for transpiling
2141     * loader plugins, not for plain JS modules.
2142     * @param {String} text the text to execute/evaluate.
2143     */
2144    req.exec = function (text) {
2145        /*jslint evil: true */
2146        return eval(text);
2147    };
2148
2149    //Set up with config info.
2150    req(cfg);
2151}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout)));
2152
2153requirejs.config({
2154    baseUrl: PORTAL_URL,
2155    paths: {
2156    "mockup-patterns-datatables": "++resource++mockup/datatables/pattern", 
2157    "collective-behavior-banner": "++resource++collective.behavior.banner/responsiveslides.min", 
2158    "datatables.net-fixedcolumns": "++plone++static/components/datatables.net-fixedcolumns/js/dataTables.fixedColumns.min", 
2159    "less": "++plone++static/components/less/dist/less", 
2160    "pat-htmlparser": "++plone++patternslib/components/patternslib/src/lib/htmlparser", 
2161    "mockup-patterns-navigationmarker": "++resource++mockup/navigationmarker/pattern", 
2162    "mockup-patterns-formautofocus": "++resource++mockup/formautofocus/pattern", 
2163    "datatables.net-keytable": "++plone++static/components/datatables.net-keytable/js/dataTables.keyTable.min", 
2164    "mockup-patterns-tinymce": "++resource++mockup/tinymce/pattern", 
2165    "mockup-router": "++resource++mockupjs/router", 
2166    "mockup-patterns-relateditems-url": "++resource++mockup/relateditems", 
2167    "jquery.event.drop": "++resource++mockuplib/jquery.event.drop", 
2168    "pat-auto-suggest": "++plone++patternslib/components/patternslib/src/pat/auto-suggest/auto-suggest", 
2169    "tinymce-autosave": "++plone++static/components/tinymce-builded/js/tinymce/plugins/autosave/plugin", 
2170    "tinymce-charmap": "++plone++static/components/tinymce-builded/js/tinymce/plugins/charmap/plugin", 
2171    "showdown-table": "++plone++patternslib/components/showdown/compressed/extensions/table.min", 
2172    "moment-timezone-data": "++plone++patternslib/components/patternslib/src/pat/calendar/moment-timezone-with-data-2010-2020", 
2173    "resource-slwf-website-js-jquery-mousewheel-js": "++resource++slwf.website/js/jquery.mousewheel", 
2174    "pat-ajax": "++plone++patternslib/components/patternslib/src/pat/ajax/ajax", 
2175    "pat-switch": "++plone++patternslib/components/patternslib/src/pat/switch/switch", 
2176    "z3cform_datagridfield_js": "++resource++collective.z3cform.datagridfield/datagridfield", 
2177    "plone-app-event": "++plone++plone.app.event/event", 
2178    "tinymce-save": "++plone++static/components/tinymce-builded/js/tinymce/plugins/save/plugin", 
2179    "tinymce-fullscreen": "++plone++static/components/tinymce-builded/js/tinymce/plugins/fullscreen/plugin", 
2180    "tinymce-noneditable": "++plone++static/components/tinymce-builded/js/tinymce/plugins/noneditable/plugin", 
2181    "plone-app-discussion": "++plone++plone.app.discussion.javascripts/comments", 
2182    "datatables.net-buttons-colvis": "++plone++static/components/datatables.net-buttons/js/buttons.colVis.min", 
2183    "ace-mode-javascript": "++plone++static/components/ace-builds/src/mode-javascript", 
2184    "pat-expandable": "++plone++patternslib/components/patternslib/src/pat/expandable-tree/expandable-tree", 
2185    "text": "++plone++static/components/requirejs-text/text", 
2186    "pat-legend": "++plone++patternslib/components/patternslib/src/pat/legend/legend", 
2187    "pat-sticky": "++plone++patternslib/components/patternslib/src/pat/sticky/sticky", 
2188    "get-size": "++plone++patternslib/components/get-size/get-size", 
2189    "bundle-geotransform": "++plone++geotransform/bundle", 
2190    "mockup-patterns-tree": "++resource++mockup/tree/pattern", 
2191    "tinymce-pagebreak": "++plone++static/components/tinymce-builded/js/tinymce/plugins/pagebreak/plugin", 
2192    "jqtree-contextmenu": "++plone++static/components/cs-jqtree-contextmenu/src/jqTreeContextMenu", 
2193    "leaflet-geosearch-google": "++plone++patternslib/components/L.GeoSearch/src/js/l.geosearch.provider.google", 
2194    "pat-equaliser": "++plone++patternslib/components/patternslib/src/pat/equaliser/equaliser", 
2195    "jqtree": "++plone++static/components/jqtree/tree.jquery", 
2196    "datatables.net": "++plone++static/components/datatables.net/js/jquery.dataTables", 
2197    "pat-image-crop": "++plone++patternslib/components/patternslib/src/pat/image-crop/image-crop", 
2198    "jquery_base64": "++plone++geotransform/jquery.base64.min", 
2199    "pat-placeholder": "++plone++patternslib/components/patternslib/src/pat/placeholder/placeholder", 
2200    "pat-leaflet": "++plone++patternslib/components/pat-leaflet/src/pat-leaflet", 
2201    "mockup-i18n": "++resource++mockupjs/i18n", 
2202    "pat-modal": "++plone++patternslib/components/patternslib/src/pat/modal/modal", 
2203    "datatables.net-colreorder": "++plone++static/components/datatables.net-colreorder/js/dataTables.colReorder.min", 
2204    "desandro-matches-selector": "++plone++patternslib/components/desandro-matches-selector/matches-selector", 
2205    "pat-store": "++plone++patternslib/components/patternslib/src/core/store", 
2206    "pat-logger": "++plone++static/components/patternslib/src/core/logger", 
2207    "ace-mode-text": "++plone++static/components/ace-builds/src/mode-text", 
2208    "backbone.paginator": "++plone++static/components/backbone.paginator/lib/backbone.paginator", 
2209    "datatables.net-responsive-bs": "++plone++static/components/datatables.net-responsive-bs/js/responsive.bootstrap.min", 
2210    "pat-checked-flag": "++plone++patternslib/components/patternslib/src/pat/checked-flag/checked-flag", 
2211    "tinymce-textcolor": "++plone++static/components/tinymce-builded/js/tinymce/plugins/textcolor/plugin", 
2212    "mockup-patterns-relateditems-upload": "++resource++mockup/relateditems/upload", 
2213    "pat-masonry": "++plone++patternslib/components/patternslib/src/pat/masonry/masonry", 
2214    "tinymce-compat3x": "++plone++static/components/tinymce-builded/js/tinymce/plugins/compat3x/plugin", 
2215    "pat-jquery-ext": "++plone++static/components/patternslib/src/core/jquery-ext", 
2216    "datatables.net-buttons": "++plone++static/components/datatables.net-buttons/js/dataTables.buttons.min", 
2217    "mockup-patterns-thememapper": "++resource++mockup/thememapper/pattern", 
2218    "datatables.net-responsive": "++plone++static/components/datatables.net-responsive/js/dataTables.responsive.min", 
2219    "tinymce-contextmenu": "++plone++static/components/tinymce-builded/js/tinymce/plugins/contextmenu/plugin", 
2220    "mockup-patterns-filemanager-url": "++resource++mockup/filemanager", 
2221    "leaflet-minimap": "++plone++patternslib/components/Leaflet-MiniMap/dist/Control.MiniMap.min", 
2222    "mockup-patterns-recurrence": "++resource++mockup/recurrence/pattern", 
2223    "bootstrap-transition": "++plone++static/components/bootstrap/js/transition", 
2224    "pat-input-change-events": "++plone++patternslib/components/patternslib/src/lib/input-change-events", 
2225    "picker.time": "++plone++static/components/pickadate/lib/picker.time", 
2226    "modernizr": "++plone++patternslib/components/modernizr/modernizr", 
2227    "mockup-patterns-tinymce-url": "++resource++mockup/tinymce", 
2228    "mockup-patterns-preventdoublesubmit": "++resource++mockup/preventdoublesubmit/pattern", 
2229    "tinymce-visualchars": "++plone++static/components/tinymce-builded/js/tinymce/plugins/visualchars/plugin", 
2230    "tinymce-fullpage": "++plone++static/components/tinymce-builded/js/tinymce/plugins/fullpage/plugin", 
2231    "pat-validation": "++plone++patternslib/components/patternslib/src/pat/validation/validation", 
2232    "datatables.net-fixedheader": "++plone++static/components/datatables.net-fixedheader/js/dataTables.fixedHeader.min", 
2233    "tinymce-anchor": "++plone++static/components/tinymce-builded/js/tinymce/plugins/anchor/plugin", 
2234    "pat-slideshow-builder": "++plone++patternslib/components/patternslib/src/pat/slideshow-builder/slideshow-builder", 
2235    "prefixfree": "++plone++patternslib/components/prefixfree/prefixfree.min", 
2236    "leaflet-locatecontrol": "++plone++patternslib/components/leaflet.locatecontrol/src/L.Control.Locate", 
2237    "datatables.net-bs": "++plone++static/components/datatables.net-bs/js/dataTables.bootstrap", 
2238    "mockup-patterns-backdrop": "++resource++mockup/backdrop/pattern", 
2239    "mockup-patterns-cookietrigger": "++resource++mockup/cookietrigger/pattern", 
2240    "tinymce": "++plone++static/components/tinymce-builded/js/tinymce/tinymce", 
2241    "pat-checklist": "++plone++patternslib/components/patternslib/src/pat/checklist/checklist", 
2242    "resource-slwf-website-js-slick-min-js": "++resource++slwf.website/js/slick.min", 
2243    "mockup-patterns-modal": "++resource++mockup/modal/pattern", 
2244    "jquery.cookie": "++plone++static/components/jquery.cookie/jquery.cookie", 
2245    "pat-markdown": "++plone++patternslib/components/patternslib/src/pat/markdown/markdown", 
2246    "tinymce-wordcount": "++plone++static/components/tinymce-builded/js/tinymce/plugins/wordcount/plugin", 
2247    "mockup-utils": "++resource++mockupjs/utils", 
2248    "tinymce-advlist": "++plone++static/components/tinymce-builded/js/tinymce/plugins/advlist/plugin", 
2249    "jcrop": "++plone++patternslib/components/jcrop/js/jquery.Jcrop", 
2250    "pat-focus": "++plone++patternslib/components/patternslib/src/pat/focus/focus", 
2251    "photoswipe-ui": "++plone++patternslib/components/photoswipe/dist/photoswipe-ui-default", 
2252    "pat-compat": "++plone++static/components/patternslib/src/core/compat", 
2253    "jquery.browser": "++plone++static/components/jquery.browser/dist/jquery.browser", 
2254    "tinymce-modern-theme": "++plone++static/components/tinymce-builded/js/tinymce/themes/modern/theme", 
2255    "datatables.net-buttons-print": "++plone++static/components/datatables.net-buttons/js/buttons.print.min", 
2256    "tinymce-paste": "++plone++static/components/tinymce-builded/js/tinymce/plugins/paste/plugin", 
2257    "picker": "++plone++static/components/pickadate/lib/picker", 
2258    "pat-auto-scale": "++plone++patternslib/components/patternslib/src/pat/auto-scale/auto-scale", 
2259    "resource-slwf-website-js-jquery-jscrollpane-min-js": "++resource++slwf.website/js/jquery.jscrollpane.min", 
2260    "resource-plone-app-discussion-javascripts-comments": "++resource++plone.app.discussion.javascripts/comments", 
2261    "photoswipe": "++plone++patternslib/components/photoswipe/dist/photoswipe", 
2262    "bundle-leaflet": "++plone++patternslib/bundle-leaflet", 
2263    "resource-plone-app-jquerytools-dateinput-js": "++plone++static/components/jquery.recurrenceinput.js/lib/jquery.tools.dateinput", 
2264    "mockup-patterns-upload-url": "++resource++mockup/upload", 
2265    "moment-timezone": "++plone++patternslib/components/moment-timezone/moment-timezone", 
2266    "pat-gallery": "++plone++patternslib/components/patternslib/src/pat/gallery/gallery", 
2267    "collectionfilter": "++resource++collective.collectionfilter/collectionfilter", 
2268    "mockup-patterns-querystring": "++resource++mockup/querystring/pattern", 
2269    "pat-gallery-url": "++plone++patternslib/components/patternslib/src/pat/gallery", 
2270    "pikaday": "++plone++patternslib/components/pikaday/pikaday", 
2271    "logging": "++plone++static/components/logging/src/logging", 
2272    "ace": "++plone++static/components/ace-builds/src/ace", 
2273    "pat-inject": "++plone++patternslib/components/patternslib/src/pat/inject/inject", 
2274    "ev-emitter": "++plone++patternslib/components/ev-emitter/ev-emitter", 
2275    "pat-date-picker-url": "++plone++patternslib/components/patternslib/src/pat/date-picker", 
2276    "geotransform": "++plone++geotransform/geoMailDecoder", 
2277    "leaflet-simplemarkers": "++plone++patternslib/components/Leaflet.SimpleMarkers/lib/Control.SimpleMarkers", 
2278    "pat-bumper": "++plone++patternslib/components/patternslib/src/pat/bumper/bumper", 
2279    "mockup-patterns-thememapper-url": "++resource++mockup/thememapper", 
2280    "tinymce-autolink": "++plone++static/components/tinymce-builded/js/tinymce/plugins/autolink/plugin", 
2281    "mockup-patterns-formunloadalert": "++resource++mockup/formunloadalert/pattern", 
2282    "pat-subform": "++plone++patternslib/components/patternslib/src/pat/subform/subform", 
2283    "pat-form-state": "++plone++patternslib/components/patternslib/src/pat/form-state/form-state", 
2284    "mockup-patterns-structure-url": "++resource++mockup/structure", 
2285    "tinymce-autoresize": "++plone++static/components/tinymce-builded/js/tinymce/plugins/autoresize/plugin", 
2286    "pat-slides": "++plone++patternslib/components/patternslib/src/pat/slides/slides", 
2287    "moment-url": "++plone++static/components/moment/locale", 
2288    "resource-kitconcept-dsgvo-dsgvo-js": "++resource++kitconcept.dsgvo/dsgvo", 
2289    "mockup-patterns-structureupdater": "++resource++mockup/structure/pattern-structureupdater", 
2290    "pat-collapsible": "++plone++patternslib/components/patternslib/src/pat/collapsible/collapsible", 
2291    "ace-mode-css": "++plone++static/components/ace-builds/src/mode-css", 
2292    "tinymce-bbcode": "++plone++static/components/tinymce-builded/js/tinymce/plugins/bbcode/plugin", 
2293    "pat-registry": "++plone++static/components/patternslib/src/core/registry", 
2294    "plone": "++resource++plone", 
2295    "resource-plone-app-jquerytools-js": "++plone++static/components/jquery.recurrenceinput.js/lib/jquery.tools.overlay", 
2296    "pat-colour-picker": "++plone++patternslib/components/patternslib/src/pat/colour-picker/colour-picker", 
2297    "mockup-patterns-select2": "++resource++mockup/select2/pattern", 
2298    "mockup-patterns-structure": "++resource++mockup/structure/pattern", 
2299    "leaflet-geosearch-openstreetmap": "++plone++patternslib/components/L.GeoSearch/src/js/l.geosearch.provider.openstreetmap", 
2300    "jquery.placeholder": "++plone++patternslib/components/jquery-placeholder/jquery.placeholder", 
2301    "plone-datatables": "++resource++plone-datatables", 
2302    "datatables.net-buttons-html5": "++plone++static/components/datatables.net-buttons/js/buttons.html5.min", 
2303    "jquery.recurrenceinput": "++plone++static/components/jquery.recurrenceinput.js/src/jquery.recurrenceinput", 
2304    "jquery.form": "++plone++static/components/jquery-form/src/jquery.form", 
2305    "leaflet-geosearch": "++plone++patternslib/components/L.GeoSearch/src/js/l.control.geosearch", 
2306    "pat-utils": "++plone++static/components/patternslib/src/core/utils", 
2307    "mockup-patterns-sortable": "++resource++mockup/sortable/pattern", 
2308    "tinymce-template": "++plone++static/components/tinymce-builded/js/tinymce/plugins/template/plugin", 
2309    "translate": "++resource++mockupjs/i18n-wrapper", 
2310    "bootstrap-dropdown": "++plone++static/components/bootstrap/js/dropdown", 
2311    "mockup-patterns-contentloader": "++resource++mockup/contentloader/pattern", 
2312    "showdown": "++plone++patternslib/components/showdown/compressed/showdown", 
2313    "datatables.net-select": "++plone++static/components/datatables.net-select/js/dataTables.select.min", 
2314    "tinymce-lists": "++plone++static/components/tinymce-builded/js/tinymce/plugins/lists/plugin", 
2315    "bootstrap-alert": "++plone++static/components/bootstrap/js/alert", 
2316    "tinymce-textpattern": "++plone++static/components/tinymce-builded/js/tinymce/plugins/textpattern/plugin", 
2317    "tinymce-emoticons": "++plone++static/components/tinymce-builded/js/tinymce/plugins/emoticons/plugin", 
2318    "slides": "++plone++patternslib/components/slides/src/slides", 
2319    "leaflet-fullscreen": "++plone++patternslib/components/Leaflet.fullscreen/dist/Leaflet.fullscreen", 
2320    "modernizr-csspositionsticky": "++plone++patternslib/components/modernizr/feature-detects/css-positionsticky", 
2321    "plone-logged-in": "++resource++plone-logged-in", 
2322    "masonry": "++plone++patternslib/components/masonry/dist/masonry.pkgd", 
2323    "jquery": "++plone++static/components/jquery/dist/jquery.min", 
2324    "jquery.event.drag": "++resource++mockuplib/jquery.event.drag", 
2325    "leaflet-geosearch-bing": "++plone++patternslib/components/L.GeoSearch/src/js/l.geosearch.provider.bing", 
2326    "tinymce-tabfocus": "++plone++static/components/tinymce-builded/js/tinymce/plugins/tabfocus/plugin", 
2327    "leaflet-awesomemarkers": "++plone++patternslib/components/Leaflet.awesome-markers/dist/leaflet.awesome-markers", 
2328    "pat-remove": "++plone++patternslib/components/patternslib/src/core/remove", 
2329    "collectionfilter-bundle": "++resource++collective.collectionfilter/collectionfilter-bundle", 
2330    "mosaic-url": "++plone++mosaic/js", 
2331    "plone-editor-tools": "++resource++plone-editor-tools", 
2332    "mockup-ui-url": "++resource++mockupjs/ui", 
2333    "tinymce-link": "++plone++static/components/tinymce-builded/js/tinymce/plugins/link/plugin", 
2334    "pat-stacks": "++plone++patternslib/components/patternslib/src/pat/stacks/stacks", 
2335    "outlayer": "++plone++patternslib/components/outlayer/outlayer", 
2336    "leaflet-sleep": "++plone++patternslib/components/Leaflet.Sleep/Leaflet.Sleep", 
2337    "datatables.net-rowreorder": "++plone++static/components/datatables.net-rowreorder/js/dataTables.rowReorder.min", 
2338    "pat-scroll": "++plone++patternslib/components/patternslib/src/pat/scroll/scroll", 
2339    "tinymce-preview": "++plone++static/components/tinymce-builded/js/tinymce/plugins/preview/plugin", 
2340    "tinymce-hr": "++plone++static/components/tinymce-builded/js/tinymce/plugins/hr/plugin", 
2341    "select2": "++plone++static/components/select2/select2", 
2342    "tinymce-media": "++plone++static/components/tinymce-builded/js/tinymce/plugins/media/plugin", 
2343    "mockup-patterns-texteditor": "++resource++mockup/texteditor/pattern", 
2344    "plone-patterns-portletmanager": "++resource++manage-portlets", 
2345    "pat-auto-submit": "++plone++patternslib/components/patternslib/src/pat/auto-submit/auto-submit", 
2346    "tinymce-spellchecker": "++plone++static/components/tinymce-builded/js/tinymce/plugins/spellchecker/plugin", 
2347    "pat-depends_parse": "++plone++patternslib/components/patternslib/src/lib/depends_parse", 
2348    "mockup-patterns-tooltip": "++resource++mockup/tooltip/pattern", 
2349    "plone-base": "++resource++plone-base", 
2350    "spectrum": "++plone++patternslib/components/spectrum/spectrum", 
2351    "pat-selectbox": "++plone++patternslib/components/patternslib/src/pat/selectbox/selectbox", 
2352    "tinymce-image": "++plone++static/components/tinymce-builded/js/tinymce/plugins/image/plugin", 
2353    "mockup-patterns-pickadate": "++resource++mockup/pickadate/pattern", 
2354    "datatables.net-autofill-bs": "++plone++static/components/datatables.net-autofill-bs/js/autoFill.bootstrap", 
2355    "pat-date-picker": "++plone++patternslib/components/patternslib/src/pat/date-picker/date-picker", 
2356    "leaflet-providers": "++plone++patternslib/components/leaflet-providers/leaflet-providers", 
2357    "tinymce-print": "++plone++static/components/tinymce-builded/js/tinymce/plugins/print/plugin", 
2358    "datatables.net-buttons-flash": "++plone++static/components/datatables.net-buttons/js/buttons.flash.min", 
2359    "mockup-patterns-relateditems": "++resource++mockup/relateditems/pattern", 
2360    "ace-theme-monokai": "++plone++static/components/ace-builds/src/theme-monokai", 
2361    "mockup-patterns-toggle": "++resource++mockup/toggle/pattern", 
2362    "tinymce-directionality": "++plone++static/components/tinymce-builded/js/tinymce/plugins/directionality/plugin", 
2363    "mockup-patterns-markspeciallinks": "++resource++mockup/markspeciallinks/pattern", 
2364    "pat-depends": "++plone++patternslib/components/patternslib/src/pat/depends/depends", 
2365    "pat-base": "++plone++static/components/patternslib/src/core/base", 
2366    "plone-patterns-toolbar": "++resource++mockup/toolbar/pattern", 
2367    "pat-zoom": "++plone++patternslib/components/patternslib/src/pat/zoom/zoom", 
2368    "mockup-patterns-inlinevalidation": "++resource++mockup/inlinevalidation/pattern", 
2369    "thememapper": "++plone++static/thememapper", 
2370    "filemanager": "++plone++static/filemanager", 
2371    "pat-clone": "++plone++patternslib/components/patternslib/src/pat/clone/clone", 
2372    "mosaic-base-url": "++plone++mosaic/js", 
2373    "tinymce-visualblocks": "++plone++static/components/tinymce-builded/js/tinymce/plugins/visualblocks/plugin", 
2374    "mockup-patterns-resourceregistry-url": "++resource++mockup/resourceregistry", 
2375    "tinymce-insertdatetime": "++plone++static/components/tinymce-builded/js/tinymce/plugins/insertdatetime/plugin", 
2376    "pat-breadcrumbs": "++plone++patternslib/components/patternslib/src/pat/breadcrumbs/breadcrumbs", 
2377    "mockup-patterns-base": "++resource++mockup/base/pattern", 
2378    "mockup-patterns-livesearch": "++resource++mockup/livesearch/pattern", 
2379    "mockup-patterns-upload": "++resource++mockup/upload/pattern", 
2380    "picker.date": "++plone++static/components/pickadate/lib/picker.date", 
2381    "datatables.net-buttons-bs": "++plone++static/components/datatables.net-buttons-bs/js/buttons.bootstrap.min", 
2382    "tinymce-searchreplace": "++plone++static/components/tinymce-builded/js/tinymce/plugins/searchreplace/plugin", 
2383    "leaflet-geosearch-esri": "++plone++patternslib/components/L.GeoSearch/src/js/l.geosearch.provider.esri", 
2384    "mockup-patterns-autotoc": "++resource++mockup/autotoc/pattern", 
2385    "stickyfill": "++plone++patternslib/components/Stickyfill/dist/stickyfill", 
2386    "tinymce-importcss": "++plone++static/components/tinymce-builded/js/tinymce/plugins/importcss/plugin", 
2387    "leaflet-markercluster": "++plone++patternslib/components/leaflet.markercluster/dist/leaflet.markercluster-src", 
2388    "backbone": "++plone++static/components/backbone/backbone", 
2389    "mockup-patterns-resourceregistry": "++resource++mockup/resourceregistry/pattern", 
2390    "pat-parser": "++plone++patternslib/components/patternslib/src/core/parser", 
2391    "pat-grid": "++plone++patternslib/components/patternslib/src/pat/grid/grid", 
2392    "mockup-patterns-textareamimetypeselector": "++resource++mockup/textareamimetypeselector/pattern", 
2393    "moment": "++plone++static/components/moment/min/moment.min", 
2394    "showdown-github": "++plone++patternslib/components/showdown/compressed/extensions/github.min", 
2395    "tinymce-code": "++plone++static/components/tinymce-builded/js/tinymce/plugins/code/plugin", 
2396    "pat-navigation": "++plone++patternslib/components/patternslib/src/pat/navigation/navigation", 
2397    "validate": "++plone++patternslib/components/validate/validate", 
2398    "mockup-patterns-filemanager": "++resource++mockup/filemanager/pattern", 
2399    "underscore": "++plone++static/components/underscore/underscore", 
2400    "plone-tinymce": "++resource++plone-tinymce", 
2401    "mosaic": "++plone++mosaic/js/mosaic.pattern", 
2402    "tinymce-colorpicker": "++plone++static/components/tinymce-builded/js/tinymce/plugins/colorpicker/plugin", 
2403    "jquery.tmpl": "++plone++static/components/jquery.recurrenceinput.js/lib/jquery.tmpl", 
2404    "tinymce-nonbreaking": "++plone++static/components/tinymce-builded/js/tinymce/plugins/nonbreaking/plugin", 
2405    "datatables.net-autofill": "++plone++static/components/datatables.net-autofill/js/dataTables.autoFill.min", 
2406    "tinymce-legacyoutput": "++plone++static/components/tinymce-builded/js/tinymce/plugins/legacyoutput/plugin", 
2407    "resourceregistry": "++plone++static/resourceregistry", 
2408    "pat-dependshandler": "++plone++patternslib/components/patternslib/src/lib/dependshandler", 
2409    "bootstrap-collapse": "++plone++static/components/bootstrap/js/collapse", 
2410    "pat-menu": "++plone++patternslib/components/patternslib/src/pat/menu/menu", 
2411    "mockup-patterns-moment": "++resource++mockup/moment/pattern", 
2412    "dropzone": "++plone++static/components/dropzone/dist/dropzone-amd-module", 
2413    "leaflet": "++plone++patternslib/components/leaflet/dist/leaflet-src", 
2414    "patterns": "++resource++patterns", 
2415    "layouts-editor": "++plone++mosaic/js/layouts-editor", 
2416    "jquery.anythingslider": "++plone++patternslib/components/AnythingSlider/js/jquery.anythingslider", 
2417    "bootstrap-tooltip": "++plone++static/components/bootstrap/js/tooltip", 
2418    "pat-mockup-parser": "++plone++static/components/patternslib/src/core/mockup-parser", 
2419    "plone-moment": "++resource++plone-moment", 
2420    "datatables.net-scroller": "++plone++static/components/datatables.net-scroller/js/dataTables.scroller.min", 
2421    "pat-forward": "++plone++patternslib/components/patternslib/src/pat/forward/forward", 
2422    "imagesloaded": "++plone++patternslib/components/imagesloaded/imagesloaded.pkgd", 
2423    "tinymce-table": "++plone++static/components/tinymce-builded/js/tinymce/plugins/table/plugin"
2424},
2425    shim: {
2426        "resource-plone-app-jquerytools-dateinput-js": {
2427            deps: ["jquery"]
2428        },
2429        "leaflet-minimap": {
2430            deps: ["leaflet"]
2431        },
2432        "tinymce-autoresize": {
2433            deps: ["tinymce"]
2434        },
2435        "bootstrap-transition": {
2436            exports: "window.jQuery.support.transition",
2437            deps: ["jquery"]
2438        },
2439        "tinymce-save": {
2440            deps: ["tinymce"]
2441        },
2442        "picker.time": {
2443            deps: ["picker"]
2444        },
2445        "spectrum": {
2446            deps: ["jquery"]
2447        },
2448        "tinymce-image": {
2449            deps: ["tinymce"]
2450        },
2451        "tinymce-visualchars": {
2452            deps: ["tinymce"]
2453        },
2454        "tinymce-fullpage": {
2455            deps: ["tinymce"]
2456        },
2457        "tinymce-spellchecker": {
2458            deps: ["tinymce"]
2459        },
2460        "jquery.event.drop": {
2461            exports: "$.drop",
2462            deps: ["jquery"]
2463        },
2464        "tinymce-anchor": {
2465            deps: ["tinymce"]
2466        },
2467        "tinymce-autosave": {
2468            deps: ["tinymce"]
2469        },
2470        "tinymce-contextmenu": {
2471            deps: ["tinymce"]
2472        },
2473        "tinymce-charmap": {
2474            deps: ["tinymce"]
2475        },
2476        "resource-plone-app-jquerytools-js": {
2477            deps: ["jquery"]
2478        },
2479        "tinymce-insertdatetime": {
2480            deps: ["tinymce"]
2481        },
2482        "leaflet-locatecontrol": {
2483            deps: ["leaflet"]
2484        },
2485        "tinymce-wordcount": {
2486            deps: ["tinymce"]
2487        },
2488        "tinymce-directionality": {
2489            deps: ["tinymce"]
2490        },
2491        "tinymce": {
2492            exports: "window.tinyMCE",
2493            init: function () { this.tinyMCE.DOM.events.domLoaded = true; return this.tinyMCE; }
2494        },
2495        "leaflet-geosearch-openstreetmap": {
2496            deps: ["leaflet-geosearch"]
2497        },
2498        "tinymce-legacyoutput": {
2499            deps: ["tinymce"]
2500        },
2501        "jquery.placeholder": {
2502            deps: ["jquery"]
2503        },
2504        "tinymce-template": {
2505            deps: ["tinymce"]
2506        },
2507        "jquery.cookie": {
2508            deps: ["jquery"]
2509        },
2510        "jquery.recurrenceinput": {
2511            deps: ["jquery", "resource-plone-app-jquerytools-js", "resource-plone-app-jquerytools-dateinput-js", "jquery.tmpl"]
2512        },
2513        "tinymce-fullscreen": {
2514            deps: ["tinymce"]
2515        },
2516        "tinymce-noneditable": {
2517            deps: ["tinymce"]
2518        },
2519        "tinymce-visualblocks": {
2520            deps: ["tinymce"]
2521        },
2522        "leaflet-geosearch": {
2523            deps: ["leaflet"]
2524        },
2525        "tinymce-advlist": {
2526            deps: ["tinymce"]
2527        },
2528        "jcrop": {
2529            deps: ["jquery"]
2530        },
2531        "tinymce-searchreplace": {
2532            deps: ["tinymce"]
2533        },
2534        "leaflet-markercluster": {
2535            deps: ["leaflet"]
2536        },
2537        "jquery.browser": {
2538            deps: ["jquery"]
2539        },
2540        "picker.date": {
2541            deps: ["picker"]
2542        },
2543        "tinymce-modern-theme": {
2544            deps: ["tinymce"]
2545        },
2546        "bootstrap-dropdown": {
2547            deps: ["jquery"]
2548        },
2549        "tinymce-preview": {
2550            deps: ["tinymce"]
2551        },
2552        "tinymce-paste": {
2553            deps: ["tinymce"]
2554        },
2555        "leaflet-geosearch-esri": {
2556            deps: ["leaflet-geosearch"]
2557        },
2558        "tinymce-pagebreak": {
2559            deps: ["tinymce"]
2560        },
2561        "tinymce-lists": {
2562            deps: ["tinymce"]
2563        },
2564        "tinymce-importcss": {
2565            deps: ["tinymce"]
2566        },
2567        "leaflet-geosearch-google": {
2568            deps: ["leaflet-geosearch"]
2569        },
2570        "bootstrap-alert": {
2571            deps: ["jquery"]
2572        },
2573        "jqtree": {
2574            deps: ["jquery"]
2575        },
2576        "tinymce-textpattern": {
2577            deps: ["tinymce"]
2578        },
2579        "backbone": {
2580            exports: "window.Backbone",
2581            deps: ["underscore", "jquery"]
2582        },
2583        "jquery.tmpl": {
2584            deps: ["jquery"]
2585        },
2586        "tinymce-emoticons": {
2587            deps: ["tinymce"]
2588        },
2589        "leaflet-fullscreen": {
2590            deps: ["leaflet"]
2591        },
2592        "modernizr-csspositionsticky": {
2593            deps: ["modernizr"]
2594        },
2595        "pat-leaflet": {
2596            deps: ["leaflet"]
2597        },
2598        "tinymce-table": {
2599            deps: ["tinymce"]
2600        },
2601        "underscore": {
2602            exports: "window._"
2603        },
2604        "tinymce-code": {
2605            deps: ["tinymce"]
2606        },
2607        "tinymce-bbcode": {
2608            deps: ["tinymce"]
2609        },
2610        "showdown-table": {
2611            deps: ["showdown"]
2612        },
2613        "tinymce-print": {
2614            deps: ["tinymce"]
2615        },
2616        "tinymce-colorpicker": {
2617            deps: ["tinymce"]
2618        },
2619        "jquery.event.drag": {
2620            deps: ["jquery"]
2621        },
2622        "backbone.paginator": {
2623            exports: "window.Backbone.Paginator",
2624            deps: ["backbone"]
2625        },
2626        "leaflet-geosearch-bing": {
2627            deps: ["leaflet-geosearch"]
2628        },
2629        "tinymce-tabfocus": {
2630            deps: ["tinymce"]
2631        },
2632        "leaflet-awesomemarkers": {
2633            deps: ["leaflet"]
2634        },
2635        "tinymce-textcolor": {
2636            deps: ["tinymce"]
2637        },
2638        "bootstrap-collapse": {
2639            exports: "window.jQuery.fn.collapse.Constructor",
2640            deps: ["jquery"]
2641        },
2642        "geotransform": {
2643            deps: ["jquery_base64"]
2644        },
2645        "leaflet-simplemarkers": {
2646            deps: ["leaflet"]
2647        },
2648        "tinymce-compat3x": {
2649            deps: ["tinymce"]
2650        },
2651        "tinymce-link": {
2652            deps: ["tinymce"]
2653        },
2654        "tinymce-nonbreaking": {
2655            deps: ["tinymce"]
2656        },
2657        "leaflet-sleep": {
2658            deps: ["leaflet"]
2659        },
2660        "bootstrap-tooltip": {
2661            deps: ["jquery"]
2662        },
2663        "showdown-github": {
2664            deps: ["showdown"]
2665        },
2666        "tinymce-hr": {
2667            deps: ["tinymce"]
2668        },
2669        "tinymce-autolink": {
2670            deps: ["tinymce"]
2671        },
2672        "jqtree-contextmenu": {
2673            deps: ["jqtree"]
2674        },
2675        "tinymce-media": {
2676            deps: ["tinymce"]
2677        }
2678    },
2679    optimize: 'uglify',
2680    wrapShim: true
2681});
2682define("collectionfilter",["jquery","pat-base","mockup-patterns-contentloader"],function(n,t,e){return t.extend({name:"collectionfilter",trigger:".pat-collectionfilter",parser:"mockup",contentloader:e,defaults:{collectionUUID:"",collectionURL:"",reloadURL:"",ajaxLoad:!0,contentSelector:"#content-core"},_initmap_cycles:2,_zoomed:!1,init:function(){var t;if(this.$el.unbind("collectionfilter:reload"),this.$el.on("collectionfilter:reload",function(t,e){e.noReloadSearch&&this.$el.hasClass("collectionSearch")||e.noReloadMap&&this.$el.hasClass("collectionMaps")||e.collectionUUID===this.options.collectionUUID&&this.reload(e.targetFilterURL)}.bind(this)),this.$el.hasClass("collectionSearch")&&this.options.ajaxLoad)return n('button[type="submit"]',this.$el).hide(),n("form",this.$el).on("submit",function(t){t.preventDefault()}),void n('input[name="SearchableText"]',this.$el).on("keyup",function(o){clearTimeout(t),0<n(o.target).val().length&&n(o.target).val().length<3||(t=setTimeout(function(){var t=n(o.target).data("url"),e=encodeURIComponent(n(o.target).val());e&&(t+="&"+n(o.target).attr("name")+"="+e),n(this.trigger).trigger("collectionfilter:reload",{collectionUUID:this.options.collectionUUID,targetFilterURL:t,noReloadSearch:!0}),this.reloadCollection(t)}.bind(this),500))}.bind(this));n(".filterContent a",this.$el).on("click",function(t){t.stopPropagation(),t.preventDefault();var e=n(t.target).closest("a").attr("href");n(this.trigger).trigger("collectionfilter:reload",{collectionUUID:this.options.collectionUUID,targetFilterURL:e}),this.reloadCollection(e)}.bind(this)),n(".filterContent input",this.$el).on("change",function(t){var e=n(t.target).data("url");n(this.trigger).trigger("collectionfilter:reload",{collectionUUID:this.options.collectionUUID,targetFilterURL:e}),this.reloadCollection(e)}.bind(this)),n(".filterContent select",this.$el).on("change",function(t){var e=n("option:selected",t.target),o=n(e).data("url");n(this.trigger).trigger("collectionfilter:reload",{collectionUUID:this.options.collectionUUID,targetFilterURL:o}),this.reloadCollection(o)}.bind(this)),this.$el.hasClass("collectionMaps")&&n(".pat-leaflet",this.$el).on("leaflet.moveend leaflet.zoomend",function(t,e){if("false"!==n(t.target).data("narrow-down-result").toLowerCase())if(0<this._initmap_cycles)this._initmap_cycles-=1;else{var o=e.original_event;if("moveend"===o.type&&this._zoomed)this._zoomed=!1;else{"zoomend"===o.type&&(this._zoomed=!0);var i=n(t.target).data("url"),l=o.target.getBounds();i+="&latitude.query:list:record="+l._northEast.lat+"&latitude.query:list:record="+l._southWest.lat+"&latitude.range:record=minmax",i+="&longitude.query:list:record="+l._northEast.lng+"&longitude.query:list:record="+l._southWest.lng+"&longitude.range:record=minmax",n(this.trigger).trigger("collectionfilter:reload",{collectionUUID:this.options.collectionUUID,targetFilterURL:i,noReloadMap:!0}),this.reloadCollection(i)}}}.bind(this))},reload:function(t){if(this.options.ajaxLoad){var e=this.options.reloadURL,o=e.split("?"),i=o[1]||[],l=t.split("?")[1]||[],n=[].concat(i,l).join("&");e=[].concat(o[0],n).join("?");new this.contentloader(this.$el,{url:e,target:this.$el,content:"aside",trigger:"immediate"})}else window.location.href=t},reloadCollection:function(t){if(this.options.ajaxLoad){new this.contentloader(n(this.options.contentSelector).parent(),{url:t+"&ajax_load=1",target:this.options.contentSelector,content:this.options.contentSelector,trigger:"immediate"});re=/@@.*\//,t=t.replace(re,""),window.history.replaceState({path:t},"",t)}}})}),require(["jquery","pat-registry","collectionfilter"],function(t,e){}),define("/Volumes/WORKSPACE2/sozmap/src/collective.collectionfilter/src/collective/collectionfilter/resources/collectionfilter-bundle.js",function(){});
2683//# sourceMappingURL=collectionfilter-bundle-compiled.js.map
2684/*global window, console*/
2685
2686require([
2687    'jquery',
2688    'pat-registry',
2689  ], function ($, patRegistry) {
2690
2691      // No globals, dude!
2692      "use strict";
2693
2694      // Local singleton object containing our functions
2695      var dataGridField2Functions = {};
2696
2697      dataGridField2Functions.getInputOrSelect = function(node) {
2698          /* Get the (first) input or select form element under the given node */
2699          var inputs = node.getElementsByTagName("input");
2700          if(inputs.length > 0) {
2701              return inputs[0];
2702          }
2703          var selects = node.getElementsByTagName("select");
2704          if(selects.length > 0) {
2705              return selects[0];
2706          }
2707          return null;
2708      };
2709
2710      dataGridField2Functions.getWidgetRows = function(currnode) {
2711          /* Return primary nodes with class of datagridwidget-row,
2712             they can be any tag: tr, div, etc. */
2713          var tbody = this.getParentByClass(currnode, "datagridwidget-body");
2714          return this.getRows(tbody);
2715      };
2716
2717      dataGridField2Functions.getRows = function(tbody) {
2718          /* Return primary nodes with class of datagridwidget-row,
2719             they can be any tag: tr, div, etc. */
2720          var rows = $(tbody).children('.datagridwidget-row');
2721          return rows;
2722      };
2723
2724
2725      /**
2726       * Get all visible rows of DGF
2727       *
2728       * Incl. normal rows + AA row
2729       */
2730      dataGridField2Functions.getVisibleRows = function(tbody) {
2731          var rows = this.getRows(tbody);
2732          // We rape jQuery.filter here, because of
2733          // IE8 Array.filter http://kangax.github.com/es5-compat-table/
2734
2735          // Consider "real" rows only
2736          var filteredRows = $(rows).filter(function() {
2737              var $tr = $(this);
2738              return !$tr.hasClass("datagridwidget-empty-row");
2739          });
2740          return filteredRows;
2741      };
2742
2743      /**
2744       * Handle auto insert events by auto append
2745       */
2746      dataGridField2Functions.onInsert = function(e) {
2747          var currnode = e.currentTarget;
2748          this.autoInsertRow(currnode);
2749      },
2750
2751      /**
2752       * Add a new row when changing the last row
2753       *
2754       * @param {Boolean} ensureMinimumRows we insert a special minimum row so the widget is not empty
2755       */
2756      dataGridField2Functions.autoInsertRow = function(currnode, ensureMinimumRows) {
2757          // fetch required data structure
2758          var dgf = $(dataGridField2Functions.getParentByClass(currnode, "datagridwidget-table-view"));
2759          var tbody = dataGridField2Functions.getParentByClass(currnode, "datagridwidget-body");
2760          var thisRow = dataGridField2Functions.getParentRow(currnode); // The new row we are working on
2761          var $thisRow = $(thisRow);
2762          var autoAppendMode = $(tbody).data("auto-append");
2763
2764          if($thisRow.hasClass("minimum-row")) {
2765              // The change event was not triggered on real AA row,
2766              // but on a minimum ensured row (row 0).
2767              // 1. Don't add new row
2768              // 2. Make widget to "normal" state now as the user has edited the empty row so we assume it's a real row
2769              this.supressEnsureMinimum(tbody);
2770              return;
2771          }
2772
2773          // Remove the auto-append functionality from the all rows in this widget
2774          var autoAppendHandlers = dgf.find('.auto-append .datagridwidget-cell, .auto-append .datagridwidget-block-edit-cell');
2775          autoAppendHandlers.unbind('change.dgf');
2776          $thisRow.removeClass('auto-append');
2777
2778          // Create a new row
2779          var newtr = dataGridField2Functions.createNewRow(thisRow), $newtr = $(newtr);
2780          // Add auto-append functionality to our new row
2781          $newtr.addClass('auto-append');
2782
2783          /* Put new row to DOM tree after our current row.  Do this before
2784           * reindexing to ensure that any Javascript we insert that depends on
2785           * DOM element IDs (such as plone.formwidget.autocomplete) will
2786           * pick up this row before any IDs get changed.  At this point,
2787           * we techinically have duplicate TT IDs in our document
2788           * (one for this new row, one for the hidden row), but jQuery
2789           * selectors will pick up elements in this new row first.
2790           */
2791
2792          dgf.trigger("beforeaddrowauto", [dgf, newtr]);
2793
2794          if(ensureMinimumRows) {
2795              // Add a special class so we can later deal with it
2796              $newtr.addClass("minimum-row");
2797              $newtr.insertBefore(thisRow);
2798          } else {
2799              $newtr.insertAfter(thisRow);
2800          }
2801
2802          // Re-enable auto-append change handler feature on the new auto-appended row
2803          $(dgf).find('.auto-append .datagridwidget-cell, .auto-append .datagridwidget-block-edit-cell').bind("change.dgf", $.proxy(dataGridField2Functions.onInsert, dataGridField2Functions));
2804          dataGridField2Functions.reindexRow(tbody, newtr, 'AA');
2805
2806          // Update order index to give rows correct values
2807          dataGridField2Functions.updateOrderIndex(tbody, true, ensureMinimumRows);
2808          dgf.trigger("afteraddrowauto", [dgf, newtr]);
2809      };
2810
2811      /**
2812       * Creates a new row after the the target row.
2813       *
2814       * @param {Object} currnode DOM <tr>
2815       */
2816      dataGridField2Functions.addRowAfter = function(currnode) {
2817          // fetch required data structure
2818          var tbody = this.getParentByClass(currnode, "datagridwidget-body");
2819          var dgf = $(dataGridField2Functions.getParentByClass(currnode, "datagridwidget-table-view"));
2820          var thisRow = this.getParentRow(currnode);
2821          var newtr = this.createNewRow(thisRow);
2822          dgf.trigger("beforeaddrow", [dgf, newtr]);
2823          var filteredRows = this.getVisibleRows(currnode);
2824
2825          // If using auto-append we add the "real" row before AA
2826          // We have a special case when there is only one visible in the gid
2827          if (thisRow.hasClass('auto-append') && !thisRow.hasClass("minimum-row")) {
2828              $(newtr).insertBefore(thisRow);
2829          } else {
2830              $(newtr).insertAfter(thisRow);
2831          }
2832
2833          // Ensure minimum special behavior is no longer needed as we have now at least 2 rows
2834          if(thisRow.hasClass("minimum-row")) {
2835              this.supressEnsureMinimum(tbody);
2836          }
2837
2838          // update orderindex hidden fields
2839          this.updateOrderIndex(tbody, true);
2840          dgf.trigger("afteraddrow", [dgf, newtr]);
2841      };
2842
2843      /**
2844       * Creates a new row.
2845       *
2846       * The row is not inserted to the table, but is returned.
2847       *
2848       * @param {Object} <tr> or <tbody> DOM node in a table where we'll be adding the new row
2849       */
2850      dataGridField2Functions.createNewRow = function(node) {
2851          var tbody = this.getParentByClass(node, "datagridwidget-body");
2852          // hidden template row
2853          var emptyRow = $(tbody).children('.datagridwidget-empty-row').first();
2854          if(emptyRow.size() === 0) {
2855              // Ghetto assert()
2856              throw new Error("Could not locate empty template row in DGF");
2857          }
2858          var new_row = emptyRow.clone(true).removeClass('datagridwidget-empty-row');
2859
2860          // enable patternslib
2861          $(new_row).find('*[class^="dgw-disabled-pat-"]')
2862          .attr('class', function(i, cls) {
2863            return cls.replace(/dgw\-disabled-pat-/, 'pat-');
2864          });
2865          patRegistry.scan(new_row);
2866          return new_row;
2867      };
2868
2869
2870      dataGridField2Functions.removeFieldRow = function(node) {
2871          /* Remove the row in which the given node is found */
2872          var tbody = this.getParentByClass(node, "datagridwidget-body");
2873          var row = this.getParentRow(node);
2874          $(row).remove();
2875          // ensure minimum rows in non-auto-append mode, reindex if no
2876          // minimal row was added, otherwise reindexing is done by ensureMinimumRows
2877          if ($(tbody).data("auto-append") || !this.ensureMinimumRows(tbody)) {
2878              this.updateOrderIndex(tbody, false);
2879          }
2880      };
2881
2882      dataGridField2Functions.moveRow = function(currnode, direction){
2883          /* Move the given row down one */
2884          var nextRow;
2885          var dgf = $(dataGridField2Functions.getParentByClass(currnode, "datagridwidget-table-view"));
2886          var tbody = this.getParentByClass(currnode, "datagridwidget-body");
2887          var rows = this.getWidgetRows(currnode);
2888          var row = this.getParentRow(currnode);
2889          if(!row) {
2890              throw new Error("Couldn't find DataGridWidget row");
2891          }
2892          var idx = null;
2893
2894          // We can't use nextSibling because of blank text nodes in some browsers
2895          // Need to find the index of the row
2896          rows.each(function (i) {
2897              if (this == row[0]) {
2898                  idx = i;
2899              }
2900          });
2901
2902          // Abort if the current row wasn't found
2903          if (idx == null)
2904              return;
2905
2906          // The up and down should cycle through the rows, excluding the auto-append and
2907          // empty-row rows.
2908          var validrows = 0;
2909          rows.each(function (i) {
2910              if (!$(this).hasClass('datagridwidget-empty-row') && !$(this).hasClass('auto-append')) {
2911                  validrows+=1;
2912              }
2913          });
2914
2915          if (idx+1 == validrows) {
2916              if (direction == "down") {
2917                  this.moveRowToTop(row);
2918              } else {
2919                  nextRow = rows[idx-1];
2920                  this.shiftRow(nextRow, row);
2921              }
2922          } else if (idx === 0) {
2923              if (direction == "up") {
2924                  this.moveRowToBottom(row);
2925              } else {
2926                  nextRow = rows[parseInt(idx+1, 10)];
2927                  this.shiftRow(row, nextRow);
2928              }
2929          } else {
2930              if (direction == "up") {
2931                  nextRow = rows[idx-1];
2932                  this.shiftRow(nextRow, row);
2933              } else {
2934                  nextRow = rows[parseInt(idx+1, 10)];
2935                  this.shiftRow(row, nextRow);
2936              }
2937          }
2938          this.updateOrderIndex(tbody);
2939          dgf.trigger("aftermoverow", [dgf, row]);
2940      };
2941
2942      dataGridField2Functions.moveRowDown = function(currnode){
2943          this.moveRow(currnode, "down");
2944      };
2945
2946      dataGridField2Functions.moveRowUp = function(currnode){
2947          this.moveRow(currnode, "up");
2948      };
2949
2950      dataGridField2Functions.shiftRow = function(bottom, top){
2951          /* Put node top before node bottom */
2952          $(top).insertBefore(bottom);
2953      };
2954
2955      dataGridField2Functions.moveRowToTop = function (row) {
2956          var rows = this.getWidgetRows(row);
2957          $(row).insertBefore(rows[0]);
2958      };
2959
2960      dataGridField2Functions.moveRowToBottom = function (row) {
2961          var rows = this.getWidgetRows(row);
2962
2963          // make sure we insert the directly above any auto appended rows
2964          var insert_after = 0;
2965          rows.each(function (i) {
2966              if (!$(this).hasClass('datagridwidget-empty-row')  && !$(this).hasClass('auto-append')) {
2967                  insert_after = i;
2968              }
2969          });
2970          $(row).insertAfter(rows[insert_after]);
2971      };
2972
2973      /**
2974       * Fixup all attributes on all child elements that contain
2975       * the row index. The following attributes are scanned:
2976       * - name
2977       * - id
2978       * - for
2979       * - href
2980       * - data-fieldname
2981       *
2982       * On the server side, the DGF logic will rebuild rows based
2983       * on this information.
2984       *
2985       * If indexing for some reasons fails you'll get double
2986       * input values and Zope converts inputs to list, failing
2987       * in funny ways.
2988       *
2989       * @param  {DOM} tbody
2990       * @param  {DOM} row
2991       * @param  {Number} newindex
2992       */
2993      dataGridField2Functions.reindexRow = function (tbody, row, newindex) {
2994          var name_prefix = $(tbody).data('name_prefix') + '.';
2995          var id_prefix = $(tbody).data('id_prefix') + '-';
2996          var $row = $(row);
2997          var oldindex = $row.data('index');
2998
2999          function replaceIndex(el, attr, prefix) {
3000              if (el.attr(attr)) {
3001                  var val = el.attr(attr);
3002                  var pattern = new RegExp('^' + prefix + oldindex);
3003                  el.attr(attr, val.replace(pattern, prefix + newindex));
3004                  if (attr.indexOf('data-') === 0) {
3005                      var key = attr.substr(5);
3006                      var data = el.data(key);
3007                      el.data(key, data.replace(pattern, prefix + newindex));
3008                  }
3009              }
3010          }
3011
3012          // update index data
3013          $row.data('index', newindex);
3014          $row.attr('data-index', newindex);
3015
3016          $row.find('[id^="formfield-' + id_prefix + '"]').each(function(i, el) {
3017              replaceIndex($(el), 'id', 'formfield-' + id_prefix);
3018          });
3019          $row.find('[name^="' + name_prefix +'"]').each(function(i, el) {
3020              replaceIndex($(el), 'name', name_prefix);
3021          });
3022          $row.find('[id^="' + id_prefix +'"]').each(function(i, el) {
3023              replaceIndex($(el), 'id', id_prefix);
3024          });
3025          $row.find('[for^="' + id_prefix +'"]').each(function(i, el) {
3026              replaceIndex($(el), 'for', id_prefix);
3027          });
3028          $row.find('[href*="#' + id_prefix +'"]').each(function(i, el){
3029              replaceIndex($(el), 'href', '#' + id_prefix);
3030          });
3031          $row.find('[data-fieldname^="' + name_prefix + '"]').each(function(i, el) {
3032              replaceIndex($(el), 'data-fieldname', name_prefix);
3033          });
3034      };
3035
3036      /**
3037       * Stop ensure miminum special behavior.
3038       *
3039       * The caller is responsible to check there was one and only one minimum-row in the table.
3040       *
3041       * Call when data is edited for the first time or a row added.
3042       */
3043      dataGridField2Functions.supressEnsureMinimum = function(tbody) {
3044          var autoAppendHandlers = $(tbody).find('.auto-append .datagridwidget-cell, .auto-append .datagridwidget-block-edit-cell');
3045          autoAppendHandlers.unbind('change.dgf');
3046          tbody.children().removeClass("auto-append");
3047          tbody.children().removeClass("minimum-row");
3048          dataGridField2Functions.updateOrderIndex(tbody, true, false);
3049      };
3050
3051      /**
3052       * Update all row indexes on a DGF table.
3053       *
3054       * Each <tr> and input widget has recalculated row index number in its name,
3055       * so that the server can then parsit the submitted data in the correct order.
3056       *
3057       * @param  {Object} tbody     DOM of DGF <tbody>
3058       * @param  {Boolean} backwards iterate rows backwards
3059       * @param  {Boolean} ensureMinimumRows We have inserted a special auto-append row
3060       */
3061      dataGridField2Functions.updateOrderIndex = function (tbody, backwards, ensureMinimumRows) {
3062          var $tbody = $(tbody);
3063          var name_prefix = $tbody.attr('data-name_prefix') + '.';
3064          var i, idx, row, $row, $nextRow;
3065
3066          // Was this auto-append table
3067          var autoAppend = false;
3068          var rows = this.getRows(tbody);
3069          for (i=0; i<rows.length; i++) {
3070              idx = backwards ? rows.length-i-1 : i;
3071              row = rows[idx], $row = $(row);
3072
3073              if ($row.hasClass('datagridwidget-empty-row')) {
3074                  continue;
3075              }
3076              if($row.hasClass('auto-append')) {
3077                  autoAppend = true;
3078              }
3079              this.reindexRow(tbody, row, idx);
3080          }
3081
3082          // Handle a special case where
3083          // 1. Widget is empty
3084          // 2. We don't have AA mode turned on
3085          // 3. We need to have minimum editable row count of 1
3086          if(ensureMinimumRows) {
3087              this.reindexRow(tbody, rows[0], "AA");
3088              autoAppend = true;
3089          }
3090
3091          // Add a special first and class row classes
3092          // to hide manipulation handles
3093          // AA handling is different once again
3094          var visibleRows = this.getVisibleRows(tbody);
3095          for (i=0; i<visibleRows.length; i++) {
3096              row = visibleRows[i], $row = $(row);
3097              if(i<visibleRows.length-2) {
3098                  $nextRow = $(visibleRows[i+1]);
3099              }
3100              if(i===0) {
3101                  $row.addClass("datagridfield-first-filled-row");
3102              } else {
3103                  $row.removeClass("datagridfield-first-filled-row");
3104              }
3105              // Last visible before AA
3106              if(autoAppend) {
3107                  if($nextRow && $nextRow.hasClass("auto-append")) {
3108                      $row.addClass("datagridfield-last-filled-row");
3109                  } else {
3110                      $row.removeClass("datagridfield-last-filled-row");
3111                  }
3112              } else {
3113                  if(i==visibleRows.length-1) {
3114                      $row.addClass("datagridfield-last-filled-row");
3115                  } else {
3116                      $row.removeClass("datagridfield-last-filled-row");
3117                  }
3118              }
3119          }
3120
3121          // Set total visible row counts and such and hint CSS
3122          var vis = this.getVisibleRows(tbody).length;
3123          $tbody.attr("data-count", this.getRows(tbody).length);
3124          $tbody.attr("data-visible-count", this.getVisibleRows(tbody).length);
3125          $tbody.attr("data-many-rows", vis >= 2 ? "true" : "false");
3126
3127          $(document).find('input[name="' + name_prefix + 'count"]').each(function(){
3128              // do not include the TT and the AA rows in the count
3129              var count = rows.length;
3130              if ($(rows[count-1]).hasClass('datagridwidget-empty-row')) {
3131                  count--;
3132              }
3133              if ($(rows[count-1]).hasClass('auto-append')) {
3134                  count--;
3135              }
3136              this.value = count;
3137          });
3138      };
3139
3140      dataGridField2Functions.getParentElement = function(currnode, tagname) {
3141          /* Find the first parent node with the given tag name */
3142          tagname = tagname.toUpperCase();
3143          var parent = currnode.parentNode;
3144          while(parent.tagName.toUpperCase() != tagname) {
3145              parent = parent.parentNode;
3146              // Next line is a safety belt
3147              if(parent.tagName.toUpperCase() == "BODY")
3148                  return null;
3149          }
3150          return parent;
3151      };
3152
3153      dataGridField2Functions.getParentRow = function (node) {
3154          return this.getParentByClass(node, 'datagridwidget-row');
3155      };
3156
3157      dataGridField2Functions.getParentByClass = function(node, klass) {
3158          var parent = $(node).closest("." + klass);
3159
3160          if (parent.length) {
3161              return parent;
3162          }
3163
3164          return null;
3165      };
3166
3167      /**
3168       * Find the first parent node with the given id
3169       *
3170       * Id is partially matched: the beginning of
3171       * an element id matches parameter id string.
3172       *
3173       * @param  {DOM} currnode Node where ascending in DOM tree beings
3174       * @param  {String} id       Id string to look for.
3175       * @return {DOM} Found node or null
3176       */
3177      dataGridField2Functions.getParentElementById = function(currnode, id
3177) {
3178          /*
3179          */
3180
3181          id = id.toLowerCase();
3182          var parent = currnode.parentNode;
3183
3184          while(true) {
3185
3186              var parentId = parent.getAttribute("id");
3187              if(parentId) {
3188                   if(parentId.toLowerCase().substring(0, id.length) == id) break;
3189              }
3190
3191              parent = parent.parentNode;
3192              // Next line is a safety belt
3193              if(parent.tagName.toUpperCase() == "BODY")
3194                  return null;
3195          }
3196
3197          return parent;
3198      };
3199
3200
3201      /**
3202       * Make sure there is at least one visible row available in DGF
3203       * to edit in all the time.
3204       *
3205       * We need a lot of special logic for the case where
3206       * we have empty datagridfield and need to have one OPTIONAL
3207       * row present there for the editing when the user opens
3208       * the form for the first time.
3209       *
3210       * There are cases where one doesn't want to have the count of DGF
3211       * rows to go down to zero. Otherwise there no insert handle left
3212       * on the edit mode and the user cannot add any more rows.
3213       *
3214       * One should case is when
3215       *
3216       * - DGF is empty on new form
3217       *
3218       * - Auto append is set to false (initial row is not visible)
3219       *
3220       * We fix this situation by checking the available rows
3221       * and generating one empty AA row if needed.
3222       *
3223       * ... or simply when the user removes all the rows
3224       *
3225       * @param {Object} tbody DOM object of <tbody>
3226       */
3227      dataGridField2Functions.ensureMinimumRows = function(tbody) {
3228          var rows = this.getRows(tbody);
3229          var filteredRows = this.getVisibleRows(tbody);
3230          var self = this;
3231
3232          // Rows = 0 -> make one AA row available
3233          if(filteredRows.length === 0) {
3234              // XXX: make the function call signatures more sane
3235              var child = rows[0];
3236              this.autoInsertRow(child, true);
3237              return true;
3238          }
3239          return false;
3240      },
3241
3242
3243      /**
3244       * When DOM model is ready execute this actions to wire up page logic.
3245       */
3246      dataGridField2Functions.init = function() {
3247
3248          // Reindex all rows to get proper row classes on them
3249          $(".datagridwidget-body").each(function() {
3250
3251              // Initialize widget data on <tbody>
3252              // We keep some mode attributes around
3253              var $this = $(this);
3254              var aa;
3255
3256              // Check if this widget is in auto-append mode
3257              // and store for later usage
3258              aa = $this.children(".auto-append").size() > 0;
3259              $this.data("auto-append", aa);
3260
3261              // Hint CSS
3262              if(aa) {
3263                  $this.addClass("datagridwidget-body-auto-append");
3264              } else {
3265                  $this.addClass("datagridwidget-body-non-auto-append");
3266              }
3267
3268              dataGridField2Functions.updateOrderIndex(this, false);
3269
3270              if(!aa) {
3271                  dataGridField2Functions.ensureMinimumRows(this);
3272              }
3273          });
3274
3275          // Bind the handlers to the auto append rows
3276          // Use namespaced jQuery events to avoid unbind() conflicts later on
3277          $('.auto-append .datagridwidget-cell, .auto-append .datagridwidget-block-edit-cell').bind("change.dgf", $.proxy(dataGridField2Functions.onInsert, dataGridField2Functions));
3278
3279          $(document).trigger("afterdatagridfieldinit");
3280      };
3281
3282      // Export module for customizers to mess around
3283      window.dataGridField2Functions = dataGridField2Functions;
3284
3285
3286  });
3287
3288!function(a){define("jquery_base64",[],function(){return function(){jQuery.base64={is_unicode:!1,encode:function(a){this.is_unicode&&(a=this._u2a(a));var b,c,d,e,f,g="",h="",i="",j=0;
3288do b=a.charCodeAt(j++),c=a.charCodeAt(j++),h=a.charCodeAt(j++),d=b>>2,e=(3&b)<<4|c>>4,f=(15&c)<<2|h>>6,i=63&h,isNaN(c)?f=i=64:isNaN(h)&&(i=64),g=g+this._keys.charAt(d)+this._keys.charAt(e)+this._keys.charAt(f)+this._keys.charAt(i),b=c=h="",d=e=f=i="";while(j<a.length);return g},decode:function(a){var b,c,d,e,f,g="",h="",i="",j=0;if(a.length%4!=0)return"";var k=/[^A-Za-z0-9\+\/\=]/g;if(k.exec(a))return"";do d=this._keys.indexOf(a.charAt(j++)),e=this._keys.indexOf(a.charAt(j++)),f=this._keys.indexOf(a.charAt(j++)),i=this._keys.indexOf(a.charAt(j++)),b=d<<2|e>>4,c=(15&e)<<4|f>>2,h=(3&f)<<6|i,g+=String.fromCharCode(b),64!=f&&(g+=String.fromCharCode(c)),64!=i&&(g+=String.fromCharCode(h)),b=c=h="",d=e=f=i="";while(j<a.length);return this.is_unicode&&(g=this._a2u(g)),g},_keys:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_unicode:function(){return"00A4,00A7,00A8,00B0,00B1,00B7,00D7,00E0,00E1,00E8,00E9,00EA,00EC,00ED,00F2,00F3,00F7,00F9,00FA,00FC,0101,0113,011B,012B,014D,016B,01CE,01D0,01D2,01D4,01D6,01D8,01DA,01DC,02C7,02C9,0391,0392,0393,0394,0395,0396,0397,0398,0399,039A,039B,039C,039D,039E,039F,03A0,03A1,03A3,03A4,03A5,03A6,03A7,03A8,03A9,03B1,03B2,03B3,03B4,03B5,03B6,03B7,03B8,03B9,03BA,03BB,03BC,03BD,03BE,03BF,03C0,03C1,03C3,03C4,03C5,03C6,03C7,03C8,03C9,0401,0410,0411,0412,0413,0414,0415,0416,0417,0418,0419,041A,041B,041C,041D,041E,041F,0420,0421,0422,0423,0424,0425,0426,0427,0428,0429,042A,042B,042C,042D,042E,042F,0430,0431,0432,0433,0434,0435,0436,0437,0438,0439,043A,043B,043C,043D,043E,043F,0440,0441,0442,0443,0444,0445,0446,0447,0448,0449,044A,044B,044C,044D,044E,044F,0451,2014,2016,2018,2019,201C,201D,2026,2030,2032,2033,203B,2103,2116,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,216A,216B,2190,2191,2192,2193,2208,220F,2211,221A,221D,221E,2220,2225,2227,2228,2229,222A,222B,222E,2234,2235,2236,2237,223D,2248,224C,2260,2261,2264,2265,226E,226F,2299,22A5,2312,2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2474,2475,2476,2477,2478,2479,247A,247B,247C,247D,247E,247F,2480,2481,2482,2483,2484,2485,2486,2487,2488,2489,248A,248B,248C,248D,248E,248F,2490,2491,2492,2493,2494,2495,2496,2497,2498,2499,249A,249B,2500,2501,2502,2503,2504,2505,2506,2507,2508,2509,250A,250B,250C,250D,250E,250F,2510,2511,2512,2513,2514,2515,2516,2517,2518,2519,251A,251B,251C,251D,251E,251F,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,252A,252B,252C,252D,252E,252F,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,253A,253B,253C,253D,253E,253F,2540,2541,2542,2543,2544,2545,2546,2547,2548,2549,254A,254B,25A0,25A1,25B2,25B3,25C6,25C7,25CB,25CE,25CF,2605,2606,2640,2642,3000,3001,3002,3003,3005,3008,3009,300A,300B,300C,300D,300E,300F,3010,3011,3013,3014,3015,3016,3017,3041,3042,3043,3044,3045,3046,3047,3048,3049,304A,304B,304C,304D,304E,304F,3050,3051,3052,3053,3054,3055,3056,3057,3058,3059,305A,305B,305C,305D,305E,305F,3060,3061,3062,3063,3064,3065,3066,3067,3068,3069,306A,306B,306C,306D,306E,306F,3070,3071,3072,3073,3074,3075,3076,3077,3078,3079,307A,307B,307C,307D,307E,307F,3080,3081,3082,3083,3084,3085,3086,3087,3088,3089,308A,308B,308C,308D,308E,308F,3090,3091,3092,3093,30A1,30A2,30A3,30A4,30A5,30A6,30A7,30A8,30A9,30AA,30AB,30AC,30AD,30AE,30AF,30B0,30B1,30B2,30B3,30B4,30B5,30B6,30B7,30B8,30B9,30BA,30BB,30BC,30BD,30BE,30BF,30C0,30C1,30C2,30C3,30C4,30C5,30C6,30C7,30C8,30C9,30CA,30CB,30CC,30CD,30CE,30CF,30D0,30D1,30D2,30D3,30D4,30D5,30D6,30D7,30D8,30D9,30DA,30DB,30DC,30DD,30DE,30DF,30E0,30E1,30E2,30E3,30E4,30E5,30E6,30E7,30E8,30E9,30EA,30EB,30EC,30ED,30EE,30EF,30F0,30F1,30F2,30F3,30F4,30F5,30F6,3105,3106,3107,3108,3109,310A,310B,310C,310D,310E,310F,3110,3111,3112,3113,3114,3115,3116,3117,3118,3119,311A,311B,311C,311D,311E,311F,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,4E00,4E01,4E03,4E07,4E08,4E09,4E0A,4E0B,4E0C,4E0D,4E0E,4E10,4E11,4E13,4E14,4E15,4E16,4E18,4E19,4E1A,4E1B,4E1C,4E1D,4E1E,4E22,4E24,4E25,4E27,4E28,4E2A,4E2B,4E2C,4E2D,4E30,4E32,4E34,4E36,4E38,4E39,4E3A,4E3B,4E3D,4E3E,4E3F,4E43,4E45,4E47,4E48,4E49,4E4B,4E4C,4E4D,4E4E,4E4F,4E50,4E52,4E53,4E54,4E56,4E58,4E59,4E5C,4E5D,4E5E,4E5F,4E60,4E61,4E66,4E69,4E70,4E71,4E73,4E7E,4E86,4E88,4E89,4E8B,4E8C,4E8D,4E8E,4E8F,4E91,4E92,4E93,4E94,4E95,4E98,4E9A,4E9B,4E9F,4EA0,4EA1,4EA2,4EA4,4EA5,4EA6,4EA7,4EA8,4EA9,4EAB,4EAC,4EAD,4EAE,4EB2,4EB3,4EB5,4EBA,4EBB,4EBF,4EC0,4EC1,4EC2,4EC3,4EC4,4EC5,4EC6,4EC7,4EC9,4ECA,4ECB,4ECD,4ECE,4ED1,4ED3,4ED4,4ED5,4ED6,4ED7,4ED8,4ED9,4EDD,4EDE,4EDF,4EE1,4EE3,4EE4,4EE5,4EE8,4EEA,4EEB,4EEC,4EF0,4EF2,4EF3,4EF5,4EF6,4EF7,4EFB,4EFD,4EFF,4F01,4F09,4F0A,4F0D,4F0E,4F0F,4F10,4F11,4F17,4F18,4F19,4F1A,4F1B,4F1E,4F1F,4F20,4F22,4F24,4F25,4F26,4F27,4F2A,4F2B,4F2F,4F30,4F32,4F34,4F36,4F38,4F3A,4F3C,4F3D,4F43,4F4
32886,4F4D,4F4E,4F4F,4F50,4F51,4F53,4F55,4F57,4F58,4F59,4F5A,4F5B,4F5C,4F5D,4F5E,4F5F,4F60,4F63,4F64,4F65,4F67,4F69,4F6C,4F6F,4F70,4F73,4F74,4F76,4F7B,4F7C,4F7E,4F7F,4F83,4F84,4F88,4F89,4F8B,4F8D,4F8F,4F91,4F94,4F97,4F9B,4F9D,4FA0,4FA3,4FA5,4FA6,4FA7,4FA8,4FA9,4FAA,4FAC,4FAE,4FAF,4FB5,4FBF,4FC3,4FC4,4FC5,4FCA,4FCE,4FCF,4FD0,4FD1,4FD7,4FD8,4FDA,4FDC,4FDD,4FDE,4FDF,4FE1,4FE3,4FE6,4FE8,4FE9,4FEA,4FED,4FEE,4FEF,4FF1,4FF3,4FF8,4FFA,4FFE,500C,500D,500F,5012,5014,5018,5019,501A,501C,501F,5021,5025,5026,5028,5029,502A,502C,502D,502E,503A,503C,503E,5043,5047,5048,504C,504E,504F,5055,505A,505C,5065,506C,5076,5077,507B,507E,507F,5080,5085,5088,508D,50A3,50A5,50A7,50A8,50A9,50AC,50B2,50BA,50BB,50CF,50D6,50DA,50E6,50E7,50EC,50ED,50EE,50F3,50F5,50FB,5106,5107,510B,5112,5121,513F,5140,5141,5143,5144,5145,5146,5148,5149,514B,514D,5151,5154,5155,5156,515A,515C,5162,5165,5168,516B,516C,516D,516E,5170,5171,5173,5174,5175,5176,5177,5178,5179,517B,517C,517D,5180,5181,5182,5185,5188,5189,518C,518D,5192,5195,5196,5197,5199,519B,519C,51A0,51A2,51A4,51A5,51AB,51AC,51AF,51B0,51B1,51B2,51B3,51B5,51B6,51B7,51BB,51BC,51BD,51C0,51C4,51C6,51C7,51C9,51CB,51CC,51CF,51D1,51DB,51DD,51E0,51E1,51E4,51EB,51ED,51EF,51F0,51F3,51F5,51F6,51F8,51F9,51FA,51FB,51FC,51FD,51FF,5200,5201,5202,5203,5206,5207,5208,520A,520D,520E,5211,5212,5216,5217,5218,5219,521A,521B,521D,5220,5224,5228,5229,522B,522D,522E,5230,5233,5236,5237,5238,5239,523A,523B,523D,523F,5240,5241,5242,5243,524A,524C,524D,5250,5251,5254,5256,525C,525E,5261,5265,5267,5269,526A,526F,5272,527D,527F,5281,5282,5288,5290,5293,529B,529D,529E,529F,52A0,52A1,52A2,52A3,52A8,52A9,52AA,52AB,52AC,52AD,52B1,52B2,52B3,52BE,52BF,52C3,52C7,52C9,52CB,52D0,52D2,52D6,52D8,52DF,52E4,52F0,52F9,52FA,52FE,52FF,5300,5305,5306,5308,530D,530F,5310,5315,5316,5317,5319,531A,531D,5320,5321,5323,5326,532A,532E,5339,533A,533B,533E,533F,5341,5343,5345,5347,5348,5349,534A,534E,534F,5351,5352,5353,5355,5356,5357,535A,535C,535E,535F,5360,5361,5362,5363,5364,5366,5367,5369,536B,536E,536F,5370,5371,5373,5374,5375,5377,5378,537A,537F,5382,5384,5385,5386,5389,538B,538C,538D,5395,5398,539A,539D,539F,53A2,53A3,53A5,53A6,53A8,53A9,53AE,53B6,53BB,53BF,53C1,53C2,53C8,53C9,53CA,53CB,53CC,53CD,53D1,53D4,53D6,53D7,53D8,53D9,53DB,53DF,53E0,53E3,53E4,53E5,53E6,53E8,53E9,53EA,53EB,53EC,53ED,53EE,53EF,53F0,53F1,53F2,53F3,53F5,53F6,53F7,53F8,53F9,53FB,53FC,53FD,5401,5403,5404,5406,5408,5409,540A,540C,540D,540E,540F,5410,5411,5412,5413,5415,5416,5417,541B,541D,541E,541F,5420,5421,5423,5426,5427,5428,5429,542B,542C,542D,542E,542F,5431,5432,5434,5435,5438,5439,543B,543C,543E,5440,5443,5446,5448,544A,544B,5450,5452,5453,5454,5455,5456,5457,5458,5459,545B,545C,5462,5464,5466,5468,5471,5472,5473,5475,5476,5477,5478,547B,547C,547D,5480,5482,5484,5486,548B,548C,548E,548F,5490,5492,5494,5495,5496,5499,549A,549B,549D,54A3,54A4,54A6,54A7,54A8,54A9,54AA,54AB,54AC,54AD,54AF,54B1,54B3,54B4,54B8,54BB,54BD,54BF,54C0,54C1,54C2,54C4,54C6,54C7,54C8,54C9,54CC,54CD,54CE,54CF,54D0,54D1,54D2,54D3,54D4,54D5,54D7,54D9,54DA,54DC,54DD,54DE,54DF,54E5,54E6,54E7,54E8,54E9,54EA,54ED,54EE,54F2,54F3,54FA,54FC,54FD,54FF,5501,5506,5507,5509,550F,5510,5511,5514,551B,5520,5522,5523,5524,5527,552A,552C,552E,552F,5530,5531,5533,5537,553C,553E,553F,5541,5543,5544,5546,5549,554A,5550,5555,5556,555C,5561,5564,5565,5566,5567,556A,556C,556D,556E,5575,5576,5577,5578,557B,557C,557E,5580,5581,5582,5583,5584,5587,5588,5589,558A,558B,558F,5591,5594,5598,5599,559C,559D,559F,55A7,55B1,55B3,55B5,55B7,55B9,55BB,55BD,55BE,55C4,55C5,55C9,55CC,55CD,55D1,55D2,55D3,55D4,55D6,55DC,55DD,55DF,55E1,55E3,55E4,55E5,55E6,55E8,55EA,55EB,55EC,55EF,55F2,55F3,55F5,55F7,55FD,55FE,5600,5601,5608,5609,560C,560E,560F,5618,561B,561E,561F,5623,5624,5627,562C,562D,5631,5632,5634,5636,5639,563B,563F,564C,564D,564E,5654,5657,5658,5659,565C,5662,5664,5668,5669,566A,566B,566C,5671,5676,567B,567C,5685,5686,568E,568F,5693,56A3,56AF,56B7,56BC,56CA,56D4,56D7,56DA,56DB,56DD,56DE,56DF,56E0,56E1,56E2,56E4,56EB,56ED,56F0,56F1,56F4,56F5,56F9,56FA,56FD,56FE,56FF,5703,5704,5706,5708,5709,570A,571C,571F,5723,5728,5729,572A,572C,572D,572E,572F,5730,5733,5739,573A,573B,573E,5740,5742,5747,574A,574C,574D,574E,574F,5750,5751,5757,575A,575B,575C,575D,575E,575F,5760,5761,5764,5766,5768,5769,576A,576B,576D,576F,5773,5776,5777,577B,577C,5782,5783,5784,5785,5786,578B,578C,5792,5793,579B,57A0,57A1,57A2,57A3,57A4,57A6,57A7,57A9,57AB,57AD,57AE,57B2,57B4,57B8,57C2,57C3,57CB,57CE,57CF,57D2,57D4,57D5,57D8,57D9,57DA,57DD,57DF,57E0,57E4,57ED,57EF,57F4,57F8,57F9,57FA,57FD,5800,5802,5806,5807,580B,580D,5811,5815,5819,581E,5820,5821,5824,582A,5830,5835,5844,584C,584D,5851,5854,5858,585E,5865,586
3288B,586C,587E,5880,5881,5883,5885,5889,5892,5893,5899,589A,589E,589F,58A8,58A9,58BC,58C1,58C5,58D1,58D5,58E4,58EB,58EC,58EE,58F0,58F3,58F6,58F9,5902,5904,5907,590D,590F,5914,5915,5916,5919,591A,591C,591F,5924,5925,5927,5929,592A,592B,592D,592E,592F,5931,5934,5937,5938,5939,593A,593C,5941,5942,5944,5947,5948,5949,594B,594E,594F,5951,5954,5955,5956,5957,5958,595A,5960,5962,5965,5973,5974,5976,5978,5979,597D,5981,5982,5983,5984,5986,5987,5988,598A,598D,5992,5993,5996,5997,5999,599E,59A3,59A4,59A5,59A8,59A9,59AA,59AB,59AE,59AF,59B2,59B9,59BB,59BE,59C6,59CA,59CB,59D0,59D1,59D2,59D3,59D4,59D7,59D8,59DA,59DC,59DD,59E3,59E5,59E8,59EC,59F9,59FB,59FF,5A01,5A03,5A04,5A05,5A06,5A07,5A08,5A09,5A0C,5A11,5A13,5A18,5A1C,5A1F,5A20,5A23,5A25,5A29,5A31,5A32,5A34,5A36,5A3C,5A40,5A46,5A49,5A4A,5A55,5A5A,5A62,5A67,5A6A,5A74,5A75,5A76,5A77,5A7A,5A7F,5A92,5A9A,5A9B,5AAA,5AB2,5AB3,5AB5,5AB8,5ABE,5AC1,5AC2,5AC9,5ACC,5AD2,5AD4,5AD6,5AD8,5ADC,5AE0,5AE1,5AE3,5AE6,5AE9,5AEB,5AF1,5B09,5B16,5B17,5B32,5B34,5B37,5B40,5B50,5B51,5B53,5B54,5B55,5B57,5B58,5B59,5B5A,5B5B,5B5C,5B5D,5B5F,5B62,5B63,5B64,5B65,5B66,5B69,5B6A,5B6C,5B70,5B71,5B73,5B75,5B7A,5B7D,5B80,5B81,5B83,5B84,5B85,5B87,5B88,5B89,5B8B,5B8C,5B8F,5B93,5B95,5B97,5B98,5B99,5B9A,5B9B,5B9C,5B9D,5B9E,5BA0,5BA1,5BA2,5BA3,5BA4,5BA5,5BA6,5BAA,5BAB,5BB0,5BB3,5BB4,5BB5,5BB6,5BB8,5BB9,5BBD,5BBE,5BBF,5BC2,5BC4,5BC5,5BC6,5BC7,5BCC,5BD0,5BD2,5BD3,5BDD,5BDE,5BDF,5BE1,5BE4,5BE5,5BE8,5BEE,5BF0,5BF8,5BF9,5BFA,5BFB,5BFC,5BFF,5C01,5C04,5C06,5C09,5C0A,5C0F,5C11,5C14,5C15,5C16,5C18,5C1A,5C1C,5C1D,5C22,5C24,5C25,5C27,5C2C,5C31,5C34,5C38,5C39,5C3A,5C3B,5C3C,5C3D,5C3E,5C3F,5C40,5C41,5C42,5C45,5C48,5C49,5C4A,5C4B,5C4E,5C4F,5C50,5C51,5C55,5C59,5C5E,5C60,5C61,5C63,5C65,5C66,5C6E,5C6F,5C71,5C79,5C7A,5C7F,5C81,5C82,5C88,5C8C,5C8D,5C90,5C91,5C94,5C96,5C97,5C98,5C99,5C9A,5C9B,5C9C,5CA2,5CA3,5CA9,5CAB,5CAC,5CAD,5CB1,5CB3,5CB5,5CB7,5CB8,5CBD,5CBF,5CC1,5CC4,5CCB,5CD2,5CD9,5CE1,5CE4,5CE5,5CE6,5CE8,5CEA,5CED,5CF0,5CFB,5D02,5D03,5D06,5D07,5D0E,5D14,5D16,5D1B,5D1E,5D24,5D26,5D27,5D29,5D2D,5D2E,5D34,5D3D,5D3E,5D47,5D4A,5D4B,5D4C,5D58,5D5B,5D5D,5D69,5D6B,5D6C,5D6F,5D74,5D82,5D99,5D9D,5DB7,5DC5,5DCD,5DDB,5DDD,5DDE,5DE1,5DE2,5DE5,5DE6,5DE7,5DE8,5DE9,5DEB,5DEE,5DEF,5DF1,5DF2,5DF3,5DF4,5DF7,5DFD,5DFE,5E01,5E02,5E03,5E05,5E06,5E08,5E0C,5E0F,5E10,5E11,5E14,5E15,5E16,5E18,5E19,5E1A,5E1B,5E1C,5E1D,5E26,5E27,5E2D,5E2E,5E31,5E37,5E38,5E3B,5E3C,5E3D,5E42,5E44,5E45,5E4C,5E54,5E55,5E5B,5E5E,5E61,5E62,5E72,5E73,5E74,5E76,5E78,5E7A,5E7B,5E7C,5E7D,5E7F,5E80,5E84,5E86,5E87,5E8A,5E8B,5E8F,5E90,5E91,5E93,5E94,5E95,5E96,5E97,5E99,5E9A,5E9C,5E9E,5E9F,5EA0,5EA5,5EA6,5EA7,5EAD,5EB3,5EB5,5EB6,5EB7,5EB8,5EB9,5EBE,5EC9,5ECA,5ED1,5ED2,5ED3,5ED6,5EDB,5EE8,5EEA,5EF4,5EF6,5EF7,5EFA,5EFE,5EFF,5F00,5F01,5F02,5F03,5F04,5F08,5F0A,5F0B,5F0F,5F11,5F13,5F15,5F17,5F18,5F1B,5F1F,5F20,5F25,5F26,5F27,5F29,5F2A,5F2D,5F2F,5F31,5F39,5F3A,5F3C,5F40,5F50,5F52,5F53,5F55,5F56,5F57,5F58,5F5D,5F61,5F62,5F64,5F66,5F69,5F6A,5F6C,5F6D,5F70,5F71,5F73,5F77,5F79,5F7B,5F7C,5F80,5F81,5F82,5F84,5F85,5F87,5F88,5F89,5F8A,5F8B,5F8C,5F90,5F92,5F95,5F97,5F98,5F99,5F9C,5FA1,5FA8,5FAA,5FAD,5FAE,5FB5,5FB7,5FBC,5FBD,5FC3,5FC4,5FC5,5FC6,5FC9,5FCC,5FCD,5FCF,5FD0,5FD1,5FD2,5FD6,5FD7,5FD8,5FD9,5FDD,5FE0,5FE1,5FE4,5FE7,5FEA,5FEB,5FED,5FEE,5FF1,5FF5,5FF8,5FFB,5FFD,5FFE,5FFF,6000,6001,6002,6003,6004,6005,6006,600A,600D,600E,600F,6012,6014,6015,6016,6019,601B,601C,601D,6020,6021,6025,6026,6027,6028,6029,602A,602B,602F,6035,603B,603C,603F,6041,6042,6043,604B,604D,6050,6052,6055,6059,605A,605D,6062,6063,6064,6067,6068,6069,606A,606B,606C,606D,606F,6070,6073,6076,6078,6079,607A,607B,607C,607D,607F,6083,6084,6089,608C,608D,6092,6094,6096,609A,609B,609D,609F,60A0,60A3,60A6,60A8,60AB,60AC,60AD,60AF,60B1,60B2,60B4,60B8,60BB,60BC,60C5,60C6,60CA,60CB,60D1,60D5,60D8,60DA,60DC,60DD,60DF,60E0,60E6,60E7,60E8,60E9,60EB,60EC,60ED,60EE,60EF,60F0,60F3,60F4,60F6,60F9,60FA,6100,6101,6106,6108,6109,610D,610E,610F,6115,611A,611F,6120,6123,6124,6126,6127,612B,613F,6148,614A,614C,614E,6151,6155,615D,6162,6167,6168,6170,6175,6177,618B,618E,6194,619D,61A7,61A8,61A9,61AC,61B7,61BE,61C2,61C8,61CA,61CB,61D1,61D2,61D4,61E6,61F5,61FF,6206,6208,620A,620B,620C,620D,620E,620F,6210,6211,6212,6215,6216,6217,62
328818,621A,621B,621F,6221,6222,6224,6225,622A,622C,622E,6233,6234,6237,623D,623E,623F,6240,6241,6243,6247,6248,6249,624B,624C,624D,624E,6251,6252,6253,6254,6258,625B,6263,6266,6267,6269,626A,626B,626C,626D,626E,626F,6270,6273,6276,6279,627C,627E,627F,6280,6284,6289,628A,6291,6292,6293,6295,6296,6297,6298,629A,629B,629F,62A0,62A1,62A2,62A4,62A5,62A8,62AB,62AC,62B1,62B5,62B9,62BB,62BC,62BD,62BF,62C2,62C4,62C5,62C6,62C7,62C8,62C9,62CA,62CC,62CD,62CE,62D0,62D2,62D3,62D4,62D6,62D7,62D8,62D9,62DA,62DB,62DC,62DF,62E2,62E3,62E5,62E6,62E7,62E8,62E9,62EC,62ED,62EE,62EF,62F1,62F3,62F4,62F6,62F7,62FC,62FD,62FE,62FF,6301,6302,6307,6308,6309,630E,6311,6316,631A,631B,631D,631E,631F,6320,6321,6322,6323,6324,6325,6328,632A,632B,632F,6332,6339,633A,633D,6342,6343,6345,6346,6349,634B,634C,634D,634E,634F,6350,6355,635E,635F,6361,6362,6363,6367,6369,636D,636E,6371,6376,6377,637A,637B,6380,6382,6387,6388,6389,638A,638C,638E,638F,6390,6392,6396,6398,63A0,63A2,63A3,63A5,63A7,63A8,63A9,63AA,63AC,63AD,63AE,63B0,63B3,63B4,63B7,63B8,63BA,63BC,63BE,63C4,63C6,63C9,63CD,63CE,63CF,63D0,63D2,63D6,63DE,63E0,63E1,63E3,63E9,63EA,63ED,63F2,63F4,63F6,63F8,63FD,63FF,6400,6401,6402,6405,640B,640C,640F,6410,6413,6414,641B,641C,641E,6420,6421,6426,642A,642C,642D,6434,643A,643D,643F,6441,6444,6445,6446,6447,6448,644A,6452,6454,6458,645E,6467,6469,646D,6478,6479,647A,6482,6484,6485,6487,6491,6492,6495,6496,6499,649E,64A4,64A9,64AC,64AD,64AE,64B0,64B5,64B7,64B8,64BA,64BC,64C0,64C2,64C5,64CD,64CE,64D0,64D2,64D7,64D8,64DE,64E2,64E4,64E6,6500,6509,6512,6518,6525,652B,652E,652F,6534,6535,6536,6538,6539,653B,653E,653F,6545,6548,6549,654C,654F,6551,6555,6556,6559,655B,655D,655E,6562,6563,6566,656B,656C,6570,6572,6574,6577,6587,658B,658C,6590,6591,6593,6597,6599,659B,659C,659F,65A1,65A4,65A5,65A7,65A9,65AB,65AD,65AF,65B0,65B9,65BC,65BD,65C1,65C3,65C4,65C5,65C6,65CB,65CC,65CE,65CF,65D2,65D6,65D7,65E0,65E2,65E5,65E6,65E7,65E8,65E9,65EC,65ED,65EE,65EF,65F0,65F1,65F6,65F7,65FA,6600,6602,6603,6606,660A,660C,660E,660F,6613,6614,6615,6619,661D,661F,6620,6625,6627,6628,662D,662F,6631,6634,6635,6636,663C,663E,6641,6643,664B,664C,664F,6652,6653,6654,6655,6656,6657,665A,665F,6661,6664,6666,6668,666E,666F,6670,6674,6676,6677,667A,667E,6682,6684,6687,668C,6691,6696,6697,669D,66A7,66A8,66AE,66B4,66B9,66BE,66D9,66DB,66DC,66DD,66E6,66E9,66F0,66F2,66F3,66F4,66F7,66F9,66FC,66FE,66FF,6700,6708,6709,670A,670B,670D,6710,6714,6715,6717,671B,671D,671F,6726,6728,672A,672B,672C,672D,672F,6731,6734,6735,673A,673D,6740,6742,6743,6746,6748,6749,674C,674E,674F,6750,6751,6753,6756,675C,675E,675F,6760,6761,6765,6768,6769,676A,676D,676F,6770,6772,6773,6775,6777,677C,677E,677F,6781,6784,6787,6789,678B,6790,6795,6797,6798,679A,679C,679D,679E,67A2,67A3,67A5,67A7,67A8,67AA,67AB,67AD,67AF,67B0,67B3,67B5,67B6,67B7,67B8,67C1,67C3,67C4,67CF,67D0,67D1,
328867D2,67D3,67D4,67D8,67D9,67DA,67DC,67DD,67DE,67E0,67E2,67E5,67E9,67EC,67EF,67F0,67F1,67F3,67F4,67FD,67FF,6800,6805,6807,6808,6809,680A,680B,680C,680E,680F,6811,6813,6816,6817,681D,6821,6829,682A,6832,6833,6837,6838,6839,683C,683D,683E,6840,6841,6842,6843,6844,6845,6846,6848,6849,684A,684C,684E,6850,6851,6853,6854,6855,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,686B,6874,6876,6877,6881,6883,6885,6886,688F,6893,6897,68A2,68A6,68A7,68A8,68AD,68AF,68B0,68B3,68B5,68C0,68C2,68C9,68CB,68CD,68D2,68D5,68D8,68DA,68E0,68E3,68EE,68F0,68F1,68F5,68F9,68FA,68FC,6901,6905,690B,690D,690E,6910,6912,691F,6920,6924,692D,6930,6934,6939,693D,693F,6942,6954,6957,695A,695D,695E,6960,6963,6966,696B,696E,6971,6977,6978,6979,697C,6980,6982,6984,6986,6987,6988,6989,698D,6994,6995,6998,699B,699C,69A7,69A8,69AB,69AD,69B1,69B4,69B7,69BB,69C1,69CA,69CC,69CE,69D0,69D4,69DB,69DF,69E0,69ED,69F2,69FD,69FF,6A0A,6A17,6A18,6A1F,6A21,6A28,6A2A,6A2F,6A31,6A35,6A3D,6A3E,6A44,6A47,6A50,6A58,6A59,6A5B,6A61,6A65,6A71,6A79,6A7C,6A80,6A84,6A8E,6A90,6A91,6A97,6AA0,6AA9,6AAB,6AAC,6B20,6B21,6B22,6B23,6B24,6B27,6B32,6B37,6B39,6B3A,6B3E,6B43,6B46,6B47,6B49,6B4C,6B59,6B62,6B63,6B64,6B65,6B66,6B67,6B6A,6B79,6B7B,6B7C,6B81,6B82,6B83,6B84,6B86,6B87,6B89,6B8A,6B8B,6B8D,6B92,6B93,6B96,6B9A,6B9B,6BA1,6BAA,6BB3,6BB4,6BB5,6BB7,6BBF,6BC1,6BC2,6BC5,6BCB,6BCD,6BCF,6BD2,6BD3,6BD4,6BD5,6BD6,6BD7,6BD9,6BDB,6BE1,6BEA,6BEB,6BEF,6BF3,6BF5,6BF9,6BFD,6C05,6C06,6C07,6C0D,6C0F,6C10,6C11,6C13,6C14,6C15,6C16,6C18,6C19,6C1A,6C1B,6C1F,6C21,6C22,6C24,6C26,6C27,6C28,6C29,6C2A,6C2E,6C2F,6C30,6C32,6C34,6C35,6C38,6C3D,6C40,6C41,6C42,6C46,6C47,6C49,6C4A,6C50,6C54,6C55,6C57,6C5B,6C5C,6C5D,6C5E,6C5F,6C60,6C61,6C64,6C68,6C69,6C6A,6C70,6C72,6C74,6C76,6C79,6C7D,6C7E,6C81,6C82,6C83,6C85,6C86,6C88,6C89,6C8C,6C8F,6C90,6C93,6C94,6C99,6C9B,6C9F,6CA1,6CA3,6CA4,6CA5,6CA6,6CA7,6CA9,6CAA,6CAB,6CAD,6CAE,6CB1,6CB2,6CB3,6CB8,6CB9,6CBB,6CBC,6CBD,6CBE,6CBF,6CC4,6CC5,6CC9,6CCA,6CCC,6CD0,6CD3,6CD4,6CD5,6CD6,6CD7,6CDB,6CDE,6CE0,6CE1,6CE2,6CE3,6CE5,6CE8,6CEA,6CEB,6CEE,6CEF,6CF0,6CF1,6CF3,6CF5,6CF6,6CF7,6CF8,6CFA,6CFB,6CFC,6CFD,6CFE,6D01,6D04,6D07,6D0B,6D0C,6D0E,6D12,6D17,6D19,6D1A,6D1B,6D1E,6D25,6D27,6D2A,6D2B,6D2E,6D31,6D32,6D33,6D35,6D39,6D3B,6D3C,6D3D,6D3E,6D41,6D43,6D45,6D46,6D47,6D48,6D4A,6D4B,6D4D,6D4E,6D4F,6D51,6D52,6D53,6D54,6D59,6D5A,6D5C,6D5E,6D60,6D63,6D66,6D69,6D6A,6D6E,6D6F,6D74,6D77,6D78,6D7C,6D82,6D85,6D88,6D89,6D8C,6D8E,6D91,6D93,6D94,6D95,6D9B,6D9D,6D9E,6D9F,6DA0,6DA1,6DA3,6DA4,6DA6,6DA7,6DA8,6DA9,6DAA,6DAB,6DAE,6DAF,6DB2,6DB5,6DB8,6DBF,6DC0,6DC4,6DC5,6DC6,6DC7,6DCB,6DCC,6DD1,6DD6,6DD8,6DD9,6DDD,6DDE,6DE0,6DE1,6DE4,6DE6,6DEB,6DEC,6DEE,6DF1,6DF3,6DF7,6DF9,6DFB,6DFC,6E05,6E0A,6E0C,6E0D,6E0E,6E10,6E11,6E14,6E16,6E17,6E1A,6E1D,6E20,6E21,6E23,6E24,6E25,6E29,6E2B,6E2D,6E2F,6E32,6E34,6E38,6E3A,6E43,6E44,6E4D,6E4E,6E53,6E54,6E56,6E58,6E5B,6E5F,6E6B,6E6E,6E7E,6E7F,6E83,6E85,6E86,6E89,6E8F,6E90,6E98,6E9C,6E9F,6EA2,6EA5,6EA7,6EAA,6EAF,6EB1,6EB2,6EB4,6EB6,6EB7,6EBA,6EBB,6EBD,6EC1,6EC2,6EC7,6ECB,6ECF,6ED1,6ED3,6ED4,6ED5,6ED7,6EDA,6EDE,6EDF,6EE0,6EE1,6EE2,6EE4,6EE5,6EE6,6EE8,6EE9,6EF4,6EF9,6F02,6F06,6F09,6F0F,6F13,6F14,6F15,6F20,6F24,6F29,6F2A,6F2B,6F2D,6F2F,6F31,6F33,6F36,6F3E,6F46,6F47,6F4B,6F4D,6F58,6F5C,6F5E,6F62,6F66,6F6D,6F6E,6F72,6F74,6F78,6F7A,6F7C,6F84,6F88,6F89,6F8C,6F8D,6F8E,6F9C,6FA1,6FA7,6FB3,6FB6,6FB9,6FC0,6FC2,6FC9,6FD1,6FD2,6FDE,6FE0,6FE1,6FEE,6FEF,7011,701A,701B,7023,7035,7039,704C,704F,705E,706B,706C,706D,706F,7070,7075,7076,7078,707C,707E,707F,7080,7085,7089,708A,708E,7092,7094,7095,7096,7099,709C,709D,70AB,70AC,70AD,70AE,70AF,70B1,70B3,70B7,70B8,70B9,70BB,70BC,70BD,70C0,70C1,70C2,70C3,70C8,70CA,70D8,70D9,70DB,70DF,70E4,70E6,70E7,70E8,70E9,70EB,70EC,70ED,70EF,70F7,70F9,70FD,7109,710A,7110,7113,7115,7116,7118,7119,711A,7126,712F,7130,7131,7136,7145,714A,714C,714E,715C,715E,7164,7166,7167,7168,716E,7172,7173,7178,717A,717D,7184,718A,718F,7194,7198,7199,719F,71A0,71A8,71AC,71B3,71B5,71B9,71C3,71CE,71D4,71D5,71E0,71E5,71E7,71EE,71F9,7206,721D,7228,722A,722C,7230,7231,7235,7236,7237,7238,7239,723B,723D,723F,7247,7248,724C,724D,7252,7256,7259,725B,725D,725F,7261,7262,7266,7267,7269,726E,726F,7272,7275,7279,727A,727E,727F,7280,7281,7284,728A,728B,728D,728F,7292,729F,72AC,72AD,72AF,72B0,72B4,72B6,72B7,72B8,72B9,72C1,72C2,72C3,72C4,72C8,72CD,72CE,72D0,72D2,72D7,72D9,72DE,72E0,72E1,72E8,72E9,72EC,72ED,72EE,72EF,72F0,72F1,72F2,72F3,72F4,72F7,72F8,72FA,72FB,72FC,7301,7303,730A,730E,7313,7315,7316,7317,731B,731C,731D,731E,7321,7322,7325,7329,732A,732B,732C,732E,7331,7334,7337,7338,7339,733E,733F,734D,7350,7352,7357,7360,736C,736D,736F,737E,7384,7387,7389,738B,738E,7391,7396,739B,739F,73A2,73A9,73AB,73AE,73AF,73B0,73B2,73B3,73B7,73BA,73BB,73C0,73C2,73C8,73C9,73CA,73CD,73CF,73D0,73D1,73D9,73DE,73E0,73E5,73E7,73E9,73ED,73F2,7403,7405,7406,7409,740A,740F,7410,741A,741B,7422,7425,7426,7428,742A,742C,742E,7430,7433,7434,7435,7436,743C,7441,7455,7457,7459,745A,745B,745C,745E,745F,746D,7470,7476,7477,747E,7480,7481,7483,7487,748B,748E,7490,749C,749E,74A7,74A8,74A9,74BA,74D2,74DC,74DE,74E0,74E2,74E3,74E4,74E6,74EE,74EF,74F4,74F6,74F7,74FF,7504,750D,750F,7511,7513,7518,7519,7
328851A,751C,751F,7525,7528,7529,752B,752C,752D,752F,7530,7531,7532,7533,7535,7537,7538,753A,753B,753E,7540,7545,7548,754B,754C,754E,754F,7554,7559,755A,755B,755C,7565,7566,756A,7572,7574,7578,7579,757F,7583,7586,758B,758F,7591,7592,7594,7596,7597,7599,759A,759D,759F,75A0,75A1,75A3,75A4,75A5,75AB,75AC,75AE,75AF,75B0,75B1,75B2,75B3,75B4,75B5,75B8,75B9,75BC,75BD,75BE,75C2,75C3,75C4,75C5,75C7,75C8,75C9,75CA,75CD,75D2,75D4,75D5,75D6,75D8,75DB,75DE,75E2,75E3,75E4,75E6,75E7,75E8,75EA,75EB,75F0,75F1,75F4,75F9,75FC,75FF,7600,7601,7603,7605,760A,760C,7610,7615,7617,7618,7619,761B,761F,7620,7622,7624,7625,7626,7629,762A,762B,762D,7630,7633,7634,7635,7638,763C,763E,763F,7640,7643,764C,764D,7654,7656,765C,765E,7663,766B,766F,7678,767B,767D,767E,7682,7684,7686,7687,7688,768B,768E,7691,7693,7696,7699,76A4,76AE,76B1,76B2,76B4,76BF,76C2,76C5,76C6,76C8,76CA,76CD,76CE,76CF,76D0,76D1,76D2,76D4,76D6,76D7,76D8,76DB,76DF,76E5,76EE,76EF,76F1,76F2,76F4,76F8,76F9,76FC,76FE,7701,7704,7707,7708,7709,770B,770D,7719,771A,771F,7720,7722,7726,7728,7729,772D,772F,7735,7736,7737,7738,773A,773C,7740,7741,7743,7747,7750,7751,775A,775B,7761,7762,7763,7765,7766,7768,776B,776C,7779,777D,777E,777F,7780,7784,7785,778C,778D,778E,7791,7792,779F,77A0,77A2,77A5,77A7,77A9,77AA,77AC,77B0,77B3,77B5,77BB,77BD,77BF,77CD,77D7,77DB,77DC,77E2,77E3,77E5,77E7,77E9,77EB,77EC,77ED,77EE,77F3,77F6,77F8,77FD,77FE,77FF,7800,7801,7802,7809,780C,780D,7811,7812,7814,7816,7817,7818,781A,781C,781D,781F,7823,7825,7826,7827,7829,782C,782D,7830,7834,7837,7838,7839,783A,783B,783C,783E,7840,7845,7847,784C,784E,7850,7852,7855,7856,7857,785D,786A,786B,786C,786D,786E,7877,787C,7887,7889,788C,788D,788E,7891,7893,7897,7898,789A,789B,789C,789F,78A1,78A3,78A5,78A7,78B0,78B1,78B2,78B3,78B4,78B9,78BE,78C1,78C5,78C9,78CA,78CB,78D0,78D4,78D5,78D9,78E8,78EC,78F2,78F4,78F7,78FA,7901,7905,7913,791E,7924,7934,793A,793B,793C,793E,7940,7941,7946,7948,7949,7953,7956,7957,795A,795B,795C,795D,795E,795F,7960,7962,7965,7967,7968,796D,796F,7977,7978,797A,7980,7981,7984,7985,798A,798F,799A,79A7,79B3,79B9,79BA,79BB,79BD,79BE,79C0,79C1,79C3,79C6,79C9,79CB,79CD,79D1,79D2,79D5,79D8,79DF,79E3,79E4,79E6,79E7,79E9,79EB,79ED,79EF,79F0,79F8,79FB,79FD,7A00,7A02,7A03,7A06,7A0B,7A0D,7A0E,7A14,7A17,7A1A,7A1E,7A20,7A23,7A33,7A37,7A39,7A3B,7A3C,7A3D,7A3F,7A46,7A51,7A57,7A70,7A74,7A76,7A77,7A78,7A79,7A7A,7A7F,7A80,7A81,7A83,7A84,7A86,7A88,7A8D,7A91,7A92,7A95,7A96,7A97,7A98,7A9C,7A9D,7A9F,7AA0,7AA5,7AA6,7AA8,7AAC,7AAD,7AB3,7ABF,7ACB,7AD6,7AD9,7ADE,7ADF,7AE0,7AE3,7AE5,7AE6,7AED,7AEF,7AF9,7AFA,7AFD,7AFF,7B03,7B04,7B06,7B08,7B0A,7B0B,7B0F,7B11,7B14,7B15,7B19,7B1B,7B1E,7B20,7B24,7B25,7B26,7B28,7B2A,7B2B,7B2C,7B2E,7B31,7B33,7B38,7B3A,7B3C,7B3E,7B45,7B47,7B49,7B4B,7B4C,7B4F,7B50,7B51,7B52,7B54,7B56,7B58,7B5A,7B5B,7B5D,7B60,7B62,7B6E,7B71,7B72,7B75,7B77,7B79,7B7B,7B7E,7B80,7B85,7B8D,7B90,7B94,7B95,7B97,7B9C,7B9D,7BA1,7BA2,7BA6,7BA7,7BA8,7BA9,7BAA,7BAB,7BAC,7BAD,7BB1,7BB4,7BB8,7BC1,7BC6,7BC7,7BCC,7BD1,7BD3,7BD9,7BDA,7BDD,7BE1,7BE5,7BE6,7BEA,7BEE,7BF1,7BF7,7BFC,7BFE,7C07,7C0B,7C0C,7C0F,7C16,7C1F,7C26,7C27,7C2A,7C38,7C3F,7C40,7C41,7C4D,7C73,7C74,7C7B,7C7C,7C7D,7C89,7C91,7C92,7C95,7C97,7C98,7C9C,7C9D,7C9E,7C9F,7CA2,7CA4,7CA5,7CAA,7CAE,7CB1,7CB2,7CB3,7CB9,7CBC,7CBD,7CBE,7CC1,7CC5,7CC7,7CC8,7CCA,7CCC,7CCD,7CD5,7CD6,7CD7,7CD9,7CDC,7CDF,7CE0,7CE8,7CEF,7CF8,7CFB,7D0A,7D20,7D22,7D27,7D2B,7D2F,7D6E,7D77,7DA6,7DAE,7E3B,7E41,7E47,7E82,7E9B,7E9F,7EA0,7EA1,7EA2,7EA3,7EA4,7EA5,7EA6,7EA7,7EA8,7EA9,7EAA,7EAB,7EAC,7EAD,7EAF,7EB0,7EB1,7EB2,7EB3,7EB5,7EB6,7EB7,7EB8,7EB9,7EBA,7EBD,7EBE,7EBF,7EC0,7EC1,7EC2,7EC3,7EC4,7EC5,7EC6,7EC7,7EC8,7EC9,7ECA,7ECB,7ECC,7ECD,7ECE,7ECF,7ED0,7ED1,7ED2,7ED3,7ED4,7ED5,7ED7,7ED8,7ED9,7EDA,7EDB,7EDC,7EDD,7EDE,7EDF,7EE0,7EE1,7EE2,7EE3,7EE5,7EE6,7EE7,7EE8,7EE9,7EEA,7EEB,7EED,7EEE,7EEF,7EF0,7EF1,7EF2,7EF3,7EF4,7EF5,7EF6,7EF7,7EF8,7EFA,7EFB,7EFC,7EFD,7EFE,7EFF,7F00,7F01,7F02,7F03,7F04,7F05,7F06,7F07,7F08,7F09,7F0B,7F0C,7F0D,7F0E,7F0F,7F11,7F12,7F13,7F14,7F15,7F16,7F17,7F18,7F19,7F1A,7F1B,7F1C,7F1D,7F1F,7F20,7F21,7F22,7F23,7F24,7F25,7F26,7F27,7F28,7F29,7F2A,7F2B,7F2C,7F2D,7F2E,7F2F,7F30,7F31,7F32,7F33,7F34,7F35,7F36,7F38,7F3A,7F42,7F44,7F45,7F50,7F51,7F54,7F55,7F57,7F58,7F5A,7F5F,7F61,7F62,7F68,7F69,7F6A,7F6E,7F71,7F72,7F74,7F79,7F7E,7F81,7F8A,7F8C,7F8E,7F94,7F9A,7F9D,7F9E,7F9F,7FA1,7FA4,7FA7,7FAF,7FB0,7FB2,7FB8,7FB9,7FBC,7FBD,7FBF,7FC1,7FC5,7FCA,7FCC,7FCE,7FD4,7FD5,7FD8,7FDF,7FE0,7FE1,7FE5,7FE6,7FE9,7FEE,7FF0,7FF1,7FF3,7FFB,7FFC,8000,8001,8003,8004,8005,8006,800B,800C,800D,8010,8012,8014,8015,8016,8017,8018,8019,801C,8020,8022,8025,8026,8027,8028,8029,802A,8031,8033,8035,8036,8037,8038,803B,803D,803F,8042,8043,8046,804A,804B,804C,804D,8052,8054,8058,805A,8069,806A,8071,807F,8080,8083,8084,8086,8087,8089,808B,808C,8093,8096,8098,809A,809B,809C,809D,809F,80A0,80A1,80A2,80A4,80A5,80A9,8
32880AA,80AB,80AD,80AE,80AF,80B1,80B2,80B4,80B7,80BA,80BC,80BD,80BE,80BF,80C0,80C1,80C2,80C3,80C4,80C6,80CC,80CD,80CE,80D6,80D7,80D9,80DA,80DB,80DC,80DD,80DE,80E1,80E4,80E5,80E7,80E8,80E9,80EA,80EB,80EC,80ED,80EF,80F0,80F1,80F2,80F3,80F4,80F6,80F8,80FA,80FC,80FD,8102,8106,8109,810A,810D,810E,810F,8110,8111,8112,8113,8114,8116,8118,811A,811E,812C,812F,8131,8132,8136,8138,813E,8146,8148,814A,814B,814C,8150,8151,8153,8154,8155,8159,815A,8160,8165,8167,8169,816D,816E,8170,8171,8174,8179,817A,817B,817C,817D,817E,817F,8180,8182,8188,818A,818F,8191,8198,819B,819C,819D,81A3,81A6,81A8,81AA,81B3,81BA,81BB,81C0,81C1,81C2,81C3,81C6,81CA,81CC,81E3,81E7,81EA,81EC,81ED,81F3,81F4,81FB,81FC,81FE,8200,8201,8202,8204,8205,8206,820C,820D,8210,8212,8214,821B,821C,821E,821F,8221,8222,8223,8228,822A,822B,822C,822D,822F,8230,8231,8233,8234,8235,8236,8237,8238,8239,823B,823E,8244,8247,8249,824B,824F,8258,825A,825F,8268,826E,826F,8270,8272,8273,8274,8279,827A,827D,827E,827F,8282,8284,8288,828A,828B,828D,828E,828F,8291,8292,8297,8298,8299,829C,829D,829F,82A1,82A4,82A5,82A6,82A8,82A9,82AA,82AB,82AC,82AD,82AE,82AF,82B0,82B1,82B3,82B4,82B7,82B8,82B9,82BD,82BE,82C1,82C4,82C7,82C8,82CA,82CB,82CC,82CD,82CE,82CF,82D1,82D2,82D3,82D4,82D5,82D7,82D8,82DB,82DC,82DE,82DF,82E0,82E1,82E3,82E4,82E5,82E6,82EB,82EF,82F1,82F4,82F7,82F9,82FB,8301,8302,8303,8304,8305,8306,8307,8308,8309,830C,830E,830F,8311,8314,8315,8317,831A,831B,831C,8327,8328,832B,832C,832D,832F,8331,8333,8334,8335,8336,8338,8339,833A,833C,8340,8343,8346,8347,8349,834F,8350,8351,8352,8354,835A,835B,835C,835E,835F,8360,8361,8363,8364,8365,8366,8367,8368,8369,836A,836B,836C,836D,836E,836F,8377,8378,837B,837C,837D,8385,8386,8389,838E,8392,8393,8398,839B,839C,839E,83A0,83A8,83A9,83AA,83AB,83B0,83B1,83B2,83B3,83B4,83B6,83B7,83B8,83B9,83BA,83BC,83BD,83C0,83C1,83C5,83C7,83CA,83CC,83CF,83D4,83D6,83D8,83DC,83DD,83DF,83E0,83E1,83E5,83E9,83EA,83F0,83F1,83F2,83F8,83F9,83FD,8401,8403,8404,8406,840B,840C,840D,840E,840F,8411,8418,841C,841D,8424,8425,8426,8427,8428,8431,8438,843C,843D,8446,8451,8457,8459,845A,845B,845C,8461,8463,8469,846B,846C,846D,8471,8473,8475,8476,8478,847A,8482,8487,8488,8489,848B,848C,848E,8497,8499,849C,84A1,84AF,84B2,84B4,84B8,84B9,84BA,84BD,84BF,84C1,84C4,84C9,84CA,84CD,84D0,84D1,84D3,84D6,84DD,84DF,84E0,84E3,84E5,84E6,84EC,84F0,84FC,84FF,850C,8511,8513,8517,851A,851F,8521,852B,852C,8537,8538,8539,853A,853B,853C,853D,8543,8548,8549,854A,8556,8559,855E,8564,8568,8572,8574,8579,857A,857B,857E,8584,8585,8587,858F,859B,859C,85A4,85A8,85AA,85AE,85AF,85B0,85B7,85B9,85C1,85C9,85CF,85D0,85D3,85D5,85DC,85E4,85E9,85FB,85FF,8605,8611,8616,8627,8629,8638,863C,864D,864E,864F,8650,8651,8654,865A,865E,8662,866B,866C,866E,8671,8679,867A,867B,867C,867D,867E,867F,8680,8681,8682,868A,868B,868C,868D,8693,8695,869C,869D,86A3,86A4,86A7,86A8,86A9,86AA,86AC,86AF,86B0,86B1,86B4,86B5,86B6,86BA,86C0,86C4,86C6,86C7,86C9,86CA,86CB,86CE,86CF,86D0,86D1,86D4,86D8,86D9,86DB,86DE,86DF,86E4,86E9,86ED,86EE,86F0,86F1,86F2,86F3,86F4,86F8,86F9,86FE,8700,8702,8703,8707,8708,8709,870A,870D,8712,8713,8715,8717,8718,871A,871C,871E,8721,8722,8723,8725,8729,872E,8731,8734,8737,873B,873E,873F,8747,8748,8749,874C,874E,8753,8757,8759,8760,8763,8764,8765,876E,8770,8774,8776,877B,877C,877D,877E,8782,8783,8785,8788,878B,878D,8793,8797,879F,87A8,87AB,87AC,87AD,87AF,87B3,87B5,87BA,87BD,87C0,87C6,87CA,87CB,87D1,87D2,87D3,87DB,87E0,87E5,87EA,87EE,87F9,87FE,8803,880A,8813,8815,8816,881B,8821,8822,8832,8839,883C,8840,8844,8845,884C,884D,8854,8857,8859,8861,8862,8863,8864,8865,8868,8869,886B,886C,886E,8870,8872,8877,887D,887E,887F,8881,8882,8884,8885,8888,888B,888D,8892,8896,889C,88A2,88A4,88AB,88AD,88B1,88B7,88BC,88C1,88C2,88C5,88C6,88C9,88CE,88D2,88D4,88D5,88D8,88D9,88DF,88E2,88E3,88E4,88E5,88E8,88F0,88F1,88F3,88F4,88F8,88F9,88FC,88FE,8902,890A,8910,8912,8913,8919,891A,891B,8921,8925,892A,892B,8930,8934,8936,8941,8944,895E,895F,8966,897B,897F,8981,8983,8986,89C1,89C2,89C4,89C5,89C6,89C7,89C8,89C9,89CA,89CB,89CC,89CE,89CF,89D0,89D1,89D2,89D6,89DA,89DC,89DE,89E3,89E5,89E6,89EB,89EF,89F3,8A00,8A07,8A3E,8A48,8A79,8A89,8A8A,8A93,8B07,8B26,8B66,8B6C,8BA0,8BA1,8BA2,8BA3,8BA4,8BA5,8BA6,8BA7,8BA8,8BA9,8BAA,8BAB,8BAD,8BAE,8BAF,8BB0,8BB2,8BB3,8BB4,8BB5,8BB6,8BB7,8BB8,8BB9,8BBA,8BBC,8BBD,8BBE,8BBF,8BC0,8BC1,8BC2,8BC3,8BC4,8BC5,8BC6,8BC8,8BC9,8BCA,8BCB,8BCC,8BCD,8BCE,8BCF,8BD1,8BD2,8BD3,8BD4,8BD5,8BD6,8BD7,8BD8,8BD9,8BDA,8BD
3288B,8BDC,8BDD,8BDE,8BDF,8BE0,8BE1,8BE2,8BE3,8BE4,8BE5,8BE6,8BE7,8BE8,8BE9,8BEB,8BEC,8BED,8BEE,8BEF,8BF0,8BF1,8BF2,8BF3,8BF4,8BF5,8BF6,8BF7,8BF8,8BF9,8BFA,8BFB,8BFC,8BFD,8BFE,8BFF,8C00,8C01,8C02,8C03,8C04,8C05,8C06,8C07,8C08,8C0A,8C0B,8C0C,8C0D,8C0E,8C0F,8C10,8C11,8C12,8C13,8C14,8C15,8C16,8C17,8C18,8C19,8C1A,8C1B,8C1C,8C1D,8C1F,8C20,8C21,8C22,8C23,8C24,8C25,8C26,8C27,8C28,8C29,8C2A,8C2B,8C2C,8C2D,8C2E,8C2F,8C30,8C31,8C32,8C33,8C34,8C35,8C36,8C37,8C41,8C46,8C47,8C49,8C4C,8C55,8C5A,8C61,8C62,8C6A,8C6B,8C73,8C78,8C79,8C7A,8C82,8C85,8C89,8C8A,8C8C,8C94,8C98,8D1D,8D1E,8D1F,8D21,8D22,8D23,8D24,8D25,8D26,8D27,8D28,8D29,8D2A,8D2B,8D2C,8D2D,8D2E,8D2F,8D30,8D31,8D32,8D33,8D34,8D35,8D36,8D37,8D38,8D39,8D3A,8D3B,8D3C,8D3D,8D3E,8D3F,8D40,8D41,8D42,8D43,8D44,8D45,8D46,8D47,8D48,8D49,8D4A,8D4B,8D4C,8D4D,8D4E,8D4F,8D50,8D53,8D54,8D55,8D56,8D58,8D59,8D5A,8D5B,8D5C,8D5D,8D5E,8D60,8D61,8D62,8D63,8D64,8D66,8D67,8D6B,8D6D,8D70,8D73,8D74,8D75,8D76,8D77,8D81,8D84,8D85,8D8A,8D8B,8D91,8D94,8D9F,8DA3,8DB1,8DB3,8DB4,8DB5,8DB8,8DBA,8DBC,8DBE,8DBF,8DC3,8DC4,8DC6,8DCB,8DCC,8DCE,8DCF,8DD1,8DD6,8DD7,8DDA,8DDB,8DDD,8DDE,8DDF,8DE3,8DE4,8DE8,8DEA,8DEB,8DEC,8DEF,8DF3,8DF5,8DF7,8DF8,8DF9,8DFA,8DFB,8DFD,8E05,8E09,8E0A,8E0C,8E0F,8E14,8E1D,8E1E,8E1F,8E22,8E23,8E29,8E2A,8E2C,8E2E,8E2F,8E31,8E35,8E39,8E3A,8E3D,8E40,8E41,8E42,8E44,8E47,8E48,8E49,8E4A,8E4B,8E51,8E52,8E59,8E66,8E69,8E6C,8E6D,8E6F,8E70,8E72,8E74,8E76,8E7C,8E7F,8E81,8E85,8E87,8E8F,8E90,8E94,8E9C,8E9E,8EAB,8EAC,8EAF,8EB2,8EBA,8ECE,8F66,8F67,8F68,8F69,8F6B,8F6C,8F6D,8F6E,8F6F,8F70,8F71,8F72,8F73,8F74,8F75,8F76,8F77,8F78,8F79,8F7A,8F7B,8F7C,8F7D,8F7E,8F7F,8F81,8F82,8F83,8F84,8F85,8F86,8F87,8F88,8F89,8F8A,8F8B,8F8D,8F8E,8F8F,8F90,8F91,8F93,8F94,8F95,8F96,8F97,8F98,8F99,8F9A,8F9B,8F9C,8F9E,8F9F,8FA3,8FA8,8FA9,8FAB,8FB0,8FB1,8FB6,8FB9,8FBD,8FBE,8FC1,8FC2,8FC4,8FC5,8FC7,8FC8,8FCE,8FD0,8FD1,8FD3,8FD4,8FD5,8FD8,8FD9,8FDB,8FDC,8FDD,8FDE,8FDF,8FE2,8FE4,8FE5,8FE6,8FE8,8FE9,8FEA,8FEB,8FED,8FEE,8FF0,8FF3,8FF7,8FF8,8FF9,8FFD,9000,9001,9002,9003,9004,9005,9006,9009,900A,900B,900D,900F,9010,9011,9012,9014,9016,9017,901A,901B,901D,901E,901F,9020,9021,9022,9026,902D,902E,902F,9035,9036,9038,903B,903C,903E,9041,9042,9044,9047,904D,904F,9050,9051,9052,9053,9057,9058,905B,9062,9063,9065,9068,906D,906E,9074,9075,907D,907F,9080,9082,9083,9088,908B,9091,9093,9095,9097,9099,909B,909D,90A1,90A2,90A3,90A6,90AA,90AC,90AE,90AF,90B0,90B1,90B3,90B4,90B5,90B6,90B8,90B9,90BA,90BB,90BE,90C1,90C4,90C5,90C7,90CA,90CE,90CF,90D0,90D1,90D3,90D7,90DB,90DC,90DD,90E1,90E2,90E6,90E7,90E8,90EB,90ED,90EF,90F4,90F8,90FD,90FE,9102,9104,9119,911E,9122,9123,912F,9131,9139,9143,9146,9149,914A,914B,914C,914D,914E,914F,9150,9152,9157,915A,915D,915E,9161,9162,9163,9164,9165,9169,916A,916C,916E,916F,9170,9171,9172,9174,9175,9176,9177,9178,9179,917D,917E,917F,9185,9187,9189,918B,918C,918D,9190,9191,9192,919A,919B,91A2,91A3,91AA,91AD,91AE,91AF,91B4,91B5,91BA,91C7,91C9,91CA,91CC,91CD,91CE,91CF,91D1,91DC,9274,928E,92AE,92C8,933E,936A,938F,93CA,93D6,943E,946B,9485,9486,9487,9488,9489,948A,948B,948C,948D,948E,948F,9490,9492,9493,9494,9495,9497,9499,949A,949B,949C,949D,949E,949F,94A0,94A1,94A2,94A3,94A4,94A5,94A6,94A7,94A8,94A9,94AA,94AB,94AC,94AD,94AE,94AF,94B0,94B1,94B2,94B3,94B4,94B5,94B6,94B7,94B8,94B9,94BA,94BB,94BC,94BD,94BE,94BF,94C0,94C1,94C2,94C3,94C4,94C5,94C6,94C8,94C9,94CA,94CB,94CC,94CD,94CE,94D0,94D1,94D2,94D5,94D6,94D7,94D8,94D9,94DB,94DC,94DD,94DE,94DF,94E0,94E1,94E2,94E3,94E4,94E5,94E7,94E8,94E9,94EA,94EB,94EC,94ED,94EE,94EF,94F0,94F1,94F2,94F3,94F4,94F5,94F6,94F7,94F8,94F9,94FA,94FC,94FD,94FE,94FF,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,950A,950B,950C,950D,950E,950F,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,951A,951B,951D,951E,951F,9521,9522,9523,9524,9525,9526,9528,9529,952A,952B,952C,952D,952E,952F,9530,9531,9532,9534,9535,9536,9537,9538,9539,953A,953B,953C,953E,953F,9540,9541,9542,9544,9545,9546,9547,9549,954A,954C,954D,954E,954F,9550,9551,9552,9553,9554,9556,9557,9558,9559,955B,955C,955D,955E,955F,9561,9562,9563,9564,9565,9566,9567,9568,9569,956A,956B,956C,956D,956F,9570,9571,9572,9573,9576,957F,95E8,95E9,95EA,95EB,95ED,95EE,95EF,95F0,95F1,95F2,95F3,95F4,95F5,95F6,95F7,95F8,95F9,95FA,95FB,95FC,95FD,95FE,9600,9601,9602,9603,9604,9605,9606,9608,9609,960A,960B,960C,960D,960E,960F,9610,9611,9612,9614,9615,9616,9617,9619,961A,961C,961D,961F,9621,9622,962A,962E,9631,9632,9633,9634,9635,9636,963B,963C,963D,963F,9640,9642,9644,9645,9646,9647,9648,9649,964B,964C,964D,9650,9654,9655,965B,965F,9661,9662,9664,9667,9668,9669,966A,966C,9672,9674,9675,9676,9677,9685,9686,9688,968B,968D,968F,9690,9694,9697,9698,9699,969C,96A7,96B0,96B3,96B6,96B9,96BC,96BD,96BE,96C0,96C1,96C4,96C5,96C6,96C7,96C9,96CC,96CD,96CE,96CF,9
32886D2,96D5,96E0,96E8,96E9,96EA,96EF,96F3,96F6,96F7,96F9,96FE,9700,9701,9704,9706,9707,9708,9709,970D,970E,970F,9713,9716,971C,971E,972A,972D,9730,9732,9738,9739,973E,9752,9753,9756,9759,975B,975E,9760,9761,9762,9765,9769,9773,9774,9776,977C,9785,978B,978D,9791,9792,9794,9798,97A0,97A3,97AB,97AD,97AF,97B2,97B4,97E6,97E7,97E9,97EA,97EB,97EC,97ED,97F3,97F5,97F6,9875,9876,9877,9878,9879,987A,987B,987C,987D,987E,987F,9880,9881,9882,9883,9884,9885,9886,9887,9888,9889,988A,988C,988D,988F,9890,9891,9893,9894,9896,9897,9898,989A,989B,989C,989D,989E,989F,98A0,98A1,98A2,98A4,98A5,98A6,98A7,98CE,98D1,98D2,98D3,98D5,98D8,98D9,98DA,98DE,98DF,98E7,98E8,990D,9910,992E,9954,9955,9963,9965,9967,9968,9969,996A,996B,996C,996D,996E,996F,9970,9971,9972,9974,9975,9976,9977,997A,997C,997D,997F,9980,9981,9984,9985,9986,9987,9988,998A,998B,998D,998F,9990,9991,9992,9993,9994,9995,9996,9997,9998,9999,99A5,99A8,9A6C,9A6D,9A6E,9A6F,9A70,9A71,9A73,9A74,9A75,9A76,9A77,9A78,9A79,9A7A,9A7B,9A7C,9A7D,9A7E,9A7F,9A80,9A81,9A82,9A84,9A85,9A86,9A87,9A88,9A8A,9A8B,9A8C,9A8F,9A90,9A91,9A92,9A93,9A96,9A97,9A98,9A9A,9A9B,9A9C,9A9D,9A9E,9A9F,9AA0,9AA1,9AA2,9AA3,9AA4,9AA5,9AA7,9AA8,9AB0,9AB1,9AB6,9AB7,9AB8,9ABA,9ABC,9AC0,9AC1,9AC2,9AC5,9ACB,9ACC,9AD1,9AD3,9AD8,9ADF,9AE1,9AE6,9AEB,9AED,9AEF,9AF9,9AFB,9B03,9B08,9B0F,9B13,9B1F,9B23,9B2F,9B32,9B3B,9B3C,9B41,9B42,9B43,9B44,9B45,9B47,9B48,9B49,9B4D,9B4F,9B51,9B54,9C7C,9C7F,9C81,9C82,9C85,9C86,9C87,9C88,9C8B,9C8D,9C8E,9C90,9C91,9C92,9C94,9C95,9C9A,9C9B,9C9C,9C9E,9C9F,9CA0,9CA1,9CA2,9CA3,9CA4,9CA5,9CA6,9CA7,9CA8,9CA9,9CAB,9CAD,9CAE,9CB0,9CB1,9CB2,9CB3,9CB4,9CB5,9CB6,9CB7,9CB8,9CBA,9CBB,9CBC,9CBD,9CC3,9CC4,9CC5,9CC6,9CC7,9CCA,9CCB,9CCC,9CCD,9CCE,9CCF,9CD0,9CD3,9CD4,9CD5,9CD6,9CD7,9CD8,9CD9,9CDC,9CDD,9CDE,9CDF,9CE2,9E1F,9E20,9E21,9E22,9E23,9E25,9E26,9E28,9E29,9E2A,9E2B,9E2C,9E2D,9E2F,9E31,9E32,9E33,9E35,9E36,9E37,9E38,9E39,9E3A,9E3D,9E3E,9E3F,9E41,9E42,9E43,9E44,9E45,9E46,9E47,9E48,9E49,9E4A,9E4B,9E4C,9E4E,9E4F,9E51,9E55,9E57,9E58,9E5A,9E5B,9E5C,9E5E,9E63,9E64,9E66,9E67,9E68,9E69,9E6A,9E6B,9E6C,9E6D,9E70,9E71,9E73,9E7E,9E7F,9E82,9E87,9E88,9E8B,9E92,9E93,9E9D,9E9F,9EA6,9EB4,9EB8,9EBB,9EBD,9EBE,9EC4,9EC9,9ECD,9ECE,9ECF,9ED1,9ED4,9ED8,9EDB,9EDC,9EDD,9EDF,9EE0,9EE2,9EE5,9EE7,9EE9,9EEA,9EEF,9EF9,9EFB,9EFC,9EFE,9F0B,9F0D,9F0E,9F10,9F13,9F17,9F19,9F20,9F22,9F2C,9F2F,9F37,9F39,9F3B,9F3D,9F3E,9F44,9F50,9F51,9F7F,9F80,9F83,9F84,9F85,9F86,9F87,9F88,9F89,9F8A,9F8B,9F8C,9F99,9F9A,9F9B,9F9F,9FA0,FF01,FF02,FF03,FF04,FF05,FF06,FF07,FF08,FF09,FF0A,FF0B,FF0C,FF0D,FF0E,FF0F,FF10,FF11,FF12,FF13,FF14,FF15,FF16,FF17,FF18,FF19,FF1A,FF1B,FF1C,FF1D,FF1E,FF1F,FF20,FF21,FF22,FF23,FF24,FF25,FF26,FF27,FF28,FF29,FF2A,FF2B,FF2C,FF2D,FF2E,FF2F,FF30,FF31,FF32,F
3288F33,FF34,FF35,FF36,FF37,FF38,FF39,FF3A,FF3B,FF3C,FF3D,FF3E,FF3F,FF40,FF41,FF42,FF43,FF44,FF45,FF46,FF47,FF48,FF49,FF4A,FF4B,FF4C,FF4D,FF4E,FF4F,FF50,FF51,FF52,FF53,FF54,FF55,FF56,FF57,FF58,FF59,FF5A,FF5B,FF5C,FF5D,FF5E,FFE0,FFE1,FFE3,FFE5";
3289},_ansicode:function(){return"A1E8,A1EC,A1A7,A1E3,A1C0,A1A4,A1C1,A8A4,A8A2,A8A8,A8A6,A8BA,A8AC,A8AA,A8B0,A8AE,A1C2,A8B4,A8B2,A8B9,A8A1,A8A5,A8A7,A8A9,A8AD,A8B1,A8A3,A8AB,A8AF,A8B3,A8B5,A8B6,A8B7,A8B8,A1A6,A1A5,A6A1,A6A2,A6A3,A6A4,A6A5,A6A6,A6A7,A6A8,A6A9,A6AA,A6AB,A6AC,A6AD,A6AE,A6AF,A6B0,A6B1,A6B2,A6B3,A6B4,A6B5,A6B6,A6B7,A6B8,A6C1,A6C2,A6C3,A6C4,A6C5,A6C6,A6C7,A6C8,A6C9,A6CA,A6CB,A6CC,A6CD,A6CE,A6CF,A6D0,A6D1,A6D2,A6D3,A6D4,A6D5,A6D6,A6D7,A6D8,A7A7,A7A1,A7A2,A7A3,A7A4,A7A5,A7A6,A7A8,A7A9,A7AA,A7AB,A7AC,A7AD,A7AE,A7AF,A7B0,A7B1,A7B2,A7B3,A7B4,A7B5,A7B6,A7B7,A7B8,A7B9,A7BA,A7BB,A7BC,A7BD,A7BE,A7BF,A7C0,A7C1,A7D1,A7D2,A7D3,A7D4,A7D5,A7D6,A7D8,A7D9,A7DA,A7DB,A7DC,A7DD,A7DE,A7DF,A7E0,A7E1,A7E2,A7E3,A7E4,A7E5,A7E6,A7E7,A7E8,A7E9,A7EA,A7EB,A7EC,A7ED,A7EE,A7EF,A7F0,A7F1,A7D7,A1AA,A1AC,A1AE,A1AF,A1B0,A1B1,A1AD,A1EB,A1E4,A1E5,A1F9,A1E6,A1ED,A2F1,A2F2,A2F3,A2F4,A2F5,A2F6,A2F7,A2F8,A2F9,A2FA,A2FB,A2FC,A1FB,A1FC,A1FA,A1FD,A1CA,A1C7,A1C6,A1CC,A1D8,A1DE,A1CF,A1CE,A1C4,A1C5,A1C9,A1C8,A1D2,A1D3,A1E0,A1DF,A1C3,A1CB,A1D7,A1D6,A1D5,A1D9,A1D4,A1DC,A1DD,A1DA,A1DB,A1D1,A1CD,A1D0,A2D9,A2DA,A2DB,A2DC,A2DD,A2DE,A2DF,A2E0,A2E1,A2E2,A2C5,A2C6,A2C7,A2C8,A2C9,A2CA,A2CB,A2CC,A2CD,A2CE,A2CF,A2D0,A2D1,A2D2,A2D3,A2D4,A2D5,A2D6,A2D7,A2D8,A2B1,A2B2,A2B3,A2B4,A2B5,A2B6,A2B7,A2B8,A2B9,A2BA,A2BB,A2BC,A2BD,A2BE,A2BF,A2C0,A2C1,A2C2,A2C3,A2C4,A9A4,A9A5,A9A6,A9A7,A9A8,A9A9,A9AA,A9AB,A9AC,A9AD,A9AE,A9AF,A9B0,A9B1,A9B2,A9B3,A9B4,A9B5,A9B6,A9B7,A9B8,A9B9,A9BA,A9BB,A9BC,A9BD,A9BE,A9BF,A9C0,A9C1,A9C2,A9C3,A9C4,A9C5,A9C6,A9C7,A9C8,A9C9,A9CA,A9CB,A9CC,A9CD,A9CE,A9CF,A9D0,A9D1,A9D2,A9D3,A9D4,A9D5,A9D6,A9D7,A9D8,A9D9,A9DA,A9DB,A9DC,A9DD,A9DE,A9DF,A9E0,A9E1,A9E2,A9E3,A9E4,A9E5,A9E6,A9E7,A9E8,A9E9,A9EA,A9EB,A9EC,A9ED,A9EE,A9EF,A1F6,A1F5,A1F8,A1F7,A1F4,A1F3,A1F0,A1F2,A1F1,A1EF,A1EE,A1E2,A1E1,A1A1,A1A2,A1A3,A1A8,A1A9,A1B4,A1B5,A1B6,A1B7,A1B8,A1B9,A1BA,A1BB,A1BE,A1BF,A1FE,A1B2,A1B3,A1BC,A1BD,A4A1,A4A2,A4A3,A4A4,A4A5,A4A6,A4A7,A4A8,A4A9,A4AA,A4AB,A4AC,A4AD,A4AE,A4AF,A4B0,A4B1,A4B2,A4B3,A4B4,A4B5,A4B6,A4B7,A4B8,A4B9,A4BA,A4BB,A4BC,A4BD,A4BE,A4BF,A4C0,A4C1,A4C2,A4C3,A4C4,A4C5,A4C6,A4C7,A4C8,A4C9,A4CA,A4CB,A4CC,A4CD,A4CE,A4CF,A4D0,A4D1,A4D2,A4D3,A4D4,A4D5,A4D6,A4D7,A4D8,A4D9,A4DA,A4DB,A4DC,A4DD,A4DE,A4DF,A4E0,A4E1,A4E2,A4E3,A4E4,A4E5,A4E6,A4E7,A4E8,A4E9,A4EA,A4EB,A4EC,A4ED,A4EE,A4EF,A4F0,A4F1,A4F2,A4F3,A5A1,A5A2,A5A3,A5A4,A5A5,A5A6,A5A7,A5A8,A5A9,A5AA,A5AB,A5AC,A5AD,A5AE,A5AF,A5B0,A5B1,A5B2,A5B3,A5B4,A5B5,A5B6,A5B7,A5B8,A5B9,A5BA,A5BB,A5BC,A5BD,A5BE,A5BF,A5C0,A5C1,A5C2,A5C3,A5C4,A5C5,A5C6,A5C7,A5C8,A5C9,A5CA,A5CB,A5CC,A5CD,A5CE,A5CF,A5D0,A5D1,A5D2,A5D3,A5D4,A5D5,A5D6,A5D7,A5D8,A5D9,A5DA,A5DB,A5DC,A5DD,A5DE,A5DF,A5E0,A5E1,A5E2,A5E3,A5E4,A5E5,A5E6,A5E7,A5E8,A5E9,A5EA,A5EB,A5EC,A5ED,A5EE,A5EF,A5F0,A5F1,A5F2,A5F3,A5F4,A5F5,A5F6,A8C5,A8C6,A8C7,A8C8,A8C9,A8CA,A8CB,A8CC,A8CD,A8CE,A8CF,A8D0,A8D1,A8D2,A8D3,A8D4,A8D5,A8D6,A8D7,A8D8,A8D9,A8DA,A8DB,A8DC,A8DD,A8DE,A8DF,A8E0,A8E1,A8E2,A8E3,A8E4,A8E5,A8E6,A8E7,A8E8,A8E9,A2E5,A2E6,A2E7,A2E8,A2E9,A2EA,A2EB,A2EC,A2ED,A2EE,D2BB,B6A1,C6DF,CDF2,D5C9,C8FD,C9CF,CFC2,D8A2,B2BB,D3EB,D8A4,B3F3,D7A8,C7D2,D8A7,CAC0,C7F0,B1FB,D2B5,B4D4,B6AB,CBBF,D8A9,B6AA,C1BD,D1CF,C9A5,D8AD,B8F6,D1BE,E3DC,D6D0,B7E1,B4AE,C1D9,D8BC,CDE8,B5A4,CEAA,D6F7,C0F6,BED9,D8AF,C4CB,BEC3,D8B1,C3B4,D2E5,D6AE,CEDA,D5A7,BAF5,B7A6,C0D6,C6B9,C5D2,C7C7,B9D4,B3CB,D2D2,D8BF,BEC5,C6F2,D2B2,CFB0,CFE7,CAE9,D8C0,C2F2,C2D2,C8E9,C7AC,C1CB,D3E8,D5F9,CAC2,B6FE,D8A1,D3DA,BFF7,D4C6,BBA5,D8C1,CEE5,BEAE,D8A8,D1C7,D0A9,D8BD,D9EF,CDF6,BFBA,BDBB,BAA5,D2E0,B2FA,BAE0,C4B6,CFED,BEA9,CDA4,C1C1,C7D7,D9F1,D9F4,C8CB,D8E9,D2DA,CAB2,C8CA,D8EC,D8EA,D8C6,BDF6,C6CD,B3F0,D8EB,BDF1,BDE9,C8D4,B4D3,C2D8,B2D6,D7D0,CACB,CBFB,D5CC,B8B6,CFC9,D9DA,D8F0,C7AA,D8EE,B4FA,C1EE,D2D4,D8ED,D2C7,D8EF,C3C7,D1F6,D6D9,D8F2,D8F5,BCFE,BCDB,C8CE,B7DD,B7C2,C6F3,D8F8,D2C1,CEE9,BCBF,B7FC,B7A5,D0DD,D6DA,D3C5,BBEF,BBE1,D8F1,C9A1,CEB0,B4AB,D8F3,C9CB,D8F6,C2D7,D8F7,CEB1,D8F9,B2AE,B9C0,D9A3,B0E9,C1E6,C9EC,CBC5,CBC6,D9A4,B5E8,B5AB,CEBB,B5CD,D7A1,D7F4,D3D3,CCE5,BACE,D9A2,D9DC,D3E0,D8FD,B7F0,D7F7,D8FE,D8FA,D9A1,C4E3,D3B6,D8F4,D9DD,D8FB,C5E5,C0D0,D1F0,B0DB,BCD1,D9A6,D9A5,D9AC,D9AE,D9AB,CAB9,D9A9,D6B6,B3DE,D9A8,C0FD,CACC,D9AA,D9A7,D9B0,B6B1,B9A9,D2C0,CFC0,C2C2,BDC4,D5EC,B2E0,C7C8,BFEB,D9AD,D9AF,CEEA,BAEE,C7D6,B1E3,B4D9,B6ED,D9B4,BFA1,D9DE,C7CE,C0FE,D9B8,CBD7,B7FD,D9B5,D9B7,B1A3,D3E1,D9B9,D0C5,D9B6,D9B1,D9B2,C1A9,D9B3,BCF3,D0DE,B8A9,BEE3,D9BD,D9BA,B0B3,D9C2,D9C4,B1B6,D9BF,B5B9,BEF3,CCC8,BAF2,D2D0,D9C3,BDE8,B3AB,D9C5,BEEB,D9C6,D9BB,C4DF,D9BE,D9C1,D9C0,D5AE,D6B5,C7E3,D9C8,BCD9,D9CA,D9BC,D9CB,C6AB,D9C9,D7F6,CDA3,BDA1,D9CC,C5BC,CDB5,D9CD,D9C7,B3A5,BFFE,B8B5,C0FC,B0F8,B4F6,D9CE,D9CF,B4A2,D9D0,B4DF,B0C1,D9D1,C9B5,CFF1,D9D2,C1C5,D9D6,C9AE,D9D5,D9D4,D9D7,CBDB,BDA9,C6A7,D9D3,D9D8,D9D9,C8E5,C0DC,B6F9,D8A3,D4CA,D4AA,D0D6,B3E4,D5D7,CFC8,B9E2,BFCB,C3E2,B6D2,CDC3,D9EE,D9F0,B5B3,B6B5,BEA4,C8EB,C8AB,B0CB,B9AB,C1F9,D9E2,C0BC,B9B2,B9D8,D0CB,B1F8,C6E4,BEDF,B5E4,D7C8,D1F8,BCE6,CADE,BCBD,D9E6,D8E7,C4DA,B8D4,C8BD,B2E1,D4D9,C3B0,C3E1,DAA2,C8DF,D0B4,BEFC,C5A9,B9DA,DAA3,D4A9,DAA4,D9FB,B6AC,B7EB,B1F9,D9FC,B3E5,BEF6,BFF6,D2B1,C0E4,B6B3,D9FE,D9FD,BEBB,C6E0,D7BC,DAA1,C1B9,B5F2,C1E8,BCF5,B4D5,C1DD,C4FD,BCB8,B7B2,B7EF,D9EC,C6BE,BFAD,BBCB,B5CA,DBC9,D0D7,CDB9,B0BC,B3F6,BBF7,DBCA,BAAF,D4E4,B5B6,B5F3,D8D6,C8D0,B7D6,C7D0,D8D7,BFAF,DBBB,D8D8,D0CC,BBAE,EBBE,C1D0,C1F5,D4F2,B8D5,B4B4,B3F5,C9BE,C5D0,C5D9,C0FB,B1F0,D8D9,B9CE,B5BD,D8DA,D6C6,CBA2,C8AF,C9B2,B4CC,BFCC,B9F4,D8DB,D8DC,B6E7,BCC1,CCEA,CFF7,D8DD,C7B0,B9D0,BDA3,CCDE,C6CA,D8E0,D8DE,D8DF,B0FE,BEE7,CAA3,BCF4,B8B1,B8EE,D8E2,BDCB,D8E4,D8E3,C5FC,D8E5,D8E6,C1A6,C8B0,B0EC,B9A6,BCD3,CEF1,DBBD,C1D3,B6AF,D6FA,C5AC,BDD9,DBBE,DBBF,C0F8,BEA2,C0CD,DBC0,CAC6,B2AA,D3C2,C3E3,D1AB,DBC2,C0D5,DBC3,BFB1,C4BC,C7DA,DBC4,D9E8,C9D7,B9B4,CEF0,D4C8,B0FC,B4D2,D0D9,D9E9,DECB,D9EB,D8B0,BBAF,B1B1,B3D7,D8CE,D4D1,BDB3,BFEF,CFBB,D8D0,B7CB,D8D1,C6A5,C7F8,D2BD,D8D2,C4E4,CAAE,C7A7,D8A6,C9FD,CEE7,BBDC,B0EB,BBAA,D0AD,B1B0,D7E4,D7BF,B5A5,C2F4,C4CF,B2A9,B2B7,B1E5,DFB2,D5BC,BFA8,C2AC,D8D5,C2B1,D8D4,CED4,DAE0,CEC0,D8B4,C3AE,D3A1,CEA3,BCB4,C8B4,C2D1,BEED,D0B6,DAE1,C7E4,B3A7,B6F2,CCFC,C0FA,C0F7,D1B9,D1E1,D8C7,B2DE,C0E5,BAF1,D8C8,D4AD,CFE1,D8C9,D8CA,CFC3,B3F8,BEC7,D8CB,DBCC,C8A5,CFD8,C8FE,B2CE,D3D6,B2E6,BCB0,D3D1,CBAB,B7B4,B7A2,CAE5,C8A1,CADC,B1E4,D0F0,C5D1,DBC5,B5FE,BFDA,B9C5,BEE4,C1ED,DFB6,DFB5,D6BB,BDD0,D5D9,B0C8,B6A3,BFC9,CCA8,DFB3,CAB7,D3D2,D8CF,D2B6,BAC5,CBBE,CCBE,DFB7,B5F0,DFB4,D3F5,B3D4,B8F7,D
3289FBA,BACF,BCAA,B5F5,CDAC,C3FB,BAF3,C0F4,CDC2,CFF2,DFB8,CFC5,C2C0,DFB9,C2F0,BEFD,C1DF,CDCC,D2F7,B7CD,DFC1,DFC4,B7F1,B0C9,B6D6,B7D4,BAAC,CCFD,BFD4,CBB1,C6F4,D6A8,DFC5,CEE2,B3B3,CEFC,B4B5,CEC7,BAF0,CEE1,D1BD,DFC0,B4F4,B3CA,B8E6,DFBB,C4C5,DFBC,DFBD,DFBE,C5BB,DFBF,DFC2,D4B1,DFC3,C7BA,CED8,C4D8,DFCA,DFCF,D6DC,DFC9,DFDA,CEB6,BAC7,DFCE,DFC8,C5DE,C9EB,BAF4,C3FC,BED7,DFC6,DFCD,C5D8,D5A6,BACD,BECC,D3BD,B8C0,D6E4,DFC7,B9BE,BFA7,C1FC,DFCB,DFCC,DFD0,DFDB,DFE5,DFD7,DFD6,D7C9,DFE3,DFE4,E5EB,D2A7,DFD2,BFA9,D4DB,BFC8,DFD4,CFCC,DFDD,D1CA,DFDE,B0A7,C6B7,DFD3,BAE5,B6DF,CDDB,B9FE,D4D5,DFDF,CFEC,B0A5,DFE7,DFD1,D1C6,DFD5,DFD8,DFD9,DFDC,BBA9,DFE0,DFE1,DFE2,DFE6,DFE8,D3B4,B8E7,C5B6,DFEA,C9DA,C1A8,C4C4,BFDE,CFF8,D5DC,DFEE,B2B8,BADF,DFEC,DBC1,D1E4,CBF4,B4BD,B0A6,DFF1,CCC6,DFF2,DFED,DFE9,DFEB,DFEF,DFF0,BBBD,DFF3,DFF4,BBA3,CADB,CEA8,E0A7,B3AA,E0A6,E0A1,DFFE,CDD9,DFFC,DFFA,BFD0,D7C4,C9CC,DFF8,B0A1,DFFD,DFFB,E0A2,E0A8,B7C8,C6A1,C9B6,C0B2,DFF5,C5BE,D8C4,DFF9,C4F6,E0A3,E0A4,E0A5,D0A5,E0B4,CCE4,E0B1,BFA6,E0AF,CEB9,E0AB,C9C6,C0AE,E0AE,BAED,BAB0,E0A9,DFF6,E0B3,E0B8,B4AD,E0B9,CFB2,BAC8,E0B0,D0FA,E0AC,D4FB,DFF7,C5E7,E0AD,D3F7,E0B6,E0B7,E0C4,D0E1,E0BC,E0C9,E0CA,E0BE,E0AA,C9A4,E0C1,E0B2,CAC8,E0C3,E0B5,CECB,CBC3,E0CD,E0C6,E0C2,E0CB,E0BA,E0BF,E0C0,E0C5,E0C7,E0C8,E0CC,E0BB,CBD4,E0D5,E0D6,E0D2,E0D0,BCCE,E0D1,B8C2,D8C5,D0EA,C2EF,E0CF,E0BD,E0D4,E0D3,E0D7,E0DC,E0D8,D6F6,B3B0,D7EC,CBBB,E0DA,CEFB,BAD9,E0E1,E0DD,D2AD,E0E2,E0DB,E0D9,E0DF,E0E0,E0DE,E0E4,C6F7,D8AC,D4EB,E0E6,CAC9,E0E5,B8C1,E0E7,E0E8,E0E9,E0E3,BABF,CCE7,E0EA,CFF9,E0EB,C8C2,BDC0,C4D2,E0EC,E0ED,C7F4,CBC4,E0EE,BBD8,D8B6,D2F2,E0EF,CDC5,B6DA,E0F1,D4B0,C0A7,B4D1,CEA7,E0F0,E0F2,B9CC,B9FA,CDBC,E0F3,C6D4,E0F4,D4B2,C8A6,E0F6,E0F5,E0F7,CDC1,CAA5,D4DA,DBD7,DBD9,DBD8,B9E7,DBDC,DBDD,B5D8,DBDA,DBDB,B3A1,DBDF,BBF8,D6B7,DBE0,BEF9,B7BB,DBD0,CCAE,BFB2,BBB5,D7F8,BFD3,BFE9,BCE1,CCB3,DBDE,B0D3,CEEB,B7D8,D7B9,C6C2,C0A4,CCB9,DBE7,DBE1,C6BA,DBE3,DBE8,C5F7,DBEA,DBE9,BFC0,DBE6,DBE5,B4B9,C0AC,C2A2,DBE2,DBE4,D0CD,DBED,C0DD,DBF2,B6E2,DBF3,DBD2,B9B8,D4AB,DBEC,BFD1,DBF0,DBD1,B5E6,DBEB,BFE5,DBEE,DBF1,DBF9,B9A1,B0A3,C2F1,B3C7,DBEF,DBF8,C6D2,DBF4,DBF5,DBF7,DBF6,DBFE,D3F2,B2BA,DBFD,DCA4,DBFB,DBFA,DBFC,C5E0,BBF9,DCA3,DCA5,CCC3,B6D1,DDC0,DCA1,DCA2,C7B5,B6E9,DCA7,DCA6,DCA9,B1A4,B5CC,BFB0,D1DF,B6C2,DCA8,CBFA,EBF3,CBDC,CBFE,CCC1,C8FB,DCAA,CCEE,DCAB,DBD3,DCAF,DCAC,BEB3,CAFB,DCAD,C9CA,C4B9,C7BD,DCAE,D4F6,D0E6,C4AB,B6D5,DBD4,B1DA,DBD5,DBD6,BABE,C8C0,CABF,C8C9,D7B3,C9F9,BFC7,BAF8,D2BC,E2BA,B4A6,B1B8,B8B4,CFC4,D9E7,CFA6,CDE2,D9ED,B6E0,D2B9,B9BB,E2B9,E2B7,B4F3,CCEC,CCAB,B7F2,D8B2,D1EB,BABB,CAA7,CDB7,D2C4,BFE4,BCD0,B6E1,DEC5,DEC6,DBBC,D1D9,C6E6,C4CE,B7EE,B7DC,BFFC,D7E0,C6F5,B1BC,DEC8,BDB1,CCD7,DECA,DEC9,B5EC,C9DD,B0C2,C5AE,C5AB,C4CC,BCE9,CBFD,BAC3,E5F9,C8E7,E5FA,CDFD,D7B1,B8BE,C2E8,C8D1,E5FB,B6CA,BCCB,D1FD,E6A1,C3EE,E6A4,E5FE,E6A5,CDD7,B7C1,E5FC,E5FD,E6A3,C4DD,E6A8,E6A7,C3C3,C6DE,E6AA,C4B7,E6A2,CABC,BDE3,B9C3,E6A6,D0D5,CEAF,E6A9,E6B0,D2A6,BDAA,E6AD,E6AF,C0D1,D2CC,BCA7,E6B1,D2F6,D7CB,CDFE,CDDE,C2A6,E6AB,E6AC,BDBF,E6AE,E6B3,E6B2,E6B6,E6B8,C4EF,C4C8,BEEA,C9EF,E6B7,B6F0,C3E4,D3E9,E6B4,E6B5,C8A2,E6BD,E6B9,C6C5,CDF1,E6BB,E6BC,BBE9,E6BE,E6BA,C0B7,D3A4,E6BF,C9F4,E6C3,E6C4,D0F6,C3BD,C3C4,E6C2,E6C1,E6C7,CFB1,EBF4,E6CA,E6C5,BCDE,C9A9,BCB5,CFD3,E6C8,E6C9,E6CE,E6D0,E6D1,E6CB,B5D5,E6CC,E6CF,C4DB,E6C6,E6CD,E6D2,E6D4,E6D3,E6D5,D9F8,E6D6,E6D7,D7D3,E6DD,E6DE,BFD7,D4D0,D7D6,B4E6,CBEF,E6DA,D8C3,D7CE,D0A2,C3CF,E6DF,BCBE,B9C2,E6DB,D1A7,BAA2,C2CF,D8AB,CAEB,E5EE,E6DC,B7F5,C8E6,C4F5,E5B2,C4FE,CBFC,E5B3,D5AC,D3EE,CAD8,B0B2,CBCE,CDEA,BAEA,E5B5,E5B4,D7DA,B9D9,D6E6,B6A8,CDF0,D2CB,B1A6,CAB5,B3E8,C9F3,BFCD,D0FB,CAD2,E5B6,BBC2,CFDC,B9AC,D4D7,BAA6,D1E7,CFFC,BCD2,E5B7,C8DD,BFED,B1F6,CBDE,BCC5,BCC4,D2FA,C3DC,BFDC,B8BB,C3C2,BAAE,D4A2,C7DE,C4AF,B2EC,B9D1,E5BB,C1C8,D5AF,E5BC,E5BE,B4E7,B6D4,CBC2,D1B0,B5BC,CAD9,B7E2,C9E4,BDAB,CEBE,D7F0,D0A1,C9D9,B6FB,E6D8,BCE2,B3BE,C9D0,E6D9,B3A2,DECC,D3C8,DECD,D2A2,DECE,BECD,DECF,CAAC,D2FC,B3DF,E5EA,C4E1,BEA1,CEB2,C4F2,BED6,C6A8,B2E3,BED3,C7FC,CCEB,BDEC,CEDD,CABA,C6C1,E5EC,D0BC,D5B9,E5ED,CAF4,CDC0,C2C5,E5EF,C2C4,E5F0,E5F8,CDCD,C9BD,D2D9,E1A8,D3EC,CBEA,C6F1,E1AC,E1A7,E1A9,E1AA,E1AF,B2ED,E1AB,B8DA,E1AD,E1AE,E1B0,B5BA,E1B1,E1B3,E1B8,D1D2,E1B6,E1B5,C1EB,E1B7,D4C0,E1B2,E1BA,B0B6,E1B4,BFF9,E1B9,E1BB,E1BE,E1BC,D6C5,CFBF,E1BD,E1BF,C2CD,B6EB,D3F8,C7CD,B7E5,BEFE,E1C0,E1C1,E1C7,B3E7,C6E9,B4DE,D1C2,E1C8,E1C6,E1C5,E1C3,E1C2,B1C0,D5B8,E1C4,E1CB,E1CC,E1CA,EFFA,E1D3,E1D2,C7B6,E1C9,E1CE,E1D0,E1D4,E1D1,E1CD,E1CF,E1D5,E1D6,E1D7,E1D8,E1DA,E1DB,CEA1,E7DD,B4A8,D6DD,D1B2,B3B2,B9A4,D7F3,C7C9,BEDE,B9AE,CED7,B2EE,DBCF,BCBA,D2D1,CBC8,B0CD,CFEF,D9E3,BDED,B1D2,CAD0,B2BC,CBA7,B7AB,CAA6,CFA3,E0F8,D5CA,E0FB,E0FA,C5C1,CCFB,C1B1,E0F9,D6E3,B2AF,D6C4,B5DB,B4F8,D6A1,CFAF,B0EF,E0FC,E1A1,B3A3,E0FD,E0FE,C3B1,C3DD,E1A2,B7F9,BBCF,E1A3,C4BB,E1A4,E1A5,E1A6,B4B1,B8C9,C6B
3289D,C4EA,B2A2,D0D2,E7DB,BBC3,D3D7,D3C4,B9E3,E2CF,D7AF,C7EC,B1D3,B4B2,E2D1,D0F2,C2AE,E2D0,BFE2,D3A6,B5D7,E2D2,B5EA,C3ED,B8FD,B8AE,C5D3,B7CF,E2D4,E2D3,B6C8,D7F9,CDA5,E2D8,E2D6,CAFC,BFB5,D3B9,E2D5,E2D7,C1AE,C0C8,E2DB,E2DA,C0AA,C1CE,E2DC,E2DD,E2DE,DBC8,D1D3,CDA2,BDA8,DEC3,D8A5,BFAA,DBCD,D2EC,C6FA,C5AA,DEC4,B1D7,DFAE,CABD,DFB1,B9AD,D2FD,B8A5,BAEB,B3DA,B5DC,D5C5,C3D6,CFD2,BBA1,E5F3,E5F2,E5F4,CDE4,C8F5,B5AF,C7BF,E5F6,ECB0,E5E6,B9E9,B5B1,C2BC,E5E8,E5E7,E5E9,D2CD,E1EA,D0CE,CDAE,D1E5,B2CA,B1EB,B1F2,C5ED,D5C3,D3B0,E1DC,E1DD,D2DB,B3B9,B1CB,CDF9,D5F7,E1DE,BEB6,B4FD,E1DF,BADC,E1E0,BBB2,C2C9,E1E1,D0EC,CDBD,E1E2,B5C3,C5C7,E1E3,E1E4,D3F9,E1E5,D1AD,E1E6,CEA2,E1E7,B5C2,E1E8,BBD5,D0C4,E2E0,B1D8,D2E4,E2E1,BCC9,C8CC,E2E3,ECFE,ECFD,DFAF,E2E2,D6BE,CDFC,C3A6,E3C3,D6D2,E2E7,E2E8,D3C7,E2EC,BFEC,E2ED,E2E5,B3C0,C4EE,E2EE,D0C3,BAF6,E2E9,B7DE,BBB3,CCAC,CBCB,E2E4,E2E6,E2EA,E2EB,E2F7,E2F4,D4F5,E2F3,C5AD,D5FA,C5C2,B2C0,E2EF,E2F2,C1AF,CBBC,B5A1,E2F9,BCB1,E2F1,D0D4,D4B9,E2F5,B9D6,E2F6,C7D3,E2F0,D7DC,EDA1,E2F8,EDA5,E2FE,CAD1,C1B5,BBD0,BFD6,BAE3,CBA1,EDA6,EDA3,EDA2,BBD6,EDA7,D0F4,EDA4,BADE,B6F7,E3A1,B6B2,CCF1,B9A7,CFA2,C7A1,BFD2,B6F1,E2FA,E2FB,E2FD,E2FC,C4D5,E3A2,D3C1,E3A7,C7C4,CFA4,E3A9,BAB7,E3A8,BBDA,E3A3,E3A4,E3AA,E3A6,CEF2,D3C6,BBBC,D4C3,C4FA,EDA8,D0FC,E3A5,C3F5,E3AD,B1AF,E3B2,BCC2,E3AC,B5BF,C7E9,E3B0,BEAA,CDEF,BBF3,CCE8,E3AF,E3B1,CFA7,E3AE,CEA9,BBDD,B5EB,BEE5,B2D2,B3CD,B1B9,E3AB,B2D1,B5AC,B9DF,B6E8,CFEB,E3B7,BBCC,C8C7,D0CA,E3B8,B3EE,EDA9,D3FA,D3E4,EDAA,E3B9,D2E2,E3B5,D3DE,B8D0,E3B3,E3B6,B7DF,E3B4,C0A2,E3BA,D4B8,B4C8,E3BB,BBC5,C9F7,C9E5,C4BD,EDAB,C2FD,BBDB,BFAE,CEBF,E3BC,BFB6,B1EF,D4F7,E3BE,EDAD,E3BF,BAA9,EDAC,E3BD,E3C0,BAB6,B6AE,D0B8,B0C3,EDAE,EDAF,C0C1,E3C1,C5B3,E3C2,DCB2,EDB0,B8EA,CEEC,EAA7,D0E7,CAF9,C8D6,CFB7,B3C9,CED2,BDE4,E3DE,BBF2,EAA8,D5BD,C6DD,EAA9,EAAA,EAAC,EAAB,EAAE,EAAD,BDD8,EAAF,C2BE,B4C1,B4F7,BBA7,ECE6,ECE5,B7BF,CBF9,B1E2,ECE7,C9C8,ECE8,ECE9,CAD6,DED0,B2C5,D4FA,C6CB,B0C7,B4F2,C8D3,CDD0,BFB8,BFDB,C7A4,D6B4,C0A9,DED1,C9A8,D1EF,C5A4,B0E7,B3B6,C8C5,B0E2,B7F6,C5FA,B6F3,D5D2,B3D0,BCBC,B3AD,BEF1,B0D1,D2D6,CAE3,D7A5,CDB6,B6B6,BFB9,D5DB,B8A7,C5D7,DED2,BFD9,C2D5,C7C0,BBA4,B1A8,C5EA,C5FB,CCA7,B1A7,B5D6,C4A8,DED3,D1BA,B3E9,C3F2,B7F7,D6F4,B5A3,B2F0,C4B4,C4E9,C0AD,DED4,B0E8,C5C4,C1E0,B9D5,BEDC,CDD8,B0CE,CDCF,DED6,BED0,D7BE,DED5,D5D0,B0DD,C4E2,C2A3,BCF0,D3B5,C0B9,C5A1,B2A6,D4F1,C0A8,CAC3,DED7,D5FC,B9B0,C8AD,CBA9,DED9,BFBD,C6B4,D7A7,CAB0,C4C3,B3D6,B9D2,D6B8,EAFC,B0B4,BFE6,CCF4,CDDA,D6BF,C2CE,CECE,CCA2,D0AE,C4D3,B5B2,DED8,D5F5,BCB7,BBD3,B0A4,C5B2,B4EC,D5F1,EAFD,DEDA,CDA6,CDEC,CEE6,DEDC,CDB1,C0A6,D7BD,DEDB,B0C6,BAB4,C9D3,C4F3,BEE8,B2B6,C0CC,CBF0,BCF1,BBBB,B5B7,C5F5,DEE6,DEE3,BEDD,DEDF,B4B7,BDDD,DEE0,C4ED,CFC6,B5E0,B6DE,CADA,B5F4,DEE5,D5C6,DEE1,CCCD,C6FE,C5C5,D2B4,BEF2,C2D3,CCBD,B3B8,BDD3,BFD8,CDC6,D1DA,B4EB,DEE4,DEDD,DEE7,EAFE,C2B0,DEE2,D6C0,B5A7,B2F4,DEE8,DEF2,DEED,DEF1,C8E0,D7E1,DEEF,C3E8,CCE1,B2E5,D2BE,DEEE,DEEB,CED5,B4A7,BFAB,BEBE,BDD2,DEE9,D4AE,DEDE,DEEA,C0BF,DEEC,B2F3,B8E9,C2A7,BDC1,DEF5,DEF8,B2AB,B4A4,B4EA,C9A6,DEF6,CBD1,B8E3,DEF7,DEFA,DEF9,CCC2,B0E1,B4EE,E5BA,D0AF,B2EB,EBA1,DEF4,C9E3,DEF3,B0DA,D2A1,B1F7,CCAF,DEF0,CBA4,D5AA,DEFB,B4DD,C4A6,DEFD,C3FE,C4A1,DFA1,C1CC,DEFC,BEEF,C6B2,B3C5,C8F6,CBBA,DEFE,DFA4,D7B2,B3B7,C1C3,C7CB,B2A5,B4E9,D7AB,C4EC,DFA2,DFA3,DFA5,BAB3,DFA6,C0DE,C9C3,B2D9,C7E6,DFA7,C7DC,DFA8,EBA2,CBD3,DFAA,DFA9,B2C1,C5CA,DFAB,D4DC,C8C1,DFAC,BEF0,DFAD,D6A7,EAB7,EBB6,CAD5,D8FC,B8C4,B9A5,B7C5,D5FE,B9CA,D0A7,F4CD,B5D0,C3F4,BEC8,EBB7,B0BD,BDCC,C1B2,B1D6,B3A8,B8D2,C9A2,B6D8,EBB8,BEB4,CAFD,C7C3,D5FB,B7F3,CEC4,D5AB,B1F3,ECB3,B0DF,ECB5,B6B7,C1CF,F5FA,D0B1,D5E5,CED3,BDEF,B3E2,B8AB,D5B6,EDBD,B6CF,CBB9,D0C2,B7BD,ECB6,CAA9,C5D4,ECB9,ECB8,C2C3,ECB7,D0FD,ECBA,ECBB,D7E5,ECBC,ECBD,C6EC,CEDE,BCC8,C8D5,B5A9,BEC9,D6BC,D4E7,D1AE,D0F1,EAB8,EAB9,EABA,BAB5,CAB1,BFF5,CDFA,EAC0,B0BA,EABE,C0A5,EABB,B2FD,C3F7,BBE8,D2D7,CEF4,EABF,EABC,EAC3,D0C7,D3B3,B4BA,C3C1,D7F2,D5D1,CAC7,EAC5,EAC4,EAC7,EAC6,D6E7,CFD4,EACB,BBCE,BDFA,C9CE,EACC,C9B9,CFFE,EACA,D4CE,EACD,EACF,CDED,EAC9,EACE,CEEE,BBDE,B3BF,C6D5,BEB0,CEFA,C7E7,BEA7,EAD0,D6C7,C1C0,D4DD,EAD1,CFBE,EAD2,CAEE,C5AF,B0B5,EAD4,EAD3,F4DF,C4BA,B1A9,E5DF,EAD5,CAEF,EAD6,EAD7,C6D8,EAD8,EAD9,D4BB,C7FA,D2B7,B8FC,EAC2,B2DC,C2FC,D4F8,CCE6,D7EE,D4C2,D3D0,EBC3,C5F3,B7FE,EBD4,CBB7,EBDE,C0CA,CDFB,B3AF,C6DA,EBFC,C4BE,CEB4,C4A9,B1BE,D4FD,CAF5,D6EC,C6D3,B6E4,BBFA,D0E0,C9B1,D4D3,C8A8,B8CB,E8BE,C9BC,E8BB,C0EE,D0D3,B2C4,B4E5,E8BC,D5C8,B6C5,E8BD,CAF8,B8DC,CCF5,C0B4,D1EE,E8BF,E8C2,BABC,B1AD,BDDC,EABD,E8C3,E8C6,E8CB,E8CC,CBC9,B0E5,BCAB,B9B9,E8C1,CDF7,E8CA,CEF6,D5ED,C1D6,E8C4,C3B6,B9FB,D6A6,E8C8,CAE0,D4E6,E8C0,E8C5,E8C7,C7B9,B7E3,E8C9,BFDD,E8D2,E8D7,E8D5,BCDC,BCCF,E8DB,E8DE,E8DA,B1FA,B0D8,C4B3,B8CC,C6E2,C8BE,C8E1,E8CF,E8D4,E8D6,B9F1,E8D8,D7F5,C4FB,E8DC,B2E9,E8D1,BCED,B
3289FC2,E8CD,D6F9,C1F8,B2F1,E8DF,CAC1,E8D9,D5A4,B1EA,D5BB,E8CE,E8D0,B6B0,E8D3,E8DD,C0B8,CAF7,CBA8,C6DC,C0F5,E8E9,D0A3,E8F2,D6EA,E8E0,E8E1,D1F9,BACB,B8F9,B8F1,D4D4,E8EF,E8EE,E8EC,B9F0,CCD2,E8E6,CEA6,BFF2,B0B8,E8F1,E8F0,D7C0,E8E4,CDA9,C9A3,BBB8,BDDB,E8EA,E8E2,E8E3,E8E5,B5B5,E8E7,C7C5,E8EB,E8ED,BDB0,D7AE,E8F8,E8F5,CDB0,E8F6,C1BA,E8E8,C3B7,B0F0,E8F4,E8F7,B9A3,C9D2,C3CE,CEE0,C0E6,CBF3,CCDD,D0B5,CAE1,E8F3,BCEC,E8F9,C3DE,C6E5,B9F7,B0F4,D7D8,BCAC,C5EF,CCC4,E9A6,C9AD,E9A2,C0E2,BFC3,E8FE,B9D7,E8FB,E9A4,D2CE,E9A3,D6B2,D7B5,E9A7,BDB7,E8FC,E8FD,E9A1,CDD6,D2AC,E9B2,E9A9,B4AA,B4BB,E9AB,D0A8,E9A5,B3FE,E9AC,C0E3,E9AA,E9B9,E9B8,E9AE,E8FA,E9A8,BFAC,E9B1,E9BA,C2A5,E9AF,B8C5,E9AD,D3DC,E9B4,E9B5,E9B7,E9C7,C0C6,E9C5,E9B0,E9BB,B0F1,E9BC,D5A5,E9BE,E9BF,E9C1,C1F1,C8B6,E9BD,E9C2,E9C3,E9B3,E9B6,BBB1,E9C0,BCF7,E9C4,E9C6,E9CA,E9CE,B2DB,E9C8,B7AE,E9CB,E9CC,D5C1,C4A3,E9D8,BAE1,E9C9,D3A3,E9D4,E9D7,E9D0,E9CF,C7C1,E9D2,E9D9,B3C8,E9D3,CFF0,E9CD,B3F7,E9D6,E9DA,CCB4,CFAD,E9D5,E9DC,E9DB,E9DE,E9D1,E9DD,E9DF,C3CA,C7B7,B4CE,BBB6,D0C0,ECA3,C5B7,D3FB,ECA4,ECA5,C6DB,BFEE,ECA6,ECA7,D0AA,C7B8,B8E8,ECA8,D6B9,D5FD,B4CB,B2BD,CEE4,C6E7,CDE1,B4F5,CBC0,BCDF,E9E2,E9E3,D1EA,E9E5,B4F9,E9E4,D1B3,CAE2,B2D0,E9E8,E9E6,E9E7,D6B3,E9E9,E9EA,E9EB,E9EC,ECAF,C5B9,B6CE,D2F3,B5EE,BBD9,ECB1,D2E3,CEE3,C4B8,C3BF,B6BE,D8B9,B1C8,B1CF,B1D1,C5FE,B1D0,C3AB,D5B1,EBA4,BAC1,CCBA,EBA5,EBA7,EBA8,EBA6,EBA9,EBAB,EBAA,EBAC,CACF,D8B5,C3F1,C3A5,C6F8,EBAD,C4CA,EBAE,EBAF,EBB0,B7D5,B7FA,EBB1,C7E2,EBB3,BAA4,D1F5,B0B1,EBB2,EBB4,B5AA,C2C8,C7E8,EBB5,CBAE,E3DF,D3C0,D9DB,CDA1,D6AD,C7F3,D9E0,BBE3,BABA,E3E2,CFAB,E3E0,C9C7,BAB9,D1B4,E3E1,C8EA,B9AF,BDAD,B3D8,CEDB,CCC0,E3E8,E3E9,CDF4,CCAD,BCB3,E3EA,E3EB,D0DA,C6FB,B7DA,C7DF,D2CA,CED6,E3E4,E3EC,C9F2,B3C1,E3E7,C6E3,E3E5,EDB3,E3E6,C9B3,C5E6,B9B5,C3BB,E3E3,C5BD,C1A4,C2D9,B2D7,E3ED,BBA6,C4AD,E3F0,BEDA,E3FB,E3F5,BAD3,B7D0,D3CD,D6CE,D5D3,B9C1,D5B4,D1D8,D0B9,C7F6,C8AA,B2B4,C3DA,E3EE,E3FC,E3EF,B7A8,E3F7,E3F4,B7BA,C5A2,E3F6,C5DD,B2A8,C6FC,C4E0,D7A2,C0E1,E3F9,E3FA,E3FD,CCA9,E3F3,D3BE,B1C3,EDB4,E3F1,E3F2,E3F8,D0BA,C6C3,D4F3,E3FE,BDE0,E4A7,E4A6,D1F3,E4A3,E4A9,C8F7,CFB4,E4A8,E4AE,C2E5,B6B4,BDF2,E4A2,BAE9,E4AA,E4AC,B6FD,D6DE,E4B2,E4AD,E4A1,BBEE,CDDD,C7A2,C5C9,C1F7,E4A4,C7B3,BDAC,BDBD,E4A5,D7C7,B2E2,E4AB,BCC3,E4AF,BBEB,E4B0,C5A8,E4B1,D5E3,BFA3,E4BA,E4B7,E4BB,E4BD,C6D6,BAC6,C0CB,B8A1,E4B4,D4A1,BAA3,BDFE,E4BC,CDBF,C4F9,CFFB,C9E6,D3BF,CFD1,E4B3,E4B8,E4B9,CCE9,CCCE,C0D4,E4B5,C1B0,E4B6,CED0,BBC1,B5D3,C8F3,BDA7,D5C7,C9AC,B8A2,E4CA,E4CC,D1C4,D2BA,BAAD,BAD4,E4C3,B5ED,D7CD,E4C0,CFFD,E4BF,C1DC,CCCA,CAE7,C4D7,CCD4,E4C8,E4C7,E4C1,E4C4,B5AD,D3D9,E4C6,D2F9,B4E3,BBB4,C9EE,B4BE,BBEC,D1CD,CCED,EDB5,C7E5,D4A8,E4CB,D7D5,E4C2,BDA5,E4C5,D3E6,E4C9,C9F8,E4BE,D3E5,C7FE,B6C9,D4FC,B2B3,E4D7,CEC2,E4CD,CEBC,B8DB,E4D6,BFCA,D3CE,C3EC,C5C8,E4D8,CDC4,E4CF,E4D4,E4D5,BAFE,CFE6,D5BF,E4D2,E4D0,E4CE,CDE5,CAAA,C0A3,BDA6,E4D3,B8C8,E4E7,D4B4,E4DB,C1EF,E4E9,D2E7,E4DF,E4E0,CFAA,CBDD,E4DA,E4D1,E4E5,C8DC,E4E3,C4E7,E4E2,E4E1,B3FC,E4E8,B5E1,D7CC,E4E6,BBAC,D7D2,CCCF,EBF8,E4E4,B9F6,D6CD,E4D9,E4DC,C2FA,E4DE,C2CB,C0C4,C2D0,B1F5,CCB2,B5CE,E4EF,C6AF,C6E1,E4F5,C2A9,C0EC,D1DD,E4EE,C4AE,E4ED,E4F6,E4F4,C2FE,E4DD,E4F0,CAFE,D5C4,E4F1,D1FA,E4EB,E4EC,E4F2,CEAB,C5CB,C7B1,C2BA,E4EA,C1CA,CCB6,B3B1,E4FB,E4F3,E4FA,E4FD,E4FC,B3CE,B3BA,E4F7,E4F9,E4F8,C5EC,C0BD,D4E8,E5A2,B0C4,E5A4,E5A3,BCA4,E5A5,E5A1,E4FE,B1F4,E5A8,E5A9,E5A6,E5A7,E5AA,C6D9,E5AB,E5AD,E5AC,E5AF,E5AE,B9E0,E5B0,E5B1,BBF0,ECE1,C3F0,B5C6,BBD2,C1E9,D4EE,BEC4,D7C6,D4D6,B2D3,ECBE,EAC1,C2AF,B4B6,D1D7,B3B4,C8B2,BFBB,ECC0,D6CB,ECBF,ECC1,ECC5,BEE6,CCBF,C5DA,BEBC,ECC6,B1FE,ECC4,D5A8,B5E3,ECC2,C1B6,B3E3,ECC3,CBB8,C0C3,CCFE,C1D2,ECC8,BAE6,C0D3,D6F2,D1CC,BFBE,B7B3,C9D5,ECC7,BBE2,CCCC,BDFD,C8C8,CFA9,CDE9,C5EB,B7E9,D1C9,BAB8,ECC9,ECCA,BBC0,ECCB,ECE2,B1BA,B7D9,BDB9,ECCC,D1E6,ECCD,C8BB,ECD1,ECD3,BBCD,BCE5,ECCF,C9B7,C3BA,ECE3,D5D5,ECD0,D6F3,ECD2,ECCE,ECD4,ECD5,C9BF,CFA8,D0DC,D1AC,C8DB,ECD6,CEF5,CAEC,ECDA,ECD9,B0BE,ECD7,ECD8,ECE4,C8BC,C1C7,ECDC,D1E0,ECDB,D4EF,ECDD,DBC6,ECDE,B1AC,ECDF,ECE0,D7A6,C5C0,EBBC,B0AE,BEF4,B8B8,D2AF,B0D6,B5F9,D8B3,CBAC,E3DD,C6AC,B0E6,C5C6,EBB9,EBBA,EBBB,D1C0,C5A3,
3289EAF2,C4B2,C4B5,C0CE,EAF3,C4C1,CEEF,EAF0,EAF4,C9FC,C7A3,CCD8,CEFE,EAF5,EAF6,CFAC,C0E7,EAF7,B6BF,EAF8,EAF9,EAFA,EAFB,EAF1,C8AE,E1EB,B7B8,E1EC,E1ED,D7B4,E1EE,E1EF,D3CC,E1F1,BFF1,E1F0,B5D2,B1B7,E1F3,E1F2,BAFC,E1F4,B9B7,BED1,C4FC,BADD,BDC6,E1F5,E1F7,B6C0,CFC1,CAA8,E1F6,D5F8,D3FC,E1F8,E1FC,E1F9,E1FA,C0EA,E1FE,E2A1,C0C7,E1FB,E1FD,E2A5,C1D4,E2A3,E2A8,B2FE,E2A2,C3CD,B2C2,E2A7,E2A6,E2A4,E2A9,E2AB,D0C9,D6ED,C3A8,E2AC,CFD7,E2AE,BAEF,E9E0,E2AD,E2AA,BBAB,D4B3,E2B0,E2AF,E9E1,E2B1,E2B2,E2B3,CCA1,E2B4,E2B5,D0FE,C2CA,D3F1,CDF5,E7E0,E7E1,BEC1,C2EA,E7E4,E7E3,CDE6,C3B5,E7E2,BBB7,CFD6,C1E1,E7E9,E7E8,E7F4,B2A3,E7EA,E7E6,E7EC,E7EB,C9BA,D5E4,E7E5,B7A9,E7E7,E7EE,E7F3,D6E9,E7ED,E7F2,E7F1,B0E0,E7F5,C7F2,C0C5,C0ED,C1F0,E7F0,E7F6,CBF6,E8A2,E8A1,D7C1,E7FA,E7F9,E7FB,E7F7,E7FE,E7FD,E7FC,C1D5,C7D9,C5FD,C5C3,C7ED,E8A3,E8A6,E8A5,E8A7,BAF7,E7F8,E8A4,C8F0,C9AA,E8A9,B9E5,D1FE,E8A8,E8AA,E8AD,E8AE,C1A7,E8AF,E8B0,E8AC,E8B4,E8AB,E8B1,E8B5,E8B2,E8B3,E8B7,E8B6,B9CF,F0AC,F0AD,C6B0,B0EA,C8BF,CDDF,CECD,EAB1,EAB2,C6BF,B4C9,EAB3,D5E7,DDF9,EAB4,EAB5,EAB6,B8CA,DFB0,C9F5,CCF0,C9FA,C9FB,D3C3,CBA6,B8A6,F0AE,B1C2,E5B8,CCEF,D3C9,BCD7,C9EA,B5E7,C4D0,B5E9,EEAE,BBAD,E7DE,EEAF,B3A9,EEB2,EEB1,BDE7,EEB0,CEB7,C5CF,C1F4,DBCE,EEB3,D0F3,C2D4,C6E8,B7AC,EEB4,B3EB,BBFB,EEB5,E7DC,EEB6,BDAE,F1E2,CAE8,D2C9,F0DA,F0DB,F0DC,C1C6,B8ED,BECE,F0DE,C5B1,F0DD,D1F1,F0E0,B0CC,BDEA,D2DF,F0DF,B4AF,B7E8,F0E6,F0E5,C6A3,F0E1,F0E2,B4C3,F0E3,D5EE,CCDB,BED2,BCB2,F0E8,F0E7,F0E4,B2A1,D6A2,D3B8,BEB7,C8AC,F0EA,D1F7,D6CC,BADB,F0E9,B6BB,CDB4,C6A6,C1A1,F0EB,F0EE,F0ED,F0F0,F0EC,BBBE,F0EF,CCB5,F0F2,B3D5,B1D4,F0F3,F0F4,F0F6,B4E1,F0F1,F0F7,F0FA,F0F8,F0F5,F0FD,F0F9,F0FC,F0FE,F1A1,CEC1,F1A4,F1A3,C1F6,F0FB,CADD,B4F1,B1F1,CCB1,F1A6,F1A7,F1AC,D5CE,F1A9,C8B3,F1A2,F1AB,F1A8,F1A5,F1AA,B0A9,F1AD,F1AF,F1B1,F1B0,F1AE,D1A2,F1B2,F1B3,B9EF,B5C7,B0D7,B0D9,D4ED,B5C4,BDD4,BBCA,F0A7,B8DE,F0A8,B0A8,F0A9,CDEE,F0AA,F0AB,C6A4,D6E5,F1E4,F1E5,C3F3,D3DB,D6D1,C5E8,D3AF,D2E6,EEC1,B0BB,D5B5,D1CE,BCE0,BAD0,BFF8,B8C7,B5C1,C5CC,CAA2,C3CB,EEC2,C4BF,B6A2,EDEC,C3A4,D6B1,CFE0,EDEF,C5CE,B6DC,CAA1,EDED,EDF0,EDF1,C3BC,BFB4,EDEE,EDF4,EDF2,D5E6,C3DF,EDF3,EDF6,D5A3,D1A3,EDF5,C3D0,EDF7,BFF4,BEEC,EDF8,CCF7,D1DB,D7C5,D5F6,EDFC,EDFB,EDF9,EDFA,EDFD,BEA6,CBAF,EEA1,B6BD,EEA2,C4C0,EDFE,BDDE,B2C7,B6C3,EEA5,D8BA,EEA3,EEA6,C3E9,B3F2,EEA7,EEA4,CFB9,EEA8,C2F7,EEA9,EEAA,DEAB,C6B3,C7C6,D6F5,B5C9,CBB2,EEAB,CDAB,EEAC,D5B0,EEAD,F6C4,DBC7,B4A3,C3AC,F1E6,CAB8,D2D3,D6AA,EFF2,BED8,BDC3,EFF3,B6CC,B0AB,CAAF,EDB6,EDB7,CEF9,B7AF,BFF3,EDB8,C2EB,C9B0,EDB9,C6F6,BFB3,EDBC,C5F8,D1D0,D7A9,EDBA,EDBB,D1E2,EDBF,EDC0,EDC4,EDC8,EDC6,EDCE,D5E8,EDC9,EDC7,EDBE,C5E9,C6C6,C9E9,D4D2,EDC1,EDC2,EDC3,EDC5,C0F9,B4A1,B9E8,EDD0,EDD1,EDCA,EDCF,CEF8,CBB6,EDCC,EDCD,CFF5,EDD2,C1F2,D3B2,EDCB,C8B7,BCEF,C5F0,EDD6,B5EF,C2B5,B0AD,CBE9,B1AE,EDD4,CDEB,B5E2,EDD5,EDD3,EDD7,B5FA,EDD8,EDD9,EDDC,B1CC,C5F6,BCEE,EDDA,CCBC,B2EA,EDDB,C4EB,B4C5,B0F5,EDDF,C0DA,B4E8,C5CD,EDDD,BFC4,EDDE,C4A5,EDE0,EDE1,EDE3,C1D7,BBC7,BDB8,EDE2,EDE4,EDE6,EDE5,EDE7,CABE,ECEA,C0F1,C9E7,ECEB,C6EE,ECEC,C6ED,ECED,ECF0,D7E6,ECF3,ECF1,ECEE,ECEF,D7A3,C9F1,CBEE,ECF4,ECF2,CFE9,ECF6,C6B1,BCC0,ECF5,B5BB,BBF6,ECF7,D9F7,BDFB,C2BB,ECF8,ECF9,B8A3,ECFA,ECFB,ECFC,D3ED,D8AE,C0EB,C7DD,BACC,D0E3,CBBD,CDBA,B8D1,B1FC,C7EF,D6D6,BFC6,C3EB,EFF5,C3D8,D7E2,EFF7,B3D3,C7D8,D1ED,D6C8,EFF8,EFF6,BBFD,B3C6,BDD5,D2C6,BBE0,CFA1,EFFC,EFFB,EFF9,B3CC,C9D4,CBB0,EFFE,B0DE,D6C9,EFFD,B3ED,F6D5,CEC8,F0A2,F0A1,B5BE,BCDA,BBFC,B8E5,C4C2,F0A3,CBEB,F0A6,D1A8,BEBF,C7EE,F1B6,F1B7,BFD5,B4A9,F1B8,CDBB,C7D4,D5AD,F1B9,F1BA,C7CF,D2A4,D6CF,F1BB,BDD1,B4B0,BEBD,B4DC,CED1,BFDF,F1BD,BFFA,F1BC,F1BF,F1BE,F1C0,F1C1,C1FE,C1A2,CAFA,D5BE,BEBA,BEB9,D5C2,BFA2,CDAF,F1B5,BDDF,B6CB,D6F1,F3C3,F3C4,B8CD,F3C6,F3C7,B0CA,F3C5,F3C9,CBF1,F3CB,D0A6,B1CA,F3C8,F3CF,B5D1,F3D7,F3D2,F3D4,F3D3,B7FB,B1BF,F3CE,F3CA,B5DA,F3D0,F3D1,F3D5,F3CD,BCE3,C1FD,F3D6,F3DA,F3CC,B5C8,BDEE,F3DC,B7A4,BFF0,D6FE,CDB2,B4F0,B2DF,F3D8,F3D9,C9B8,F3DD,F3DE,F3E1,F3DF,F3E3,F3E2,F3DB,BFEA,B3EF,F3E0,C7A9,BCF2,F3EB,B9BF,F3E4,B2AD,BBFE,CBE3,F3ED,F3E9,B9DC,F3EE,F3E5,F3E6,F3EA,C2E1,F3EC,F3EF,F3E8,BCFD,CFE4,F3F0,F3E7,F3F2,D7AD,C6AA,F3F3,F3F1,C2A8,B8DD,F3F5,F3F4,B4DB,F3F6,F3F7,F3F8,C0BA,C0E9,C5F1,F3FB,F3FA,B4D8,F3FE,F3F9,F3FC,F3FD,F4A1,F4A3,BBC9,F4A2,F4A4,B2BE,F4A6,F4A5,BCAE,C3D7,D9E1,C0E0,F4CC,D7D1,B7DB,F4CE,C1A3,C6C9,B4D6,D5B3,F4D0,F4CF,F4D1,CBDA,F4D2,D4C1,D6E0,B7E0,C1B8,C1BB,F4D3,BEAC,B4E2,F4D4,F4D5,BEAB,F4D6,F4DB,F4D7,F4DA,BAFD,F4D8,F4D9,B8E2,CCC7,F4DC,B2DA,C3D3,D4E3,BFB7,F4DD,C5B4,F4E9,CFB5,CEC9,CBD8,C
3289BF7,BDF4,D7CF,C0DB,D0F5,F4EA,F4EB,F4EC,F7E3,B7B1,F4ED,D7EB,F4EE,E6F9,BEC0,E6FA,BAEC,E6FB,CFCB,E6FC,D4BC,BCB6,E6FD,E6FE,BCCD,C8D2,CEB3,E7A1,B4BF,E7A2,C9B4,B8D9,C4C9,D7DD,C2DA,B7D7,D6BD,CEC6,B7C4,C5A6,E7A3,CFDF,E7A4,E7A5,E7A6,C1B7,D7E9,C9F0,CFB8,D6AF,D6D5,E7A7,B0ED,E7A8,E7A9,C9DC,D2EF,BEAD,E7AA,B0F3,C8DE,BDE1,E7AB,C8C6,E7AC,BBE6,B8F8,D1A4,E7AD,C2E7,BEF8,BDCA,CDB3,E7AE,E7AF,BEEE,D0E5,CBE7,CCD0,BCCC,E7B0,BCA8,D0F7,E7B1,D0F8,E7B2,E7B3,B4C2,E7B4,E7B5,C9FE,CEAC,C3E0,E7B7,B1C1,B3F1,E7B8,E7B9,D7DB,D5C0,E7BA,C2CC,D7BA,E7BB,E7BC,E7BD,BCEA,C3E5,C0C2,E7BE,E7BF,BCA9,E7C0,E7C1,E7B6,B6D0,E7C2,E7C3,E7C4,BBBA,B5DE,C2C6,B1E0,E7C5,D4B5,E7C6,B8BF,E7C8,E7C7,B7EC,E7C9,B2F8,E7CA,E7CB,E7CC,E7CD,E7CE,E7CF,E7D0,D3A7,CBF5,E7D1,E7D2,E7D3,E7D4,C9C9,E7D5,E7D6,E7D7,E7D8,E7D9,BDC9,E7DA,F3BE,B8D7,C8B1,F3BF,F3C0,F3C1,B9DE,CDF8,D8E8,BAB1,C2DE,EEB7,B7A3,EEB9,EEB8,B0D5,EEBB,D5D6,D7EF,D6C3,EEBD,CAF0,EEBC,EEBE,EEC0,EEBF,D1F2,C7BC,C3C0,B8E1,C1E7,F4C6,D0DF,F4C7,CFDB,C8BA,F4C8,F4C9,F4CA,F4CB,D9FA,B8FE,E5F1,D3F0,F4E0,CECC,B3E1,F1B4,D2EE,F4E1,CFE8,F4E2,C7CC,B5D4,B4E4,F4E4,F4E3,F4E5,F4E6,F4E7,BAB2,B0BF,F4E8,B7AD,D2ED,D2AB,C0CF,BFBC,EBA3,D5DF,EAC8,F1F3,B6F8,CBA3,C4CD,F1E7,F1E8,B8FB,F1E9,BAC4,D4C5,B0D2,F1EA,F1EB,F1EC,F1ED,F1EE,F1EF,F1F1,F1F0,C5D5,F1F2,B6FA,F1F4,D2AE,DEC7,CBCA,B3DC,B5A2,B9A2,C4F4,F1F5,F1F6,C1C4,C1FB,D6B0,F1F7,F1F8,C1AA,C6B8,BEDB,F1F9,B4CF,F1FA,EDB2,EDB1,CBE0,D2DE,CBC1,D5D8,C8E2,C0DF,BCA1,EBC1,D0A4,D6E2,B6C7,B8D8,EBC0,B8CE,EBBF,B3A6,B9C9,D6AB,B7F4,B7CA,BCE7,B7BE,EBC6,EBC7,B0B9,BFCF,EBC5,D3FD,EBC8,EBC9,B7CE,EBC2,EBC4,C9F6,D6D7,D5CD,D0B2,EBCF,CEB8,EBD0,B5A8,B1B3,EBD2,CCA5,C5D6,EBD3,EBD1,C5DF,EBCE,CAA4,EBD5,B0FB,BAFA,D8B7,F1E3,EBCA,EBCB,EBCC,EBCD,EBD6,E6C0,EBD9,BFE8,D2C8,EBD7,EBDC,B8EC,EBD8,BDBA,D0D8,B0B7,EBDD,C4DC,D6AC,B4E0,C2F6,BCB9,EBDA,EBDB,D4E0,C6EA,C4D4,EBDF,C5A7,D9F5,B2B1,EBE4,BDC5,EBE2,EBE3,B8AC,CDD1,EBE5,EBE1,C1B3,C6A2,CCF3,EBE6,C0B0,D2B8,EBE7,B8AF,B8AD,EBE8,C7BB,CDF3,EBEA,EBEB,EBED,D0C8,EBF2,EBEE,EBF1,C8F9,D1FC,EBEC,EBE9,B8B9,CFD9,C4E5,EBEF,EBF0,CCDA,CDC8,B0F2,EBF6,EBF5,B2B2,B8E0,EBF7,B1EC,CCC5,C4A4,CFA5,EBF9,ECA2,C5F2,EBFA,C9C5,E2DF,EBFE,CDCE,ECA1,B1DB,D3B7,D2DC,EBFD,EBFB,B3BC,EAB0,D7D4,F4AB,B3F4,D6C1,D6C2,D5E9,BECA,F4A7,D2A8,F4A8,F4A9,F4AA,BECB,D3DF,C9E0,C9E1,F3C2,CAE6,CCF2,E2B6,CBB4,CEE8,D6DB,F4AD,F4AE,F4AF,F4B2,BABD,F4B3,B0E3,F4B0,F4B1,BDA2,B2D5,F4B6,F4B7,B6E6,B2B0,CFCF,F4B4,B4AC,F4B5,F4B8,F4B9,CDA7,F4BA,F4BB,F4BC,CBD2,F4BD,F4BE,F4BF,F4DE,C1BC,BCE8,C9AB,D1DE,E5F5,DCB3,D2D5,DCB4,B0AC,DCB5,BDDA,DCB9,D8C2,DCB7,D3F3,C9D6,DCBA,DCB6,DCBB,C3A2,DCBC,DCC5,DCBD,CEDF,D6A5,DCCF,DCCD,DCD2,BDE6,C2AB,DCB8,DCCB,DCCE,DCBE,B7D2,B0C5,DCC7,D0BE,DCC1,BBA8,B7BC,DCCC,DCC6,DCBF,C7DB,D1BF,DCC0,DCCA,DCD0,CEAD,DCC2,DCC3,DCC8,DCC9,B2D4,DCD1,CBD5,D4B7,DCDB,DCDF,CCA6,DCE6,C3E7,DCDC,BFC1,DCD9,B0FA,B9B6,DCE5,DCD3,DCC4,DCD6,C8F4,BFE0,C9BB,B1BD,D3A2,DCDA,DCD5,C6BB,DCDE,D7C2,C3AF,B7B6,C7D1,C3A9,DCE2,DCD8,DCEB,DCD4,DCDD,BEA5,DCD7,DCE0,DCE3,DCE4,DCF8,DCE1,DDA2,DCE7,BCEB,B4C4,C3A3,B2E7,DCFA,DCF2,DCEF,DCFC,DCEE,D2F0,B2E8,C8D7,C8E3,DCFB,DCED,DCF7,DCF5,BEA3,DCF4,B2DD,DCF3,BCF6,DCE8,BBC4,C0F3,BCD4,DCE9,DCEA,DCF1,DCF6,DCF9,B5B4,C8D9,BBE7,DCFE,DCFD,D3AB,DDA1,DDA3,DDA5,D2F1,DDA4,DDA6,DDA7,D2A9,BAC9,DDA9,DDB6,DDB1,DDB4,DDB0,C6CE,C0F2,C9AF,DCEC,DDAE,DDB7,DCF0,DDAF,DDB8,DDAC,DDB9,DDB3,DDAD,C4AA,DDA8,C0B3,C1AB,DDAA,DDAB,DDB2,BBF1,DDB5,D3A8,DDBA,DDBB,C3A7,DDD2,DDBC,DDD1,B9BD,BED5,BEFA,BACA,DDCA,DDC5,DDBF,B2CB,DDC3,DDCB,B2A4,DDD5,DDBE,C6D0,DDD0,DDD4,C1E2,B7C6,DDCE,DDCF,DDC4,DDBD,DDCD,CCD1,DDC9,DDC2,C3C8,C6BC,CEAE,DDCC,DDC8,DDC1,DDC6,C2DC,D3A9,D3AA,DDD3,CFF4,C8F8,DDE6,DDC7,DDE0,C2E4,DDE1,DDD7,D6F8,DDD9,DDD8,B8F0,DDD6,C6CF,B6AD,DDE2,BAF9,D4E1,DDE7,B4D0,DDDA,BFFB,DDE3,DDDF,DDDD,B5D9,DDDB,DDDC,DDDE,BDAF,DDE4,DDE5,DDF5,C3C9,CBE2,DDF2,D8E1,C6D1,DDF4,D5F4,DDF3,DDF0,DDEC,DDEF,DDE8,D0EE,C8D8,DDEE,DDE9,DDEA,CBF2,DDED,B1CD,C0B6,BCBB,DDF1,DDF7,DDF6,DDEB,C5EE,DDFB,DEA4,DEA3,DDF8,C3EF,C2FB,D5E1,CEB5,DDFD,B2CC,C4E8,CADF,C7BE,DDFA,DDFC,DDFE,DEA2,B0AA,B1CE,DEAC,DEA6,BDB6,C8EF,DEA1,DEA5,DEA9,DEA8,DEA7,DEAD,D4CC,DEB3,DEAA,DEAE,C0D9,B1A1,DEB6,DEB1,DEB2,D1A6,DEB5,DEAF,DEB0,D0BD,DEB4,CAED,DEB9,DEB8,DEB7,DEBB,BDE5,B2D8,C3EA,DEBA,C5BA,DEBC,CCD9,B7AA,D4E5,DEBD,DEBF,C4A2,DEC1,DEBE,DEC0,D5BA,DEC2,F2AE,BBA2,C2B2,C5B0,C2C7,F2AF,D0E9,D3DD,EBBD,B3E6,F2B0,F2B1,CAAD,BAE7,F2B3,F2B5,F2B4,CBE4,CFBA,F2B2,CAB4,D2CF,C2EC,CEC3,F2B8,B0F6,F2B7,F2BE,B2CF,D1C1,F2BA,F2BC,D4E9,F2BB,F2B6,F2BF,F2BD,F2B9,F2C7,F2C4,F2C6,F2CA,F2C2,F2C0,F2
3289C5,D6FB,F2C1,C7F9,C9DF,F2C8,B9C6,B5B0,F2C3,F2C9,F2D0,F2D6,BBD7,F2D5,CDDC,D6EB,F2D2,F2D4,B8F2,F2CB,F2CE,C2F9,D5DD,F2CC,F2CD,F2CF,F2D3,F2D9,D3BC,B6EA,CAF1,B7E4,F2D7,F2D8,F2DA,F2DD,F2DB,F2DC,D1D1,F2D1,CDC9,CECF,D6A9,F2E3,C3DB,F2E0,C0AF,F2EC,F2DE,F2E1,F2E8,F2E2,F2E7,F2E6,F2E9,F2DF,F2E4,F2EA,D3AC,F2E5,B2F5,F2F2,D0AB,F2F5,BBC8,F2F9,F2F0,F2F6,F2F8,F2FA,F2F3,F2F1,BAFB,B5FB,F2EF,F2F7,F2ED,F2EE,F2EB,F3A6,F3A3,F3A2,F2F4,C8DA,F2FB,F3A5,C3F8,F2FD,F3A7,F3A9,F3A4,F2FC,F3AB,F3AA,C2DD,F3AE,F3B0,F3A1,F3B1,F3AC,F3AF,F2FE,F3AD,F3B2,F3B4,F3A8,F3B3,F3B5,D0B7,F3B8,D9F9,F3B9,F3B7,C8E4,F3B6,F3BA,F3BB,B4C0,EEC3,F3BC,F3BD,D1AA,F4AC,D0C6,D0D0,D1DC,CFCE,BDD6,D1C3,BAE2,E1E9,D2C2,F1C2,B2B9,B1ED,F1C3,C9C0,B3C4,D9F2,CBA5,F1C4,D6D4,F1C5,F4C0,F1C6,D4AC,F1C7,B0C0,F4C1,F4C2,B4FC,C5DB,CCBB,D0E4,CDE0,F1C8,D9F3,B1BB,CFAE,B8A4,F1CA,F1CB,B2C3,C1D1,D7B0,F1C9,F1CC,F1CE,D9F6,D2E1,D4A3,F4C3,C8B9,F4C4,F1CD,F1CF,BFE3,F1D0,F1D4,F1D6,F1D1,C9D1,C5E1,C2E3,B9FC,F1D3,F1D5,B9D3,F1DB,BAD6,B0FD,F1D9,F1D8,F1D2,F1DA,F1D7,C8EC,CDCA,F1DD,E5BD,F1DC,F1DE,F1DF,CFE5,F4C5,BDF3,F1E0,F1E1,CEF7,D2AA,F1FB,B8B2,BCFB,B9DB,B9E6,C3D9,CAD3,EAE8,C0C0,BEF5,EAE9,EAEA,EAEB,EAEC,EAED,EAEE,EAEF,BDC7,F5FB,F5FD,F5FE,F5FC,BDE2,F6A1,B4A5,F6A2,F6A3,ECB2,D1D4,D9EA,F6A4,EEBA,D5B2,D3FE,CCDC,CAC4,E5C0,F6A5,BEAF,C6A9,DAA5,BCC6,B6A9,B8BC,C8CF,BCA5,DAA6,DAA7,CCD6,C8C3,DAA8,C6FD,D1B5,D2E9,D1B6,BCC7,BDB2,BBE4,DAA9,DAAA,D1C8,DAAB,D0ED,B6EF,C2DB,CBCF,B7ED,C9E8,B7C3,BEF7,D6A4,DAAC,DAAD,C6C0,D7E7,CAB6,D5A9,CBDF,D5EF,DAAE,D6DF,B4CA,DAB0,DAAF,D2EB,DAB1,DAB2,DAB3,CAD4,DAB4,CAAB,DAB5,DAB6,B3CF,D6EF,DAB7,BBB0,B5AE,DAB8,DAB9,B9EE,D1AF,D2E8,DABA,B8C3,CFEA,B2EF,DABB,DABC,BDEB,CEDC,D3EF,DABD,CEF3,DABE,D3D5,BBE5,DABF,CBB5,CBD0,DAC0,C7EB,D6EE,DAC1,C5B5,B6C1,DAC2,B7CC,BFCE,DAC3,DAC4,CBAD,DAC5,B5F7,DAC6,C1C2,D7BB,DAC7,CCB8,D2EA,C4B1,DAC8,B5FD,BBD1,DAC9,D0B3,DACA,DACB,CEBD,DACC,DACD,DACE,B2F7,DAD1,DACF,D1E8,DAD0,C3D5,DAD2,DAD3,DAD4,DAD5,D0BB,D2A5,B0F9,DAD6,C7AB,DAD7,BDF7,C3A1,DAD8,DAD9,C3FD,CCB7,DADA,DADB,C0BE,C6D7,DADC,DADD,C7B4,DADE,DADF,B9C8,BBED,B6B9,F4F8,F4F9,CDE3,F5B9,EBE0,CFF3,BBBF,BAC0,D4A5,E1D9,F5F4,B1AA,B2F2,F5F5,F5F7,BAD1,F5F6,C3B2,F5F9,F5F8,B1B4,D5EA,B8BA,B9B1,B2C6,D4F0,CFCD,B0DC,D5CB,BBF5,D6CA,B7B7,CCB0,C6B6,B1E1,B9BA,D6FC,B9E1,B7A1,BCFA,EADA,EADB,CCF9,B9F3,EADC,B4FB,C3B3,B7D1,BAD8,EADD,D4F4,EADE,BCD6,BBDF,EADF,C1DE,C2B8,D4DF,D7CA,EAE0,EAE1,EAE4,EAE2,EAE3,C9DE,B8B3,B6C4,EAE5,CAEA,C9CD,B4CD,E2D9,C5E2,EAE6,C0B5,D7B8,EAE7,D7AC,C8FC,D8D3,D8CD,D4DE,D4F9,C9C4,D3AE,B8D3,B3E0,C9E2,F4F6,BAD5,F4F7,D7DF,F4F1,B8B0,D5D4,B8CF,C6F0,B3C3,F4F2,B3AC,D4BD,C7F7,F4F4,F4F3,CCCB,C8A4,F4F5,D7E3,C5BF,F5C0,F5BB,F5C3,F5C2,D6BA,F5C1,D4BE,F5C4,F5CC,B0CF,B5F8,F5C9,F5CA,C5DC,F5C5,F5C6,F5C7,F5CB,BEE0,F5C8,B8FA,F5D0,F5D3,BFE7,B9F2,F5BC,F5CD,C2B7,CCF8,BCF9,F5CE,F5CF,F5D1,B6E5,F5D2,F5D5,F5BD,F5D4,D3BB,B3EC,CCA4,F5D6,F5D7,BEE1,F5D8,CCDF,F5DB,B2C8,D7D9,F5D9,F5DA,F5DC,F5E2,F5E0,F5DF,F5DD,F5E1,F5DE,F5E4,F5E5,CCE3,E5BF,B5B8,F5E3,F5E8,CCA3,F5E6,F5E7,F5BE,B1C4,F5BF,B5C5,B2E4,F5EC,F5E9,B6D7,F5ED,F5EA,F5EB,B4DA,D4EA,F5EE,B3F9,F5EF,F5F1,F5F0,F5F2,F5F3,C9ED,B9AA,C7FB,B6E3,CCC9,EAA6,B3B5,D4FE,B9EC,D0F9,E9ED,D7AA,E9EE,C2D6,C8ED,BAE4,E9EF,E9F0,E9F1,D6E1,E9F2,E9F3,E9F5,E9F4,E9F6,E9F7,C7E1,E9F8,D4D8,E9F9,BDCE,E9FA,E9FB,BDCF,E9FC,B8A8,C1BE,E9FD,B1B2,BBD4,B9F5,E9FE,EAA1,EAA2,EAA3,B7F8,BCAD,CAE4,E0CE,D4AF,CFBD,D5B7,EAA4,D5DE,EAA5,D0C1,B9BC,B4C7,B1D9,C0B1,B1E6,B1E7,B1E8,B3BD,C8E8,E5C1,B1DF,C1C9,B4EF,C7A8,D3D8,C6F9,D1B8,B9FD,C2F5,D3AD,D4CB,BDFC,E5C2,B7B5,E5C3,BBB9,D5E2,BDF8,D4B6,CEA5,C1AC,B3D9,CCF6,E5C6,E5C4,E5C8,E5CA,E5C7,B5CF,C6C8,B5FC,E5C5,CAF6,E5C9,C3D4,B1C5,BCA3,D7B7,CDCB,CBCD,CACA,CCD3,E5CC,E5CB,C4E6,D1A1,D1B7,E5CD,E5D0,CDB8,D6F0,E5CF,B5DD,CDBE,E5D1,B6BA,CDA8,B9E4,CAC5,B3D1,CBD9,D4EC,E5D2,B7EA,E5CE,E5D5,B4FE,E5D6,E5D3,E5D4,D2DD,C2DF,B1C6,D3E2,B6DD,CBEC,E5D7,D3F6,B1E9,B6F4,E5DA,E5D8,E5D9,B5C0,D2C5,E5DC,E5DE,E5DD,C7B2,D2A3,E5DB,D4E2,D5DA,E5E0,D7F1,E5E1,B1DC,D1FB,E5E2,E5E4,E5E3,E5E5,D2D8,B5CB,E7DF,DAF5,DAF8,DAF6,DAF7,DAFA,D0CF,C4C7,B0EE,D0B0,DAF9,D3CA,BAAA,DBA2,C7F1,DAFC,DAFB,C9DB,DAFD,DBA1,D7DE,DAFE,C1DA,DBA5,D3F4,DBA7,DBA4,DBA8,BDBC,C0C9,DBA3,DBA6,D6A3,DBA9,DBAD,DBAE,DBAC,BAC2,BFA4,DBAB,DBAA,D4C7,B2BF,DBAF,B9F9,DBB0,B3BB,B5A6,B6BC,DBB1,B6F5,DBB2,B1C9,DBB4,DBB3,DBB5,DBB7,DBB6,DBB8,DBB9,DBBA,D3CF,F4FA,C7F5,D7C3,C5E4,F4FC,F4FD,F4FB,BEC6,D0EF,B7D3,D4CD,CCAA,F5A2,F5A1,BAA8,F4FE,CBD6,F5A4,C0D2,B3EA,CDAA,F5A5,F5A3,BDB4,F5A8,F5A9,BDCD,C3B8,BFE1,CBE1,F5AA,F5A6,F5A7,C4F0,F5AC,B4BC,D7ED,B4D7,F5AB,F5AE,F5AD,F5AF,D0D1,C3D1,C8A9,F5B0,F5B1,F5B2,F5B3,F5B4,F5B5,F5B7,F5B6,F5B8,B2C9,D3D4,CACD,C0EF,D6D8,D2B0,C1BF,BDF0,B8AA,BCF8,F6C6,F6C7,F6C8,F6C9,F6CA,F6CC,F6CB,F7E9,F6CD,F6CE,EEC4,EEC5,EEC6,D5EB,B6A4,EEC8,EEC7,EEC9,EECA,C7A5,EECB,EECC,B7B0,B5F6,EECD,EECF,EECE,B8C6,EED0,EED1,EED2,B6D
3289B,B3AE,D6D3,C4C6,B1B5,B8D6,EED3,EED4,D4BF,C7D5,BEFB,CED9,B9B3,EED6,EED5,EED8,EED7,C5A5,EED9,EEDA,C7AE,EEDB,C7AF,EEDC,B2A7,EEDD,EEDE,EEDF,EEE0,EEE1,D7EA,EEE2,EEE3,BCD8,EEE4,D3CB,CCFA,B2AC,C1E5,EEE5,C7A6,C3AD,EEE6,EEE7,EEE8,EEE9,EEEA,EEEB,EEEC,EEED,EEEE,EEEF,EEF0,EEF1,EEF2,EEF4,EEF3,EEF5,CDAD,C2C1,EEF6,EEF7,EEF8,D5A1,EEF9,CFB3,EEFA,EEFB,EEFC,EEFD,EFA1,EEFE,EFA2,B8F5,C3FA,EFA3,EFA4,BDC2,D2BF,B2F9,EFA5,EFA6,EFA7,D2F8,EFA8,D6FD,EFA9,C6CC,EFAA,EFAB,C1B4,EFAC,CFFA,CBF8,EFAE,EFAD,B3FA,B9F8,EFAF,EFB0,D0E2,EFB1,EFB2,B7E6,D0BF,EFB3,EFB4,EFB5,C8F1,CCE0,EFB6,EFB7,EFB8,EFB9,EFBA,D5E0,EFBB,B4ED,C3AA,EFBC,EFBD,EFBE,EFBF,CEFD,EFC0,C2E0,B4B8,D7B6,BDF5,CFC7,EFC3,EFC1,EFC2,EFC4,B6A7,BCFC,BEE2,C3CC,EFC5,EFC6,EFC7,EFCF,EFC8,EFC9,EFCA,C7C2,EFF1,B6CD,EFCB,EFCC,EFCD,B6C6,C3BE,EFCE,EFD0,EFD1,EFD2,D5F2,EFD3,C4F7,EFD4,C4F8,EFD5,EFD6,B8E4,B0F7,EFD7,EFD8,EFD9,EFDA,EFDB,EFDC,EFDD,EFDE,BEB5,EFE1,EFDF,EFE0,EFE2,EFE3,C1CD,EFE4,EFE5,EFE6,EFE7,EFE8,EFE9,EFEA,EFEB,EFEC,C0D8,EFED,C1AD,EFEE,EFEF,EFF0,CFE2,B3A4,C3C5,E3C5,C9C1,E3C6,B1D5,CECA,B4B3,C8F2,E3C7,CFD0,E3C8,BCE4,E3C9,E3CA,C3C6,D5A2,C4D6,B9EB,CEC5,E3CB,C3F6,E3CC,B7A7,B8F3,BAD2,E3CD,E3CE,D4C4,E3CF,E3D0,D1CB,E3D1,E3D2,E3D3,E3D4,D1D6,E3D5,B2FB,C0BB,E3D6,C0AB,E3D7,E3D8,E3D9,E3DA,E3DB,B8B7,DAE2,B6D3,DAE4,DAE3,DAE6,C8EE,DAE5,B7C0,D1F4,D2F5,D5F3,BDD7,D7E8,DAE8,DAE7,B0A2,CDD3,DAE9,B8BD,BCCA,C2BD,C2A4,B3C2,DAEA,C2AA,C4B0,BDB5,CFDE,DAEB,C9C2,B1DD,DAEC,B6B8,D4BA,B3FD,DAED,D4C9,CFD5,C5E3,DAEE,DAEF,DAF0,C1EA,CCD5,CFDD,D3E7,C2A1,DAF1,CBE5,DAF2,CBE6,D2FE,B8F4,DAF3,B0AF,CFB6,D5CF,CBED,DAF4,E3C4,C1A5,F6BF,F6C0,F6C1,C4D1,C8B8,D1E3,D0DB,D1C5,BCAF,B9CD,EFF4,B4C6,D3BA,F6C2,B3FB,F6C3,B5F1,F6C5,D3EA,F6A7,D1A9,F6A9,F6A8,C1E3,C0D7,B1A2,CEED,D0E8,F6AB,CFF6,F6AA,D5F0,F6AC,C3B9,BBF4,F6AE,F6AD,C4DE,C1D8,CBAA,CFBC,F6AF,F6B0,F6B1,C2B6,B0D4,C5F9,F6B2,C7E0,F6A6,BEB8,BEB2,B5E5,B7C7,BFBF,C3D2,C3E6,D8CC,B8EF,BDF9,D1A5,B0D0,F7B0,F7B1,D0AC,B0B0,F7B2,F7B3,F7B4,C7CA,BECF,F7B7,F7B6,B1DE,F7B5,F7B8,F7B9,CEA4,C8CD,BAAB,E8B8,E8B9,E8BA,BEC2,D2F4,D4CF,C9D8,D2B3,B6A5,C7EA,F1FC,CFEE,CBB3,D0EB,E7EF,CDE7,B9CB,B6D9,F1FD,B0E4,CBCC,F1FE,D4A4,C2AD,C1EC,C6C4,BEB1,F2A1,BCD5,F2A2,F2A3,F2A4,D2C3,C6B5,CDC7,F2A5,D3B1,BFC5,CCE2,F2A6,F2A7,D1D5,B6EE,F2A8,F2A9,B5DF,F2AA,F2AB,B2FC,F2AC,F2AD,C8A7,B7E7,ECA9,ECAA,ECAB,ECAC,C6AE,ECAD,ECAE,B7C9,CAB3,E2B8,F7CF,F7D0,B2CD,F7D1,F7D3,F7D2,E2BB,BCA2,E2BC,E2BD,E2BE,E2BF,E2C0,E2C1,B7B9,D2FB,BDA4,CACE,B1A5,CBC7,E2C2,B6FC,C8C4,E2C3,BDC8,B1FD,E2C4,B6F6,E2C5,C4D9,E2C6,CFDA,B9DD,E2C7,C0A1,E2C8,B2F6,E2C9,C1F3,E2CA,E2CB,C2F8,E2CC,E2CD,E2CE,CAD7,D8B8,D9E5,CFE3,F0A5,DCB0,C2ED,D4A6,CDD4,D1B1,B3DB,C7FD,B2B5,C2BF,E6E0,CABB,E6E1,E6E2,BED4,E6E3,D7A4,CDD5,E6E5,BCDD,E6E4,E6E6,E6E7,C2EE,BDBE,E6E8,C2E6,BAA7,E6E9,E6EA,B3D2,D1E9,BFA5,E6EB,C6EF,E6EC,E6ED,E6EE,C6AD,E6EF,C9A7,E6F0,E6F1,E6F2,E5B9,E6F3,E6F4,C2E2,E6F5,E6F6,D6E8,E6F7,E6F8,B9C7,F7BB,F7BA,F7BE,F7BC,BAA1,F7BF,F7C0,F7C2,F7C1,F7C4,F7C3,F7C5,F7C6,F7C7,CBE8,B8DF,F7D4,F7D5,F7D6,F7D8,F7DA,F7D7,F7DB,F7D9,D7D7,F7DC,F7DD,F7DE,F7DF,F7E0,DBCB,D8AA,E5F7,B9ED,BFFD,BBEA,F7C9,C6C7,F7C8,F7CA,F7CC,F7CB,F7CD,CEBA,F7CE,C4A7,D3E3,F6CF,C2B3,F6D0,F6D1,F6D2,F6D3,F6D4,F6D6,B1AB,F6D7,F6D8,F6D9,F6DA,F6DB,F6DC,F6DD,F6DE,CFCA,F6DF,F6E0,F6E1,F6E2,F6E3,F6E4,C0F0,F6E5,F6E6,F6E7,F6E8,F6E9,F6EA,F6EB,F6EC,F6ED,F6EE,F6EF,F6F0,F6F1,F6F2,F6F3,F6F4,BEA8,F6F5,F6F6,F6F7,F6F8,C8FA,F6F9,F6FA,F6FB,F6FC,F6FD,F6FE,F7A1,F7A2,F7A3,F7A4,F7A5,F7A6,F7A7,F7A8,B1EE,F7A9,F7AA,F7AB,F7AC,F7AD,C1DB,F7AE,F7AF,C4F1,F0AF,BCA6,F0B0,C3F9,C5B8,D1BB,F0B1,F0B2,F0B3,F0B4,F0B5,D1BC,D1EC,F0B7,F0B6,D4A7,CDD2,F0B8,F0BA,F0B9,F0BB,F0BC,B8EB,F0BD,BAE8,F0BE,F0BF,BEE9,F0C0,B6EC,F0C1,F0C2,F0C3,F0C4,C8B5,F0C5,F0C6,F0C7,C5F4,F0C8,F0C9,F0CA,F7BD,F0CB,F0CC,F0CD,F0CE,F0CF,BAD7,F0D0,F0D1,F0D2,F0D3,F0D4,F0D5,F0D6,F0D8,D3A5,F0D7,F0D9,F5BA,C2B9,F7E4,F7E5,F7E6,F7E7,F7E8,C2B4,F7EA,F7EB,C2F3,F4F0,F4EF,C2E9,F7E1,F7E2,BBC6,D9E4,CAF2,C0E8,F0A4,BADA,C7AD,C4AC,F7EC,F7ED,F7EE,F7F0,F7EF,F7F1,F7F4,F7F3,F7F2,F7F5,F7F6,EDE9,EDEA,EDEB,F6BC,F6BD,F6BE,B6A6,D8BE,B9C4,D8BB,DCB1,CAF3,F7F7,F7F8,F7F9,F7FB,F7FA,B1C7,F7FC,F7FD,F7FE,C6EB,ECB4,B3DD,F6B3,F6B4,C1E4,F6B5,F6B6,F6B7,F6B8,F6B9,F6BA,C8A3,F6BB,C1FA,B9A8,EDE8,B9EA,D9DF,A3A1,A3A2,A3A3,A1E7,A3A5,A3A6,A3A7,A3A8,A3A9,A3AA,A3AB,A3AC,A3AD,A3AE,A3AF,A3B0,A3B1,A3B2,A3B3,A3B4,A3B5,A3B6,A3B7,A3B8,A3B9,A3BA,A3BB,A3BC,A3BD,A3BE,A3BF,A3C0,A3C1,A3C2,A3C3,A3C4,A3C5,A3C6,A3C7,A3C8,A3C9,A3CA,A3CB,A3CC,A3CD,A3CE,A3CF,A3D0,A3D1,A3D2,A3D3,A3D4,A3D5,A3D6,A3D7,A3D8,A3D9,A3DA,A3DB,A3DC,A3DD,A3DE,A3DF,A3E0,A3E1,A3E2,A3E3,A3E4,A3E5,A3E6,A3E7,A3E8,A3E9,A3EA,A3EB,A3EC,A3ED,A3EE,A3EF,A3F0,A3F1,A3F2,A3F3,A3F4,A3F5,A3F6,A3F7,A3F8,A3F9,A3FA,A3FB,A3FC,A3FD,A1AB,A1E9,A1EA,A3FE,A3A4";
3290},_u2a_char:function(a){var b=a.toString(16);b="000"+b.toUpperCase(),b=b.substr(b.length-4);var c=this._unicode().indexOf(b);return c!=-1&&(b=this._ansicode().substr(c,4)),parseInt(b,16)},_a2u_char:function(a){var b=a.toString(16);b="000"+b.toUpperCase(),b=b.substr(b.length-4);var c=this._ansicode().indexOf(b);return c!=-1&&(b=this._unicode().substr(c,4)),parseInt(b,16)},_u2a:function(a){for(var b=a.length,c="",d=0;d<b;
3290d++){var e=a.charCodeAt(d);if(e<0&&(e+=65536),e>127&&(e=this._u2a_char(e)),e>255){var f=65280&e;f>>=8;var g=255&e;c+=String.fromCharCode(f)+String.fromCharCode(g)}else c+=String.fromCharCode(e)}return c},_a2u:function(a){for(var b,c=a.length,d="",e=0;e<c;e++){var f=a.charCodeAt(e);b=f>127?this._a2u_char((f<<8)+a.charCodeAt(++e)):f,d+=String.fromCharCode(b)}return d}}}.apply(a,arguments)})}(this),define("geotransform",["jquery","jquery_base64"],function(a,b){"use strict";a(document).ready(function(){a("span.geomailaddress").each(function(b){var c=a(this).text(),d=a.base64.decode(c);a(this).replaceWith(d)}),a("a[href^=geomailto]").each(function(b){a(this).attr("class","link-mailto");var c=a(this).attr("href").replace("geomailto:",""),d=a.base64.decode(c);a(this).attr("href","mailto:"+d)})})}),require(["geotransform"],function(){"use strict"}),define("/home/vagrant/collective.geotransform/collective/geotransform/static/bundle.js",function(){});
3291//# sourceMappingURL=bundle.min.js.map
3292// Dummy JS file for mosaic-grid bundle
3293
3294// Dummy JS file for mosaic-styles bundle
3295
3296!function(){function n(){}var t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this||{},e=t._,r=Array.prototype,a=Object.prototype,f="undefined"!=typeof Symbol?Symbol.prototype:null,i=r.push,l=r.slice,p=a.toString,o=a.hasOwnProperty,u=Array.isArray,c=Object.keys,s=Object.create,h=function(t){return t instanceof h?t:this instanceof h?void(this._wrapped=t):new h(t)};"undefined"==typeof exports||exports.nodeType?t._=h:("undefined"!=typeof module&&!module.nodeType&&module.exports&&(exports=module.exports=h),exports._=h),h.VERSION="1.9.1";function d(i,o,t){if(void 0===o)return i;switch(null==t?3:t){case 1:return function(t){return i.call(o,t)};case 3:return function(t,e,n){return i.call(o,t,e,n)};case 4:return function(t,e,n,r){return i.call(o,t,e,n,r)}}return function(){return i.apply(o,arguments)}}function y(t,e,n){return h.iteratee!==g?h.iteratee(t,e):null==t?h.identity:h.isFunction(t)?d(t,e,n):h.isObject(t)&&!h.isArray(t)?h.matcher(t):h.property(t)}var g;h.iteratee=g=function(t,e){return y(t,e,1/0)};function v(i,o){return o=null==o?i.length-1:+o,function(){for(var t=Math.max(arguments.length-o,0),e=Array(t),n=0;n<t;n++)e[n]=arguments[n+o];switch(o){case 0:return i.call(this,e);case 1:return i.call(this,arguments[0],e);case 2:return i.call(this,arguments[0],arguments[1],e)}for(var r=Array(o+1),n=0;n<o;n++)r[n]=arguments[n];return r[o]=e,i.apply(this,r)}}function m(t){if(!h.isObject(t))return{};if(s)return s(t);n.prototype=t;var e=new n;return n.prototype=null,e}function w(e){return function(t){return null==t?void 0:t[e]}}function b(t,e){return null!=t&&o.call(t,e)}function x(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function j(t){var e=_(t);return"number"==typeof e&&0<=e&&e<=A}var A=Math.pow(2,53)-1,_=w("length");h.each=h.forEach=function(t,e,n){if(e=d(e,n),j(t))for(i=0,o=t.length;i<o;i++)e(t[i],i,t);else for(var r=h.keys(t),i=0,o=r.length;i<o;i++)e(t[r[i]],r[i],t);return t},h.map=h.collect=function(t,e,n){e=y(e,n);for(var r=!j(t)&&h.keys(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var u=r?r[a]:a;o[a]=e(t[u],u,t)}return o};function E(l){return function(t,e,n,r){var i=3<=arguments.length;return function(t,e,n,r){var i=!j(t)&&h.keys(t),o=(i||t).length,a=0<l?0:o-1;for(r||(n=t[i?i[a]:a],a+=l);0<=a&&a<o;a+=l){var u=i?i[a]:a;n=e(n,t[u],u,t)}return n}(t,d(e,r,4),n,i)}}h.reduce=h.foldl=h.inject=E(1),h.reduceRight=h.foldr=E(-1),h.find=h.detect=function(t,e,n){var r=(j(t)?h.findIndex:h.findKey)(t,e,n);if(void 0!==r&&-1!==r)return t[r]},h.filter=h.select=function(t,r,e){var i=[];return r=y(r,e),h.each(t,function(t,e,n){r(t,e,n)&&i.push(t)}),i},h.reject=function(t,e,n){return h.filter(t,h.negate(y(e)),n)},h.every=h.all=function(t,e,n){e=y(e,n);for(var r=!j(t)&&h.keys(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0},h.some=h.any=function(t,e,n){e=y(e,n);for(var r=!j(t)&&h.keys(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1},h.contains=h.includes=h.include=function(t,e,n,r){return j(t)||(t=h.values(t)),"number"==typeof n&&!r||(n=0),0<=h.indexOf(t,e,n)},h.invoke=v(function(t,n,r){var i,o;return h.isFunction(n)?o=n:h.isArray(n)&&(i=n.slice(0,-1),n=n[n.length-1]),h.map(t,function(t){var e=o;if(!e){if(i&&i.length&&(t=x(t,i)),null==t)return;e=t[n]}return null==e?e:e.apply(t,r)}
3296)}),h.pluck=function(t,e){return h.map(t,h.property(e))},h.where=function(t,e){return h.filter(t,h.matcher(e))},h.findWhere=function(t,e){return h.find(t,h.matcher(e))},h.max=function(t,r,e){var n,i,o=-1/0,a=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof t[0]&&null!=t)for(var u=0,l=(t=j(t)?t:h.values(t)).length;u<l;u++)null!=(n=t[u])&&o<n&&(o=n);else r=y(r,e),h.each(t,function(t,e,n){i=r(t,e,n),(a<i||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o},h.min=function(t,r,e){var n,i,o=1/0,a=1/0;if(null==r||"number"==typeof r&&"object"!=typeof t[0]&&null!=t)for(var u=0,l=(t=j(t)?t:h.values(t)).length;u<l;u++)null!=(n=t[u])&&n<o&&(o=n);else r=y(r,e),h.each(t,function(t,e,n){((i=r(t,e,n))<a||i===1/0&&o===1/0)&&(o=t,a=i)});return o},h.shuffle=function(t){return h.sample(t,1/0)},h.sample=function(t,e,n){if(null==e||n)return j(t)||(t=h.values(t)),t[h.random(t.length-1)];var r=j(t)?h.clone(t):h.values(t),i=_(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var u=h.random(a,o),l=r[a];r[a]=r[u],r[u]=l}return r.slice(0,e)},h.sortBy=function(t,r,e){var i=0;return r=y(r,e),h.pluck(h.map(t,function(t,e,n){return{value:t,index:i++,criteria:r(t,e,n)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(r<n||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")};function O(a,e){return function(r,i,t){var o=e?[[],[]]:{};return i=y(i,t),h.each(r,function(t,e){var n=i(t,e,r);a(o,t,n)}),o}}h.groupBy=O(function(t,e,n){b(t,n)?t[n].push(e):t[n]=[e]}),h.indexBy=O(function(t,e,n){t[n]=e}),h.countBy=O(function(t,e,n){b(t,n)?t[n]++:t[n]=1});var k=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;h.toArray=function(t){return t?h.isArray(t)?l.call(t):h.isString(t)?t.match(k):j(t)?h.map(t,h.identity):h.values(t):[]},h.size=function(t){return null==t?0:j(t)?t.length:h.keys(t).length},h.partition=O(function(t,e,n){t[n?0:1].push(e)},!0),h.first=h.head=h.take=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[0]:h.initial(t,t.length-e)},h.initial=function(t,e,n){return l.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},h.last=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[t.length-1]:h.rest(t,Math.max(0,t.length-e))},h.rest=h.tail=h.drop=function(t,e,n){return l.call(t,null==e||n?1:e)},h.compact=function(t){return h.filter(t,Boolean)};var T=function(t,e,n,r){for(var i=(r=r||[]).length,o=0,a=_(t);o<a;o++){var u=t[o];if(j(u)&&(h.isArray(u)||h.isArguments(u)))if(e)for(var l=0,c=u.length;l<c;)r[i++]=u[l++];else T(u,e,n,r),i=r.length;else n||(r[i++]=u)}return r};h.flatten=function(t,e){return T(t,e,!1)},h.without=v(function(t,e){return h.difference(t,e)}),h.uniq=h.unique=function(t,e,n,r){h.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=y(n,r));for(var i=[],o=[],a=0,u=_(t);a<u;a++){var l=t[a],c=n?n(l,a,t):l;e&&!n?(a&&o===c||i.push(l),o=c):n?h.contains(o,c)||(o.push(c),i.push(l)):h.contains(i,l)||i.push(l)}return i},h.union=v(function(t){return h.uniq(T(t,!0,!0))}),h.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=_(t);r<i;r++){var o=t[r];if(!h.contains(e,o)){for(var a=1;a<n&&h.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},h.difference=v(function(t,e){return e=T(e,!0,!0),h.filter(t,function(t){return!h.contains(e,t)})}),h.unzip=function(t){for(var e=t&&h.max(t,_).length||0,n=Array(e),r=0;r<e;r++)n[r]=h.pluck(t,r);return n},h.zip=v(h.unzip),h.object=function(t,e){for(var n={},r=0,i=_(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n};function I(o){return function(t,e,n){e=y(e,n);for(var r=_(t),i=0<o?0:r-1;0<=i&&i<r;i+=o)if(e(t[i],i,t))return i;return-1}}h.findIndex=I(1),h.findLastIndex=I(-1),h.sortedIndex=function(t,e,n,r){for(var i=(n=y(n,r,1))(e),o=0,a=_(t);o<a;){var u=Math.floor((o+a)/2);n(t[u])<i?o=u+1:a=u}return o};function S(o,a,u){return function(t,e,n){var r=0,i=_(t);if("number"==typeof n)0<o?r=0<=n?n:Math.max(n+i,r):i=0<=n?Math.min(n+1,i):n+i+1;else if(u&&n&&i)return t[n=u(t,e)]===e?n:-1;if(e!=e)return 0<=(n=a(l.call(t,r,i),h.isNaN))?n+r:-1;for(n=0<o?r:i-1;0<=n&&n<i;n+=o)if(t[n]===e)return n;return-1}}h.indexOf=S(1,h.findIndex,h.sortedIndex),h.lastIndexOf=S(-1,h.findLastIndex),h.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||(e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i},h.chunk=function(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(l.call(t,r,r+=e));return n};function F(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=m(t.prototype),a=t.apply(o,i);return h.isObject(a)?a:o}h.bind=v(function(e,n,r){if(!h.isFunction(e))throw new TypeError("Bind must be called on a function");var i=v(function(t){return F(e,i,n,this,r.concat(t))});return i}),h.partial=v(function(i,o){var a=h.partial.placeholder,u=function(){for(var t=0,e=o.length,n=Array(e),r=0;r<e;r++)n[r]=o[r]===a?arguments[t++]:o[r];for(;t<arguments.length;)n.push(arguments[t++]);return F(i,u,this,this,n)};return u}),(h.partial.placeholder=h).bindAll=v(function(t,e){var n=(e=T(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=h.bind(t[r],t)}}),h.memoize=function(r,i){var o=function(t){var e=o.cache,n=""+(i?i.apply(this,arguments):t);return b(e,n)||(e[n]=r.apply(this,arguments)),e[n]};return o.cache={},o},h.delay=v(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),h.defer=h.partial(h.delay,h,1),h.throttle=function(n,r,i){var o,a,u,l,c=0;i=i||{};function s(){c=!1===i.leading?0:h.now(),o=null,l=n.apply(a,u),o||(a=u=null)}function t(){var t=h.now();c||!1!==i.leading||(c=t);var e=r-(t-c);return a=this,u=arguments,e<=0||r<e?(o&&(clearTimeout(o),o=null),c=t,l=n.apply(a,u),o||(a=u=null)):o||!1===i.trailing||(o=setTimeout(s,e)),l}return t.cancel=function(){clearTimeout(o),c=0,o=a=u=null},t},h.debounce=function(n,r,i){function o(t,e){a=null,e&&(u=n.apply(t,e))}var a,u,t=v(function(t){var e;return a&&clearTimeout(a),i?(e=!a,a=setTimeout(o,r),e&&(u=n.apply(this,t))):a=h.delay(o,r,this,t),u});return t.cancel=function(){clearTimeout(a),a=null},t},h.wrap=function(t,e){return h.partial(e,t)},h.negate=function(t){return function(){return!t.apply(this,arguments)}},h.compose=function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},h.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},h.before=function(t,e){var n;return function(){return 0<--t&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},h.once=h.partial(h.before,2),h.restArguments=v;function M(t,e){var n=L.length,r=t.constructor,i=h.isFunction(r)&&r.prototype||a,o="constructor";for(b(t,o)&&!h.contains(e,o)&&e.push(o);n--;)(o=L[n])in t&&t[o]!==i[o]&&!h.contains(e,o)&&e.push(o)}var N=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
3296ing"];h.keys=function(t){if(!h.isObject(t))return[];if(c)return c(t);var e=[];for(var n in t)b(t,n)&&e.push(n);return N&&M(t,e),e},h.allKeys=function(t){if(!h.isObject(t))return[];var e=[];for(var n in t)e.push(n);return N&&M(t,e),e},h.values=function(t){for(var e=h.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r},h.mapObject=function(t,e,n){e=y(e,n);for(var r=h.keys(t),i=r.length,o={},a=0;a<i;a++){var u=r[a];o[u]=e(t[u],u,t)}return o},h.pairs=function(t){for(var e=h.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r},h.invert=function(t){for(var e={},n=h.keys(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e},h.functions=h.methods=function(t){var e=[];for(var n in t)h.isFunction(t[n])&&e.push(n);return e.sort()};function P(l,c){return function(t){var e=arguments.length;if(c&&(t=Object(t)),e<2||null==t)return t;for(var n=1;n<e;n++)for(var r=arguments[n],i=l(r),o=i.length,a=0;a<o;a++){var u=i[a];c&&void 0!==t[u]||(t[u]=r[u])}return t}}h.extend=P(h.allKeys),h.extendOwn=h.assign=P(h.keys),h.findKey=function(t,e,n){e=y(e,n);for(var r,i=h.keys(t),o=0,a=i.length;o<a;o++)if(e(t[r=i[o]],r,t))return r};function q(t,e,n){return e in n}var R,C;h.pick=v(function(t,e){var n={},r=e[0];if(null==t)return n;h.isFunction(r)?(1<e.length&&(r=d(r,e[1])),e=h.allKeys(t)):(r=q,e=T(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],u=t[a];r(u,a,t)&&(n[a]=u)}return n}),h.omit=v(function(t,n){var e,r=n[0];return h.isFunction(r)?(r=h.negate(r),1<n.length&&(e=n[1])):(n=h.map(T(n,!1,!1),String),r=function(t,e){return!h.contains(n,e)}),h.pick(t,r,e)}),h.defaults=P(h.allKeys,!0),h.create=function(t,e){var n=m(t);return e&&h.extendOwn(n,e),n},h.clone=function(t){return h.isObject(t)?h.isArray(t)?t.slice():h.extend({},t):t},h.tap=function(t,e){return e(t),t},h.isMatch=function(t,e){var n=h.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0},R=function(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var i=typeof t;return("function"==i||"object"==i||"object"==typeof e)&&C(t,e,n,r)},C=function(t,e,n,r){t instanceof h&&(t=t._wrapped),e instanceof h&&(e=e._wrapped);var i=p.call(t);if(i!==p.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return f.valueOf.call(t)===f.valueOf.call(e)}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(h.isFunction(a)&&a instanceof a&&h.isFunction(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}r=r||[];for(var l=(n=n||[]).length;l--;)if(n[l]===t)return r[l]===e;if(n.push(t),r.push(e),o){if((l=t.length)!==e.length)return!1;for(;l--;)if(!R(t[l],e[l],n,r))return!1}else{var c,s=h.keys(t),l=s.length;if(h.keys(e).length!==l)return!1;for(;l--;)if(c=s[l],!b(e,c)||!R(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0},h.isEqual=function(t,e){return R(t,e)},h.isEmpty=function(t){return null==t||(j(t)&&(h.isArray(t)||h.isString(t)||h.isArguments(t))?0===t.length:0===h.keys(t).length)},h.isElement=function(t){return!(!t||1!==t.nodeType)},h.isArray=u||function(t){return"[object Array]"===p.call(t)},h.isObject=function(t){var e=typeof t;return"function"==e||"object"==e&&!!t},h.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){h["is"+e]=function(t){return p.call(t)==="[object "+e+"]"}}),h.isArguments(arguments)||(h.isArguments=function(t){return b(t,"callee")});var B=t.document&&t.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof B&&(h.isFunction=function(t){return"function"==typeof t||!1}),h.isFinite=function(t){return!h.isSymbol(t)&&isFinite(t)&&!isNaN(parseFloat(t))},h.isNaN=function(t){return h.isNumber(t)&&isNaN(t)},h.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===p.call(t)},h.isNull=function(t){return null===t},h.isUndefined=function(t){return void 0===t},h.has=function(t,e){if(!h.isArray(e))return b(t,e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(null==t||!o.call(t,i))return!1;t=t[i]}return!!n},h.noConflict=function(){return t._=e,this},h.identity=function(t){return t},h.constant=function(t){return function(){return t}},h.noop=function(){},h.property=function(e){return h.isArray(e)?function(t){return x(t,e)}:w(e)},h.propertyOf=function(e){return null==e?function(){}:function(t){return h.isArray(t)?x(e,t):e[t]}},h.matcher=h.matches=function(e){return e=h.extendOwn({},e),function(t){return h.isMatch(t,e)}},h.times=function(t,e,n){var r=Array(Math.max(0,t));e=d(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r},h.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},h.now=Date.now||function(){return(new Date).getTime()};function W(e){function n(t){return e[t]}var t="(?:"+h.keys(e).join("|")+")",r=RegExp(t),i=RegExp(t,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,n):t}}var D={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},$=h.invert(D);h.escape=W(D),h.unescape=W($),h.result=function(t,e,n){h.isArray(e)||(e=[e]);var r=e.length;if(!r)return h.isFunction(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=h.isFunction(o)?o.call(t):o}return t};var U=0;h.uniqueId=function(t){var e=++U+"";return t?t+e:e},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function z(t){return"\\"+G[t]}var Q=/(.)^/,G={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\u2028|\u2029/g;h.template=function(o,t,e){!t&&e&&(t=e),t=h.defaults({},t,h.templateSettings);var n,r=RegExp([(t.escape||Q).source,(t.interpolate||Q).source,(t.evaluate||Q).source].join("|")+"|$","g"),a=0,u="__p+='";o.replace(r,function(t,e,n,r,i){return u+=o.slice(a,i).replace(H,z),a=i+t.length,e?u+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":n?u+="'+\n((__t=("+n+"))==null?'':__t)+\n'":r&&(u+="';\n"+r+"\n__p+='"),t}),u+="';\n",t.variable||(u="with(obj||{}){\n"+u+"}\n"),u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{n=new Function(t.variable||"obj","_",u)}catch(t){throw t.source=u,t}function i(t){return n.call(this,t,h)}var l=t.variable||"obj";return i.source="function("+l+"){\n"+u+"}",i},h.chain=function(t){var e=h(t);return e._chain=!0,e};function K(t,e){return t._chain?h(e).chain():e}h.mixin=function(n){return h.each(h.functions(n),function(t){var e=h[t]=n[t];h.prototype[t]=function(){var t=[this._wrapped];return i.apply(t,arguments),K(this,e.apply(h,t))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var n=r[e];h.prototype[e]=function(){var t=this._wrapped;return n.apply(t,arguments),"shift"!==e&&"splice"!==e||0!==t.length||delete t[0],K(this,t)}}),h.each(["concat","join","slice"],function(t){var e=r[t];h.prototype[t]=function(){return K(this,e.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),function(){var t,n;Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function e(){}function n(){return i.apply(this instanceof e&&t?this:t,r.concat(Array.prototype.slice.call(arguments)))}
3296var r=Array.prototype.slice.call(arguments,1),i=this;return e.prototype=this.prototype,n.prototype=new e,n});var i={DEBUG:10,INFO:20,WARN:30,ERROR:40,FATAL:50};function e(){}function r(){}function o(t,e){this._loggers={},this.name=t||"",this._parent=e||null,e||(this._enabled=!0,this._level=i.WARN)}function a(t){n=t}e.prototype={output:function(t,e,n){var r;void 0!==window.console&&void 0!==console.log&&(t&&n.unshift(t+":"),r=n.join(" "),console.info,e<=i.DEBUG?(r="[DEBUG] "+r,console.log(r)):e<=i.INFO?console.info(r):e<=i.WARN?console.warn(r):console.error(r))}},r.prototype={output:function(t,e,n){t&&n.unshift(t+":"),e<=i.DEBUG?(n.unshift("[DEBUG]"),console.log.apply(console,n)):e<=i.INFO?console.info.apply(console,n):e<=i.WARN?console.warn.apply(console,n):console.error.apply(console,n)}},o.prototype={getLogger:function(t){for(var e=t.split("."),n=this,r=this.name?[this.name]:[];e.length;){var i=e.shift();r.push(i),i in n._loggers||(n._loggers[i]=new o(r.join("."),n)),n=n._loggers[i]}return n},_getFlag:function(t){var e=this;for(t="_"+t;null!==e;){if(void 0!==e[t])return e[t];e=e._parent}return null},setEnabled:function(t){this._enabled=!!t},isEnabled:function(){this._getFlag("enabled")},setLevel:function(t){"number"==typeof t?this._level=t:"string"==typeof t&&(t=t.toUpperCase())in i&&(this._level=i[t])},getLevel:function(){return this._getFlag("level")},log:function(t,e){!e.length||!this._getFlag("enabled")||t<this._getFlag("level")||(e=Array.prototype.slice.call(e),n.output(this.name,t,e))},debug:function(){this.log(i.DEBUG,arguments)},info:function(){this.log(i.INFO,arguments)},warn:function(){this.log(i.WARN,arguments)},error:function(){this.log(i.ERROR,arguments)},fatal:function(){this.log(i.FATAL,arguments)}},window.console&&window.console.log&&"function"==typeof window.console.log.apply?a(new r):a(new e),t=new o;for(var u,l=/loglevel(|-[^=]+)=([^&]+)/g;null!==(u=l.exec(window.location.search));){(""===u[1]?t:t.getLogger(u[1].slice(1))).setLevel(u[2].toUpperCase())}var c={Level:i,getLogger:t.getLogger.bind(t),setEnabled:t.setEnabled.bind(t),isEnabled:t.isEnabled.bind(t),setLevel:t.setLevel.bind(t),getLevel:t.getLevel.bind(t),debug:t.debug.bind(t),info:t.info.bind(t),warn:t.warn.bind(t),error:t.error.bind(t),fatal:t.fatal.bind(t),getWriter:function(){return n},setWriter:a};"function"==typeof define?define("logging",[],function(){return c}):window.logging=c}(),define("pat-logger",["logging"],function(t){return t.getLogger("patterns")}),function(t){"function"==typeof define&&define.amd?define("jquery.browser",["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(window.jQuery)}(function(t){"use strict";function e(t){void 0===t&&(t=window.navigator.userAgent),t=t.toLowerCase();var e,n,r,i,o=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(chrome)[ \/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||0<=t.indexOf("trident")&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[],a=/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[],u={},l={browser:o[5]||o[3]||o[1]||"",version:o[2]||o[4]||"0",versionNumber:o[4]||o[2]||"0",platform:a[0]||""};return l.browser&&(u[l.browser]=!0,u.version=l.version,u.versionNumber=parseInt(l.versionNumber,10)),l.platform&&(u[l.platform]=!0),(u.android||u.bb||u.blackberry||u.ipad||u.iphone||u.ipod||u.kindle||u.playbook||u.silk||u["windows phone"])&&(u.mobile=!0),(u.cros||u.mac||u.linux||u.win)&&(u.desktop=!0),(u.chrome||u.opr||u.safari)&&(u.webkit=!0),(u.rv||u.iemobile)&&(l.browser="msie",u.msie=!0),u.edge&&(delete u.edge,l.browser="msedge",u.msedge=!0),u.safari&&u.blackberry&&
3296(e="blackberry",u[l.browser=e]=!0),u.safari&&u.playbook&&(n="playbook",u[l.browser=n]=!0),u.bb&&(r="blackberry",u[l.browser=r]=!0),u.opr&&(l.browser="opera",u.opera=!0),u.safari&&u.android&&(i="android",u[l.browser=i]=!0),u.safari&&u.kindle&&(l.browser="kindle",u.kindle=!0),u.safari&&u.silk&&(l.browser="silk",u.silk=!0),u.name=l.browser,u.platform=l.platform,u}return window.jQBrowser=e(window.navigator.userAgent),window.jQBrowser.uaMatch=e,t&&(t.browser=window.jQBrowser),window.jQBrowser}),define("pat-utils",["jquery","underscore","jquery.browser"],function(o,a){o.fn.safeClone=function(){var t=this.clone();return void 0!==o.browser.msie&&t.findInclusive(":input[placeholder]").each(function(t,e){var n=o(e);n.attr("placeholder")===n.val()&&n.val("")}),t},Array.prototype.forEach||(Array.prototype.forEach=function(t,e){var n,r;if(null===this)throw new TypeError(" this is null or not defined");var i,o=Object(this),a=o.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(1<arguments.length&&(n=e),r=0;r<a;){r in o&&(i=o[r],t.call(n,i,r,o)),r++}});function u(t){var e=typeof t;return"function"==e||"object"==e&&!!t}var l={none:{hide:"hide",show:"show"},fade:{hide:"fadeOut",show:"fadeIn"},slide:{hide:"slideUp",show:"slideDown"}};return isElementInViewport=function(t,e,n){if(t===[])return!1;t instanceof o&&(t=t[0]);var r=t.getBoundingClientRect(),i=[r.top,r.bottom,r.left,r.right];return!a.every(i,function(t){if(0===t)return!0})&&(e?(void 0===n&&(n=0),r.top<=0+n&&r.bottom>=0+n):0<=r.top&&0<=r.left&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&r.right<=(window.innerWidth||document.documentElement.clientWidth))},{jqueryPlugin:function(n){return function(t,e){return 0===this.length?this:("object"==typeof t&&(e=t,t=void 0),"function"==typeof n?function(n,r,i){return this.each(function(){var t=o(this),e=n.init(t,i);if(r){if(void 0===e[r])return o.error("Method "+r+" does not exist on jQuery."+n.name),!1;if("_"===r.charAt(0))return o.error("Method "+r+" is private on jQuery."+n.name),!1;e[r].apply(e,[i])}}),this}.call(this,n,t,e):function(t,e,n){var r=this;if(e){if(t[e])return t[e].apply(r,[r].concat([n]));o.error("Method "+e+" does not exist on jQuery."+t.name)}else t.init.apply(r,[r].concat([n]));return r}.call(this,n,t,e))}},debounce:function(n,r){var i;return function(){var t=this,e=arguments;clearTimeout(i),i=setTimeout(function(){i=null,n.apply(t,e)},r)}},escapeRegExp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isObject:u,extend:function(t){if(!u(t))return t;for(var e,n,r=1,i=arguments.length;r<i;r++)for(n in e=arguments[r])hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},rebaseURL:function(t,e){return-1!==e.indexOf("://")||"/"===e[0]?e:t.slice(0,t.lastIndexOf("/")+1)+e},findLabel:function(t){for(var e,n=t.parentNode;n&&11!==n.nodeType;n=n.parentNode)if("LABEL"===n.tagName)return n;return t.id&&(e=o('label[for="'+t.id+'"]')),e&&0===e.length&&t.form&&(e=o('label[for="'+t.name+'"]',t.form)),e&&e.length?e[0]:null},elementInViewport:function(t){var e=t.getBoundingClientRect(),n=document.documentElement,r=window.innerWidth||n.clientWidth,i=window.innerHeight||n.clientHeight;return!(e.right<0||e.bottom<0||e.left>r||e.top>i)},removeWildcardClass:function(t,e){var i;-1===e.indexOf("*")?t.removeClass(e):(i=(i=e.replace(/[\-\[\]{}()+?.,\\\^$|#\s]/g,"\\$&")).replace(/[*]/g,".*"),i=new RegExp("^"+i+"$"),t.filter("[class]").each(function(){for(var t=o(this),e=t.attr("class").split(/\s+/),n=[],r=0;r<e.length;r++)i.test(e[r])||n.push(e[r]);n.length?t.attr("class",n.join(" ")):t.removeAttr("class")}))},hideOrShow:function(t,e,n,r){var i,o="css"===n.transition||"none"===n.transition?null:n.effect.duration;function a(){t.removeClass("in-progress").addClass(e?"visible":"hidden").trigger("pat-update",{pattern:r,transition:"complete"})}t.removeClass("visible hidden in-progress"),o?(i=l[n.transition],t.addClass("in-progress").trigger("pat-update",{pattern:r,transition:"start"}),t[e?i.show:i.hide]({duration:o,easing:n.effect.easing,complete:a})):("css"!==n.transition&&t[e?"show":"hide"](),a())},addURLQueryParameter:function(t,e,n){var r=new RegExp("(\\?|\\&)"+e+"=.*?(?=(&|$))"),i=t.toString().split("#"),o=i[0],a=i[1],u=o,u=r.test(o)?o.replace(r,"$1"+e+"="+n):/\?.+$/.test(o)?o+"&"+e+"="+n:o+"?"+e+"="+n;return a&&(u+="#"+a),u},removeDuplicateObjects:function(t){return a.reduce(t,function(t,e){var n=!1;return a.each(t,function(t){n=a.keys(t).length===a.keys(e).length&&!a.chain(t).omit(function(t,e){return this[e]===t}
3296.bind(e)).keys().value().length}),n||t.push(e),t},[])},mergeStack:function(t,r){for(var i=[],e=0;e<r;e++)i.push({});return a.each(t,function(t){for(var e=t.length-1,n=0;n<r;n++)i[n]=o.extend(i[n]||{},t[e<n?e:n])}),i},isElementInViewport:isElementInViewport}}),define("pat-compat",[],function(){var i,o,a,u;Array.prototype.every||(Array.prototype.every=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var r=arguments[1],i=0;i<n;i++)if(i in e&&!t.call(r,e[i],i,e))return!1;return!0}),Array.prototype.filter||(Array.prototype.filter=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var r,i=[],o=arguments[1],a=0;a<n;a++){a in e&&(r=e[a],t.call(o,r,a,e)&&i.push(r))}return i}),Array.prototype.forEach||(Array.prototype.forEach=function(t,e){var n,r;if(null===this)throw new TypeError(" this is null or not defined");var i,o=Object(this),a=o.length>>>0;if("[object Function]"!=={}.toString.call(t))throw new TypeError(t+" is not a function");for(e&&(n=e),r=0;r<a;){r in o&&(i=o[r],t.call(n,i,r,o)),r++}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if(0==n)return-1;var r=0;if(0<arguments.length&&((r=Number(arguments[1]))!=r?r=0:0!==r&&r!==1/0&&r!==-1/0&&(r=(0<r||-1)*Math.floor(Math.abs(r)))),n<=r)return-1;for(var i=0<=r?r:Math.max(n-Math.abs(r),0);i<n;i++)if(i in e&&e[i]===t)return i;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if(0==n)return-1;var r=n;1<arguments.length&&((r=Number(arguments[1]))!=r?r=0:0!==r&&r!==1/0&&r!==-1/0&&(r=(0<r||-1)*Math.floor(Math.abs(r))));for(var i=0<=r?Math.min(r,n-1):n-Math.abs(r);0<=i;i--)if(i in e&&e[i]===t)return i;return-1}),Array.prototype.map||(Array.prototype.map=function(t,e){var n,r,i;if(null===this)throw new TypeError(" this is null or not defined");var o,a,u=Object(this),l=u.length>>>0;if("[object Function]"!=={}.toString.call(t))throw new TypeError(t+" is not a function");for(e&&(n=e),r=new Array(l),i=0;i<l;){i in u&&(o=u[i],a=t.call(n,o,i,u),r[i]=a),i++}return r}),Array.prototype.reduce||(Array.prototype.reduce=function(t,e){if(null==this)throw new TypeError("Object is null or undefined");var n,r=0,i=this.length>>0;if("function"!=typeof t)throw new TypeError("First argument is not callable");if(arguments.length<2){if(0==i)throw new TypeError("Array length is 0 and no second argument");n=this[0],r=1}else n=e;for(;r<i;)r in this&&(n=t.call(void 0,n,this[r],r,this)),++r;return n}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;if(0==n&&1===arguments.length)throw new TypeError;var r,i=n-1;if(2<=arguments.length)r=arguments[1];else for(;;){if(i in this){r=this[i--];break}if(--i<0)throw new TypeError}for(;0<=i;)i in e&&(r=t.call(void 0,r,e[i],i,e)),i--;return r}),Array.prototype.some||(Array.prototype.some=function(t){"use strict";if(null===this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var r=arguments[1],i=0;i<n;i++)if(i in e&&t.call(r,e[i],i,e))return!0;return!1}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function e(){}function n(){return i.apply(this instanceof e&&t?this:t,r.concat(Array.prototype.slice.call(arguments)))}var r=Array.prototype.slice.call(arguments,1),i=this;return e.prototype=this.prototype,n.prototype=new e,n}),Object.keys||(Object.keys=(i=Object.prototype.hasOwnProperty,o=!{toString:null}
3296.propertyIsEnumerable("toString"),u=(a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(t){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError("Object.keys called on non-object");var e=[];for(var n in t)i.call(t,n)&&e.push(n);if(o)for(var r=0;r<u;r++)i.call(t,a[r])&&e.push(a[r]);return e}))}),define("pat-jquery-ext",["jquery"],function(s){var r={init:function(e){var n={time:3,initialTime:8,exceptionAreas:[]};return this.each(function(){var t=s(this);t.data("timeout")||(e&&s.extend(n,e),t.data("timeout",{lastEvent:new Date,trueTime:n.time,time:n.initialTime,untouched:!0,inExceptionArea:!1}),t.bind("mouseover.timeout",r.mouseMoved),t.bind("mouseenter.timeout",r.mouseMoved),s(n.exceptionAreas).each(function(){t.find(this).live("mouseover.timeout",{parent:t},r.enteredException).live("mouseleave.timeout",{parent:t},r.leftException)}),0<n.initialTime?t.timeout("startTimer"):t.addClass("timeout"))})},enteredException:function(t){var e=t.data.parent.data("timeout");e.inExceptionArea=!0,t.data.parent.data("timeout",e),t.data.parent.trigger("mouseover")},leftException:function(t){var e=t.data.parent.data("timeout");e.inExceptionArea=!1,t.data.parent.data("timeout",e)},destroy:function(){return this.each(function(){var t=s(this),e=t.data("timeout");s(window).unbind(".timeout"),e.timeout.remove(),t.removeData("timeout")})},mouseMoved:function(){var t=s(this),e=t.data("timeout");t.hasClass("timeout")?(t.removeClass("timeout"),t.timeout("startTimer")):e.untouched&&(e.untouched=!1,e.time=e.trueTime),e.lastEvent=new Date,t.data("timeout",e)},startTimer:function(){var r=s(this),t=r.data("timeout"),i=function(){var t,e,n=r.data("timeout");n&&n.lastEvent&&(n.inExceptionArea?setTimeout(i,Math.floor(1e3*n.time)):(t=new Date,0<(e=Math.floor(1e3*n.time)-(t-n.lastEvent))?setTimeout(i,100+e):r.addClass("timeout")))};setTimeout(i,Math.floor(1e3*t.time))}};s.fn.timeout=function(t){return r[t]?r[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void s.error("Method "+t+" does not exist on jQuery.timeout"):r.init.apply(this,arguments)},s.extend(s.expr[":"],{scrollable:function(t){return"scroll"===s(t).css("overflow")||"scroll"===s(t).css("overflowX")||"scroll"===s(t).css("overflowY")||(t.clientHeight<t.scrollHeight&&(-1!==s.inArray(s(t).css("overflowY"),["scroll","auto"])||-1!==s.inArray(s(t).css("overflow"),["scroll","auto"]))||t.clientWidth<t.scrollWidth&&(-1!==s.inArray(s(t).css("overflowX"),["scroll","auto"])||-1!==s.inArray(s(t).css("overflow"),["scroll","auto"])))}}),s.fn.makeVisibleInScroll=function(t){var a=null;return"string"==typeof t?a=s("#"+t):t&&(a=s(t)),this.each(function(){var t=s(this),e=a||(0<(e=t.parents(":scrollable")).length?s(e[0]):s(window)),n=t.position().top,r=t.height()+n,i=e.scrollTop(),o=e.height()+i;n<i?e.scrollTop(n):r>o-e.height()/2&&e.scrollTop(n-(e.height()-t.height())/2)})},s.fn.setPositionAbsolute=function(u,l,c){return this.each(function(){var t=s(this),e=s(this).width(),n=u.offset(),r=u.width(),i=u.height(),o=n.left+r-e+c,a=n.top+i+l;t.css({"z-index":1,position:"absolute",marginLeft:0,marginTop:0,left:o+"px",top:a+"px",width:e}),t.remove().appendTo("body").show()})},s.fn.positionAncestor=function(a){var u=0,l=0;return this.each(function(){var t=s(this).closest(a);if(t.length&&"static"!==t.css("position")){var e=s(this),n=e.offset().left-parseInt(e.css("marginLeft"),10),r=e.offset().top-parseInt(e.css("marginTop"),10),i=t.offset().left+parseInt(t.css("borderLeftWidth"),10),o=t.offset().top+parseInt(t.css("borderTopWidth"),10);return u=n-i,l=r-o,!1}}),{left:u,top:l}},String.prototype.startsWith=function(t){return null!==this.match("^"+t)},String.prototype.endsWith=function(t){return null!==this.match(t+"$")},s.simplePlaceholder={placeholder_class:null,hide_placeholder:function(){var t=s(this);t.val()===t.attr("placeholder")&&t.val("").removeClass(s.simplePlaceholder.placeholder_class)},show_placeholder:function(){var t=s(this);""===t.val()&&t.val(t.attr("placeholder")).addClass(s.simplePlaceholder.placeholder_class)},prevent_placeholder_submit:function(){return s(this).find(".simple-placeholder").each(function(){var t=s(this);t.val()===t.attr("placeholder")&&t.val("")}
3296),!0}},s.fn.simplePlaceholder=function(t){var e;return void 0===document.createElement("input").placeholder&&(e={placeholder_class:"placeholding"},t&&s.extend(e,t),s.simplePlaceholder.placeholder_class=e.placeholder_class,this.each(function(){var t=s(this);t.focus(s.simplePlaceholder.hide_placeholder),t.blur(s.simplePlaceholder.show_placeholder),""===t.val()&&(t.val(t.attr("placeholder")),t.addClass(s.simplePlaceholder.placeholder_class)),t.addClass("simple-placeholder"),s(this.form).submit(s.simplePlaceholder.prevent_placeholder_submit)})),this},s.fn.findInclusive=function(t){return this.find("*").addBack().filter(t)},s.fn.slideIn=function(t,e,n){return this.animate({width:"show"},t,e,n)},s.fn.slideOut=function(t,e,n){return this.animate({width:"hide"},t,e,n)},s.expr[":"].Contains=function(t,e,n){return 0<=s(t).text().toUpperCase().indexOf(n[3].toUpperCase())},s.fn.scopedFind=function(t){return t.startsWith("#")?s(t):this.find(t)}}),define("pat-registry",["jquery","underscore","pat-logger","pat-utils","pat-compat","pat-jquery-ext"],function(o,a,u,r){for(var t,i=u.getLogger("registry"),e=/patterns-disable=([^&]+)/g,n=/patterns-dont-catch/g,l=!1,c={};null!==(t=e.exec(window.location.search));)c[t[1]]=!0,i.info("Pattern disabled via url config:",t[1]);for(;null!==(t=n.exec(window.location.search));)l=!0,i.info("I will not catch init exceptions");var s={patterns:{},initialized:!1,init:function(){o(document).ready(function(){i.info("loaded: "+Object.keys(s.patterns).sort().join(", ")),s.scan(document.body),s.initialized=!0,i.info("finished initial scan.")})},clear:function(){this.patterns={}},transformPattern:function(e,t){if(c[e])i.debug("Skipping disabled pattern:",e);else{var n=s.patterns[e];if(n.transform)try{n.transform(o(t))}catch(t){if(l)throw t;i.error("Transform error for pattern"+e,t)}}},initPattern:function(t,e,n){var r=o(e),i=s.patterns[t];if(i.init&&(plog=u.getLogger("pat."+t),r.is(i.trigger))){plog.debug("Initialising:",r);try{i.init(r,null,n),plog.debug("done.")}catch(t){if(l)throw t;plog.error("Caught error:",t)}}},orderPatterns:function(t){return a.contains(t,"validation")&&a.contains(t,"inject")&&(t.splice(t.indexOf("validation"),1),t.unshift("validation")),t},scan:function(t,n,r){var i=[];(n=this.orderPatterns(n||Object.keys(s.patterns))).forEach(a.partial(this.transformPattern,a,t)),n=a.each(n,function(t){var e=s.patterns[t];e.trigger&&i.unshift(e.trigger)}),o(t).findInclusive(i.join(",")).filter(function(){return 0===o(this).parents("pre").length}).filter(":not(.cant-touch-this)").toArray().reduceRight(function(t,e){n.forEach(a.partial(this.initPattern,a,e,r))}.bind(this),null),o("body").addClass("patterns-loaded")},register:function(t,e){var n;return(e=e||t.name)?s.patterns[e]?(i.error("Already have a pattern called: "+e),!1):((s.patterns[e]=t).jquery_plugin&&(n=("pat-"+e).replace(/-([a-zA-Z])/g,function(t,e){return e.toUpperCase()}),o.fn[n]=r.jqueryPlugin(t),o.fn[n.replace(/^pat/,"pattern")]=o.fn[n]),i.debug("Registered pattern:",e,t),s.initialized&&s.scan(document.body,[e]),!0):(i.error("Pattern lacks a name:",t),!1)}};return s}),define("pat-mockup-parser",["jquery"],function(a){"use strict";return{getOptions:function t(e,n,r){r=r||{},0===e.length||a.nodeName(e[0],"body")||(r=t(e.parent(),n,r));var i,o={};return 0!==e.length&&(o=e.data("pat-"+n))&&"string"==typeof o&&(i={},a.each(o.split(";"),function(t,e){(e=e.split(":")).reverse();var n=(n=e.pop()).replace(/^\s+|\s+$/g,"");e.reverse();var r=(r=e.join(":")).replace(/^\s+|\s+$/g,"");i[n]=r}),o=i),a.extend(!0,{},r,o)}}}),define("pat-base",["jquery","pat-registry","pat-mockup-parser","pat-logger"],function(i,a,u,l){"use strict";function o(t,e,n){var r=this.prototype.name,i=l.getLogger("pat."+r),o=t.data("pattern-"+r);if(void 0===o&&a.patterns[r]){try{e="mockup"===this.prototype.parser?u.getOptions(t,r,e):e,o=new a.patterns[r](t,e,n)}catch(t){i.error("Failed while initializing '"+r+"' pattern.",t)}t.data("pattern-"+r,o)}return o}function c(t,e,n){this.$el=t,this.options=i.extend(!0,{},this.defaults||{},e||{}),this.init(t,e,n),this.emit("init")}var s=l.getLogger("Patternslib Base");return c.prototype={constructor:c,on:function(t,e){this.$el.on(t+"."+this.name+".patterns",e)},emit:function(t,e){void 0===e&&(e=[]),this.$el.trigger(t+"."+this.name+".patterns",e)}},c.extend=function(t){var e,n=this;if(!t)throw new Error("Pattern configuration properties required when calling Base.extend");(e=t.hasOwnProperty("constructor")?t.constructor:function(){n.apply(this,arguments)}).extend=c.extend,e.init=o,e.jquery_plugin=!0,e.trigger=t.trigger;function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,i.extend(!0,e.prototype,t),e.__super__=n.prototype,t.name?t.trigger?a.register(e,t.name):s.warn("The pattern '"+t.name+"' does not have a trigger attribute, it will not be registered."):s.warn("This pattern without a name attribute will not be registered!"),e},c}),window.jQuery&&define("jquery",[],function(){"use strict";return window.jQuery.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),window.jQuery}),require(["jquery","pat-registry","pat-base","pat-logger","pat-mockup-parser"],function(i,t){"use strict";window.parent!==window&&"IFRAME"!==window.frameElement.nodeName||i(document).ready(function(){i("body").addClass("pat-plone"),t.initialized||t.init()}),i(document).ready(function(){!0!=("selected"===i("#form-widgets-use_cookie_negotiation > input").value)?i("#formfield-form-widgets-authenticated_users_only").hide():i("#formfield-form-widgets-authenticated_users_only").show()}),i(document).ready(function(){function t(t){var e=i("#form-widgets-highpixeldensity_scales option:selected").attr("value"),n=i('div[data-fieldname="form.widgets.quality_2x"]'),r=i('div[data-fieldname="form.widgets.quality_3x"]');"disabled"==e?(n.fadeOut(),r.fadeOut()):"2x"==e?(n.fadeIn(),r.fadeOut()):"3x"==e&&(n.fadeIn(),r.fadeIn())}i("#ImagingSettings")&&(i('div[data-fieldname="form.widgets.quality_2x"]').hide(),i('div[data-fieldname="form.widgets.quality_3x"]').hide(),t(),i("#form-widgets-highpixeldensity_scales").change(t))})}),define("/home/vincentfretin/workspace/buildout.coredev-5.2/src/plone.staticresources/src/plone/staticresources/static/plone-base.js",function(){});
3297//# sourceMappingURL=plone-base-compiled.min.js.map
3298!function(n){"use strict";"function"==typeof define&&define.amd?define("datatables.net",["jquery"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e,t,t.document)}:n(jQuery,window,document)}(function(z,D,y,U){"use strict";function r(t){return!t||!0===t||"-"===t}function h(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function a(t,e){return n[e]||(n[e]=new RegExp(wt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(n[e],"."):t}function l(t,e,n){var o="string"==typeof t;return!!r(t)||(e&&o&&(t=a(t,e)),n&&o&&(t=t.replace(u,"")),!isNaN(parseFloat(t))&&isFinite(t))}function o(t,e,n){return!!r(t)||((r(o=t)||"string"==typeof o)&&!!l(f(t),e,n)||null);var o}function v(t,e,n,o){var r=[],a=0,l=e.length;if(o!==U)for(;a<l;a++)t[e[a]][n]&&r.push(t[e[a]][n][o]);else for(;a<l;a++)r.push(t[e[a]][n]);return r}function p(t,e){var n,o=[];e===U?(e=0,n=t):(n=e,e=t);for(var r=e;r<n;r++)o.push(r);return o}function x(t){for(var e=[],n=0,o=t.length;n<o;n++)t[n]&&e.push(t[n]);return e}var m,e,t,S=function(C){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new ge(t?re(this[m.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),o=z.isArray(t)&&(z.isArray(t[0])||z.isPlainObject(t[0]))?n.rows.add(t):n.row.add(t);return e!==U&&!e||n.draw(),o.flatten().toArray()}
vendor: 4,431 bytes, line 3298
3298,this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],o=n.oScroll;t===U||t?e.draw(!1):""===o.sX&&""===o.sY||Wt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==U&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var o=this.api(!0),r=o.rows(t),a=r.settings()[0],l=a.aoData[r[0][0]];return r.remove(),e&&e.call(this,a,l),n!==U&&!n||o.draw(),l},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,o,r,a){var l=this.api(!0);null===e||e===U?l.search(t,n,o,a):l.column(e).search(t,n,o,a),l.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t===U)return n.data().toArray();var o=t.nodeName?t.nodeName.toLowerCase():"";return e!==U||"td"==o||"th"==o?n.cell(t,e).data():n.row(t).data()||null},this.fnGetNodes=function(t){var e=this.api(!0);return t!==U?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();if("TR"==n)return e.row(t).index();if("TD"!=n&&"TH"!=n)return null;var o=e.cell(t).index();return[o.row,o.columnVisible,o.column]},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);e!==U&&!e||n.draw(!1)},this.fnSetColumnVis=function(t,e,n){var o=this.api(!0).column(t).visible(e);n!==U&&!n||o.columns.adjust().draw()},this.fnSettings=function(){return re(this[m.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,o,r){var a=this.api(!0);return n===U||null===n?a.row(e).data(t):a.cell(e,n).data(t),r!==U&&!r||a.columns.adjust(),o!==U&&!o||a.draw(),0},this.fnVersionCheck=m.fnVersionCheck;var _=this,T=C===U,F=this.length;for(var t in T&&(C={}),this.oApi=this.internal=m.internal,S.ext.internal)t&&(this[t]=Le(t));return this.each(function(){var a=1<F?ie({},C,!0):C,l=0,t=this.getAttribute("id"),i=!1,e=S.defaults,s=z(this);if("table"==this.nodeName.toLowerCase()){B(e),k(e.column),A(e,e,!0),A(e.column,e.column,!0),A(e,z.extend(a,s.data()));for(var n=S.settings,l=0,d=n.length;l<d;l++){var o=n[l];if(o.nTable==this||o.nTHead.parentNode==this||o.nTFoot&&o.nTFoot.parentNode==this){var r=a.bRetrieve!==U?a.bRetrieve:e.bRetrieve,c=a.bDestroy!==U?a.bDestroy:e.bDestroy;if(T||r)return o.oInstance;if(c){o.oInstance.fnDestroy();break}return void ae(o,0,"Cannot reinitialise DataTable",3)}if(o.sTableId==this.id){n.splice(l,1);break}}null!==t&&""!==t||(t="DataTables_Table_"+S.ext._unique++,this.id=t);var u=z.extend(!0,{},S.models.oSettings,{sDestroyWidth:s[0].style.width,sInstance:t,sTableId:t});u.nTable=this,u.oApi=_.internal,u.oInit=a,n.push(u),u.oInstance=1===_.length?_:s.dataTable(),B(a),a.oLanguage&&R(a.oLanguage),a.aLengthMenu&&!a.iDisplayLength&&(a.iDisplayLength=z.isArray(a.aLengthMenu[0])?a.aLengthMenu[0][0]:a.aLengthMenu[0]),a=ie(z.extend(!0,{},e),a),le(u.oFeatures,a,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),le(u,a,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),le(u.oScroll,a,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),le(u.oLanguage,a,"fnInfoCallback"),de(u,"aoDrawCallback",a.fnDrawCallback,"user"),de(u,"aoServerParams",a.fnServerParams,"user"),de(u,"aoStateSaveParams",a.fnStateSaveParams,"user"),de(u,"aoStateLoadParams",a.fnStateLoadParams,"user"),de(u,"aoStateLoaded",a.fnStateLoaded,"user"),de(u,"aoRowCallback",a.fnRowCallback,"user"),de(u,"aoRowCreatedCallback",a.fnCreatedRow,"user"),de(u,"aoHeaderCallback",a.fnHeaderCallback,"user"),de(u,"aoFooterCallback",a.fnFooterCallback,"user"),de(u,"aoInitComplete",a.fnInitComplete,"user"),de(u,"aoPreDrawCallback",a.fnPreDrawCallback,"user"),u.rowIdFn=J(a.rowId),N(u);
3298var f,h=u.oClasses;z.extend(h,S.ext.classes,a.oClasses),s.addClass(h.sTable),u.iInitDisplayStart===U&&(u.iInitDisplayStart=a.iDisplayStart,u._iDisplayStart=a.iDisplayStart),null!==a.iDeferLoading&&(u.bDeferLoading=!0,f=z.isArray(a.iDeferLoading),u._iRecordsDisplay=f?a.iDeferLoading[0]:a.iDeferLoading,u._iRecordsTotal=f?a.iDeferLoading[1]:a.iDeferLoading);var p=u.oLanguage;z.extend(!0,p,a.oLanguage),p.sUrl&&(z.ajax({dataType:"json",url:p.sUrl,success:function(t){R(t),A(e.oLanguage,t),z.extend(!0,p,t),Bt(u)},error:function(){Bt(u)}}),i=!0),null===a.asStripeClasses&&(u.asStripeClasses=[h.sStripeOdd,h.sStripeEven]);var m=u.asStripeClasses,g=s.children("tbody").find("tr").eq(0);-1!==z.inArray(!0,z.map(m,function(t,e){return g.hasClass(t)}))&&(z("tbody tr",this).removeClass(m.join(" ")),u.asDestroyStripes=m.slice());var b,y,v=[],x=this.getElementsByTagName("thead");if(0!==x.length&&(dt(u.aoHeader,x[0]),v=ct(u)),null===a.aoColumns)for(b=[],l=0,d=v.length;l<d;l++)b.push(null);else b=a.aoColumns;for(l=0,d=b.length;l<d;l++)L(u,v?v[l]:null);j(u,a.aoColumnDefs,b,function(t,e){H(u,t,e)}),g.length&&(y=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},z(g[0]).children("th, td").each(function(t,e){var n,o,r=u.aoColumns[t];r.mData===t&&(n=y(e,"sort")||y(e,"order"),o=y(e,"filter")||y(e,"search"),null===n&&null===o||(r.mData={_:t+".display",sort:null!==n?t+".@data-"+n:U,type:null!==n?t+".@data-"+n:U,filter:null!==o?t+".@data-"+o:U},H(u,t)))}));var I=u.oFeatures,w=function(){if(a.aaSorting===U){var t=u.aaSorting;for(l=0,d=t.length;l<d;l++)t[l][1]=u.aoColumns[l].asSorting[0]}te(u),I.bSort&&de(u,"aoDrawCallback",function(){var t,n;u.bSorted&&(t=Jt(u),n={},z.each(t,function(t,e){n[e.src]=e.dir}),ce(u,null,"order",[u,t,n]),Kt(u))}),de(u,"aoDrawCallback",function(){(u.bSorted||"ssp"===he(u)||I.bDeferRender)&&te(u)},"sc");var e=s.children("caption").each(function(){this._captionSide=z(this).css("caption-side")}),n=s.children("thead");0===n.length&&(n=z("<thead/>").appendTo(s)),u.nTHead=n[0];var o=s.children("tbody");0===o.length&&(o=z("<tbody/>").appendTo(s)),u.nTBody=o[0];var r=s.children("tfoot");if(0===r.length&&0<e.length&&(""!==u.oScroll.sX||""!==u.oScroll.sY)&&(r=z("<tfoot/>").appendTo(s)),0===r.length||0===r.children().length?s.addClass(h.sNoFooter):0<r.length&&(u.nTFoot=r[0],dt(u.aoFooter,u.nTFoot)),a.aaData)for(l=0;l<a.aaData.length;l++)E(u,a.aaData[l]);else!u.bDeferLoading&&"dom"!=he(u)||W(u,z(u.nTBody).children("tr"));u.aiDisplay=u.aiDisplayMaster.slice(),!(u.bInitialised=!0)===i&&Bt(u)};a.bStateSave?(I.bStateSave=!0,de(u,"aoDrawCallback",ne,"state_save"),oe(u,0,w)):w()}else ae(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),_=null,this},n={},i=/[\r\n]/g,s=/<.*?>/g,d=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,c=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),u=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,q=function(t,e,n){var o=[],r=0,a=t.length;if(n!==U)for(;r<a;r++)t[r]&&t[r][e]&&o.push(t[r][e][n]);else for(;r<a;r++)t[r]&&o.push(t[r][e]);return o},f=function(t){return t.replace(s,"")},g=function(t){if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),n=e[0],o=1,r=e.length;o<r;o++){if(e[o]===n)return!1;n=e[o]}return!0}(t))return t.slice();var e,n,o,r=[],a=t.length,l=0;t:for(n=0;n<a;n++){for(e=t[n],o=0;o<l;o++)if(r[o]===e)continue t;r.push(e),l++}return r};function b(n){var o,r,a={};z.each(n,function(t,e){(o=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(o[1]+" ")&&(r=t.replace(o[0],o[2].toLowerCase()),a[r]=t,"o"===o[1]&&b(n[t]))}),n._hungarianMap=a}function A(n,o,r){var a;n._hungarianMap||b(n),z.each(o,function(t,e){(a=n._hungarianMap[t])===U||!r&&o[a]!==U||("o"===a.charAt(0)?(o[a]||(o[a]={}),z.extend(!0,o[a],o[t]),A(n[a],o[a],r)):o[a]=o[t])})}function R(t){var e=S.defaults.oLanguage,n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&le(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&le(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var o=t.sDecimal;o&&ke(o)}S.util={throttle:function(o,t){var r,a,l=t!==U?t:200;return function(){var t=this,e=+new Date,n=arguments;r&&e<r+l?(clearTimeout(a),a=setTimeout(function(){r=U,o.apply(t,n)},l)):(r=e,o.apply(t,n))}},escapeRegex:function(t){return t.replace(c,"\\$1")}};var I=function(t,e,n){t[e]!==U&&(t[n]=t[e])};function B(t){I(t,"ordering","bSort"),I(t,"orderMulti","bSortMulti"),I(t,"orderClasses","bSortClasses"),I(t,"orderCellsTop","bSortCellsTop"),I(t,"order","aaSorting"),I(t,"orderFixed","aaSortingFixed"),I(t,"paging","bPaginate"),I(t,"pagingType","sPaginationType"),I(t,"pageLength","iDisplayLength"),I(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&
vendor: 14,147 bytes, line 3298
3298(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,o=e.length;n<o;n++)e[n]&&A(S.models.oSearch,e[n])}function k(t){I(t,"orderable","bSortable"),I(t,"orderData","aDataSort"),I(t,"orderSequence","asSorting"),I(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||z.isArray(e)||(t.aDataSort=[e])}function N(t){var e,n,o,r;S.__browser||(e={},S.__browser=e,r=(o=(n=z("<div/>").css({position:"fixed",top:0,left:-1*z(D).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(z("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(z("<div/>").css({width:"100%",height:10}))).appendTo("body")).children()).children(),e.barWidth=o[0].offsetWidth-o[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==o[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()),z.extend(t.oBrowser,S.__browser),t.oScroll.iBarWidth=S.__browser.barWidth}function w(t,e,n,o,r,a){var l,i=o,s=!1;for(n!==U&&(l=n,s=!0);i!==r;)t.hasOwnProperty(i)&&(l=s?e(l,t[i],i,t):t[i],s=!0,i+=a);return l}function L(t,e){var n=S.defaults.column,o=t.aoColumns.length,r=z.extend({},S.models.oColumn,n,{nTh:e||y.createElement("th"),sTitle:n.sTitle?n.sTitle:e?e.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[o],mData:n.mData?n.mData:o,idx:o});t.aoColumns.push(r);var a=t.aoPreSearchCols;a[o]=z.extend({},S.models.oSearch,a[o]),H(t,o,z(e).data())}function H(t,e,n){var o,r=t.aoColumns[e],a=t.oClasses,l=z(r.nTh);r.sWidthOrig||(r.sWidthOrig=l.attr("width")||null,(o=(l.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(r.sWidthOrig=o[1])),n!==U&&null!==n&&(k(n),A(S.defaults.column,n),n.mDataProp===U||n.mData||(n.mData=n.mDataProp),n.sType&&(r._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&l.addClass(n.sClass),z.extend(r,n),le(r,n,"sWidth","sWidthOrig"),n.iDataSort!==U&&(r.aDataSort=[n.iDataSort]),le(r,n,"aDataSort"));function i(t){return"string"==typeof t&&-1!==t.indexOf("@")}var s=r.mData,d=J(s),c=r.mRender?J(r.mRender):null;r._bAttrSrc=z.isPlainObject(s)&&(i(s.sort)||i(s.type)||i(s.filter)),r._setter=null,r.fnGetData=function(t,e,n){var o=d(t,e,U,n);return c&&e?c(o,e,t,n):o},r.fnSetData=function(t,e,n){return Y(s)(t,e,n)},"number"!=typeof s&&(t._rowReadObject=!0),t.oFeatures.bSort||(r.bSortable=!1,l.addClass(a.sSortableNone));var u=-1!==z.inArray("asc",r.asSorting),f=-1!==z.inArray("desc",r.asSorting);r.bSortable&&(u||f)?u&&!f?(r.sSortingClass=a.sSortableAsc,r.sSortingClassJUI=a.sSortJUIAscAllowed):!u&&f?(r.sSortingClass=a.sSortableDesc,r.sSortingClassJUI=a.sSortJUIDescAllowed):(r.sSortingClass=a.sSortable,r.sSortingClassJUI=a.sSortJUI):(r.sSortingClass=a.sSortableNone,r.sSortingClassJUI="")}function X(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Ut(t);for(var n=0,o=e.length;n<o;n++)e[n].nTh.style.width=e[n].sWidth}var r=t.oScroll;""===r.sY&&""===r.sX||Wt(t),ce(t,null,"column-sizing",[t])}function V(t,e){var n=P(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function C(t,e){var n=P(t,"bVisible"),o=z.inArray(e,n);return-1!==o?o:null}function O(t){var n=0;return z.each(t.aoColumns,function(t,e){e.bVisible&&"none"!==z(e.nTh).css("display")&&n++}),n}function P(t,n){var o=[];return z.map(t.aoColumns,function(t,e){t[n]&&o.push(e)}),o}function _(t){for(var e,n,o,r,a,l,i,s=t.aoColumns,d=t.aoData,c=S.ext.type.detect,u=0,f=s.length;u<f;u++)if(i=[],!(a=s[u]).sType&&a._sManualType)a.sType=a._sManualType;else if(!a.sType){for(e=0,n=c.length;e<n;e++){for(o=0,r=d.length;o<r&&(i[o]===U&&(i[o]=T(t,o,u,"type")),(l=c[e](i[o],t))||e===c.length-1)&&"html"!==l;o++);if(l){a.sType=l;break}}a.sType||(a.sType="string")}}function j(t,e,n,o){var r,a,l,i,s,d,c,u=t.aoColumns;if(e)for(r=e.length-1;0<=r;r--){var f=(c=e[r]).targets!==U?c.targets:c.aTargets;for(z.isArray(f)||(f=[f]),l=0,i=f.length;l<i;l++)if("number"==typeof f[l]&&0<=f[l]){for(;u.length<=f[l];)L(t);o(f[l],c)}else if("number"==typeof f[l]&&f[l]<0)o(u.length+f[l],c);else if("string"==typeof f[l])for(s=0,d=u.length;s<d;s++)"_all"!=f[l]&&!z(u[s].nTh).hasClass(f[l])||o(s,c)}if(n)for(r=0,a=n.length;r<a;r++)o(r,n[r])}function E(t,e,n,o){var r=t.aoData.length,a=z.extend(!0,{},S.models.oRow,{src:n?"dom":"data",idx:r});a._aData=e,t.aoData.push(a);for(var l=t.aoColumns,i=0,s=l.length;i<s;i++)l[i].sType=null;t.aiDisplayMaster.push(r);var d=t.rowIdFn(e);return d!==U&&(t.aIds[d]=a),!n&&t.oFeatures.bDeferRender||nt(t,r,n,o),r}function W(n,t){var o;return t instanceof z||(t=z(t)),t.map(function(t,e){return o=et(n,e),E(n,o.data,e,o.cells)})}function T(t,e,n,o){var r=t.iDraw,a=t.aoColumns[n],l=t.aoData[e]._aData,i=a.sDefaultContent,s=a.fnGetData(l,o,{settings:t,row:e,col:n});if(s===U)return t.iDrawError!=r&&null===i&&(ae(t,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=r),i;if(s!==l&&null!==s||null===i||o===U){if("function"==typeof s)return s.call(l)}else s=i;return null===s&&"display"==o?"":s}function F(t,e,n,o){var r=t.aoColumns[n],a=t.aoData[e]._aData;r.fnSetData(a,o,{settings:t,row:e,col:n})}var M=/\[.*?\]$/,$=/\(\)$/;function G(t){return z.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}function J(r){if(z.isPlainObject(r)){var a={};return z.each(r,function(t,e){e&&(a[t]=J(e))}),function(t,e,n,o){var r=a[e]||a._;return r!==U?r(t,e,n,o):t}}if(null===r)return function(t){return t};if("function"==typeof r)return function(t,e,n,o){return r(t,e,n,o)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(t,e){return t[r]};var h=function(t,e,n){var o,r,a,l;if(""!==n)for(var i=G(n),s=0,d=i.length;s<d;s++){if(o=i[s].match(M),r=i[s].match($),o){if(i[s]=i[s].replace(M,""),""!==i[s]&&(t=t[i[s]]),a=[],i.splice(0,s+1),l=i.join("."),z.isArray(t))for(var c=0,u=t.length;c<u;c++)a.push(h(t[c],e,l));var f=o[0].substring(1,o[0].length-1);t=""===f?a:a.join(f);break}if(r)i[s]=i[s].replace($,""),t=t[i[s]]();else{if(null===t||t[i[s]]===U)return U;t=t[i[s]]}}return t};return function(t,e){return h(t,e,r)}}function Y(o){if(z.isPlainObject(o))return Y(o._);if(null===o)return function(){};if("function"==typeof o)return function(t,e,n){o(t,"set",e,n)};if("string"!=typeof o||-1===o.indexOf(".")&&-1===o.indexOf("[")&&-1===o.indexOf("("))return function(t,e){t[o]=e};var p=function(t,e,n){for(var o,r,a,l,i,s=G(n),d=s[s.length-1],c=0,u=s.length-1;c<u;c++){if(r=s[c].match(M),a=s[c].match($),r){if(s[c]=s[c].replace(M,""),t[s[c]]=[],(o=s.slice()).splice(0,c+1),i=o.join("."),z.isArray(e))for(var f=0,h=e.length;f<h;f++)p(l={},e[f],i),t[s[c]].push(l);else t[s[c]]=e;return}a&&(s[c]=s[c].replace($,""),t=t[s[c]](e)),null!==t[s[c]]&&t[s[c]]!==U||(t[s[c]]={}),t=t[s[c]]}d.match($)?t=t[d.replace($,"")](e):t[d.replace(M,"")]=e};return function(t,e){return p(t,e,o)}}function K(t){return q(t.aoData,"_aData")}function Q(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function Z(t,e,n){for(var o=-1,r=0,a=t.length;r<a;r++)t[r]==e?o=r:t[r]>e&&t[r]--;-1!=o&&n===U&&t.splice(o,1)}function tt(n,o,t,e){function r(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=T(n,o,e,"display")}var a,l,i=n.aoData[o];if("dom"!==t&&(t&&"auto"!==t||"dom"!==i.src)){var s=i.anCells;if(s)if(e!==U)r(s[e],e);else for(a=0,l=s.length;a<l;a++)r(s[a],a)}else i._aData=et(n,i,e,e===U?U:i._aData).data;i._aSortData=null,i._aFilterData=null;var d=n.aoColumns;if(e!==U)d[e].sType=null;else{for(a=0,l=d.length;a<l;a++)d[a].sType=null;ot(n,i)}}function et(t,e,n,r){var o,a,l,i=[],s=e.firstChild,d=0,c=t.aoColumns,u=t._rowReadObject;r=r!==U?r:u?{}:[];function f(t,e){var n,o;"string"!=typeof t||-1!==(n=t.indexOf("@"))&&(o=t.substring(n+1),Y(t)(r,e.getAttribute(o)))}function h(t){n!==U&&n!==d||(a=c[d],l=z.trim(t.innerHTML),a&&a._bAttrSrc?(Y(a.mData._)(r,l),f(a.mData.sort,t),f(a.mData.type,t),f(a.mData.filter,t)):u?(a._setter||(a._setter=Y(a.mData)),a._setter(r,l)):r[d]=l),d++}if(s)for(;s;)"TD"!=(o=s.nodeName.toUpperCase())&&"TH"!=o||(h(s),i.push(s)),s=s.nextSibling;else for(var p=0,m=(i=e.anCells).length;p<m;p++)h(i[p]);var g,b=e.firstChild?e:e.nTr;return!b||(g=b.getAttribute("id"))&&Y(t.rowId)(r,g),{data:r,cells:i}}function nt(t,e,n,o){var r,a,l,i,s,d=t.aoData[e],c=d._aData,u=[];if(null===d.nTr){for(r=n||y.createElement("tr"),d.nTr=r,d.anCells=u,r._DT_RowIndex=e,ot(t,d),i=0,s=t.aoColumns.length;i<s;i++)l=t.aoColumns[i],(a=n?o[i]:y.createElement(l.sCellType))._DT_CellIndex={row:e,column:i},u.push(a),n&&!l.mRender&&l.mData===i||z.isPlainObject(l.mData)&&l.mData._===i+".display"||(a.innerHTML=T(t,e,i,"display")),l.sClass&&(a.className+=" "+l.sClass),l.bVisible&&!n?r.appendChild(a):!l.bVisible&&n&&a.parentNode.removeChild(a),l.fnCreatedCell&&l.fnCreatedCell.call(t.oInstance,a,T(t,e,i),c,e,i);ce(t,"aoRowCreatedCallback",null,[r,c,e])}d.nTr.setAttribute("role","row")}function ot(t,e){var n,o,r=e.nTr,a=e._aData;r&&((n=t.rowIdFn(a))&&(r.id=n),a.DT_RowClass&&(o=a.DT_RowClass.split(" "),e.__rowc=e.__rowc?g(e.__rowc.concat(o)):o,z(r).removeClass(e.__rowc.join(" ")).addClass(a.DT_RowClass)),a.DT_RowAttr&&z(r).attr(a.DT_RowAttr),a.DT_RowData&&z(r).data(a.DT_RowData))}function rt(t){var e,n,o,r=t.nTHead,a=t.nTFoot,l=0===z("th, td",r).length,i=t.oClasses,s=t.aoColumns;for(l&&(n=z("<tr/>").appendTo(r)),c=0,u=s.length;c<u;c++)o=s[c],e=z(o.nTh).addClass(o.sClass),l&&e.appendTo(n),t.oFeatures.bSort&&(e.addClass(o.sSortingClass),!1!==o.bSortable&&(e.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),Zt(t,o.nTh,c))),o.sTitle!=e[0].innerHTML&&e.html(o.sTitle),fe(t,"header")(t,e,o,i);if(l&&dt(t.aoHeader,r),z(r).find(">tr").attr("role","row"),z(r).find(">tr>th, >tr>td").addClass(i.sHeaderTH),z(a).find(">tr>th, >tr>td").addClass(i.sFooterTH),null!==a)for(var d=t.aoFooter[0],c=0,u=d.length;c<u;c++)(o=s[c]).nTf=d[c].cell,o.sClass&&z(o.nTf).addClass(o.sClass)}function at(t,e,n){var o,r,a,l,i,s,d,c,u,f=[],h=[],p=t.aoColumns.length;if(e){for(n===U&&(n=!1),o=0,r=e.length;o<r;o++){for(f[o]=e[o].slice(),f[o].nTr=e[o].nTr,a=p-1;0<=a;a--)t.aoColumns[a].bVisible||n||f[o].splice(a,1);h.push([])}for(o=0,r=f.length;o<r;o++){if(d=f[o].nTr)for(;s=d.firstChild;)d.removeChild(s);for(a=0,l=f[o].length;a<l;a++)if(u=c=1,h[o][a]===U){for(d.appendChild(f[o][a].cell),h[o][a]=1;f[o+c]!==U&&f[o][a].cell==f[o+c][a].cell;)h[o+c][a]=1,c++;for(;f[o][a+u]!==U&&f[o][a].cell==f[o][a+u].cell;){for(i=0;i<c;i++)h[o+i][a+u]=1;u++}z(f[o][a].cell).attr("rowspan",c).attr("colspan",u)}}}}function lt(t){var e=ce(t,"aoPreDrawCallback","preDraw",[t]);if(-1===z.inArray(!1,e)){var n=[],o=0,r=t.asStripeClasses,a=r.length,l=(t.aoOpenRows.length,t.oLanguage),i=t.iInitDisplayStart,s="ssp"==he(t),d=t.aiDisplay;t.bDrawing=!0,i!==U&&-1!==i&&(t._iDisplayStart=!s&&i>=t.fnRecordsDisplay()?0:i,t.iInitDisplayStart=-1);var c=t._iDisplayStart,u=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,jt(t,!1);else if(s){if(!t.bDestroying&&!ft(t))return}else t.iDraw++;if(0!==d.length)for(var f=s?0:c,h=s?t.aoData.length:u,p=f;p<h;p++){var m=d[p],g=t.aoData[m];null===g.nTr&&nt(t,m);var b,y=g.nTr;0!==a&&(b=r[o%a],g._sRowStripe!=b&&(z(y).removeClass(g._sRowStripe).addClass(b),g._sRowStripe=b)),ce(t,"aoRowCallback",null,[y,g._aData,o,p]),n.push(y),o++}else{var v=l.sZeroRecords;1==t.iDraw&&"ajax"==he(t)?v=l.sLoadingRecords:l.sEmptyTable&&0===t.fnRecordsTotal()&&(v=l.sEmptyTable),n[0]=z("<tr/>",{class:a?r[0]:""}).append(z("<td />",{valign:"top",colSpan:O(t),class:t.oClasses.sRowEmpty}).html(v))[0]}ce(t,"aoHeaderCallback","header",[z(t.nTHead).children("tr")[0],K(t),c,u,d]),ce(t,"aoFooterCallback","footer",[z(t.nTFoot).children("tr")[0],K(t),c,u,d]);var x=z(t.nTBody);x.children().detach(),x.append(z(n)),ce(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}else jt(t,!1)}function it(t,e){var n=t.oFeatures,o=n.bSort,r=n.bFilter;o&&Yt(t),r?bt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,lt(t),t._drawHold=!1}function st(t){var e=t.oClasses,n=z(t.nTable),o=z("<div/>").insertBefore(n),r=t.oFeatures,a=z("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=o[0],t.nTableWrapper=a[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var l,i,s,d,c,u,f,h,p=t.sDom.split(""),m=0;m<p.length;m++){if(l=null,"<"==(i=p[m])){if(s=z("<div/>")[0],"'"==(d=p[m+1])||'"'==d){for(c="",u=2;p[m+u]!=d;)c+=p[m+u],u++;"H"==c?c=e.sJUIHeader:"F"==c&&(c=e.sJUIFooter),-1!=c.indexOf(".")?(f=c.split("."),s.id=f[0].substr(1,f[0].length-1),s.className=f[1]):"#"==c.charAt(0)?s.id=c.substr(1,c.length-1):s.className=c,m+=u}a.append(s),a=z(s)}else if(">"==i)a=a.parent();else if("l"==i&&r.bPaginate&&r.bLengthChange)l=Lt(t);else if("f"==i&&r.bFilter)l=gt(t);else if("r"==i&&r.bProcessing)l=Pt(t);else if("t"==i)l=Et(t);else if("i"==i&&r.bInfo)l=Dt(t);else if("p"==i&&r.bPaginate)l=Ht(t);else if(0!==S.ext.feature.length)for(var g=S.ext.feature,b=0,y=g.length;b<y;b++)if(i==g[b].cFeature){l=g[b].fnInit(t);break}l&&((h=t.aanFeatures)[i]||(h[i]=[]),h[i].push(l),a.append(l))}o.replaceWith(a),t.nHolding=null}function dt(t,e){var n,o,r,a,l,i,s,d,c,u,f=z(e).children("tr");for(t.splice(0,t.length),r=0,i=f.length;r<i;r++)t.push([]);for(r=0,i=f.length;r<i;r++)for(o=(n=f[r]).firstChild;o;){if("TD"==o.nodeName.toUpperCase()||"TH"==o.nodeName.toUpperCase())for(d=(d=+o.getAttribute("colspan"))&&0!==d&&1!==d?d:1,c=(c=+o.getAttribute("rowspan"))&&0!==c&&1!==c?c:1,s=function(t,e,n){for(var o=t[e];o[n];)n++;return n}(t,r,0),u=1===d,l=0;l<d;l++)for(a=0;a<c;a++)t[r+a][s+l]={cell:o,unique:u},t[r+a].nTr=n;o=o.nextSibling}}function ct(t,e,n){var o=[];n||(n=t.aoHeader,e&&dt(n=[],e));for(var r=0,a=n.length;r<a;r++)for(var l=0,i=n[r].length;l<i;l++)!n[r][l].unique||o[l]&&t.bSortCellsTop||(o[l]=n[r][l].cell);return o}function ut(r,t,e){var a,l,n;ce(r,"aoServerParams","serverParams",[t]),t&&z.isArray(t)&&(a={},l=/(.*?)\[\]$/,z.each(t,function(t,e){var n,o=e.name.match(l);o?(n=o[0],a[n]||(a[n]=[]),a[n].push(e.value)):a[e.name]=e.value}),t=a);function o(t){ce(r,null,"xhr",[r,t,r.jqXHR]),e(t)}
3298var i,s=r.ajax,d=r.oInstance;z.isPlainObject(s)&&s.data&&(n=s.data,i=z.isFunction(n)?n(t,r):n,t=z.isFunction(n)&&i?i:z.extend(!0,t,i),delete s.data);var c={data:t,success:function(t){var e=t.error||t.sError;e&&ae(r,0,e),r.json=t,o(t)},dataType:"json",cache:!1,type:r.sServerMethod,error:function(t,e,n){var o=ce(r,null,"xhr",[r,null,r.jqXHR]);-1===z.inArray(!0,o)&&("parsererror"==e?ae(r,0,"Invalid JSON response",1):4===t.readyState&&ae(r,0,"Ajax error",7)),jt(r,!1)}};r.oAjaxData=t,ce(r,null,"preXhr",[r,t]),r.fnServerData?r.fnServerData.call(d,r.sAjaxSource,z.map(t,function(t,e){return{name:e,value:t}}),o,r):r.sAjaxSource||"string"==typeof s?r.jqXHR=z.ajax(z.extend(c,{url:s||r.sAjaxSource})):z.isFunction(s)?r.jqXHR=s.call(d,t,o,r):(r.jqXHR=z.ajax(z.extend(c,s)),s.data=n)}function ft(e){return!e.bAjaxDataGet||(e.iDraw++,jt(e,!0),ut(e,ht(e),function(t){pt(e,t)}),!1)}function ht(t){function n(t,e){c.push({name:t,value:e})}var e,o,r,a=t.aoColumns,l=a.length,i=t.oFeatures,s=t.oPreviousSearch,d=t.aoPreSearchCols,c=[],u=Jt(t),f=t._iDisplayStart,h=!1!==i.bPaginate?t._iDisplayLength:-1;n("sEcho",t.iDraw),n("iColumns",l),n("sColumns",q(a,"sName").join(",")),n("iDisplayStart",f),n("iDisplayLength",h);for(var p={draw:t.iDraw,columns:[],order:[],start:f,length:h,search:{value:s.sSearch,regex:s.bRegex}},m=0;m<l;m++)o=a[m],r=d[m],e="function"==typeof o.mData?"function":o.mData,p.columns.push({data:e,name:o.sName,searchable:o.bSearchable,orderable:o.bSortable,search:{value:r.sSearch,regex:r.bRegex}}),n("mDataProp_"+m,e),i.bFilter&&(n("sSearch_"+m,r.sSearch),n("bRegex_"+m,r.bRegex),n("bSearchable_"+m,o.bSearchable)),i.bSort&&n("bSortable_"+m,o.bSortable);i.bFilter&&(n("sSearch",s.sSearch),n("bRegex",s.bRegex)),i.bSort&&(z.each(u,function(t,e){p.order.push({column:e.col,dir:e.dir}),n("iSortCol_"+t,e.col),n("sSortDir_"+t,e.dir)}),n("iSortingCols",u.length));var g=S.ext.legacy.ajax;return null===g?t.sAjaxSource?c:p:g?c:p}function pt(t,n){function e(t,e){return n[t]!==U?n[t]:n[e]}var o=mt(t,n),r=e("sEcho","draw"),a=e("iTotalRecords","recordsTotal"),l=e("iTotalDisplayRecords","recordsFiltered");if(r){if(+r<t.iDraw)return;t.iDraw=+r}Q(t),t._iRecordsTotal=parseInt(a,10),t._iRecordsDisplay=parseInt(l,10);for(var i=0,s=o.length;i<s;i++)E(t,o[i]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,lt(t),t._bInitComplete||kt(t,n),t.bAjaxDataGet=!0,jt(t,!1)}function mt(t,e){var n=z.isPlainObject(t.ajax)&&t.ajax.dataSrc!==U?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===n?e.aaData||e[n]:""!==n?J(n)(e):e}function gt(n){function t(){l.f;var t=this.value?this.value:"";t!=a.sSearch&&(bt(n,{sSearch:t,bRegex:a.bRegex,bSmart:a.bSmart,bCaseInsensitive:a.bCaseInsensitive}),n._iDisplayStart=0,lt(n))}var e=n.oClasses,o=n.sTableId,r=n.oLanguage,a=n.oPreviousSearch,l=n.aanFeatures,i='<input type="search" class="'+e.sFilterInput+'"/>',s=(s=r.sSearch).match(/_INPUT_/)?s.replace("_INPUT_",i):s+i,d=z("<div/>",{id:l.f?null:o+"_filter",class:e.sFilter}).append(z("<label/>").append(s)),c=null!==n.searchDelay?n.searchDelay:"ssp"===he(n)?400:0,u=z("input",d).val(a.sSearch).attr("placeholder",r.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",c?qt(t,c):t).on("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",o);return z(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{u[0]!==y.activeElement&&u.val(a.sSearch)}catch(t){}}),d[0]}function bt(t,e,n){function o(t){a.sSearch=t.sSearch,a.bRegex=t.bRegex,a.bSmart=t.bSmart,a.bCaseInsensitive=t.bCaseInsensitive}function r(t){return t.bEscapeRegex!==U?!t.bEscapeRegex:t.bRegex}var a=t.oPreviousSearch,l=t.aoPreSearchCols;if(_(t),"ssp"!=he(t)){xt(t,e.sSearch,n,r(e),e.bSmart,e.bCaseInsensitive),o(e);for(var i=0;i<l.length;i++)vt(t,l[i].sSearch,i,r(l[i]),l[i].bSmart,l[i].bCaseInsensitive);yt(t)}else o(e);t.bFiltered=!0,ce(t,null,"search",[t])}function yt(t){for(var e,n,o=S.ext.search,r=t.aiDisplay,a=0,l=o.length;a<l;a++){for(var i=[],s=0,d=r.length;s<d;s++)n=r[s],e=t.aoData[n],o[a](t,e._aFilterData,n,e._aData,s)&&i.push(n);r.length=0,z.merge(r,i)}}function vt(t,e,n,o,r,a){if(""!==e){for(var l,i=[],s=t.aiDisplay,d=It(e,o,r,a),c=0;c<s.length;c++)l=t.aoData[s[c]]._aFilterData[n],d.test(l)&&i.push(s[c]);t.aiDisplay=i}}function xt(t,e,n,o,r,a){var l,i,s,d=It(e,o,r,a),c=t.oPreviousSearch.sSearch,u=t.aiDisplayMaster,f=[];if(0!==S.ext.search.length&&(n=!0),i=Tt(t),e.length<=0)t.aiDisplay=u.slice();else{for((i||n||c.length>e.length||0!==e.indexOf(c)||t.bSorted)&&(t.aiDisplay=u.slice()),l=t.aiDisplay,s=0;s<l.length;s++)d.test(t.aoData[l[s]]._sFilterRow)&&f.push(l[s]);t.aiDisplay=f}}function It(t,e,n,o){return t=e?t:wt(t),n&&(t="^(?=.*?"+z.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){var e;return'"'===t.charAt(0)&&(t=(e=t.match(/^"(.*)"$/))?e[1]:t),t.replace('"',"")}).join(")(?=.*?")+").*$"),new RegExp(t,o?"i":"")}var wt=S.util.escapeRegex,Ct=z("<div>")[0],_t=Ct.textContent!==U;function Tt(t){for(var e,n,o,r,a,l,i=t.aoColumns,s=S.ext.type.search,d=!1,c=0,u=t.aoData.length;c<u;c++)if(!(l=t.aoData[c])._aFilterData){for(r=[],n=0,o=i.length;n<o;n++)(e=i[n]).bSearchable?(a=T(t,c,n,"filter"),s[e.sType]&&(a=s[e.sType](a)),null===a&&(a=""),"string"!=typeof a&&a.toString&&(a=a.toString())):a="",a.indexOf&&-1!==a.indexOf("&")&&(Ct.innerHTML=a,a=_t?Ct.textContent:Ct.innerText),a.replace&&(a=a.replace(/[\r\n]/g,"")),r.push(a);l._aFilterData=r,l._sFilterRow=r.join("  "),d=!0}return d}function Ft(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function St(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Dt(t){var e=t.sTableId,n=t.aanFeatures.i,o=z("<div/>
3298",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:At,sName:"information"}),o.attr("role","status").attr("aria-live","polite"),z(t.nTable).attr("aria-describedby",e+"_info")),o[0]}function At(t){var e,n,o,r,a,l,i,s=t.aanFeatures.i;0!==s.length&&(e=t.oLanguage,n=t._iDisplayStart+1,o=t.fnDisplayEnd(),r=t.fnRecordsTotal(),l=(a=t.fnRecordsDisplay())?e.sInfo:e.sInfoEmpty,a!==r&&(l+=" "+e.sInfoFiltered),l=Rt(t,l+=e.sInfoPostFix),null!==(i=e.fnInfoCallback)&&(l=i.call(t.oInstance,t,n,o,r,a,l)),z(s).html(l))}function Rt(t,e){var n=t.fnFormatNumber,o=t._iDisplayStart+1,r=t._iDisplayLength,a=t.fnRecordsDisplay(),l=-1===r;return e.replace(/_START_/g,n.call(t,o)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,a)).replace(/_PAGE_/g,n.call(t,l?1:Math.ceil(o/r))).replace(/_PAGES_/g,n.call(t,l?1:Math.ceil(a/r)))}function Bt(n){var o,t,e,r=n.iInitDisplayStart,a=n.aoColumns,l=n.oFeatures,i=n.bDeferLoading;if(n.bInitialised){for(st(n),rt(n),at(n,n.aoHeader),at(n,n.aoFooter),jt(n,!0),l.bAutoWidth&&Ut(n),o=0,t=a.length;o<t;o++)(e=a[o]).sWidth&&(e.nTh.style.width=Gt(e.sWidth));ce(n,null,"preInit",[n]),it(n);var s=he(n);"ssp"==s&&!i||("ajax"==s?ut(n,[],function(t){var e=mt(n,t);for(o=0;o<e.length;o++)E(n,e[o]);n.iInitDisplayStart=r,it(n),jt(n,!1),kt(n,t)}):(jt(n,!1),kt(n)))}else setTimeout(function(){Bt(n)},200)}function kt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&X(t),ce(t,null,"plugin-init",[t,e]),ce(t,"aoInitComplete","init",[t,e])}function Nt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,ue(t),ce(t,null,"length",[t,n])}function Lt(o){for(var t=o.oClasses,e=o.sTableId,n=o.aLengthMenu,r=z.isArray(n[0]),a=r?n[0]:n,l=r?n[1]:n,i=z("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect}),s=0,d=a.length;s<d;s++)i[0][s]=new Option("number"==typeof l[s]?o.fnFormatNumber(l[s]):l[s],a[s]);var c=z("<div><label/></div>").addClass(t.sLength);return o.aanFeatures.l||(c[0].id=e+"_length"),c.children().append(o.oLanguage.sLengthMenu.replace("_MENU_",i[0].outerHTML)),z("select",c).val(o._iDisplayLength).on("change.DT",function(t){Nt(o,z(this).val()),lt(o)}),z(o.nTable).on("length.dt.DT",function(t,e,n){o===e&&z("select",c).val(n)}),c[0]}function Ht(t){function c(t){lt(t)}var e=t.sPaginationType,u=S.ext.pager[e],f="function"==typeof u,n=z("<div/>").addClass(t.oClasses.sPaging+e)[0],h=t.aanFeatures;return f||u.fnInit(t,n,c),h.p||(n.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(f)for(var e=t._iDisplayStart,n=t._iDisplayLength,o=t.fnRecordsDisplay(),r=-1===n,a=r?0:Math.ceil(e/n),l=r?1:Math.ceil(o/n),i=u(a,l),s=0,d=h.p.length;s<d;s++)fe(t,"pageButton")(t,h.p[s],s,i,a,l);else u.fnUpdate(t,c)},sName:"pagination"})),n}function Ot(t,e,n){var o=t._iDisplayStart,r=t._iDisplayLength,a=t.fnRecordsDisplay();0===a||-1===r?o=0:"number"==typeof e?a<(o=e*r)&&(o=0):"first"==e?o=0:"previous"==e?(o=0<=r?o-r:0)<0&&(o=0):"next"==e?o+r<a&&(o+=r):"last"==e?o=Math.floor((a-1)/r)*r:ae(t,0,"Unknown paging action: "+e,5);var l=t._iDisplayStart!==o;return t._iDisplayStart=o,l&&(ce(t,null,"page",[t]),n&&lt(t)),l}function Pt(t){return z("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function jt(t,e){t.oFeatures.bProcessing&&z(t.aanFeatures.r).css("display",e?"block":"none"),ce(t,null,"processing",[t,e])}function Et(t){var e=z(t.nTable);e.attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;function o(t){return t?Gt(t):null}var r=n.sX,a=n.sY,l=t.oClasses,i=e.children("caption"),s=i.length?i[0]._captionSide:null,d=z(e[0].cloneNode(!1)),c=z(e[0].cloneNode(!1)),u=e.children("tfoot"),f="<div/>";u.length||(u=null);var h=z(f,{class:l.sScrollWrapper}).append(z(f,{class:l.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?o(r):"100%"}).append(z(f,{class:l.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(d.removeAttr("id").css("margin-left",0).append("top"===s?i:null).append(e.children("thead"))))).append(z(f,{class:l.sScrollBody}).css({position:"relative",overflow:"auto",width:o(r)}).append(e));u&&h.append(z(f,{class:l.sScrollFoot}).css({overflow:"hidden",border:0,width:r?o(r):"100%"}).append(z(f,{class:l.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===s?i:null).append(e.children("tfoot")))));var p=h.children(),m=p[0],g=p[1],b=u?p[2]:null;return r&&z(g).on("scroll.DT",function(t){var e=this.scrollLeft;m.scrollLeft=e,u&&(b.scrollLeft=e)}),z(g).css(a&&n.bCollapse?"max-height":"height",a),t.nScrollHead=m,t.nScrollBody=g,t.nScrollFoot=b,t.aoDrawCallback.push({fn:Wt,sName:"scrolling"}),h[0]}function Wt(n){function t(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0}var e,o,r,a,l,i,s,d,c,u=n.oScroll,f=u.sX,h=u.sXInner,p=u.sY,m=u.iBarWidth,g=z(n.nScrollHead),b=g[0].style,y=g.children("div"),v=y[0].style,x=y.children("table"),I=n.nScrollBody,w=z(I),C=I.style,_=z(n.nScrollFoot).children("div"),T=_.children("table"),F=z(n.nTHead),S=z(n.nTable),D=S[0],A=D.style,R=n.nTFoot?z(n.nTFoot):null,B=n.oBrowser,k=B.bScrollOversize,N=q(n.aoColumns,"nTh"),L=[],H=[],O=[],P=[],j=I.scrollHeight>I.clientHeight;if(n.scrollBarVis!==j&&n.scrollBarVis!==U)return n.scrollBarVis=j,void X(n);n.scrollBarVis=j,S.children("thead, tfoot").remove(),R&&(i=R.clone().prependTo(S),o=R.find("tr"),a=i.find("tr")),l=F.clone().prependTo(S),e=F.find("tr"),r=l.find("tr"),l.find("th, td").removeAttr("tabindex"),f||(C.width="100%",g[0].style.width="100%"),z.each(ct(n,l),function(t,e){s=V(n,t),e.style.width=n.aoColumns[s].sWidth}),R&&Mt(function(t){t.style.width=""},a),c=S.outerWidth(),""===f?(A.width="100%",k&&(S.find("tbody").height()>I.offsetHeight||"scroll"==w.css("overflow-y"))&&(A.width=Gt(S.outerWidth()-m)),c=S.outerWidth()):""!==h&&(A.width=Gt(h),c=S.outerWidth()),Mt(t,r),Mt(function(t){O.push(t.innerHTML),L.push(Gt(z(t).css("width")))},r),Mt(function(t,e){-1!==z.inArray(t,N)&&(t.style.width=L[e])},e),z(r).height(0),R&&(Mt(t,a),Mt(function(t){P.push(t.innerHTML),H.push(Gt(z(t).css("width")))},a),Mt(function(t,e){t.style.width=H[e]},o),z(a).height(0)),Mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+O[e]+"</div>",t.style.width=L[e]},r),R&&Mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+P[e]+"</div>",t.style.width=H[e]},a),S.outerWidth()<c?(d=I.scrollHeight>I.offsetHeight||"scroll"==w.css("overflow-y")?c+m:c,k&&(I.scrollHeight>I.offsetHeight||"scroll"==w.css("overflow-y"))&&(A.width=Gt(d-m)),""!==f&&""===h||ae(n,1,"Possible column misalignment",6)):d="100%",C.width=Gt(d),b.width=Gt(d),R&&(n.nScrollFoot.style.width=Gt(d)),p||k&&(C.height=Gt(D.offsetHeight+m));var E=S.outerWidth();x[0].style.width=Gt(E),v.width=Gt(E);var W=S.height()>I.clientHeight||"scroll"==w.css("overflow-y"),M="padding"+(B.bScrollbarLeft?"Left":"Right");v[M]=W?m+"px":"0px",R&&(T[0].style.width=Gt(E),_[0].style.width=Gt(E),_[0].style[M]=W?m+"px":"0px"),S.children("colgroup").insertBefore(S.children("thead")),w.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(I.scrollTop=0)}function Mt(t,e,n){for(var o,r,a=0,l=0,i=e.length;l<i;){for(o=e[l].firstChild,r=n?n[l].firstChild:null;o;)1===o.nodeType&&(n?t(o,r,a):t(o,a),a++),o=o.nextSibling,r=n?r.nextSibling:null;l++}}
vendor: 4,711 bytes, line 3298
3298var zt=/<.*?>/g;function Ut(t){var e,n,o,r=t.nTable,a=t.aoColumns,l=t.oScroll,i=l.sY,s=l.sX,d=l.sXInner,c=a.length,u=P(t,"bVisible"),f=z("th",t.nTHead),h=r.getAttribute("width"),p=r.parentNode,m=!1,g=t.oBrowser,b=g.bScrollOversize,y=r.style.width;for(y&&-1!==y.indexOf("%")&&(h=y),_=0;_<u.length;_++)null!==(e=a[u[_]]).sWidth&&(e.sWidth=Xt(e.sWidthOrig,p),m=!0);if(b||!m&&!s&&!i&&c==O(t)&&c==f.length)for(_=0;_<c;_++){var v=V(t,_);null!==v&&(a[v].sWidth=Gt(f.eq(_).width()))}else{var x=z(r).clone().css("visibility","hidden").removeAttr("id");x.find("tbody tr").remove();var I=z("<tr/>").appendTo(x.find("tbody"));for(x.find("thead, tfoot").remove(),x.append(z(t.nTHead).clone()).append(z(t.nTFoot).clone()),x.find("tfoot th, tfoot td").css("width",""),f=ct(t,x.find("thead")[0]),_=0;_<u.length;_++)e=a[u[_]],f[_].style.width=null!==e.sWidthOrig&&""!==e.sWidthOrig?Gt(e.sWidthOrig):"",e.sWidthOrig&&s&&z(f[_]).append(z("<div/>").css({width:e.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(_=0;_<u.length;_++)e=a[n=u[_]],z(Vt(t,n)).clone(!1).append(e.sContentPadding).appendTo(I);z("[name]",x).removeAttr("name");var w=z("<div/>").css(s||i?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(x).appendTo(p);s&&d?x.width(d):s?(x.css("width","auto"),x.removeAttr("width"),x.width()<p.clientWidth&&h&&x.width(p.clientWidth)):i?x.width(p.clientWidth):h&&x.width(h);for(var C=0,_=0;_<u.length;_++){var T=z(f[_]),F=T.outerWidth()-T.width(),S=g.bBounding?Math.ceil(f[_].getBoundingClientRect().width):T.outerWidth();C+=S,a[u[_]].sWidth=Gt(S-F)}r.style.width=Gt(C),w.remove()}h&&(r.style.width=Gt(h)),!h&&!s||t._reszEvt||(o=function(){z(D).on("resize.DT-"+t.sInstance,qt(function(){X(t)}))},b?setTimeout(o,1e3):o(),t._reszEvt=!0)}var qt=S.util.throttle;function Xt(t,e){if(!t)return 0;var n=z("<div/>").css("width",Gt(t)).appendTo(e||y.body),o=n[0].offsetWidth;return n.remove(),o}function Vt(t,e){var n=$t(t,e);if(n<0)return null;var o=t.aoData[n];return o.nTr?o.anCells[e]:z("<td/>").html(T(t,n,e,"display"))[0]}function $t(t,e){for(var n,o=-1,r=-1,a=0,l=t.aoData.length;a<l;a++)(n=(n=(n=T(t,a,e,"display")+"").replace(zt,"")).replace(/&nbsp;/g," ")).length>o&&(o=n.length,r=a);return r}function Gt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Jt(t){function e(t){t.length&&!z.isArray(t[0])?h.push(t):z.merge(h,t)}var n,o,r,a,l,i,s,d=[],c=t.aoColumns,u=t.aaSortingFixed,f=z.isPlainObject(u),h=[];for(z.isArray(u)&&e(u),f&&u.pre&&e(u.pre),e(t.aaSorting),f&&u.post&&e(u.post),n=0;n<h.length;n++)for(o=0,r=(a=c[s=h[n][0]].aDataSort).length;o<r;o++)i=c[l=a[o]].sType||"string",h[n]._idx===U&&(h[n]._idx=z.inArray(h[n][1],c[l].asSorting)),d.push({src:s,col:l,dir:h[n][1],index:h[n]._idx,type:i,formatter:S.ext.type.order[i+"-pre"]});return d}function Yt(t){var e,n,o,r,c,u=[],f=S.ext.type.order,h=t.aoData,a=(t.aoColumns,0),l=t.aiDisplayMaster;for(_(t),e=0,n=(c=Jt(t)).length;e<n;e++)(r=c[e]).formatter&&a++,ee(t,r.col);if("ssp"!=he(t)&&0!==c.length){for(e=0,o=l.length;e<o;e++)u[l[e]]=e;a===c.length?l.sort(function(t,e){for(var n,o,r,a,l=c.length,i=h[t]._aSortData,s=h[e]._aSortData,d=0;d<l;d++)if(0!=(r=(n=i[(a=c[d]).col])<(o=s[a.col])?-1:o<n?1:0))return"asc"===a.dir?r:-r;return(n=u[t])<(o=u[e])?-1:o<n?1:0}):l.sort(function(t,e){for(var n,o,r,a,l=c.length,i=h[t]._aSortData,s=h[e]._aSortData,d=0;d<l;d++)if(n=i[(a=c[d]).col],o=s[a.col],0!==(r=(f[a.type+"-"+a.dir]||f["string-"+a.dir])(n,o)))return r;return(n=u[t])<(o=u[e])?-1:o<n?1:0})}t.bSorted=!0}function Kt(t){for(var e,n=t.aoColumns,o=Jt(t),r=t.oLanguage.oAria,a=0,l=n.length;a<l;a++){var i=n[a],s=i.asSorting,d=i.sTitle.replace(/<.*?>/g,""),c=i.nTh;c.removeAttribute("aria-sort"),e=i.bSortable?d+("asc"===(0<o.length&&o[0].col==a?(c.setAttribute("aria-sort","asc"==o[0].dir?"ascending":"descending"),s[o[0].index+1]||s[0]):s[0])?r.sSortAscending:r.sSortDescending):d,c.setAttribute("aria-label",e)}}function Qt(t,e,n,o){function r(t,e){var n=t._idx;return n===U&&(n=z.inArray(t[1],d)),n+1<d.length?n+1:e?null:0}var a,l,i=t.aoColumns[e],s=t.aaSorting,d=i.asSorting;"number"==typeof s[0]&&(s=t.aaSorting=[s]),n&&t.oFeatures.bSortMulti?-1!==(l=z.inArray(e,q(s,"0")))?(null===(a=r(s[l],!0))&&1===s.length&&(a=0),null===a?s.splice(l,1):(s[l][1]=d[a],s[l]._idx=a)):(s.push([e,d[0],0]),s[s.length-1]._idx=0):s.length&&s[0][0]==e?(a=r(s[0]),s.length=1,s[0][1]=d[a],s[0]._idx=a):(s.length=0,s.push([e,d[0]]),s[0]._idx=0),it(t),"function"==typeof o&&o(t)}function Zt(e,t,n,o){var r=e.aoColumns[n];se(t,{},function(t){!1!==r.bSortable&&(e.oFeatures.bProcessing?(jt(e,!0),setTimeout(function(){Qt(e,n,t.shiftKey,o),"ssp"!==he(e)&&jt(e,!1)},0)):Qt(e,n,t.shiftKey,o))})}
3298function te(t){var e,n,o,r=t.aLastSort,a=t.oClasses.sSortColumn,l=Jt(t),i=t.oFeatures;if(i.bSort&&i.bSortClasses){for(e=0,n=r.length;e<n;e++)o=r[e].src,z(q(t.aoData,"anCells",o)).removeClass(a+(e<2?e+1:3));for(e=0,n=l.length;e<n;e++)o=l[e].src,z(q(t.aoData,"anCells",o)).addClass(a+(e<2?e+1:3))}t.aLastSort=l}function ee(t,e){var n,o,r,a=t.aoColumns[e],l=S.ext.order[a.sSortDataType];l&&(n=l.call(t.oInstance,t,e,C(t,e)));for(var i=S.ext.type.order[a.sType+"-pre"],s=0,d=t.aoData.length;s<d;s++)(o=t.aoData[s])._aSortData||(o._aSortData=[]),o._aSortData[e]&&!l||(r=l?n[s]:T(t,s,e,"sort"),o._aSortData[e]=i?i(r):r)}function ne(n){var t;n.oFeatures.bStateSave&&!n.bDestroying&&(t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:z.extend(!0,[],n.aaSorting),search:Ft(n.oPreviousSearch),columns:z.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:Ft(n.aoPreSearchCols[e])}})},ce(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t))}function oe(r,t,a){function e(t){if(t&&t.time){var e=ce(r,"aoStateLoadParams","stateLoadParams",[r,t]);if(-1===z.inArray(!1,e)){var n=r.iStateDuration;if(0<n&&t.time<new Date-1e3*n)a();else if(t.columns&&s.length!==t.columns.length)a();else{if(r.oLoadedState=z.extend(!0,{},t),t.start!==U&&(r._iDisplayStart=t.start,r.iInitDisplayStart=t.start),t.length!==U&&(r._iDisplayLength=t.length),t.order!==U&&(r.aaSorting=[],z.each(t.order,function(t,e){r.aaSorting.push(e[0]>=s.length?[0,e[1]]:e)})),t.search!==U&&z.extend(r.oPreviousSearch,St(t.search)),t.columns)for(l=0,i=t.columns.length;l<i;l++){var o=t.columns[l];o.visible!==U&&(s[l].bVisible=o.visible),o.search!==U&&z.extend(r.aoPreSearchCols[l],St(o.search))}ce(r,"aoStateLoaded","stateLoaded",[r,t]),a()}}else a()}else a()}var l,i,n,s=r.aoColumns;r.oFeatures.bStateSave?(n=r.fnStateLoadCallback.call(r.oInstance,r,e))!==U&&e(n):a()}function re(t){var e=S.settings,n=z.inArray(t,q(e,"nTable"));return-1!==n?e[n]:null}function ae(t,e,n,o){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,o&&(n+=". For more information about this error, please see http://datatables.net/tn/"+o),e)D.console&&console.log&&console.log(n);else{var r=S.ext,a=r.sErrMode||r.errMode;if(t&&ce(t,null,"error",[t,o,n]),"alert"==a)alert(n);else{if("throw"==a)throw new Error(n);"function"==typeof a&&a(t,o,n)}}}function le(n,o,t,e){z.isArray(t)?z.each(t,function(t,e){z.isArray(e)?le(n,o,e[0],e[1]):le(n,o,e)}):(e===U&&(e=t),o[t]!==U&&(n[e]=o[t]))}function ie(t,e,n){var o;for(var r in e)e.hasOwnProperty(r)&&(o=e[r],z.isPlainObject(o)?(z.isPlainObject(t[r])||(t[r]={}),z.extend(!0,t[r],o)):n&&"data"!==r&&"aaData"!==r&&z.isArray(o)?t[r]=o.slice():t[r]=o);return t}function se(e,t,n){z(e).on("click.DT",t,function(t){e.blur(),n(t)}).on("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).on("selectstart.DT",function(){return!1})}function de(t,e,n,o){n&&t[e].push({fn:n,sName:o})}function ce(n,t,e,o){var r,a=[];return t&&(a=z.map(n[t].slice().reverse(),function(t,e){return t.fn.apply(n.oInstance,o)})),null!==e&&(r=z.Event(e+".dt"),z(n.nTable).trigger(r,o),a.push(r.result)),a}function ue(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),o=t._iDisplayLength;n<=e&&(e=n-o),e-=e%o,(-1===o||e<0)&&(e=0),t._iDisplayStart=e}function fe(t,e){var n=t.renderer,o=S.ext.renderer[e];return z.isPlainObject(n)&&n[e]?o[n[e]]||o._:"string"==typeof n&&o[n]||o._}function he(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var pe=[],me=Array.prototype,ge=function(t,e){if(!(this instanceof ge))return new ge(t,e);function n(t){var e,n,o,r,a,l=(e=t,r=S.settings,a=z.map(r,function(t,e){return t.nTable}),e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=z.inArray(e,a))?[r[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?o=z(e):e instanceof z&&(o=e),o?o.map(function(t){return-1!==(n=z.inArray(this,a))?r[n]:null}).toArray():void 0):[]);l&&(i=i.concat(l))}var i=[];if(z.isArray(t))for(var o=0,r=t.length;o<r;o++)n(t[o]);else n(t);this.context=g(i),e&&z.merge(this,e),this.selector={rows:null,cols:null,opts:null},ge.extend(this,this,pe)};S.Api=ge,z.extend(ge.prototype,{any:function(){return 0!==this.count()},concat:me.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new ge(e[t],this[t]):null},filter:function(t){var e=[];
3298if(me.filter)e=me.filter.call(this,t,this);else for(var n=0,o=this.length;n<o;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new ge(this.context,e)},flatten:function(){var t=[];return new ge(this.context,t.concat.apply(t,this.toArray()))},join:me.join,indexOf:me.indexOf||function(t,e){for(var n=e||0,o=this.length;n<o;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,o){var r,a,l,i,s,d,c,u,f=[],h=this.context,p=this.selector;for("string"==typeof t&&(o=n,n=e,e=t,t=!1),a=0,l=h.length;a<l;a++){var m=new ge(h[a]);if("table"===e)(r=n.call(m,h[a],a))!==U&&f.push(r);else if("columns"===e||"rows"===e)(r=n.call(m,h[a],this[a],a))!==U&&f.push(r);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(c=this[a],"column-rows"===e&&(d=Ie(h[a],p.opts)),i=0,s=c.length;i<s;i++)u=c[i],(r="cell"===e?n.call(m,h[a],u.row,u.column,a,i):n.call(m,h[a],u,a,i,d))!==U&&f.push(r)}if(f.length||o){var g=new ge(h,t?f.concat.apply([],f):f),b=g.selector;return b.rows=p.rows,b.cols=p.cols,b.opts=p.opts,g}return this},lastIndexOf:me.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(me.map)e=me.map.call(this,t,this);else for(var n=0,o=this.length;n<o;n++)e.push(t.call(this,this[n],n));return new ge(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:me.pop,push:me.push,reduce:me.reduce||function(t,e){return w(this,t,e,0,this.length,1)},reduceRight:me.reduceRight||function(t,e){return w(this,t,e,this.length-1,-1,-1)},reverse:me.reverse,selector:null,shift:me.shift,slice:function(){return new ge(this.context,this)},sort:me.sort,splice:me.splice,toArray:function(){return me.slice.call(this)},to$:function(){return z(this)},toJQuery:function(){return z(this)},unique:function(){return new ge(this.context,g(this))},unshift:me.unshift}),ge.extend=function(t,e,n){if(n.length&&e&&(e instanceof ge||e.__dt_wrapper))for(var o,r=0,a=n.length;r<a;r++)e[(o=n[r]).name]="function"==typeof o.val?function(e,n,o){return function(){var t=n.apply(e,arguments);return ge.extend(t,t,o.methodExt),t}}(t,o.val,o):z.isPlainObject(o.val)?{}:o.val,e[o.name].__dt_wrapper=!0,ge.extend(t,e[o.name],o.propExt)},ge.register=e=function(t,e){if(z.isArray(t))for(var n=0,o=t.length;n<o;n++)ge.register(t[n],e);else for(var r,a,l=t.split("."),i=pe,s=0,d=l.length;s<d;s++){var c=function(t,e){for(var n=0,o=t.length;n<o;n++)if(t[n].name===e)return t[n];return null}(i,r=(a=-1!==l[s].indexOf("()"))?l[s].replace("()",""):l[s]);c||(c={name:r,val:{},methodExt:[],propExt:[]},i.push(c)),s===d-1?c.val=e:i=a?c.methodExt:c.propExt}},ge.registerPlural=t=function(t,e,n){ge.register(t,n),ge.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof ge?t.length?z.isArray(t[0])?new ge(t.context,t[0]):t[0]:U:t})};e("tables()",function(t){return t?new ge(function(t,n){if("number"==typeof t)return[n[t]];var o=z.map(n,function(t,e){return t.nTable});return z(o).filter(t).map(function(t){var e=z.inArray(this,o);return n[e]}).toArray()}(t,this.context)):this}),e("table()",function(t){var e=this.tables(t),n=e.context;return n.length?new ge(n[0]):e}),t("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),t("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),t("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),t("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),t("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),e("draw()",function(e){return this.iterator("table",function(t){"page"===e?lt(t):("string"==typeof e&&(e="full-hold"!==e),it(t,!1===e))})}),e("page()",function(e){return e===U?this.page.info().page:this.iterator("table",function(t){Ot(t,e)})}),e("page.info()",function(t){if(0===this.context.length)return U;var e=this.context[0],n=e._iDisplayStart,o=e.oFeatures.bPaginate?e._iDisplayLength:-1,r=e.fnRecordsDisplay(),a=-1===o;return{page:a?0:Math.floor(n/o),pages:a?1:Math.ceil(r/o),start:n,end:e.fnDisplayEnd(),length:o,recordsTotal:e.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===he(e)}}),e("page.len()",function(e){return e===U?0!==this.context.length?this.context[0]._iDisplayLength:U:this.iterator("table",function(t){Nt(t,e)})});function be(r,a,t){var e,n;t&&(e=new ge(r)).one("draw",function(){t(e.ajax.json())}),"ssp"==he(r)?it(r,a):(jt(r,!0),(n=r.jqXHR)&&4!==n.readyState&&n.abort(),ut(r,[],function(t){Q(r);for(var e=mt(r,t),n=0,o=e.length;n<o;n++)E(r,e[n]);it(r,a),jt(r,!1)}))}e("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}
3298),e("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),e("ajax.reload()",function(e,n){return this.iterator("table",function(t){be(t,!1===n,e)})}),e("ajax.url()",function(e){var t=this.context;return e===U?0===t.length?U:(t=t[0]).ajax?z.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){z.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),e("ajax.url().load()",function(e,n){return this.iterator("table",function(t){be(t,!1===n,e)})});function ye(t,e,n,o,r){var a,l,i,s,d,c,u=[],f=typeof e;for(e&&"string"!=f&&"function"!=f&&e.length!==U||(e=[e]),i=0,s=e.length;i<s;i++)for(d=0,c=(l=e[i]&&e[i].split&&!e[i].match(/[\[\(:]/)?e[i].split(","):[e[i]]).length;d<c;d++)(a=n("string"==typeof l[d]?z.trim(l[d]):l[d]))&&a.length&&(u=u.concat(a));var h=m.selector[t];if(h.length)for(i=0,s=h.length;i<s;i++)u=h[i](o,r,u);return g(u)}function ve(t){return(t=t||{}).filter&&t.search===U&&(t.search=t.filter),z.extend({search:"none",order:"current",page:"all"},t)}function xe(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t}var Ie=function(t,e){var n,o,r,a=[],l=t.aiDisplay,i=t.aiDisplayMaster,s=e.search,d=e.order,c=e.page;if("ssp"==he(t))return"removed"===s?[]:p(0,i.length);if("current"==c)for(n=t._iDisplayStart,o=t.fnDisplayEnd();n<o;n++)a.push(l[n]);else if("current"==d||"applied"==d)a="none"==s?i.slice():"applied"==s?l.slice():z.map(i,function(t,e){return-1===z.inArray(t,l)?t:null});else if("index"==d||"original"==d)for(n=0,o=t.aoData.length;n<o;n++)("none"==s||-1===(r=z.inArray(n,l))&&"removed"==s||0<=r&&"applied"==s)&&a.push(n);return a};e("rows()",function(e,n){e===U?e="":z.isPlainObject(e)&&(n=e,e=""),n=ve(n);var t=this.iterator("table",function(t){return ye("row",e,function(n){var t=h(n);if(null!==t&&!l)return[t];if(i=i||Ie(a,l),null!==t&&-1!==z.inArray(t,i))return[t];if(null===n||n===U||""===n)return i;if("function"==typeof n)return z.map(i,function(t){var e=a.aoData[t];return n(t,e._aData,e.nTr)?t:null});var e=x(v(a.aoData,i,"nTr"));if(n.nodeName){if(n._DT_RowIndex!==U)return[n._DT_RowIndex];if(n._DT_CellIndex)return[n._DT_CellIndex.row];var o=z(n).closest("*[data-dt-row]");return o.length?[o.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var r=a.aIds[n.replace(/^#/,"")];if(r!==U)return[r.idx]}return z(e).filter(n).map(function(){return this._DT_RowIndex}).toArray()},a=t,l=n);var a,l,i},1);return t.selector.rows=e,t.selector.opts=n,t}),e("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||U},1)}),e("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return v(t.aoData,e,"_aData")},1)}),t("rows().cache()","row().cache()",function(o){return this.iterator("row",function(t,e){var n=t.aoData[e];return"search"===o?n._aFilterData:n._aSortData},1)}),t("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){tt(t,e,n)})}),t("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),t("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,o=0,r=n.length;o<r;o++)for(var a=0,l=this[o].length;a<l;a++){var i=n[o].rowIdFn(n[o].aoData[this[o][a]]._aData);e.push((!0===t?"#":"")+i)}return new ge(n,e)}),t("rows().remove()","row().remove()",function(){var f=this;return this.iterator("row",function(t,e,n){var o,r,a,l,i,s,d=t.aoData,c=d[e];for(d.splice(e,1),o=0,r=d.length;o<r;o++)if(s=(i=d[o]).anCells,null!==i.nTr&&(i.nTr._DT_RowIndex=o),null!==s)for(a=0,l=s.length;a<l;a++)s[a]._DT_CellIndex.row=o;Z(t.aiDisplayMaster,e),Z(t.aiDisplay,e),Z(f[n],e,!1),0<t._iRecordsDisplay&&t._iRecordsDisplay--,ue(t);var u=t.rowIdFn(c._aData);u!==U&&delete t.aIds[u]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),e("rows.add()",function(a){var t=this.iterator("table",function(t){for(var e,n=[],o=0,r=a.length;o<r;o++)(e=a[o]).nodeName&&"TR"===e.nodeName.toUpperCase()?n.push(W(t,e)[0]):n.push(E(t,e));return n},1),e=this.rows(-1);return e.pop(),z.merge(e,t),e}),e("row()",function(t,e){return xe(this.rows(t,e))}),e("row().data()",function(t){var e=this.context;return t===U?e.length&&this.length?e[0].aoData[this[0]]._aData:U:(e[0].aoData[this[0]]._aData=t,tt(e[0],this[0],"data"),this)}),e("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),e("row.add()",function(e){e instanceof z&&e.length&&(e=e[0]);
3298var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?W(t,e)[0]:E(t,e)});return this.row(t[0])});function we(t,e){var n,o=t.context;!o.length||(n=o[0].aoData[e!==U?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=U,n._details=U)}function Ce(t,e){var n,o=t.context;o.length&&t.length&&((n=o[0].aoData[t[0]])._details&&((n._detailsShow=e)?n._details.insertAfter(n.nTr):n._details.detach(),_e(o[0])))}var _e=function(s){var r=new ge(s),t=".dt.DT_details",e="draw"+t,n="column-visibility"+t,o="destroy"+t,d=s.aoData;r.off(e+" "+n+" "+o),0<q(d,"_details").length&&(r.on(e,function(t,e){s===e&&r.rows({page:"current"}).eq(0).each(function(t){var e=d[t];e._detailsShow&&e._details.insertAfter(e.nTr)})}),r.on(n,function(t,e,n,o){if(s===e)for(var r,a=O(e),l=0,i=d.length;l<i;l++)(r=d[l])._details&&r._details.children("td[colspan]").attr("colspan",a)}),r.on(o,function(t,e){if(s===e)for(var n=0,o=d.length;n<o;n++)d[n]._details&&we(r,n)}))},Te="row().child",Fe=Te+"()";e(Fe,function(t,e){var a,n,l,i,o=this.context;return t===U?o.length&&this.length?o[0].aoData[this[0]]._details:U:(!0===t?this.child.show():!1===t?we(this):o.length&&this.length&&(a=o[0],n=o[0].aoData[this[0]],l=[],(i=function(t,e){var n;if(z.isArray(t)||t instanceof z)for(var o=0,r=t.length;o<r;o++)i(t[o],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?l.push(t):(n=z("<tr><td/></tr>").addClass(e),z("td",n).addClass(e).html(t)[0].colSpan=O(a),l.push(n[0]))})(t,e),n._details&&n._details.detach(),n._details=z(l),n._detailsShow&&n._details.insertAfter(n.nTr)),this)}),e([Te+".show()",Fe+".show()"],function(t){return Ce(this,!0),this}),e([Te+".hide()",Fe+".hide()"],function(){return Ce(this,!1),this}),e([Te+".remove()",Fe+".remove()"],function(){return we(this),this}),e(Te+".isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});function Se(t,e,n,o,r){for(var a=[],l=0,i=r.length;l<i;l++)a.push(T(t,r[l],e));return a}var De=/^([^:]+):(name|visIdx|visible)$/;e("columns()",function(n,o){n===U?n="":z.isPlainObject(n)&&(o=n,n=""),o=ve(o);var t=this.iterator("table",function(t){return e=n,d=o,c=(s=t).aoColumns,u=q(c,"sName"),f=q(c,"nTh"),ye("column",e,function(n){var t=h(n);if(""===n)return p(c.length);if(null!==t)return[0<=t?t:c.length+t];if("function"==typeof n){var o=Ie(s,d);return z.map(c,function(t,e){return n(e,Se(s,e,0,0,o),f[e])?e:null})}var r="string"==typeof n?n.match(De):"";if(r)switch(r[2]){case"visIdx":case"visible":var e=parseInt(r[1],10);if(e<0){var a=z.map(c,function(t,e){return t.bVisible?e:null});return[a[a.length+e]]}return[V(s,e)];case"name":return z.map(u,function(t,e){return t===r[1]?e:null});default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var l=z(f).filter(n).map(function(){return z.inArray(this,f)}).toArray();if(l.length||!n.nodeName)return l;var i=z(n).closest("*[data-dt-column]");return i.length?[i.data("dt-column")]:[]},s,d);var s,e,d,c,u,f},1);return t.selector.cols=n,t.selector.opts=o,t}),t("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),t("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),t("columns().data()","column().data()",function(){return this.iterator("column-rows",Se,1)}),t("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),t("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(t,e,n,o,r){return v(t.aoData,r,"search"===a?"_aFilterData":"_aSortData",e)},1)}),t("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,o,r){return v(t.aoData,r,"anCells",e)},1)}),t("columns().visible()","column().visible()",function(n,o){var t=this.iterator("column",function(t,e){return n===U?t.aoColumns[e].bVisible:void function(t,e,n){var o,r,a=t.aoColumns,l=a[e],i=t.aoData;if(n===U)return l.bVisible;if(l.bVisible!==n){if(n)for(var s=z.inArray(!0,q(a,"bVisible"),e+1),d=0,c=i.length;d<c;d++)r=i[d].nTr,o=i[d].anCells,r&&r.insertBefore(o[e],o[s]||null);else z(q(t.aoData,"anCells",e)).detach();l.bVisible=n,at(t,t.aoHeader),at(t,t.aoFooter),ne(t)}}(t,e,n)});return n!==U&&(this.iterator("column",function(t,e){ce(t,null,"column-visibility",[t,e,n,o])}),o!==U&&!o||this.columns.adjust()),t}),t("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?C(t,e):e},1)}),e("columns.adjust()",function(){return this.iterator("table",function(t){X(t)},1)}),e("column.index()",function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return V(n,e);if("fromData"===t||"toVisible"===t)return C(n,e)}}),e("column()",function(t,e){return xe(this.columns(t,e))});e("cells()",function(g,t,b){if(z.isPlainObject(g)&&(g.row===U?(b=g,g=null):(b=t,t=null)),z.isPlainObject(t)&&(b=t,t=null),null===t||t===U)return this.iterator("table",function(t){return o=t,e=g,n=ve(b),u=o.aoData,f=Ie(o,n),h=x(v(u,f,"anCells")),p=z([].concat.apply([],h)),m=o.aoColumns.length,ye("cell",e,function(t){var e="function"==typeof t;if(null===t||t===U||e){for(a=[],l=0,i=f.length;l<i;l++)for(r=f[l],s=0;s<m;s++)d={row:r,column:s},e?(c=u[r],t(d,T(o,r,s),c.anCells?c.anCells[s]:null)&&a.push(d)):a.push(d);return a}if(z.isPlainObject(t))return[t];var n=p.filter(t).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray();return n.length||!t.nodeName?n:(c=z(t).closest("*[data-dt-row]")).length?[{row:c.data("dt-row"),column:c.data("dt-column")}]:[]},o,n);var o,e,n,r,a,l,i,s,d,c,u,f,h,p,m});var n,o,r,a,l,i=this.columns(t,b),s=this.rows(g,b),e=this.iterator("table",function(t,e){for(n=[],o=0,r=s[e].length;o<r;o++)for(a=0,l=i[e].length;a<l;a++)n.push({row:s[e][o],column:i[e][a]});return n},1);return z.extend(e.selector,{cols:t,rows:g,opts:b}),e}),t("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){var o=t.aoData[e];return o&&o.anCells?o.anCells[n]:U},1)}),e("cells().data()",function(){return this.iterator("cell",function(t,e,n){return T(t,e,n)},1)}),t("cells().cache()","cell().cache()",function(o){return o="search"===o?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][o][n]},1)}),t("cells().render()","cell().render()",function(o){return this.iterator("cell",function(t,e,n){return T(t,e,n,o)}
3298,1)}),t("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:C(t,n)}},1)}),t("cells().invalidate()","cell().invalidate()",function(o){return this.iterator("cell",function(t,e,n){tt(t,e,o,n)})}),e("cell()",function(t,e,n){return xe(this.cells(t,e,n))}),e("cell().data()",function(t){var e=this.context,n=this[0];return t===U?e.length&&n.length?T(e[0],n[0].row,n[0].column):U:(F(e[0],n[0].row,n[0].column,t),tt(e[0],n[0].row,"data",n[0].column),this)}),e("order()",function(e,t){var n=this.context;return e===U?0!==n.length?n[0].aaSorting:U:("number"==typeof e?e=[[e,t]]:e.length&&!z.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),e("order.listener()",function(e,n,o){return this.iterator("table",function(t){Zt(t,e,n,o)})}),e("order.fixed()",function(e){if(e)return this.iterator("table",function(t){t.aaSortingFixed=z.extend(!0,{},e)});var t=this.context,n=t.length?t[0].aaSortingFixed:U;return z.isArray(n)?{pre:n}:n}),e(["columns().order()","column().order()"],function(o){var r=this;return this.iterator("table",function(t,e){var n=[];z.each(r[e],function(t,e){n.push([e,o])}),t.aaSorting=n})}),e("search()",function(e,n,o,r){var t=this.context;return e===U?0!==t.length?t[0].oPreviousSearch.sSearch:U:this.iterator("table",function(t){t.oFeatures.bFilter&&bt(t,z.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===o||o,bCaseInsensitive:null===r||r}),1)})}),t("columns().search()","column().search()",function(o,r,a,l){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(o===U)return n[e].sSearch;t.oFeatures.bFilter&&(z.extend(n[e],{sSearch:o+"",bRegex:null!==r&&r,bSmart:null===a||a,bCaseInsensitive:null===l||l}),bt(t,t.oPreviousSearch,1))})}),e("state()",function(){return this.context.length?this.context[0].oSavedState:null}),e("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),e("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),e("state.save()",function(){return this.iterator("table",function(t){ne(t)})}),S.versionCheck=S.fnVersionCheck=function(t){for(var e,n,o=S.version.split("."),r=t.split("."),a=0,l=r.length;a<l;a++)if((e=parseInt(o[a],10)||0)!==(n=parseInt(r[a],10)||0))return n<e;return!0},S.isDataTable=S.fnIsDataTable=function(t){var r=z(t).get(0),a=!1;return t instanceof S.Api||(z.each(S.settings,function(t,e){var n=e.nScrollHead?z("table",e.nScrollHead)[0]:null,o=e.nScrollFoot?z("table",e.nScrollFoot)[0]:null;e.nTable!==r&&n!==r&&o!==r||(a=!0)}),a)},S.tables=S.fnTables=function(e){var t=!1;z.isPlainObject(e)&&(t=e.api,e=e.visible);var n=z.map(S.settings,function(t){if(!e||e&&z(t.nTable).is(":visible"))return t.nTable});return t?new ge(n):n},S.camelToHungarian=A,e("$()",function(t,e){var n=this.rows(e).nodes(),o=z(n);return z([].concat(o.filter(t).toArray(),o.find(t).toArray()))}),z.each(["on","one","off"],function(t,n){e(n+"()",function(){var t=Array.prototype.slice.call(arguments);t[0]=z.map(t[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" ");var e=z(this.tables().nodes());return e[n].apply(e,t),this})}),e("clear()",function(){return this.iterator("table",function(t){Q(t)})}),e("settings()",function(){return new ge(this.context,this.context)}),e("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),e("data()",function(){return this.iterator("table",function(t){return q(t.aoData,"_aData")}).flatten()}),e("destroy()",function(p){return p=p||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,o=e.oClasses,r=e.nTable,a=e.nTBody,l=e.nTHead,i=e.nTFoot,s=z(r),d=z(a),c=z(e.nTableWrapper),u=z.map(e.aoData,function(t){return t.nTr});e.bDestroying=!0,ce(e,"aoDestroyCallback","destroy",[e]),p||new ge(e).columns().visible(!0),c.off(".DT").find(":not(tbody *)").off(".DT"),z(D).off(".DT-"+e.sInstance),r!=l.parentNode&&(s.children("thead").detach(),s.append(l)),i&&r!=i.parentNode&&(s.children("tfoot").detach(),s.append(i)),e.aaSorting=[],e.aaSortingFixed=[],te(e),z(u).removeClass(e.asStripeClasses.join(" ")),z("th, td",l).removeClass(o.sSortable+" "+o.sSortableAsc+" "+o.sSortableDesc+" "+o.sSortableNone),d.children().detach(),d.append(u);var f=p?"remove":"detach";
vendor: 4,853 bytes, line 3298
3298s[f](),c[f](),!p&&t&&(t.insertBefore(r,e.nTableReinsertBefore),s.css("width",e.sDestroyWidth).removeClass(o.sTable),(n=e.asDestroyStripes.length)&&d.children().each(function(t){z(this).addClass(e.asDestroyStripes[t%n])}));var h=z.inArray(e,S.settings);-1!==h&&S.settings.splice(h,1)})}),z.each(["column","row","cell"],function(t,s){e(s+"s().every()",function(a){var l=this.selector.opts,i=this;return this.iterator(s,function(t,e,n,o,r){a.call(i[s](e,"cell"===s?n:l,"cell"===s?l:U),e,n,o,r)})})}),e("i18n()",function(t,e,n){var o=this.context[0],r=J(t)(o.oLanguage);return r===U&&(r=e),n!==U&&z.isPlainObject(r)&&(r=r[n]!==U?r[n]:r._),r.replace("%d",n)}),S.version="1.10.16",S.settings=[],S.models={},S.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},S.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},S.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},S.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:z.extend({},S.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},b(S.defaults),S.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},b(S.defaults.column),S.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:U,oAjaxD
3298ata:U,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==he(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==he(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,o=this.aiDisplay.length,r=this.oFeatures,a=r.bPaginate;return r.bServerSide?!1===a||-1===t?e+o:Math.min(e+t,this._iRecordsDisplay):!a||o<n||-1===t?o:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},S.ext=m={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:S.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:S.version},z.extend(m,{afnFiltering:m.search,aTypes:m.type.detect,ofnSearch:m.type.search,oSort:m.type.order,afnSortData:m.order,aoFeatures:m.feature,oApi:m.internal,oStdClasses:m.classes,oPagination:m.pager}),z.extend(S.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ae=S.ext.pager;function Re(t,e){var n=[],o=Ae.numbers_length,r=Math.floor(o/2);return e<=o?n=p(0,e):t<=r?((n=p(0,o-2)).push("ellipsis"),n.push(e-1)):(e-1-r<=t?(n=p(e-(o-2),e)).splice(0,0,"ellipsis"):((n=p(t-r+2,t+r-1)).push("ellipsis"),n.push(e-1),n.splice(0,0,"ellipsis")),n.splice(0,0,0)),n.DT_el="span",n}z.extend(Ae,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Re(t,e)]},simple_numbers:function(t,e){return["previous",Re(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Re(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Re(t,e),"last"]},_numbers:Re,numbers_length:7}),z.extend(!0,S.ext.renderer,{pageButton:{_:function(i,t,s,e,d,c){var u,f,n,h=i.oClasses,p=i.oLanguage.oPaginate,m=i.oLanguage.oAria.paginate||{},g=0,b=function(t,e){for(var n,o=function(t){Ot(i,t.data.action,!0)},r=0,a=e.length;r<a;r++)if(n=e[r],z.isArray(n)){var l=z("<"+(n.DT_el||"div")+"/>").appendTo(t);b(l,n)}else{switch(u=null,f="",n){case"ellipsis":t.append('<span class="ellipsis">&#x2026;</span>');break;case"first":u=p.sFirst,f=n+(0<d?"":" "+h.sPageButtonDisabled);break;case"previous":u=p.sPrevious,f=n+(0<d?"":" "+h.sPageButtonDisabled);break;case"next":u=p.sNext,f=n+(d<c-1?"":" "+h.sPageButtonDisabled);break;case"last":u=p.sLast,f=n+(d<c-1?"":" "+h.sPageButtonDisabled);break;default:u=n+1,f=d===n?h.sPageButtonActive:""}null!==u&&(se(z("<a>",{class:h.sPageButton+" "+f,"aria-controls":i.sTableId,"aria-label":m[n],"data-dt-idx":g,tabindex:i.iTabIndex,id:0===s&&"string"==typeof n?i.sTableId+"_"+n:null}).html(u).appendTo(t),{action:n},o),g++)}};try{n=z(t).find(y.activeElement).data("dt-idx")}catch(t){}b(z(t).empty(),e),n!==U&&z(t).find("[data-dt-idx="+n+"]").focus()}}}),z.extend(S.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return l(t,n)?"num"+n:null},function(t,e){if(t&&!(t instanceof Date)&&!d.test(t))return null;var n=Date.parse(t);return null!==n&&!isNaN(n)||r(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return l(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return o(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return o(t,n,!0)?"html-num-fmt"+n:null},function(t,e){return r(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),z.extend(S.ext.type.search,{html:function(t){return r(t)?t:"string"==typeof t?t.replace(i," ").replace(s,""):""},string:function(t){return!r(t)&&"string"==typeof t?t.replace(i," "):t}});var Be=function(t,e,n,o){return 0===t||t&&"-"!==t?(e&&(t=a(t,e)),t.replace&&(n&&(t=t.replace(n,"")),o&&(t=t.replace(o,""))),+t):-1/0};function ke(n){z.each({num:function(t){return Be(t,n)},"num-fmt":function(t){return Be(t,n,u)},"html-num":function(t){return Be(t,n,s)},"html-num-fmt":function(t){return Be(t,n,s,u)}},function(t,e){m.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(m.type.search[t+n]=m.type.search.html)})}z.extend(m.type.order,{"date-pre":function(t){return Date.parse(t)||-1/0},"html-pre":function(t){return r(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return r(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),ke(""),z.extend(!0,S.ext.renderer,{header:{_:function(a,l,i,s){z(a.nTable).on("order.dt.DT",function(t,e,n,o){var r;a===e&&(r=i.idx,l.removeClass(i.sSortingClass+" "+s.sSortAsc+" "+s.sSortDesc).addClass("asc"==o[r]?s.sSortAsc:"desc"==o[r]?s.sSortDesc:i.sSortingClass))})},jqueryui:function(a,l,i,s){z("<div/>").addClass(s.sSortJUIWrapper).append(l.contents()).append(z("<span/>").addClass(s.sSortIcon+" "+i.sSortingClassJUI)).appendTo(l),z(a.nTable).on("order.dt.DT",function(t,e,n,o){var r;a===e&&(r=i.idx,l.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==o[r]?s.sSortAsc:"desc"==o[r]?s.sSortDesc:i.sSortingClass),l.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==o[r]?s.sSortJUIAsc:"desc"==o[r]?s.sSortJUIDesc:i.sSortingClassJUI))})}}});function Ne(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t}function Le(e){return function(){var t=[re(this[S.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return S.ext.internal[e].apply(this,t)}}return S.render={number:function(a,l,i,s,d){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);if(isNaN(n))return Ne(t);n=n.toFixed(i),t=Math.abs(n);var o=parseInt(t,10),r=i?l+(t-o).toFixed(i).substring(2):"";return e+(s||"")+o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+r+(d||"")}}},text:function(){return{display:Ne}}},z.extend(S.ext.internal,{_fnExternApiFunc:Le,_fnBuildAjax:ut,_fnAjaxUpdate:ft,_fnAjaxParameters:ht,_fnAjaxUpdateDraw:pt,_fnAjaxDataSrc:mt,_fnAddColumn:L,_fnColumnOptions:H,_fnAdjustColumnSizing:X,_fnVisibleToColumnIndex:V,_fnColumnIndexToVisible:C,_fnVisbleColumns:O,_fnGetColumns:P,_fnColumnTypes:_,_fnApplyColumnDefs:j,_fnHungarianMap:b,_fnCamelToHungarian:A,_fnLanguageCompat:R,_fnBrowserDetect:N,_fnAddData:E,_fnAddTr:W,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==U?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return z.inArray(n,t.aoData[e].anCells)},_fnGetCellData:T,_fnSetCellData:F,_fnSplitObjNotation:G,_fnGetObjectDataFn:J,_fnSetObjectDataFn:Y,_fnGetDataMaster:K,_fnClearTable:Q,_fnDeleteIndex:Z,_fnInvalidate:tt,_fnGetRowElements:et,_fnCreateTr:nt,_fnBuildHead:rt,_fnDrawHead:at,_fnDraw:lt,_fnReDraw:it,_fnAddOptionsHtml:st,_fnDetectHeader:dt,_fnGetUniqueThs:ct,_fnFeatureHtmlFilter:gt,_fnFilterComplete:bt,_fnFilterCustom:yt,_fnFilterColumn:vt,_fnFilter:xt,_fnFilterCreateSearch:It,_fnEscapeRegex:wt,_fnFilterData:Tt,_fnFeatureHtmlInfo:Dt,_fnUpdateInfo:At,_fnInfoMacros:Rt,_fnInitialise:Bt,_fnInitComplete:kt,_fnLengthChange:Nt,_fnFeatureHtmlLength:Lt,_fnFeatureHtmlPaginate:Ht,_fnPageChange:Ot,_fnFeatureHtmlProcessing:Pt,_fnProcessingDisplay:jt,_fnFeatureHtmlTable:Et,_fnScrollDraw:Wt,_fnApplyToChildren:Mt,_fnCalculateColumnWidths:Ut,_fnThrottle:qt,_fnConvertToWidth:Xt,_fnGetWidestNode:Vt,_fnGetMaxLenString:$t,_fnStringToCss:Gt,_fnSortFlatten:Jt,_fnSort:Yt,_fnSortAria:Kt,_fnSortListener:Qt,_fnSortAttachListener:Zt,_fnSortingClasses:te,_fnSortData:ee,_fnSaveState:ne,_fnLoadState:oe,_fnSettingsFromNode:re,_fnLog:ae,_fnMap:le,_fnBindAction:se,_fnCallbackReg:de,_fnCallbackFire:ce,_fnLengthOverflow:ue,_fnRenderer:fe,_fnDataSource:he,_fnRowAttributes:ot,_fnCalculateEnd:function(){}}),((z.fn.dataTable=S).$=z).fn.dataTableSettings=S.settings,z.fn.dataTableExt=S.ext,z.fn.DataTable=function(t){return z(this).dataTable(t).api()},z.each(S,function(t,e){z.fn.DataTable[t]=e}),z.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define("datatables.net-bs",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,0,t.document)}:n(jQuery,window,document)}(function(v,t,o,r){"use strict";var a=v.fn.dataTable;return v.extend(!0,a.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),v.extend(a.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),a.ext.renderer.pageButton.bootstrap=function(i,t,s,e,d,c){var u,f,n,h=new a.Api(i),p=i.oClasses,m=i.oLanguage.oPaginate,g=i.oLanguage.oAria.paginate||{},b=0,y=function(t,e){for(var n,o,r=function(t){t.preventDefault(),v(t.currentTarget).hasClass("disabled")||h.page()==t.data.action||h.page(t.data.action).draw("page")},a=0,l=e.length;a<l;a++)if(o=e[a],v.isArray(o))y(t,o);else{switch(f=u="",o){case"ellipsis":u="&#x2026;",f="disabled";break;case"first":u=m.sFirst,f=o+(0<d?"":" disabled");break;case"previous":u=m.sPrevious,f=o+(0<d?"":" disabled");break;case"next":u=m.sNext,f=o+(d<c-1?"":" disabled");break;case"last":u=m.sLast,f=o+(d<c-1?"":" disabled");break;default:u=o+1,f=d===o?"active":""}u&&(n=v("<li>",{class:p.sPageButton+" "+f,id:0===s&&"string"==typeof o?i.sTableId+"_"+o:null}).append(v("<a>",{href:"#","aria-controls":i.sTableId,"aria-label":g[o],"data-dt-idx":b,tabindex:i.iTabIndex}).html(u)).appendTo(t),i.oApi._fnBindAction(n,{action:o},r),b++)}};try{n=v(t).find(o.activeElement).data("dt-idx")}catch(t){}y(v(t).empty().html('<ul class="pagination"/>').children("ul"),e),n!==r&&v(t).find("[data-dt-idx="+n+"]").focus()},a}),function(n){"function"==typeof define&&define.amd?define("datatables.net-buttons",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(p,i,a,c){var r,m=p.fn.dataTable,n=0,d=0,s=m.ext.buttons,u=function(t,e){void 0===e&&(e={}),!0===e&&(e={}),p.isArray(e)&&(e={buttons:e}),this.c=p.extend(!0,{},u.defaults,e),e.buttons&&(this.c.buttons=e.buttons),this.s={dt:new m.Api(t),buttons:[],listenKeys:"",namespace:"dtb"+n++},this.dom={container:p("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};p.extend(u.prototype,{action:function(t,e){var n=this._nodeToButton(t);return e===c?n.conf.action:(n.conf.action=e,this)},active:function(t,e){var n=this._nodeToButton(t),o=this.c.dom.button.active,n=p(n.node);return e===c?n.hasClass(o):(n.toggleClass(o,e===c||e),this)},add:function(t,e){var n=this.s.buttons;if("string"==typeof e){for(var o=e.split("-"),n=this.s,r=0,a=o.length-1;r<a;r++)n=n.buttons[+o[r]];n=n.buttons,e=+o[o.length-1]}return this._expandButton(n,t,!1,e),this._draw(),this},container:function(){return this.dom.container},disable:function(t){return t=this._nodeToButton(t),p(t.node).addClass(this.c.dom.button.disabled),this},destroy:function(){p("body").off("keyup."+this.s.namespace);for(var t=this.s.buttons.slice(),e=0,n=t.length;e<n;e++)this.remove(t[e].node);for(this.dom.container.remove(),e=0,n=(t=this.s.dt.settings()[0]).length;e<n;e++)if(t.inst===this){t.splice(e,1);break}return this},enable:function(t,e){if(!1===e)return this.disable(t);var n=this._nodeToButton(t);return p(n.node).removeClass(this.c.dom.button.disabled),this},name:function(){return this.c.name},node:function(t){return t=this._nodeToButton(t),p(t.node)},processing:function(t,e){var n=this._nodeToButton(t);return e===c?p(n.node).hasClass("processing"):(p(n.node).toggleClass("processing",e),this)},remove:function(t){var e=this._nodeToButton(t),n=this._nodeToHost(t),o=this.s.dt;if(e.buttons.length)for(var r=e.buttons.length-1;0<=r;r--)this.remove(e.buttons[r].node);return e.conf.destroy&&e.conf.destroy.call(o.button(t),o,p(t),e.conf),this._removeKey(e.conf),p(e.node).remove(),t=p.inArray(e,n),n.splice(t,1),this},text:function(t,e){function n(t){return"function"==typeof t?t(a,l,o.conf):t}var o=this._nodeToButton(t),r=this.c.dom.collection.buttonLiner,r=o.inCollection&&r&&r.tag?r.tag:this.c.dom.buttonLiner.tag,a=this.s.dt,l=p(o.node);return e===c?n(o.conf.text):(o.conf.text=e,r?l.children(r).html(n(e)):l.html(n(e)),this)},_constructor:function(){var n=this,t=this.s.dt,e=t.settings()[0],o=this.c.buttons;e._buttons||(e._buttons=[]),e._buttons.push({inst:this,name:this.c.name});for(var e=0,r=o.length;e<r;e++)this.add(o[e]);t.on("destroy",function(){n.destroy()}),p("body").on("keyup."+this.s.namespace,function(t){var e;a.activeElement&&a.activeElement!==a.body||(e=String.fromCharCode(t.keyCode).toLowerCase(),-1!==n.s.listenKeys.toLowerCase().indexOf(e)&&n._keypress(e,t))})},_addKey:function(t){t.key&&(this.s.listenKeys+=p.isPlainObject(t.key)?t.key.key:t.key)},_draw:function(t,e){t||(t=this.dom.container,e=this.s.buttons),t.children().detach();for(var n=0,o=e.length;n<o;n++)t.append(e[n].inserter),t.append(" "),e[n].buttons&&e[n].buttons.length&&this._draw(e[n].collection,e[n].buttons)},_expandButton:function(t,e,n,o){for(var r=this.s.dt,a=0,l=(e=p.isArray(e)?e:[e]).length;a<l;a++){var i,s,d=this._resolveExtends(e[a]);d&&(p.isArray(d)?this._expandButton(t,d,n,o):(i=this._buildButton(d,n))&&(o!==c?(t.splice(o,0,i),o++):t.push(i),i.conf.buttons&&(s=this.c.dom.collection,i.collection=p("<"+s.tag+"/>").addClass(s.className).attr("role","menu"),i.conf._collection=i.collection,this._expandButton(i.buttons,i.conf.buttons,!0,o)),d.init&&d.init.call(r.button(i.node),r,p(i.node),d),0))}},_buildButton:function(e,t){function n(t){return"function"==typeof t?t(l,s,e):t}var o=this.c.dom.button,r=this.c.dom.buttonLiner,a=this.c.dom.collection,l=this.s.dt;if(t&&a.button&&(o=a.button),t&&a.buttonLiner&&(r=a.buttonLiner),e.available&&!e.available(l,e))return!1;function i(t,e,n,o){o.action.call(e.button(n),t,e,n,o),p(e.table().node()).triggerHandler("buttons-action.dt",[e.button(n),e,n,o])}var s=p("<"+o.tag+"/>").addClass(o.className).attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",function(t){t.preventDefault(),!s.hasClass(o.disabled)&&e.action&&i(t,l,s,e),s.blur()}).on("keyup.dtb",function(t){13===t.keyCode&&!s.hasClass(o.disabled)&&e.action&&i(t,l,s,e)});return"a"===o.tag.toLowerCase()&&s.attr("href","#"),r.tag?(a=p("<"+r.tag+"/>").html(n(e.text)).addClass(r.className),"a"===r.tag.toLowerCase()&&a.attr("href","#"),s.append(a)):s.html(n(e.text)),!1===e.enabled&&s.addClass(o.disabled),e.className&&s.addClass(e.className),e.titleAttr&&s.attr("title",n(e.titleAttr)),e.namespace||(e.namespace=".dt-button-"+d++),r=(r=this.c.dom.buttonContainer)&&r.tag?p("<"+r.tag+"/>").addClass(r.className).append(s):s,this._addKey(e),{conf:e,node:s.get(0),inserter:r,buttons:[],inCollection:t,collection:null}},_node
3298ToButton:function(t,e){for(var n=0,o=(e=e||this.s.buttons).length;n<o;n++){if(e[n].node===t)return e[n];if(e[n].buttons.length){var r=this._nodeToButton(t,e[n].buttons);if(r)return r}}},_nodeToHost:function(t,e){for(var n=0,o=(e=e||this.s.buttons).length;n<o;n++){if(e[n].node===t)return e;if(e[n].buttons.length){var r=this._nodeToHost(t,e[n].buttons);if(r)return r}}},_keypress:function(a,l){var i=function(t){for(var e=0,n=t.length;e<n;e++){var o=t[e].conf,r=t[e].node;o.key&&(o.key!==a&&(!p.isPlainObject(o.key)||o.key.key!==a||o.key.shiftKey&&!l.shiftKey||o.key.altKey&&!l.altKey||o.key.ctrlKey&&!l.ctrlKey||o.key.metaKey&&!l.metaKey)||p(r).click()),t[e].buttons.length&&i(t[e].buttons)}};i(this.s.buttons)},_removeKey:function(t){var e;t.key&&(e=p.isPlainObject(t.key)?t.key.key:t.key,t=this.s.listenKeys.split(""),e=p.inArray(e,t),t.splice(e,1),this.s.listenKeys=t.join(""))},_resolveExtends:function(n){function t(t){for(var e=0;!p.isPlainObject(t)&&!p.isArray(t);){if(t===c)return;if("function"==typeof t){if(!(t=t(r,n)))return!1}else if("string"==typeof t){if(!s[t])throw"Unknown button type: "+t;t=s[t]}if(30<++e)throw"Buttons: Too many iterations"}return p.isArray(t)?t:p.extend({},t)}for(var e,o,r=this.s.dt,n=t(n);n&&n.extend;){if(!s[n.extend])throw"Cannot extend unknown button type: "+n.extend;var a=t(s[n.extend]);if(p.isArray(a))return a;if(!a)return!1;e=a.className,n=p.extend({},a,n),e&&n.className!==e&&(n.className=e+" "+n.className);var l=n.postfixButtons;if(l){for(n.buttons||(n.buttons=[]),e=0,o=l.length;e<o;e++)n.buttons.push(l[e]);n.postfixButtons=null}if(l=n.prefixButtons){for(n.buttons||(n.buttons=[]),e=0,o=l.length;e<o;e++)n.buttons.splice(e,0,l[e]);n.prefixButtons=null}n.extend=a.extend}return n}}),u.background=function(t,e,n){n===c&&(n=400),t?p("<div/>").addClass(e).css("display","none").appendTo("body").fadeIn(n):p("body > div."+e).fadeOut(n,function(){p(this).removeClass(e).remove()})},u.instanceSelector=function(t,o){if(!t)return p.map(o,function(t){return t.inst});var r=[],a=p.map(o,function(t){return t.name}),l=function(t){if(p.isArray(t))for(var e=0,n=t.length;e<n;e++)l(t[e]);else"string"==typeof t?-1!==t.indexOf(",")?l(t.split(",")):-1!==(t=p.inArray(p.trim(t),a))&&r.push(o[t].inst):"number"==typeof t&&r.push(o[t].inst)};return l(t),r},u.buttonSelector=function(t,e){for(var l=[],i=function(t,e,n){for(var o,r,a=0,l=e.length;a<l;a++)(o=e[a])&&(r=n!==c?n+a:a+"",t.push({node:o.node,name:o.conf.name,idx:r}),o.buttons&&i(t,o.buttons,r+"-"))},s=function(t,e){var n=[];if(i(n,e.s.buttons),r=p.map(n,function(t){return t.node}),p.isArray(t)||t instanceof p)for(r=0,a=t.length;r<a;r++)s(t[r],e);else if(null===t||t===c||"*"===t)for(r=0,a=n.length;r<a;r++)l.push({inst:e,node:n[r].node});else if("number"==typeof t)l.push({inst:e,node:e.s.buttons[t].node});else if("string"==typeof t)if(-1!==t.indexOf(","))for(r=0,a=(n=t.split(",")).length;r<a;r++)s(p.trim(n[r]),e);else if(t.match(/^\d+(\-\d+)*$/))r=p.map(n,function(t){return t.idx}),l.push({inst:e,node:n[p.inArray(t,r)].node});else if(-1!==t.indexOf(":name"))for(var o=t.replace(":name",""),r=0,a=n.length;r<a;r++)n[r].name===o&&l.push({inst:e,node:n[r].node});else p(r).filter(t).each(function(){l.push({inst:e,node:this})});else"object"==typeof t&&t.nodeName&&(-1!==(n=p.inArray(t,r))&&l.push({inst:e,node:r[n]}))},n=0,o=t.length;n<o;n++)s(e,t[n]);return l},u.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{tag:"div",className:"dt-button-collection"},button:{tag:"a",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"span",className:""}}},u.version="1.4.2",p.extend(s,{collection:{text:function(t){return t.i18n("buttons.collection","Collection")},className:"buttons-collection",action:function(t,n,e,o){var t=e.offset(),r=p(n.table().container()),a=!1;p("div.dt-button-background").length&&(a=p(".dt-button-collection").offset(),p("body").trigger("click.dtb-collection")),o._collection.addClass(o.collectionLayout).css("display","none").appendTo("body").fadeIn(o.fade);var l=o._collection.css("position");
3298a&&"absolute"===l?o._collection.css({top:a.top,left:a.left}):"absolute"===l?(o._collection.css({top:t.top+e.outerHeight(),left:t.left}),a=r.offset().top+r.height(),e=t.top+e.outerHeight()+o._collection.outerHeight()-a,a=t.top-o._collection.outerHeight(),(a=r.offset().top-a)<e&&o._collection.css("top",t.top-o._collection.outerHeight()-5),e=t.left+o._collection.outerWidth(),(r=r.offset().left+r.width())<e&&o._collection.css("left",t.left-(e-r))):((t=o._collection.height()/2)>p(i).height()/2&&(t=p(i).height()/2),o._collection.css("marginTop",-1*t)),o.background&&u.background(!0,o.backgroundClassName,o.fade),setTimeout(function(){p("div.dt-button-background").on("click.dtb-collection",function(){}),p("body").on("click.dtb-collection",function(t){var e=p.fn.addBack?"addBack":"andSelf";p(t.target).parents()[e]().filter(o._collection).length||(o._collection.fadeOut(o.fade,function(){o._collection.detach()}),p("div.dt-button-background").off("click.dtb-collection"),u.background(!1,o.backgroundClassName,o.fade),p("body").off("click.dtb-collection"),n.off("buttons-action.b-internal"))})},10),o.autoClose&&n.on("buttons-action.b-internal",function(){p("div.dt-button-background").click()})},background:!0,collectionLayout:"",backgroundClassName:"dt-button-background",autoClose:!1,fade:400},copy:function(t,e){return s.copyHtml5?"copyHtml5":s.copyFlash&&s.copyFlash.available(t,e)?"copyFlash":void 0},csv:function(t,e){return s.csvHtml5&&s.csvHtml5.available(t,e)?"csvHtml5":s.csvFlash&&s.csvFlash.available(t,e)?"csvFlash":void 0},excel:function(t,e){return s.excelHtml5&&s.excelHtml5.available(t,e)?"excelHtml5":s.excelFlash&&s.excelFlash.available(t,e)?"excelFlash":void 0},pdf:function(t,e){return s.pdfHtml5&&s.pdfHtml5.available(t,e)?"pdfHtml5":s.pdfFlash&&s.pdfFlash.available(t,e)?"pdfFlash":void 0},pageLength:function(t){function r(t){return t.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},t.page.len())}var t=t.settings()[0].aLengthMenu,e=p.isArray(t[0])?t[0]:t,n=p.isArray(t[0])?t[1]:t;return{extend:"collection",text:r,className:"buttons-page-length",autoClose:!0,buttons:p.map(e,function(r,t){return{text:n[t],className:"button-page-length",action:function(t,e){e.page.len(r).draw()},init:function(t,e,n){var o=this,e=function(){o.active(t.page.len()===r)};t.on("length.dt"+n.namespace,e),e()},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}}),init:function(t,e,n){var o=this;t.on("length.dt"+n.namespace,function(){o.text(r(t))})},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}}}
3298),m.Api.register("buttons()",function(e,n){n===c&&(n=e,e=c),this.selector.buttonGroup=e;var t=this.iterator(!0,"table",function(t){if(t._buttons)return u.buttonSelector(u.instanceSelector(e,t._buttons),n)},!0);return t._groupSelector=e,t}),m.Api.register("button()",function(t,e){var n=this.buttons(t,e);return 1<n.length&&n.splice(1,n.length),n}),m.Api.registerPlural("buttons().active()","button().active()",function(e){return e===c?this.map(function(t){return t.inst.active(t.node)}):this.each(function(t){t.inst.active(t.node,e)})}),m.Api.registerPlural("buttons().action()","button().action()",function(e){return e===c?this.map(function(t){return t.inst.action(t.node)}):this.each(function(t){t.inst.action(t.node,e)})}),m.Api.register(["buttons().enable()","button().enable()"],function(e){return this.each(function(t){t.inst.enable(t.node,e)})}),m.Api.register(["buttons().disable()","button().disable()"],function(){return this.each(function(t){t.inst.disable(t.node)})}),m.Api.registerPlural("buttons().nodes()","button().node()",function(){var e=p();return p(this.each(function(t){e=e.add(t.inst.node(t.node))})),e}),m.Api.registerPlural("buttons().processing()","button().processing()",function(e){return e===c?this.map(function(t){return t.inst.processing(t.node)}):this.each(function(t){t.inst.processing(t.node,e)})}),m.Api.registerPlural("buttons().text()","button().text()",function(e){return e===c?this.map(function(t){return t.inst.text(t.node)}):this.each(function(t){t.inst.text(t.node,e)})}),m.Api.registerPlural("buttons().trigger()","button().trigger()",function(){return this.each(function(t){t.inst.node(t.node).trigger("click")})}),m.Api.registerPlural("buttons().containers()","buttons().container()",function(){var o=p(),r=this._groupSelector;return this.iterator(!0,"table",function(t){if(t._buttons)for(var e=0,n=(t=u.instanceSelector(r,t._buttons)).length;e<n;e++)o=o.add(t[e].container())}),o}),m.Api.register("button().add()",function(t,e){var n=this.context;return n.length&&((n=u.instanceSelector(this._groupSelector,n[0]._buttons)).length&&n[0].add(e,t)),this.button(this._groupSelector,t)}),m.Api.register("buttons().destroy()",function(){return this.pluck("inst").unique().each(function(t){t.destroy()}),this}),m.Api.registerPlural("buttons().remove()","buttons().remove()",function(){return this.each(function(t){t.inst.remove(t.node)}),this}),m.Api.register("buttons.info()",function(t,e,n){var o=this;return!1===t?(p("#datatables_buttons_info").fadeOut(function(){p(this).remove()}),clearTimeout(r),r=null):(r&&clearTimeout(r),p("#datatables_buttons_info").length&&p("#datatables_buttons_info").remove(),p('<div id="datatables_buttons_info" class="dt-button-info"/>').html(t?"<h2>"+t+"</h2>":"").append(p("<div/>")["string"==typeof e?"html":"append"](e)).css("display","none").appendTo("body").fadeIn(),n!==c&&0!==n&&(r=setTimeout(function(){o.buttons.info(!1)},n))),this}),m.Api.register("buttons.exportData()",function(t){if(this.context.length){for(var n=new m.Api(this.context[0]),o=p.extend(!0,{},{rows:null,columns:"",modifier:{search:"applied",order:"applied"},orthogonal:"display",stripHtml:!0,stripNewlines:!0,decodeEntities:!0,trim:!0,format:{header:function(t){return e(t)},footer:function(t){return e(t)},body:function(t){return e(t)}}},t),e=function(t){return"string"!=typeof t||(t=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""),o.stripHtml&&(t=t.replace(/<[^>]*>/g,"")),o.trim&&(t=t.replace(/^\s+|\s+$/g,"")),o.stripNewlines&&(t=t.replace(/\n/g," ")),o.decodeEntities&&(g.innerHTML=t,t=g.value)),t},t=n.columns(o.columns).indexes().map(function(t){var e=n.column(t).header();return o.format.header(e.innerHTML,t,e)}).toArray(),r=n.table().footer()?n.columns(o.columns).indexes().map(function(t){var e=n.column(t).footer();return o.format.footer(e?e.innerHTML:"",t,e)}).toArray():null,a=n.rows(o.rows,o.modifier).indexes().toArray(),a=(l=n.cells(a,o.columns)).render(o.orthogonal).toArray(),l=l.nodes().toArray(),i=t.length,s=0<i?a.length/i:0,d=Array(s),c=0,u=0;u<s;u++){for(var f=Array(i),h=0;h<i;h++)f[h]=o.format.body(a[c],u,h,l[c]),c++;d[u]=f}
3298return{header:t,footer:r,body:d}}}),m.Api.register("buttons.exportInfo()",function(t){var e,n=t=t||{};return"function"==typeof(e="*"===n.filename&&"*"!==n.title&&n.title!==c?n.title:n.filename)&&(e=e()),e===c||null===e?e=null:(-1!==e.indexOf("*")&&(e=p.trim(e.replace("*",p("title").text()))),e=e.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,""),(n=o(n.extension))||(n=""),e+=n),{filename:e,title:n=null===(n=o(t.title))?null:-1!==n.indexOf("*")?n.replace("*",p("title").text()||"Exported data"):n,messageTop:l(this,t.messageTop||t.message,"top"),messageBottom:l(this,t.messageBottom,"bottom")}});var o=function(t){return null===t||t===c?null:"function"==typeof t?t():t},l=function(t,e,n){return null===(e=o(e))?null:(t=p("caption",t.table().container()).eq(0),"*"===e?t.css("caption-side")!==n?null:t.length?t.text():"":e)},g=p("<textarea/>")[0];return p.fn.dataTable.Buttons=u,p.fn.DataTable.Buttons=u,p(a).on("init.dt plugin-init.dt",function(t,e){var n;"dt"!==t.namespace||(n=e.oInit.buttons||m.defaults.buttons)&&!e._buttons&&new u(e,n).container()}),m.ext.feature.push({fnInit:function(t){var e=(t=new m.Api(t)).init().buttons||m.defaults.buttons;return new u(t,e).container()},cFeature:"B"}),u}),function(n){"function"==typeof define&&define.amd?define("datatables.net-buttons-colvis",["jquery","datatables.net","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),n(e,t,t.document)}:n(jQuery,window,document)}(function(t,e,n,r){return e=t.fn.dataTable,t.extend(e.ext.buttons,{colvis:function(t,e){return{extend:"collection",text:function(t){return t.i18n("buttons.colvis","Column visibility")},className:"buttons-colvis",buttons:[{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}]}},columnsToggle:function(t,e){return t.columns(e.columns).indexes().map(function(t){return{extend:"columnToggle",columns:t,columnText:e.columnText}}).toArray()},columnToggle:function(t,e){return{extend:"columnVisibility",columns:e.columns,columnText:e.columnText}},columnsVisibility:function(t,e){return t.columns(e.columns).indexes().map(function(t){return{extend:"columnVisibility",columns:t,visibility:e.visibility,columnText:e.columnText}}).toArray()},columnVisibility:{columns:r,text:function(t,e,n){return n._columnText(t,n)},className:"buttons-columnVisibility",action:function(t,e,n,o){e=(t=e.columns(o.columns)).visible(),t.visible(o.visibility!==r?o.visibility:!(e.length&&e[0]))},init:function(o,t,r){var a=this;o.on("column-visibility.dt"+r.namespace,function(t,e){e.bDestroying||e.nTable!=o.settings()[0].nTable||a.active(o.column(r.columns).visible())}).on("column-reorder.dt"+r.namespace,function(t,e,n){1===o.columns(r.columns).count()&&("number"==typeof r.columns&&(r.columns=n.mapping[r.columns]),t=o.column(r.columns),a.text(r._columnText(o,r)),a.active(t.visible()))}),this.active(o.column(r.columns).visible())},destroy:function(t,e,n){t.off("column-visibility.dt"+n.namespace).off("column-reorder.dt"+n.namespace)},_columnText:function(t,e){var n=t.column(e.columns).index(),o=t.settings()[0].aoColumns[n].sTitle.replace(/\n/g," ").replace(/<br\s*\/?>/gi," ").replace(/<.*?>/g,"").replace(/^\s+|\s+$/g,"");return e.columnText?e.columnText(t,n,o):o}},colvisRestore:{className:"buttons-colvisRestore",text:function(t){return t.i18n("buttons.colvisRestore","Restore visibility")},init:function(e,t,n){n._visOriginal=e.columns().indexes().map(function(t){return e.column(t).visible()}).toArray()},action:function(t,e,n,o){e.columns().every(function(t){t=e.colReorder&&e.colReorder.transpose?e.colReorder.transpose(t,"toOriginal"):t,this.visible(o._visOriginal[t])})}},colvisGroup:{className:"buttons-colvisGroup",action:function(t,e,n,o){e.columns(o.show).visible(!0,!1),e.columns(o.hide).visible(!1,!1),e.columns.adjust()},show:[],hide:[]}}),e.Buttons}),function(n){"function"==typeof define&&define.amd?define("datatables.net-buttons-flash",["jquery","datatables.net","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),n(e,t,t.document)}:n(jQuery,window,document)}
3298(function(g,l,i,b){function y(t){for(var e="";0<=t;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function v(t,e,n){var o=t.createElement(e);return n&&(n.attr&&g(o).attr(n.attr),n.children&&g.each(n.children,function(t,e){o.appendChild(e)}),null!==n.text&&n.text!==b&&o.appendChild(t.createTextNode(n.text))),o}var r=g.fn.dataTable,a={version:"1.0.4-TableTools2",clients:{},moviePath:"",nextId:1,$:function(t){return"string"==typeof t&&(t=i.getElementById(t)),t.addClass||(t.hide=function(){this.style.display="none"},t.show=function(){this.style.display=""},t.addClass=function(t){this.removeClass(t),this.className+=" "+t},t.removeClass=function(t){this.className=this.className.replace(RegExp("\\s*"+t+"\\s*")," ").replace(/^\s+/,"").replace(/\s+$/,"")},t.hasClass=function(t){return!!this.className.match(RegExp("\\s*"+t+"\\s*"))}),t},setMoviePath:function(t){this.moviePath=t},dispatch:function(t,e,n){(t=this.clients[t])&&t.receiveEvent(e,n)},log:function(t){console.log("Flash: "+t)},register:function(t,e){this.clients[t]=e},getDOMObjectPosition:function(t){var e={left:0,top:0,width:t.width?t.width:t.offsetWidth,height:t.height?t.height:t.offsetHeight};for(""!==t.style.width&&(e.width=t.style.width.replace("px","")),""!==t.style.height&&(e.height=t.style.height.replace("px",""));t;)e.left+=t.offsetLeft,e.top+=t.offsetTop,t=t.offsetParent;return e},Client:function(t){this.handlers={},this.id=a.nextId++,this.movieId="ZeroClipboard_TableToolsMovie_"+this.id,a.register(this.id,this),t&&this.glue(t)}};a.Client.prototype={id:0,ready:!1,movie:null,clipText:"",fileName:"",action:"copy",handCursorEnabled:!0,cssEffects:!0,handlers:null,sized:!1,sheetName:"",glue:function(t,e){this.domElement=a.$(t);var n=99;this.domElement.style.zIndex&&(n=parseInt(this.domElement.style.zIndex,10)+1);var o=a.getDOMObjectPosition(this.domElement);this.div=i.createElement("div");var r=this.div.style;r.position="absolute",r.left="0px",r.top="0px",r.width=o.width+"px",r.height=o.height+"px",r.zIndex=n,void 0!==e&&""!==e&&(this.div.title=e),0!==o.width&&0!==o.height&&(this.sized=!0),this.domElement&&(this.domElement.appendChild(this.div),this.div.innerHTML=this.getHTML(o.width,o.height).replace(/&/g,"&amp;"))},positionElement:function(){var t=a.getDOMObjectPosition(this.domElement),e=this.div.style;e.position="absolute",e.width=t.width+"px",e.height=t.height+"px",0!==t.width&&0!==t.height&&(this.sized=!0,(e=this.div.childNodes[0]).width=t.width,e.height=t.height)},getHTML:function(t,e){var n="",o="id="+this.id+"&width="+t+"&height="+e;return navigator.userAgent.match(/MSIE/)?n=n+('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+(location.href.match(/^https/i)?"https://":"http://")+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="'+t+'" height="'+e+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+a.moviePath)+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+o+'"/><param name="wmode" value="transparent"/></object>':n+='<embed id="'+this.movieId+'" src="'+a.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+t+'" height="'+e+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+o+'" wmode="transparent" />',n},hide:function(){this.div&&(this.div.style.left="-2000px")},show:function(){this.reposition()},destroy:function(){var n=this;this.domElement&&this.div&&(g(this.div).remove(),this.div=this.domElement=null,g.each(a.clients,function(t,e){e===n&&delete a.clients[t]}))},reposition:function(t){var e;t&&((this.domElement=a.$(t))||this.hide()),this.domElement&&this.div&&(t=a.getDOMObjectPosition(this.domElement),(e=this.div.style).left=t.left+"px",e.top=t.top+"px")},clearText:function(){this.clipText="",this.ready&&this.movie.clearText()},appendText:function(t){this.clipText+=t,this.ready&&this.movie.appendText(t)},setText:function(t){this.clipText=t,this.ready&&this.movie.setText(t)},setFileName:function(t){this.fileName=t,this.ready&&this.movie.setFileName(t)},setSheetData:function(t){this.ready&&this.movie.setSheetData(JSON.stringify(t))}
3298,setAction:function(t){this.action=t,this.ready&&this.movie.setAction(t)},addEventListener:function(t,e){t=t.toString().toLowerCase().replace(/^on/,""),this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e)},setHandCursor:function(t){this.handCursorEnabled=t,this.ready&&this.movie.setHandCursor(t)},setCSSEffects:function(t){this.cssEffects=!!t},receiveEvent:function(t,e){var n;switch(t=t.toString().toLowerCase().replace(/^on/,"")){case"load":if(this.movie=i.getElementById(this.movieId),!this.movie)return n=this,void setTimeout(function(){n.receiveEvent("load",null)},1);if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/))return n=this,setTimeout(function(){n.receiveEvent("load",null)},100),void(this.ready=!0);this.ready=!0,this.movie.clearText(),this.movie.appendText(this.clipText),this.movie.setFileName(this.fileName),this.movie.setAction(this.action),this.movie.setHandCursor(this.handCursorEnabled);break;case"mouseover":this.domElement&&this.cssEffects&&this.recoverActive&&this.domElement.addClass("active");break;case"mouseout":this.domElement&&this.cssEffects&&(this.recoverActive=!1,this.domElement.hasClass("active")&&(this.domElement.removeClass("active"),this.recoverActive=!0));break;case"mousedown":this.domElement&&this.cssEffects&&this.domElement.addClass("active");break;case"mouseup":this.domElement&&this.cssEffects&&(this.domElement.removeClass("active"),this.recoverActive=!1)}if(this.handlers[t])for(var o=0,r=this.handlers[t].length;o<r;o++){var a=this.handlers[t][o];"function"==typeof a?a(this,e):"object"==typeof a&&2==a.length?a[0][a[1]](this,e):"string"==typeof a&&l[a](this,e)}}},a.hasFlash=function(){try{if(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(t){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]!==b&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return!0}return!1},l.ZeroClipboard_TableTools=a;function x(t,e){var n=e.match(/[\s\S]{1,8192}/g)||[];t.clearText();for(var o=0,r=n.length;o<r;o++)t.appendText(n[o])}function p(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"}function s(t,e){function n(t){for(var e="",n=0,o=t.length;n<o;n++)0<n&&(e+=l),e+=a?a+(""+t[n]).replace(i,s+a)+a:t[n];return e}for(var o=p(e),r=t.buttons.exportData(e.exportOptions),a=e.fieldBoundary,l=e.fieldSeparator,i=RegExp(a,"g"),s=e.escapeChar!==b?e.escapeChar:"\\",d=e.header?n(r.header)+o:"",c=e.footer&&r.footer?o+n(r.footer):"",u=[],f=0,h=r.body.length;f<h;f++)u.push(n(r.body[f]));return{str:d+u.join(o)+c,rows:u.length}}var I,d=function(t,e){e.attr("id"),e.parents("html").length?t.glue(e[0],""):setTimeout(function(){d(t,e)},500)},t={available:function(){return a.hasFlash()},init:function(t,e,n){a.moviePath=r.Buttons.swfPath;var o=new a.Client;o.setHandCursor(!0),o.addEventListener("mouseDown",function(){n._fromFlash=!0,t.button(e[0]).trigger(),n._fromFlash=!1}),d(o,e),n._flash=o},destroy:function(t,e,n){n._flash.destroy()},fieldSeparator:",",fieldBoundary:'"',exportOptions:{},title:"*",messageTop:"*",messageBottom:"*",filename:"*",extension:".csv",header:!0,footer:!1},w="",w=new(void 0===l.XMLSerializer?function(){this.serializeToString=function(t){return t.xml}}:XMLSerializer),C={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" />
3298<Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="" sheetId="1" r:id="rId1"/></sheets></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill/><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="61"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9"   fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},_=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^[\d,]+$/,style:63},{match:/^[\d,]+\.\d{2}$/,style:64}];return r.Buttons.swfPath="//cdn.datatables.net/buttons/"+r.Buttons.version+"/swf/flashExport.swf",r.Api.register("buttons.resize()",function(){g.each(a.clients,function(t,e){e.domElement!==b&&e.domElement.parentNode&&e.positionElement()})}),r.ext.buttons.copyFlash=g.extend({},t,{className:"buttons-copy buttons-flash",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(t,e,n,o){var r,a;o._fromFlash&&(this.processing(!0),t=o._flash,a=s(e,o),n=e.buttons.exportInfo(o),r=p(o),a=a.str,n.title&&(a=n.title+r+r+a),n.messageTop&&(a=n.messageTop+r+r+a),n.messageBottom&&(a=a+r+r+n.messageBottom),o.customize&&(a=o.customize(a,o)),t.setAction("copy"),x(t,a),this.processing(!1),e.buttons.info(e.i18n("buttons.copyTitle","Copy to clipboard"),e.i18n("buttons.copySuccess",{_:"Copied %d rows to clipboard",1:"Copied 1 row to clipboard"},data.rows),3e3))},fieldSeparator:"\t",fieldBoundary:""}),r.ext.buttons.csvFlash=g.extend({},t,{className:"buttons-csv buttons-flash",text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,n,o){t=o._flash,e=s(e,o),e=o.customize?o.customize(e.str,o):e.str,t.setAction("csv"),t.setFileName(_filename(o)),x(t,e)},escapeChar:'"'}),r.ext.buttons.excelFlash=g.extend({},t,{className:"buttons-excel buttons-flash",text:function(t){return t.i18n("buttons.excel","Excel")},action:function(t,e,n,o){this.processing(!0);var s,d,r,a,t=o._flash,c=0,u=g.parseXML(C["xl/worksheets/sheet1.xml"]),f=u.getElementsByTagName("sheetData")[0],n={_rels:{".rels":g.parseXML(C["_rels/.rels"])},xl:{_rels:{"workbook.xml.rels":g.parseXML(C["xl/_rels/workbook.xml.rels"])},"workbook.xml":g.parseXML(C["xl/workbook.xml"]),"styles.xml":g.parseXML(C["xl/styles.xml"]),worksheets:{"sheet1.xml":u}},"[Content_Types].xml":g.parseXML(C["[Content_Types].xml"])},l=e.buttons.exportData(o.exportOptions),i=function(t){d=v(u,"row",{attr:{r:s=c+1}});for(var e=0,n=t.length;e<n;e++){var o=y(e)+""+s,r=null;if(null!==t[e]&&t[e]!==b&&""!==t[e]){t[e]=g.trim(t[e]);for(var a=0,l=_.length;a<l;a++){var i=_[a];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(i.match)){r=t[e].replace(/[^\d\.\-]/g,""),i.fmt&&(r=i.fmt(r)),r=v(u,"c",{attr:{r:o,s:i.style},children:[v(u,"v",{text:r})]});break}}r=r||("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/)?v(u,"c",{attr:{t:"n",r:o},children:[v(u,"v",{text:t[e]})]}):(i=t[e].replace?t[e].replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):t[e],v(u,"c",{attr:{t:"inlineStr",r:
3298o},children:{row:v(u,"is",{children:{row:v(u,"t",{text:i})}})}}))),d.appendChild(r)}}f.appendChild(d),c++};g("sheets sheet",n.xl["workbook.xml"]).attr("name",(a="Sheet1",(r=o).sheetName&&(a=r.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),a)),o.customizeData&&o.customizeData(l);var h=function(t,e){var n=g("mergeCells",u);n[0].appendChild(v(u,"mergeCell",{attr:{ref:"A"+t+":"+y(e)+t}})),n.attr("count",n.attr("count")+1),g("row:eq("+(t-1)+") c",u).attr("s","51")};(e=e.buttons.exportInfo(o)).title&&(i([e.title],c),h(c,l.header.length-1)),e.messageTop&&(i([e.messageTop],c),h(c,l.header.length-1)),o.header&&(i(l.header,c),g("row:last c",u).attr("s","2"));for(var p=0,m=l.body.length;p<m;p++)i(l.body[p],c);for(o.footer&&l.footer&&(i(l.footer,c),g("row:last c",u).attr("s","2")),e.messageBottom&&(i([e.messageBottom],c),h(c,l.header.length-1)),i=v(u,"cols"),g("worksheet",u).prepend(i),h=0,p=l.header.length;h<p;h++)i.appendChild(v(u,"col",{attr:{min:h+1,max:h+1,width:function(t,e){var n,o=t.header[e].length;t.footer&&t.footer[e].length>o&&(o=t.footer[e].length);for(var r=0,a=t.body.length;r<a;r++)if(o<(n=-1!==(n=null!==(n=t.body[r][e])&&n!==b?n.toString():"").indexOf("\n")?((n=n.split("\n")).sort(function(t,e){return e.length-t.length}),n[0].length):n.length)&&(o=n),40<o)return 52;return 6<(o*=1.3)?o:6}(l,h),customWidth:1}}));o.customize&&o.customize(n),function i(s){I===b&&(I=-1===w.serializeToString(g.parseXML(C["xl/worksheets/sheet1.xml"])).indexOf("xmlns:r")),g.each(s,function(t,e){if(g.isPlainObject(e))i(e);else{if(I){for(var n,o=e.childNodes[0],r=[],a=o.attributes.length-1;0<=a;a--){n=o.attributes[a].nodeName;var l=o.attributes[a].nodeValue;-1!==n.indexOf(":")&&(r.push({name:n,value:l}),o.removeAttribute(n))}for(a=0,n=r.length;a<n;a++)(l=e.createAttribute(r[a].name.replace(":","_dt_b_namespace_token_"))).value=r[a].value,o.setAttributeNode(l)}o=w.serializeToString(e),I&&(-1===o.indexOf("<?xml")&&(o='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+o),o=o.replace(/_dt_b_namespace_token_/g,":")),o=o.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),s[t]=o}})}(n),t.setAction("excel"),t.setFileName(e.filename),t.setSheetData(n),x(t,""),this.processing(!1)},extension:".xlsx"}),r.ext.buttons.pdfFlash=g.extend({},t,{className:"buttons-pdf buttons-flash",text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(t,e,n,o){this.processing(!0);var t=o._flash,n=e.buttons.exportData(o.exportOptions),r=e.buttons.exportInfo(o),a=e.table().node().offsetWidth,l=e.columns(o.columns).indexes().map(function(t){return e.column(t).header().offsetWidth/a});t.setAction("pdf"),t.setFileName(r.filename),x(t,JSON.stringify({title:r.title||"",messageTop:r.messageTop||"",messageBottom:r.messageBottom||"",colWidth:l.toArray(),orientation:o.orientation,size:o.pageSize,header:o.header?n.header:null,footer:o.footer?n.footer:null,body:n.body})),this.processing(!1)},extension:".pdf",orientation:"portrait",pageSize:"A4",newline:"\n"}),r.Buttons}),function(r){"function"==typeof define&&define.amd?define("datatables.net-buttons-html5",["jquery","datatables.net","datatables.net-buttons"],function(t){return r(t,window,document)}):"object"==typeof exports?module.exports=function(t,e,n,o){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),r(e,t,t.document,n,o)}:r(jQuery,window,document)}(function(g,b,u,y,i,v){function x(t){for(var e="";0<=t;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function I(t,e,n){var o=t.createElement(e);return n&&(n.attr&&g(o).attr(n.attr),n.children&&g.each(n.children,function(t,e){o.appendChild(e)}),null!==n.text&&n.text!==v&&o.appendChild(t.createTextNode(n.text))),o}var s,d,c,f,h,p,o,t,w,e=g.fn.dataTable,m="undefined"!=typeof self&&self||void 0!==b&&b||this.content;w=void 0===m||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)?void 0:(s=m.document.createElementNS("http://www.w3.org/1999/xhtml","a"),d="download"in s,c=/constructor/i.test(m.HTMLElement)||m.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),h=function(t){setTimeout(function(){"string"==typeof t?(m.URL||m.webkitURL||m).revokeObjectURL(t):t.remove()},4e4)},p=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},t=(o=function(t,e,n){n||(t=p(t));function o(){for(var t=["writestart","progress","write","writeend"],e=(t=[].concat(t)).length;e--;){var n=l["on"+t[e]];if("function"==typeof n)try{n.call(l,l)}catch(t){!function(t){(m.setImmediate||m.setTimeout)(function(){throw t},0)}(t)}}}
3298var r,a,l=this,n="application/octet-stream"===t.type;l.readyState=l.INIT,d?(r=(m.URL||m.webkitURL||m).createObjectURL(t),setTimeout(function(){s.href=r,s.download=e;var t=new MouseEvent("click");s.dispatchEvent(t),o(),h(r),l.readyState=l.DONE})):(f||n&&c)&&m.FileReader?((a=new FileReader).onloadend=function(){var t=f?a.result:a.result.replace(/^data:[^;]*;/,"data:attachment/file;");m.open(t,"_blank")||(m.location.href=t),l.readyState=l.DONE,o()},a.readAsDataURL(t),l.readyState=l.INIT):(r=r||(m.URL||m.webkitURL||m).createObjectURL(t),!n&&m.open(r,"_blank")||(m.location.href=r),l.readyState=l.DONE,o(),h(r))}).prototype,"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=p(t)),navigator.msSaveOrOpenBlob(t,e)}:(t.abort=function(){},t.readyState=t.INIT=0,t.WRITING=1,t.DONE=2,t.error=t.onwritestart=t.onprogress=t.onwrite=t.onabort=t.onerror=t.onwriteend=null,function(t,e,n){return new o(t,e||t.name||"download",n)})),e.fileSave=w;function C(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"}function _(t,e){function n(t){for(var e="",n=0,o=t.length;n<o;n++)0<n&&(e+=l),e+=a?a+(""+t[n]).replace(i,s+a)+a:t[n];return e}for(var o=C(e),r=t.buttons.exportData(e.exportOptions),a=e.fieldBoundary,l=e.fieldSeparator,i=RegExp(a,"g"),s=e.escapeChar!==v?e.escapeChar:"\\",d=e.header?n(r.header)+o:"",c=e.footer&&r.footer?o+n(r.footer):"",u=[],f=0,h=r.body.length;f<h;f++)u.push(n(r.body[f]));return{str:d+u.join(o)+c,rows:u.length}}function T(){if(-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Opera")){var t=navigator.userAgent.match(/AppleWebKit\/(\d+\.\d+)/);return!!(t&&1<t.length&&+t[1]<603.1)}}try{var F,S=new XMLSerializer}catch(t){}var D={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="" sheetId="1" r:id="rId1"/></sheets></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill/><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="67"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9"   fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="1" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="2" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},A=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\-?\d+$/,style:65},{match:/^\-?\d+\.\d{2}$/,style:66},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\-?[\d,]+$/,style:63},{match:/^\-?[\d,]+\.\d{2}$/,style:64}];return e.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(t,e,n,o){this.processing(!0);var r=this,t=_(e,o),a=e.buttons.exportInfo(o),l=C(o),i=t.str,n=g("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});if(a.title&&(i=a.title+l+l+i),a.messageTop&&(i=a.messageTop+l+l+i),a.messageBottom&&(i=i+l+l+a.messageBottom),o.customize&&(i=o.customize(i,o)),o=g("<textarea readonly/>").val(i).appendTo(n),u.queryCommandSupported("copy")){n.appendTo(e.table().container()),o[0].focus(),o[0].select();try{var s=u.execCommand("copy");if(n.remove(),s)return e.buttons.info(e.i18n("buttons.copyTitle","Copy to clipboard"),e.i18n("buttons.copySuccess",{1:"Copied one row to clipboard",_:"Copied %d rows to clipboard"},t.rows),2e3),void this.processing(!1)}catch(t){}}s=g("<span>"+e.i18n("buttons.copyKeys","Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.")+"</span>").append(n),e.buttons.info(e.i18n("buttons.copyTitle","Copy to clipboard"),s,0),o[0].focus(),o[0].select();function d(){c.off("click.buttons-copy"),g(u).off(".buttons-copy"),e.buttons.info(!1)}var c=g(s).closest(".dt-button-info");c.on("click.buttons-copy",d),g(u).on("keydown.buttons-copy",function(t){27===t.keyCode&&(d(),r.processing(!1))}).on("copy.buttons-copy cut.buttons-copy",function(){d(),r.processing(!1)})},exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},e.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return b.FileReader!==v&&b.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,n,o){this.processing(!0),t=_(e,o).str,e=e.buttons.exportInfo(o),n=o.charset,o.customize&&(t=o.customize(t,o)),n=!1!==n?(n=n||(u.characterSet||u.charset))&&";charset="+n:"",o.bom&&(t="\ufeff"+t),w(new Blob([t],{type:"text/csv"+n}),e.filename,!0),this.processing(!1)},filename:"*",ext
3298ension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},e.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return b.FileReader!==v&&(y||b.JSZip)!==v&&!T()&&S},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(t,e,n,o){this.processing(!0);var s,d,r,a,l=this,c=0,u=(t=function(t){return g.parseXML(D[t])})("xl/worksheets/sheet1.xml"),f=u.getElementsByTagName("sheetData")[0],t={_rels:{".rels":t("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":t("xl/_rels/workbook.xml.rels")},"workbook.xml":t("xl/workbook.xml"),"styles.xml":t("xl/styles.xml"),worksheets:{"sheet1.xml":u}},"[Content_Types].xml":t("[Content_Types].xml")},n=e.buttons.exportData(o.exportOptions),i=function(t){d=I(u,"row",{attr:{r:s=c+1}});for(var e=0,n=t.length;e<n;e++){var o=x(e)+""+s,r=null;if(null!==t[e]&&t[e]!==v&&""!==t[e]){t[e]=g.trim(t[e]);for(var a=0,l=A.length;a<l;a++){var i=A[a];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(i.match)){r=t[e].replace(/[^\d\.\-]/g,""),i.fmt&&(r=i.fmt(r)),r=I(u,"c",{attr:{r:o,s:i.style},children:[I(u,"v",{text:r})]});break}}r=r||("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/)?I(u,"c",{attr:{t:"n",r:o},children:[I(u,"v",{text:t[e]})]}):(i=t[e].replace?t[e].replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):t[e],I(u,"c",{attr:{t:"inlineStr",r:o},children:{row:I(u,"is",{children:{row:I(u,"t",{text:i})}})}}))),d.appendChild(r)}}f.appendChild(d),c++};g("sheets sheet",t.xl["workbook.xml"]).attr("name",(a="Sheet1",(r=o).sheetName&&(a=r.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),a)),o.customizeData&&o.customizeData(n);var h=function(t,e){var n=g("mergeCells",u);n[0].appendChild(I(u,"mergeCell",{attr:{ref:"A"+t+":"+x(e)+t}})),n.attr("count",n.attr("count")+1),g("row:eq("+(t-1)+") c",u).attr("s","51")},p=e.buttons.exportInfo(o);p.title&&(i([p.title],c),h(c,n.header.length-1)),p.messageTop&&(i([p.messageTop],c),h(c,n.header.length-1)),o.header&&(i(n.header,c),g("row:last c",u).attr("s","2"));for(var e=0,m=n.body.length;e<m;e++)i(n.body[e],c);for(o.footer&&n.footer&&(i(n.footer,c),g("row:last c",u).attr("s","2")),p.messageBottom&&(i([p.messageBottom],c),h(c,n.header.length-1)),e=I(u,"cols"),g("worksheet",u).prepend(e),i=0,h=n.header.length;i<h;i++)e.appendChild(I(u,"col",{attr:{min:i+1,max:i+1,width:function(t,e){var n,o=t.header[e].length;t.footer&&t.footer[e].length>o&&(o=t.footer[e].length);for(var r=0,a=t.body.length;r<a;r++)if(o<(n=-1!==(n=null!==(n=t.body[r][e])&&n!==v?n.toString():"").indexOf("\n")?((n=n.split("\n")).sort(function(t,e){return e.length-t.length}),n[0].length):n.length)&&(o=n),40<o)return 52;return 6<(o*=1.3)?o:6}(n,i),customWidth:1}}));o.customize&&o.customize(t),n={type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},function i(s,t){F===v&&(F=-1===S.serializeToString(g.parseXML(D["xl/worksheets/sheet1.xml"])).indexOf("xmlns:r")),g.each(t,function(t,e){if(g.isPlainObject(e))i(n=s.folder(t),e);else{if(F){for(var n,o,r=[],a=(n=e.childNodes[0]).attributes.length-1;0<=a;a--){o=n.attributes[a].nodeName;var l=n.attributes[a].nodeValue;-1!==o.indexOf(":")&&(r.push({name:o,value:l}),n.removeAttribute(o))}for(a=0,o=r.length;a<o;a++)(l=e.createAttribute(r[a].name.replace(":","_dt_b_namespace_token_"))).value=r[a].value,n.setAttributeNode(l)}n=S.serializeToString(e),F&&(-1===n.indexOf("<?xml")&&(n='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+n),n=n.replace(/_dt_b_namespace_token_/g,":")),n=n.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),s.file(t,n)}})}(o=new(y||b.JSZip),t),o.generateAsync?o.generateAsync(n).then(function(t){w(t,p.filename),l.processing(!1)}):(w(o.generate(n),p.filename),this.processing(!1))},filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},e.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return b.FileReader!==v&&(i||b.pdfMake)},text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(t,e,n,o){this.processing(!0);var r=this,t=e.buttons.exportData(o.exportOptions),a=e.buttons.exportInfo(o),e=[];o.header&&e.push(g.map(t.header,function(t){return{text:"string"==typeof t?t:t+"",style:"tableHeader"}}));for(var l=0,n=t.body.length;l<n;l++)e.push(g.map(t.body[l],function(t){return{text:"string"==typeof t?t:t+"",style:l%2?"tableBodyEven":"tableBodyOdd"}}));o.footer&&t.footer&&e.push(g.map(t.footer,function(t){return{text:"string"==typeof t?t:t+"",style:"tableFooter"}})),e={pageSize:o.pageSize,pageOrientation:o.orientation,content:[{table:{headerRows:1,body:e},layout:"noBorders"}],styles:{tableHeader:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154",alignment:"center"},tableBodyEven:{},tableBodyOdd:{fillColor:"#f3f3f3"},tableFooter:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154"},title:{alignment:"center",fontSize:15},message:{}},defaultStyle:{fontSize:10}},a.messageTop&&e.content.unshift({text:a.messageTop,style:"message",margin:[0,0,0,12]}),a.messageBottom&&e.content.push({text:a.messageBottom,style:"message",margin:[0,0,0,12]}),a.title&&e.content.unshift({text:a.title,style:"title",margin:[0,0,0,12]}),o.customize&&o.customize(e,o),e=(i||b.pdfMake).createPdf(e),"open"!==o.download||T()?e.getBuffer(function(t){t=new Blob([t],{type:"application/pdf"}),w(t,a.filename),r.processing(!1)}):(e.open(),this.processing(!1))},title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"A4",header:!0,footer:!1,messageTop:"*",messageBottom:"*",customize:null,download:"download"},e.Buttons}),function(n){"function"==typeof define&&define.amd?define("datatables.net-buttons-print",["jquery","datatables.net","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),n(e,t,t.document)}:n(jQuery,window,document)}(function(d,c,t){function u(t){return n.href=t,-1===(t=n.host).indexOf("/")&&0!==n.pathname.indexOf("/")&&(t+="/"),n.protocol+"//"+t+n.pathname+n.search}var e=d.fn.dataTable,n=t.createElement("a");return e.ext.buttons.print={className:"buttons-print",text:function(t){return t.i18n("buttons.print","Print")},action:function(t,e,n,o){function r(t,e){for(var n="<tr>",o=0,r=t.length;o<r;o++)n+="<"+e+">"+t[o]+"</"+e+">";return n+"</tr>"}t=e.buttons.exportData(d.extend({decodeEntities:!1},o.exportOptions)),n=e.buttons.exportInfo(o),e='<table class="'+e.table().node().className+'">';o.header&&(e+="<thead>"+r(t.header,"th")+"</thead>");for(var e=e+"<tbody>",a=0,l=t.body.length;a<l;a++)e+=r(t.body[a],"td");e+="</tbody>",o.footer&&t.footer&&(e+="<tfoot>"+r(t.footer,"th")+"</tfoot>");var e=e+"</table>",i=c.open("","");i.document.close();var s="<title>"+n.title+"</title>";d("style, link").each(function(){var t=s,e=d(this).clone()[0];
3298"link"===e.nodeName.toLowerCase()&&(e.href=u(e.href)),s=t+e.outerHTML});try{i.document.head.innerHTML=s}catch(t){d(i.document.head).html(s)}i.document.body.innerHTML="<h1>"+n.title+"</h1><div>"+(n.messageTop||"")+"</div>"+e+"<div>"+(n.messageBottom||"")+"</div>",d(i.document.body).addClass("dt-print-view"),d("img",i.document.body).each(function(t,e){e.setAttribute("src",u(e.getAttribute("src")))}),o.customize&&o.customize(i),setTimeout(function(){o.autoPrint&&(i.print(),i.close())},1e3)},title:"*",messageTop:"*",messageBottom:"*",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null},e.Buttons}),function(n){"function"==typeof define&&define.amd?define("datatables.net-buttons-bs",["jquery","datatables.net-bs","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net-bs")(t,e).$),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),n(e,t.document)}:n(jQuery,window,document)}(function(t){var e=t.fn.dataTable;return t.extend(!0,e.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group"},button:{className:"btn btn-default"},collection:{tag:"ul",className:"dt-button-collection dropdown-menu",button:{tag:"li",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"a",className:""}}}}),e.ext.buttons.collection.text=function(t){return t.i18n("buttons.collection",'Collection <span class="caret"/>')},e.Buttons}),function(n){"function"==typeof define&&define.amd?define("datatables.net-colreorder",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,0,t.document)}:n(jQuery,window,document)}(function(h,t,a,p){function m(t){for(var e=[],n=0,o=t.length;n<o;n++)e[t[n]]=n;return e}function g(t,e,n){e=t.splice(e,1)[0],t.splice(n,0,e)}function b(t,e,n){for(var o=[],r=0,a=t.childNodes.length;r<a;r++)1==t.childNodes[r].nodeType&&o.push(t.childNodes[r]);e=o[e],null!==n?t.insertBefore(e,o[n]):t.appendChild(e)}var r=h.fn.dataTable;h.fn.dataTableExt.oApi.fnColReorder=function(n,t,e,o,r){var a,l,i,s=n.aoColumns.length,d=function(t,e,n){var o,r;t[e]&&"function"!=typeof t[e]&&(r=(o=t[e].split(".")).shift(),isNaN(+r)||(t[e]=n[+r]+"."+o.join(".")))};if(t!=e)if(t<0||s<=t)this.oApi._fnLog(n,1,"ColReorder 'from' index is out of bounds: "+t);else if(e<0||s<=e)this.oApi._fnLog(n,1,"ColReorder 'to' index is out of bounds: "+e);else{for(a=[],u=0,f=s;u<f;u++)a[u]=u;g(a,t,e);for(var c=m(a),u=0,f=n.aaSorting.length;u<f;u++)n.aaSorting[u][0]=c[n.aaSorting[u][0]];if(null!==n.aaSortingFixed)for(u=0,f=n.aaSortingFixed.length;u<f;u++)n.aaSortingFixed[u][0]=c[n.aaSortingFixed[u][0]];for(u=0,f=s;u<f;u++){for(a=0,l=(i=n.aoColumns[u]).aDataSort.length;a<l;a++)i.aDataSort[a]=c[i.aDataSort[a]];i.idx=c[i.idx]}for(h.each(n.aLastSort,function(t,e){n.aLastSort[t].src=c[e.src]}),u=0,f=s;u<f;u++)"number"==typeof(i=n.aoColumns[u]).mData?i.mData=c[i.mData]:h.isPlainObject(i.mData)&&(d(i.mData,"_",c),d(i.mData,"filter",c),d(i.mData,"sort",c),d(i.mData,"type",c));if(n.aoColumns[t].bVisible){for(d=this.oApi._fnColumnIndexToVisible(n,t),l=null,u=e<t?e:e+1;null===l&&u<s;)l=this.oApi._fnColumnIndexToVisible(n,u),u++;for(u=0,f=(a=n.nTHead.getElementsByTagName("tr")).length;u<f;u++)b(a[u],d,l);if(null!==n.nTFoot)for(u=0,f=(a=n.nTFoot.getElementsByTagName("tr")).length;u<f;u++)b(a[u],d,l);for(u=0,f=n.aoData.length;u<f;u++)null!==n.aoData[u].nTr&&b(n.aoData[u].nTr,d,l)}for(g(n.aoColumns,t,e),u=0,f=s;u<f;u++)n.oApi._fnColumnOptions(n,u,{});for(g(n.aoPreSearchCols,t,e),u=0,f=n.aoData.length;u<f;u++){if(i=(l=n.aoData[u]).anCells)for(g(i,t,e),a=0,d=i.length;a<d;a++)i[a]&&i[a]._DT_CellIndex&&(i[a]._DT_CellIndex.column=a);"dom"!==l.src&&h.isArray(l._aData)&&g(l._aData,t,e)}for(u=0,f=n.aoHeader.length;u<f;u++)g(n.aoHeader[u],t,e);if(null!==n.aoFooter)for(u=0,f=n.aoFooter.length;u<f;u++)g(n.aoFooter[u],t,e);for(!r&&r!==p||h.fn.dataTable.Api(n).rows().invalidate(),u=0,f=s;u<f;u++)h(n.aoColumns[u].nTh).off("click.DT"),this.oApi._fnSortAttachListener(n,n.aoColumns[u].nTh,u);h(n.oInstance).trigger("column-reorder.dt",[n,{from:t,to:e,mapping:c,drop:o,iFrom:t,iTo:e,aiInvertMapping:c}])}};var l=function(t,e){var n=new h.fn.dataTable.Api(t).settings()[0];if(n._colReorder)return n._colReorder;!0===e&&(e={});var o=h.fn.dataTable.camelToHungarian;return o&&(o(l.defaults,l.defaults,!0),o(l.defaults,e||{})),this.s={dt:null,init:h.extend(!0,{},l.defaults,e),fixed:0,fixedRight:0,reorderCallback:null,mouse:{startX:-1,startY:-1,offsetX:-1,offsetY:-1,target:-1,targetIndex:-1,fromIndex:-1},aoTargets:[]},this.dom={drag:null,pointer:null},this.s.dt=n,(this.s.dt._colReorder=this)._fnConstruct(),this};return h.extend(l.prototype,{fnReset:function(){return this._fnOrderColumns(this.fnOrder()),this},fnGetCurrentOrder:function(){return this.fnOrder()},fnOrder:function(t,e){var n,o,r=[],a=this.s.dt.aoColumns;if(t===p){for(n=0,o=a.length;n<o;n++)r.push(a[n]._ColReorder_iOrigCol);return r}if(e){for(a=this.fnOrder(),n=0,o=t.length;n<o;n++)r.push(h.inArray(t[n],a));t=r}return this._fnOrderColumns(m(t)),this},fnTranspose:function(t,e){e=e||"toCurrent";var n=this.fnOrder(),o=this.s.dt.aoColumns;return"toCurrent"===e?h.isArray(t)?h.map(t,function(t){return h.inArray(t,n)}):h.inArray(t,n):h.isArray(t)?h.map(t,function(t){return o[t]._ColReorder_iOrigCol}):o[t]._ColReorder_iOrigCol},_fnConstruct:function(){var t,n=this,e=this.s.dt.aoColumns.length,o=this.s.dt.nTable;for(this.s.init.iFixedColumns&&(this.s.fixed=this.s.init.iFixedColumns),this.s.init.iFixedColumnsLeft&&(this.s.fixed=this.s.init.iFixedColumnsLeft),this.s.fixedRight=this.s.init.iFixedColumnsRight?this.s.init.iFixedColumnsRight:0,this.s.init.fnReorderCallback&&(this.s.reorderCallback=this.s.init.fnReorderCallback),t=0;t<e;t++)t>this.s.fixed-1&&t<e-this.s.fixedRight&&this._fnMouseListener(t,this.s.dt.aoColumns[t].nTh),this.s.dt.aoColumns[t]._ColReorder_iOrigCol=t;this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateSaveParams",function(t,e){n._fnStateSave.call(n,e)},"ColReorder_State");var r,a=null;this.s.init.aiOrder&&(a=this.s.init.aiOrder.slice()),this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.ColReorder&&this.s.dt.oLoadedState.ColReorder.length==this.s.dt.aoColumns.length&&(a=this.s.dt.oLoadedState.ColReorder),a?n.s.dt._bInitComplete?(e=m(a),n._fnOrderColumns.call(n,e)):(r=!1,h(o).on("draw.dt.colReorder",function(){var t;n.s.dt._bInitComplete||r||(r=!0,t=m(a),n._fnOrderColumns.call(n,t))})):this._fnSetColumnIndexes(),h(o).on("destroy.dt.colReorder",function(){h(o).off("destroy.dt.colReorder draw.dt.colReorder"),h(n.s.dt.nTHead).find("*").off(".ColReorder"),h.each(n.s.dt.aoColumns,function(t,e){h(e.nTh).removeAttr("data-column-index")}),n.s.dt._colReorder=null,n.s=null})},_fnOrderColumns:function(t){var e=!1;if(t.length!=this.s.dt.aoColumns.length)this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"ColReorder - array reorder does not match known number of columns. Skipping.");else{for(var n=0,o=t.length;n<o;n++){var r=h.inArray(n,t);n!=r&&(g(t,r,n),this.s.dt.oInstance.fnColReorder(r,n,!0,!1),e=!0)}h.fn.dataTable.Api(this.s.dt).rows().invalidate(),this._fnSetColumnIndexes(),e&&(""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(!1),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt),null!==this.s.reorderCallback&&this.s.reorderCallback.call(this))}},_fnStateSave:function(t){var e,n=this.s.dt.aoColumns;if(t.ColReorder=[],t.aaSorting){for(r=0;r<t.aaSorting.length;r++)t.aaSorting[r][0]=n[t.aaSorting[r][0]]._ColReorder_iOrigCol;for(var o=h.extend(!0,[],t.aoSearchCols),r=0,a=n.length;r<a;r++)e=n[r]._ColReorder_iOrigCol,t.aoSearchCols[e]=o[r],t.abVisCols[e]=n[r].bVisible,t.ColReorder.push(e)}else if(t.order){for(r=0;r<t.order.length;r++)t.order[r][0]=n[t.order[r][0]]._ColReorder_iOrigCol;for(o=h.extend(!0,[],t.columns),r=0,a=n.length;r<a;r++)e=n[r]._ColReorder_iOrigCol,t.columns[e]=o[r],t.ColReorder.push(e)}},_fnMouseListener:function(t,e){var n=this;h(e).on("mousedown.ColReorder",function(t){n._fnMouseDown.call(n,t,e)}).on("touchstart.ColReorder",function(t){n._fnMouseDown.call(n,t,e)})},_fnMouseDown:function(t,e){var n=this,o=h(t.target).closest("th, td").offset(),r=parseInt(h(e).attr("data-column-index"),10);
3298r!==p&&(this.s.mouse.startX=this._fnCursorPosition(t,"pageX"),this.s.mouse.startY=this._fnCursorPosition(t,"pageY"),this.s.mouse.offsetX=this._fnCursorPosition(t,"pageX")-o.left,this.s.mouse.offsetY=this._fnCursorPosition(t,"pageY")-o.top,this.s.mouse.target=this.s.dt.aoColumns[r].nTh,this.s.mouse.targetIndex=r,this.s.mouse.fromIndex=r,this._fnRegions(),h(a).on("mousemove.ColReorder touchmove.ColReorder",function(t){n._fnMouseMove.call(n,t)}).on("mouseup.ColReorder touchend.ColReorder",function(t){n._fnMouseUp.call(n,t)}))},_fnMouseMove:function(t){if(null===this.dom.drag){if(Math.pow(Math.pow(this._fnCursorPosition(t,"pageX")-this.s.mouse.startX,2)+Math.pow(this._fnCursorPosition(t,"pageY")-this.s.mouse.startY,2),.5)<5)return;this._fnCreateDragNode()}this.dom.drag.css({left:this._fnCursorPosition(t,"pageX")-this.s.mouse.offsetX,top:this._fnCursorPosition(t,"pageY")-this.s.mouse.offsetY});for(var e=!1,n=this.s.mouse.toIndex,o=1,r=this.s.aoTargets.length;o<r;o++)if(this._fnCursorPosition(t,"pageX")<this.s.aoTargets[o-1].x+(this.s.aoTargets[o].x-this.s.aoTargets[o-1].x)/2){this.dom.pointer.css("left",this.s.aoTargets[o-1].x),this.s.mouse.toIndex=this.s.aoTargets[o-1].to,e=!0;break}e||(this.dom.pointer.css("left",this.s.aoTargets[this.s.aoTargets.length-1].x),this.s.mouse.toIndex=this.s.aoTargets[this.s.aoTargets.length-1].to),this.s.init.bRealtime&&n!==this.s.mouse.toIndex&&(this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex,!1),this.s.mouse.fromIndex=this.s.mouse.toIndex,this._fnRegions())},_fnMouseUp:function(){h(a).off(".ColReorder"),null!==this.dom.drag&&(this.dom.drag.remove(),this.dom.pointer.remove(),this.dom.drag=null,this.dom.pointer=null,this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex,!0),this._fnSetColumnIndexes(),""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(!1),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt),null!==this.s.reorderCallback&&this.s.reorderCallback.call(this))},_fnRegions:function(){var t=this.s.dt.aoColumns;this.s.aoTargets.splice(0,this.s.aoTargets.length),this.s.aoTargets.push({x:h(this.s.dt.nTable).offset().left,to:0});for(var e=0,n=this.s.aoTargets[0].x,o=0,r=t.length;o<r;o++)o!=this.s.mouse.fromIndex&&e++,t[o].bVisible&&"none"!==t[o].nTh.style.display&&(n+=h(t[o].nTh).outerWidth(),this.s.aoTargets.push({x:n,to:e}));0!==this.s.fixedRight&&this.s.aoTargets.splice(this.s.aoTargets.length-this.s.fixedRight),0!==this.s.fixed&&this.s.aoTargets.splice(0,this.s.fixed)},_fnCreateDragNode:function(){var t=""!==this.s.dt.oScroll.sX||""!==this.s.dt.oScroll.sY,e=this.s.dt.aoColumns[this.s.mouse.targetIndex].nTh,n=e.parentNode,o=n.parentNode,r=o.parentNode,a=h(e).clone();this.dom.drag=h(r.cloneNode(!1)).addClass("DTCR_clonedTable").append(h(o.cloneNode(!1)).append(h(n.cloneNode(!1)).append(a[0]))).css({position:"absolute",top:0,left:0,width:h(e).outerWidth(),height:h(e).outerHeight()}).appendTo("body"),this.dom.pointer=h("<div></div>").addClass("DTCR_pointer").css({position:"absolute",top:t?h("div.dataTables_scroll",this.s.dt.nTableWrapper).offset().top:h(this.s.dt.nTable).offset().top,height:t?h("div.dataTables_scroll",this.s.dt.nTableWrapper).height():h(this.s.dt.nTable).height()}).appendTo("body")},_fnSetColumnIndexes:function(){h.each(this.s.dt.aoColumns,function(t,e){h(e.nTh).attr("data-column-index",t)})},_fnCursorPosition:function(t,e){return-1!==t.type.indexOf("touch")?t.originalEvent.touches[0][e]:t[e]}}),l.defaults={aiOrder:null,bRealtime:!0,iFixedColumnsLeft:0,iFixedColumnsRight:0,fnReorderCallback:null},l.version="1.4.1",h.fn.dataTable.ColReorder=l,h.fn.DataTable.ColReorder=l,"function"==typeof h.fn.dataTable&&"function"==typeof h.fn.dataTableExt.fnVersionCheck&&h.fn.dataTableExt.fnVersionCheck("1.10.8")?h.fn.dataTableExt.aoFeatures.push({fnInit:function(t){var e=t.oInstance;return t._colReorder?e.oApi._fnLog(t,1,"ColReorder attempted to initialise twice. Ignoring second"):(e=t.oInit,new l(t,e.colReorder||e.oColReorder||{})),null},cFeature:"R",sFeature:"ColReorder"}):alert("Warning: ColReorder requires DataTables 1.10.8 or greater - www.datatables.net/download"),h(a).on("preInit.dt.colReorder",function(t,e){var n,o;"dt"===t.namespace&&(n=e.oInit.colReorder,o=r.defaults.colReorder,(n||o)&&(o=h.extend({},n,o),!1!==n&&new l(e,o)))}),h.fn.dataTable.Api.register("colReorder.reset()",function(){return this.iterator("table",function(t){t._colReorder.fnReset()})}),h.fn.dataTable.Api.register("colReorder.order()",function(e,n){return e?this.iterator("table",function(t){t._colReorder.fnOrder(e,n)}):this.context.length?this.context[0]._colReorder.fnOrder():null}),h.fn.dataTable.Api.register("colReorder.transpose()",function(t,e){return this.context.length&&this.context[0]._colReorder?this.context[0]._colReorder.fnTranspose(t,e):t}),h.fn.dataTable.Api.register("colReorder.move()",function(t,e,n,o){return this.context.length&&this.context[0]._colReorder.s.dt.oInstance.fnColReorder(t,e,n,o),this}),l}),function(n){"function"==typeof define&&define.amd?define("datatables.net-rowreorder",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(b,l,y,t){var r=b.fn.dataTable,a=function(t,e){if(!r.versionCheck||!r.versionCheck("1.10.8"))throw"DataTables RowReorder requires DataTables 1.10.8 or newer";this.c=b.extend(!0,{},r.defaults.rowReorder,a.defaults,e),this.s={bodyTop:null,dt:new r.Api(t),getDataFn:r.ext.oApi._fnGetObjectDataFn(this.c.dataSrc),middles:null,scroll:{},scrollInterval:null,setDataFn:r.ext.oApi._fnSetObjectDataFn(this.c.dataSrc),start:{top:0,left:0,offsetTop:0,offsetLeft:0,nodes:[]},windowHeight:0,documentOuterHeight:0,domCloneOuterHeight:0},this.dom={clone:null,dtScroll:b("div.dataTables_scrollBody",this.s.dt.table().container())};var n=this.s.dt.settings()[0],o=n.rowreorder;if(o)return o;(n.rowreorder=this)._constructor()};b.extend(a.prototype,{_constructor:function(){var o=this,r=this.s.dt,t=b(r.table().node());"static"===t.css("position")&&t.css("position","relative"),b(r.table().container()).on("mousedown.rowReorder touchstart.rowReorder",this.c.selector,function(t){if(o.c.enable){var e=b(this).closest("tr"),n=r.row(e);if(n.any())return o._emitEvent("pre-row-reorder",{node:n.node(),index:n.index()}),o._mouseDown(t,e),!1}}),r.on("destroy.rowReorder",function(){b(r.table().container()).off(".rowReorder"),r.off(".rowReorder")})},_cachePositions:function(){var n=this.s.dt,e=b(n.table().node()).find("thead").outerHeight(),t=b.unique(n.rows({page:"current"}).nodes().toArray()),o=b.map(t,function(t){return b(t).position().top-e}),t=b.map(o,function(t,e){return o.length<e-1?(t+o[e+1])/2:(t+t+b(n.row(":last-child").node()).outerHeight())/2});this.s.middles=t,this.s.bodyTop=b(n.table().body()).offset().top,this.s.windowHeight=b(l).height(),this.s.documentOuterHeight=b(y).outerHeight()},_clone:function(t){var e=b(this.s.dt.table().node().cloneNode(!1)).addClass("dt-rowReorder-float").append("<tbody/>").append(t.clone(!1)),n=t.outerWidth(),o=t.outerHeight(),r=t.children().map(function(){return b(this).width()});e.width(n).height(o).find("tr").children().each(function(t){this.style.width=r[t]+"px"}),e.appendTo("body"),this.dom.clone=e,this.s.domCloneOuterHeight=e.outerHeight()},_clonePosition:function(t){var e=this.s.start,n=this._eventToPage(t,"Y")-e.top,t=this._eventToPage(t,"X")-e.left,o=this.c.snapX,n=n+e.offsetTop,e=!0===o?e.offsetLeft:"number"==typeof o?e.offsetLeft+o:t+e.offsetLeft;n<0?n=0:n+this.s.domCloneOuterHeight>this.s.documentOuterHeight&&(n=this.s.documentOuterHeight-this.s.domCloneOuterHeight),this.dom.clone.css({top:n,left:e})},_emitEvent:function(e,n){this.s.dt.iterator("table",function(t){b(t.
3298nTable).triggerHandler(e+".dt",n)})},_eventToPage:function(t,e){return-1!==t.type.indexOf("touch")?t.originalEvent.touches[0]["page"+e]:t["page"+e]},_mouseDown:function(t,e){var n=this,o=this.s.dt,r=this.s.start,a=e.offset();r.top=this._eventToPage(t,"Y"),r.left=this._eventToPage(t,"X"),r.offsetTop=a.top,r.offsetLeft=a.left,r.nodes=b.unique(o.rows({page:"current"}).nodes().toArray()),this._cachePositions(),this._clone(e),this._clonePosition(t),(this.dom.target=e).addClass("dt-rowReorder-moving"),b(y).on("mouseup.rowReorder touchend.rowReorder",function(t){n._mouseUp(t)}).on("mousemove.rowReorder touchmove.rowReorder",function(t){n._mouseMove(t)}),b(l).width()===b(y).width()&&b(y.body).addClass("dt-rowReorder-noOverflow"),o=this.dom.dtScroll,this.s.scroll={windowHeight:b(l).height(),windowWidth:b(l).width(),dtTop:o.length?o.offset().top:null,dtLeft:o.length?o.offset().left:null,dtHeight:o.length?o.outerHeight():null,dtWidth:o.length?o.outerWidth():null}},_mouseMove:function(t){this._clonePosition(t);for(var e=this._eventToPage(t,"Y")-this.s.bodyTop,n=this.s.middles,o=null,r=this.s.dt,a=r.table().body(),l=0,i=n.length;l<i;l++)if(e<n[l]){o=l;break}null===o&&(o=n.length),null!==this.s.lastInsert&&this.s.lastInsert===o||(0===o?this.dom.target.prependTo(a):(e=b.unique(r.rows({page:"current"}).nodes().toArray()),o>this.s.lastInsert?this.dom.target.insertAfter(e[o-1]):this.dom.target.insertBefore(e[o])),this._cachePositions(),this.s.lastInsert=o),this._shiftScroll(t)},_mouseUp:function(){var e=this,n=this.s.dt,o=this.c.dataSrc;this.dom.clone.remove(),this.dom.clone=null,this.dom.target.removeClass("dt-rowReorder-moving"),b(y).off(".rowReorder"),b(y.body).removeClass("dt-rowReorder-noOverflow"),clearInterval(this.s.scrollInterval),this.s.scrollInterval=null;for(var t,r,a,l=this.s.start.nodes,i=b.unique(n.rows({page:"current"}).nodes().toArray()),s={},d=[],c=[],u=this.s.getDataFn,f=this.s.setDataFn,h=0,p=l.length;h<p;h++){l[h]!==i[h]&&(t=n.row(i[h]).id(),r=n.row(i[h]).data(),a=n.row(l[h]).data(),t&&(s[t]=u(a)),d.push({node:i[h],oldData:u(r),newData:u(a),newPosition:h,oldPosition:b.inArray(i[h],l)}),c.push(i[h]))}var m=[d,{dataSrc:o,nodes:c,values:s,triggerRow:n.row(this.dom.target)}];this._emitEvent("row-reorder",m);function g(){if(e.c.update){for(h=0,p=d.length;h<p;h++){var t=n.row(d[h].node).data();f(t,d[h].newData),n.columns().every(function(){this.dataSrc()===o&&n.cell(d[h].node,this.index()).invalidate("data")})}e._emitEvent("row-reordered",m),n.draw(!1)}}this.c.editor?(this.c.enable=!1,this.c.editor.edit(c,!1,b.extend({submit:"changed"},this.c.formOptions)).multiSet(o,s).one("submitUnsuccessful.rowReorder",function(){n.draw(!1)}).one("submitSuccess.rowReorder",function(){g()}).one("submitComplete",function(){e.c.enable=!0,e.c.editor.off(".rowReorder")}).submit()):g()},_shiftScroll:function(t){var e,n,o=this,r=this.s.scroll,a=!1,l=t.pageY-y.body.scrollTop;l<65?e=-5:l>r.windowHeight-65&&(e=5),null!==r.dtTop&&t.pageY<r.dtTop+65?n=-5:null!==r.dtTop&&t.pageY>r.dtTop+r.dtHeight-65&&(n=5),e||n?(r.windowVert=e,r.dtVert=n,a=!0):this.s.scrollInterval&&(clearInterval(this.s.scrollInterval),this.s.scrollInterval=null),!this.s.scrollInterval&&a&&(this.s.scrollInterval=setInterval(function(){var t;r.windowVert&&(y.body.scrollTop=y.body.scrollTop+r.windowVert),r.dtVert&&(t=o.dom.dtScroll[0],r.dtVert&&(t.scrollTop=t.scrollTop+r.dtVert))},20))}}),a.defaults={dataSrc:0,editor:null,enable:!0,formOptions:{},selector:"td:first-child",snapX:!1,update:!0};var e=b.fn.dataTable.Api;return e.register("rowReorder()",function(){return this}),e.register("rowReorder.enable()",function(e){return e===t&&(e=!0),this.iterator("table",function(t){t.rowreorder&&(t.rowreorder.c.enable=e)})}),e.register("rowReorder.disable()",function(){return this.iterator("table",function(t){t.rowreorder&&(t.rowreorder.c.enable=!1)})}),a.version="1.2.3",b.fn.dataTable.RowReorder=a,b.fn.DataTable.RowReorder=a,b(y).on("init.dt.dtr",function(t,e){var n,o;"dt"===t.namespace&&(n=e.oInit.rowReorder,o=r.defaults.rowReorder,(n||o)&&(o=b.extend({},n,o),!1!==n&&new a(e,o)))}),a}),function(n){"function"==typeof define&&define.amd?define("datatables.net-fixedcolumns",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(g,i,s,b){var e,r=g.fn.dataTable,d=function(t,e){var n=this;
3298if(this instanceof d){e!==b&&!0!==e||(e={});var o=g.fn.dataTable.camelToHungarian;if(o&&(o(d.defaults,d.defaults,!0),o(d.defaults,e)),o=new g.fn.dataTable.Api(t).settings()[0],this.s={dt:o,iTableColumns:o.aoColumns.length,aiOuterWidths:[],aiInnerWidths:[],rtl:"rtl"===g(o.nTable).css("direction")},this.dom={scroller:null,header:null,body:null,footer:null,grid:{wrapper:null,dt:null,left:{wrapper:null,head:null,body:null,foot:null},right:{wrapper:null,head:null,body:null,foot:null}},clone:{left:{header:null,body:null,footer:null},right:{header:null,body:null,footer:null}}},o._oFixedColumns)throw"FixedColumns already initialised on this table";o._oFixedColumns=this,o._bInitComplete?this._fnConstruct(e):o.oApi._fnCallbackReg(o,"aoInitComplete",function(){n._fnConstruct(e)},"FixedColumns")}else alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.")};return g.extend(d.prototype,{fnUpdate:function(){this._fnDraw(!0)},fnRedrawLayout:function(){this._fnColCalc(),this._fnGridLayout(),this.fnUpdate()},fnRecalculateHeight:function(t){delete t._DTTC_iHeight,t.style.height="auto"},fnSetRowHeight:function(t,e){t.style.height=e+"px"},fnGetPosition:function(t){var e=this.s.dt.oInstance;if(g(t).parents(".DTFC_Cloned").length){if("tr"===t.nodeName.toLowerCase())return t=g(t).index(),e.fnGetPosition(g("tr",this.s.dt.nTBody)[t]);var n=g(t).index(),t=g(t.parentNode).index();return[e.fnGetPosition(g("tr",this.s.dt.nTBody)[t]),n,e.oApi._fnVisibleToColumnIndex(this.s.dt,n)]}return e.fnGetPosition(t)},_fnConstruct:function(t){var e,n,o,r,a,l=this;"function"!=typeof this.s.dt.oInstance.fnVersionCheck||!0!==this.s.dt.oInstance.fnVersionCheck("1.8.0")?alert("FixedColumns "+d.VERSION+" required DataTables 1.8.0 or later. Please upgrade your DataTables installation"):""===this.s.dt.oScroll.sX?this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled"):(this.s=g.extend(!0,this.s,d.defaults,t),t=this.s.dt.oClasses,this.dom.grid.dt=g(this.s.dt.nTable).parents("div."+t.sScrollWrapper)[0],this.dom.scroller=g("div."+t.sScrollBody,this.dom.grid.dt)[0],this._fnColCalc(),this._fnGridSetup(),n=!1,g(this.s.dt.nTableWrapper).on("mousedown.DTFC",function(){n=!0,g(s).one("mouseup",function(){n=!1})}),g(this.dom.scroller).on("mouseover.DTFC touchstart.DTFC",function(){n||(e="main")}).on("scroll.DTFC",function(t){!e&&t.originalEvent&&(e="main"),"main"===e&&(0<l.s.iLeftColumns&&(l.dom.grid.left.liner.scrollTop=l.dom.scroller.scrollTop),0<l.s.iRightColumns)&&(l.dom.grid.right.liner.scrollTop=l.dom.scroller.scrollTop)}),o="onwheel"in s.createElement("div")?"wheel.DTFC":"mousewheel.DTFC",0<l.s.iLeftColumns&&g(l.dom.grid.left.liner).on("mouseover.DTFC touchstart.DTFC",function(){n||(e="left")}).on("scroll.DTFC",function(t){!e&&t.originalEvent&&(e="left"),"left"===e&&(l.dom.scroller.scrollTop=l.dom.grid.left.liner.scrollTop,0<l.s.iRightColumns&&(l.dom.grid.right.liner.scrollTop=l.dom.grid.left.liner.scrollTop))}).on(o,function(t){l.dom.scroller.scrollLeft-="wheel"===t.type?-t.originalEvent.deltaX:t.originalEvent.wheelDeltaX}),0<l.s.iRightColumns&&g(l.dom.grid.right.liner).on("mouseover.DTFC touchstart.DTFC",function(){n||(e="right")}).on("scroll.DTFC",function(t){!e&&t.originalEvent&&(e="right"),"right"===e&&(l.dom.scroller.scrollTop=l.dom.grid.right.liner.scrollTop,0<l.s.iLeftColumns&&(l.dom.grid.left.liner.scrollTop=l.dom.grid.right.liner.scrollTop))}).on(o,function(t){l.dom.scroller.scrollLeft-="wheel"===t.type?-t.originalEvent.deltaX:t.originalEvent.wheelDeltaX}),g(i).on("resize.DTFC",function(){l._fnGridLayout.call(l)}),r=!0,(a=g(this.s.dt.nTable)).on("draw.dt.DTFC",function(){l._fnColCalc(),l._fnDraw.call(l,r),r=!1}).on("column-sizing.dt.DTFC",function(){l._fnColCalc(),l._fnGridLayout(l)}).on("column-visibility.dt.DTFC",function(t,e,n,o,r){r!==b&&!r||(l._fnColCalc(),l._fnGridLayout(l),l._fnDraw(!0))}).on("select.dt.DTFC deselect.dt.DTFC",function(t){"dt"===t.namespace&&l._fnDraw(!1)}).on("destroy.dt.DTFC",function(){a.off(".DTFC"),g(l.dom.scroller).off(".DTFC"),g(i).off(".DTFC"),g(l.s.dt.nTableWrapper).off(".DTFC"),g(l.dom.grid.left.liner).off(".DTFC "+o),g(l.dom.grid.left.wrapper).remove(),g(l.dom.grid.right.liner).off(".DTFC "+o),g(l.dom.grid.right.wrapper).remove()}),this._fnGridLayout(),this.s.dt.oInstance.fnDraw(!1))},_fnColCalc:function(){var a=this,l=0,i=0;this.s.aiInnerWidths=[],this.s.aiOuterWidths=[],g.each(this.s.dt.aoColumns,function(t,e){var n,o,r=g(e.nTh);r.filter(":visible").length?(o=r.outerWidth(),0===a.s.aiOuterWidths.length&&(o+="str
3298ing"==typeof(n=g(a.s.dt.nTable).css("border-left-width"))?1:parseInt(n,10)),a.s.aiOuterWidths.length===a.s.dt.aoColumns.length-1&&(o+="string"==typeof(n=g(a.s.dt.nTable).css("border-right-width"))?1:parseInt(n,10)),a.s.aiOuterWidths.push(o),a.s.aiInnerWidths.push(r.width()),t<a.s.iLeftColumns&&(l+=o),a.s.iTableColumns-a.s.iRightColumns<=t&&(i+=o)):(a.s.aiInnerWidths.push(0),a.s.aiOuterWidths.push(0))}),this.s.iLeftWidth=l,this.s.iRightWidth=i},_fnGridSetup:function(){var t,e=this._fnDTOverflow();this.dom.body=this.s.dt.nTable,this.dom.header=this.s.dt.nTHead.parentNode,this.dom.header.parentNode.parentNode.style.position="relative";var n=g('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_LeftBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; right:0;"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightHeadBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_RightBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightFootBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div></div></div>')[0],o=n.childNodes[0],r=n.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(n,this.dom.grid.dt),n.appendChild(this.dom.grid.dt),this.dom.grid.wrapper=n,0<this.s.iLeftColumns&&(this.dom.grid.left.wrapper=o,this.dom.grid.left.head=o.childNodes[0],this.dom.grid.left.body=o.childNodes[1],this.dom.grid.left.liner=g("div.DTFC_LeftBodyLiner",n)[0],n.appendChild(o)),0<this.s.iRightColumns&&(this.dom.grid.right.wrapper=r,this.dom.grid.right.head=r.childNodes[0],this.dom.grid.right.body=r.childNodes[1],this.dom.grid.right.liner=g("div.DTFC_RightBodyLiner",n)[0],r.style.right=e.bar+"px",(t=g("div.DTFC_RightHeadBlocker",n)[0]).style.width=e.bar+"px",t.style.right=-e.bar+"px",this.dom.grid.right.headBlock=t,(t=g("div.DTFC_RightFootBlocker",n)[0]).style.width=e.bar+"px",t.style.right=-e.bar+"px",this.dom.grid.right.footBlock=t,n.appendChild(r)),this.s.dt.nTFoot&&(this.dom.footer=this.s.dt.nTFoot.parentNode,0<this.s.iLeftColumns&&(this.dom.grid.left.foot=o.childNodes[2]),0<this.s.iRightColumns)&&(this.dom.grid.right.foot=r.childNodes[2]),this.s.rtl&&g("div.DTFC_RightHeadBlocker",n).css({left:-e.bar+"px",right:""})},_fnGridLayout:function(){var n=this,t=this.dom.grid;g(t.wrapper).width();function e(t,e){a.bar?(!n._firefoxScrollError()||34<g(t).height())&&(t.style.width=e+a.bar+"px"):(t.style.width=e+20+"px",t.style.paddingRight="20px",t.style.boxSizing="border-box")}var o=g(this.s.dt.nTable.parentNode).outerHeight(),r=g(this.s.dt.nTable.parentNode.parentNode).outerHeight(),a=this._fnDTOverflow(),l=this.s.iLeftWidth,i=this.s.iRightWidth,s="rtl"===g(this.dom.body).css("direction");a.x&&(o-=a.bar),t.wrapper.style.height=r+"px",0<this.s.iLeftColumns&&((r=t.left.wrapper).style.width=l+"px",r.style.height="1px",s?(r.style.left="",r.style.right=0):(r.style.left=0,r.style.right=""),t.left.body.style.height=o+"px",t.left.foot&&(t.left.foot.style.top=(a.x?a.bar:0)+"px"),e(t.left.liner,l),t.left.liner.style.height=o+"px",t.left.liner.style.maxHeight=o+"px"),0<this.s.iRightColumns&&((r=t.right.wrapper).style.width=i+"px",r.style.height="1px",this.s.rtl?(r.style.left=a.y?a.bar+"px":0,r.style.right=""):(r.style.left="",r.style.right=a.y?a.bar+"px":0),t.right.body.style.height=o+"px",t.right.foot&&(t.right.foot.style.top=(a.x?a.bar:0)+"px"),e(t.right.liner,i),t.right.liner.style.height=o+"px",t.right.liner.style.maxHeight=o+"px",t.right.headBlock.style.display=a.y?"block":"none",t.right.footBlock.style.display=a.y?"block":"none")},_fnDTOverflow:function(){var t=this.s.dt.nTable,e=t.parentNode,n={x:!1,y:!1,bar:this.s.dt.oScroll.iBarWidth};return t.offsetWidth>e.clientWidth&&(n.x=!0),t.offsetHeight>e.clientHeight&&(n.y=!0),n},_fnDraw:function(t){this._fnGridLayout(),this._fnCloneLeft(t),this._fnCloneRight(t),null!==this.s.fnDrawCallback&&this.s.fnDrawCallback.call(this,this.dom.clone.left,this.dom.clone.right),g(this).trigger("draw.dtfc",{leftClone:this.dom.clone.left,rightClone:this.dom.clone.right})},_fnCloneRight:function(t){if(!(this.s.iRightColumns<=0)){for(var e=[],n=this.s.iTableColumns-this.s.iRightColumns;n<this.s.iTableColumns;n++)this.s.dt.aoColumns[n].bVisible&&e.push(n);this._fnClone(this.dom.clone.right,this.dom.grid.right,e,t)}},_fnCloneLeft:function(t){if(!(this.s.iLeftColumns<=0)){for(var e=[],n=0;n<this.s.iLeftColumns;n++)this.s.dt.aoColumns[n].bVisible&&e.push(n);this._fnClone(this.dom.clone.left,this.dom.grid.left,e,t)}},_fnCopyLayout:function(t,e,n){for(var o=[],r=[],a=[],l=0,i=t.length;l<i;l++){var s=[];s.nTr=g(t[l].nTr).clone(n,!1)[0];for(var d,c=0,u=this.s.iTableColumns;c<u;c++){-1!==g.inArray(c,e)&&(-1===(d=g.inArray(t[l][c].cell,a))?(d=g(t[l][c].cell).clone(n,!1)[0],r.push(d),a.push(t[l][c].cell),s.push({cell:d,unique:t[l][c].unique})):s.push({cell:r[d],unique:t[l][c].unique}))}o.push(s)}return o}
3298,_fnClone:function(t,e,o,n){var r,a,l,i,s,d,c,u,f,h=this,p=this.s.dt;if(n){for(g(t.header).remove(),t.header=g(this.dom.header).clone(!0,!1)[0],t.header.className+=" DTFC_Cloned",t.header.style.width="100%",e.head.appendChild(t.header),u=this._fnCopyLayout(p.aoHeader,o,!0),(i=g(">thead",t.header)).empty(),r=0,a=u.length;r<a;r++)i[0].appendChild(u[r].nTr);p.oApi._fnDrawHead(p,u,!0)}else for(u=this._fnCopyLayout(p.aoHeader,o,!1),f=[],p.oApi._fnDetectHeader(f,g(">thead",t.header)[0]),r=0,a=u.length;r<a;r++)for(l=0,i=u[r].length;l<i;l++)f[r][l].cell.className=u[r][l].cell.className,g("span.DataTables_sort_icon",f[r][l].cell).each(function(){this.className=g("span.DataTables_sort_icon",u[r][l].cell)[0].className});this._fnEqualiseHeights("thead",this.dom.header,t.header),"auto"==this.s.sHeightMatch&&g(">tbody>tr",h.dom.body).css("height","auto"),null!==t.body&&(g(t.body).remove(),t.body=null),t.body=g(this.dom.body).clone(!0)[0],t.body.className+=" DTFC_Cloned",t.body.style.paddingBottom=p.oScroll.iBarWidth+"px",t.body.style.marginBottom=2*p.oScroll.iBarWidth+"px",null!==t.body.getAttribute("id")&&t.body.removeAttribute("id"),g(">thead>tr",t.body).empty(),g(">tfoot",t.body).remove();var m=g("tbody",t.body)[0];if(g(m).empty(),0<p.aiDisplay.length){for(a=g(">thead>tr",t.body)[0],c=0;c<o.length;c++)s=o[c],(d=g(p.aoColumns[s].nTh).clone(!0)[0]).innerHTML="",(i=d.style).paddingTop="0",i.paddingBottom="0",i.borderTopWidth="0",i.borderBottomWidth="0",i.height=0,i.width=h.s.aiInnerWidths[s]+"px",a.appendChild(d);g(">tbody>tr",h.dom.body).each(function(t){var t=!1===h.s.dt.oFeatures.bServerSide?h.s.dt.aiDisplay[h.s.dt._iDisplayStart+t]:t,e=h.s.dt.aoData[t].anCells||g(this).children("td, th"),n=this.cloneNode(!1);for(n.removeAttribute("id"),n.setAttribute("data-dt-row",t),c=0;c<o.length;c++)s=o[c],0<e.length&&((d=g(e[s]).clone(!0,!0)[0]).removeAttribute("id"),d.setAttribute("data-dt-row",t),d.setAttribute("data-dt-column",p.oApi._fnVisibleToColumnIndex(p,s)),n.appendChild(d));m.appendChild(n)})}else g(">tbody>tr",h.dom.body).each(function(){(d=this.cloneNode(!0)).className=d.className+" DTFC_NoData",g("td",d).html(""),m.appendChild(d)});if(t.body.style.width="100%",t.body.style.margin="0",t.body.style.padding="0",p.oScroller!==b&&(a=p.oScroller.dom.force,e.forcer?e.forcer.style.height=a.style.height:(e.forcer=a.cloneNode(!0),e.liner.appendChild(e.forcer))),e.liner.appendChild(t.body),this._fnEqualiseHeights("tbody",h.dom.body,t.body),null!==p.nTFoot){if(n){for(null!==t.footer&&t.footer.parentNode.removeChild(t.footer),t.footer=g(this.dom.footer).clone(!0,!0)[0],t.footer.className+=" DTFC_Cloned",t.footer.style.width="100%",e.foot.appendChild(t.footer),u=this._fnCopyLayout(p.aoFooter,o,!0),(e=g(">tfoot",t.footer)).empty(),r=0,a=u.length;r<a;r++)e[0].appendChild(u[r].nTr);p.oApi._fnDrawHead(p,u,!0)}else for(u=this._fnCopyLayout(p.aoFooter,o,!1),e=[],p.oApi._fnDetectHeader(e,g(">tfoot",t.footer)[0]),r=0,a=u.length;r<a;r++)for(l=0,i=u[r].length;l<i;l++)e[r][l].cell.className=u[r][l].cell.className;this._fnEqualiseHeights("tfoot",this.dom.footer,t.footer)}e=p.oApi._fnGetUniqueThs(p,g(">thead",t.header)[0]),g(e).each(function(t){s=o[t],this.style.width=h.s.aiInnerWidths[s]+"px"}),null!==h.s.dt.nTFoot&&(e=p.oApi._fnGetUniqueThs(p,g(">tfoot",t.footer)[0]),g(e).each(function(t){s=o[t],this.style.width=h.s.aiInnerWidths[s]+"px"}))},_fnGetTrNodes:function(t){for(var e=[],n=0,o=t.childNodes.length;n<o;n++)"TR"==t.childNodes[n].nodeName.toUpperCase()&&e.push(t.childNodes[n]);return e},_fnEqualiseHeights:function(t,e,n){if("none"!=this.s.sHeightMatch||"thead"===t||"tfoot"===t){var o,r,a=e.getElementsByTagName(t)[0],n=n.getElementsByTagName(t)[0];(t=g(">"+t+">tr:eq(0)",e).children(":first")).outerHeight(),t.height();for(var a=this._fnGetTrNodes(a),e=this._fnGetTrNodes(n),l=[],n=0,t=e.length;n<t;n++)o=(o=a[n].offsetHeight)<(r=e[n].offsetHeight)?r:o,"semiauto"==this.s.sHeightMatch&&(a[n]._DTTC_iHeight=o),l.push(o);for(n=0,t=e.length;n<t;n++)e[n].style.height=l[n]+"px",a[n].style.height=l[n]+"px"}},_firefoxScrollError:function(){var t;return e===b&&(t=g("<div/>").css({position:"absolute",top:0,left:0,height:10,width:50,overflow:"scroll"}).appendTo("body"),e=t[0].clientWidth===t[0].offsetWidth&&0!==this._fnDTOverflow().bar,t.remove()),e}}),d.defaults={iLeftColumns:1,iRightColumns:0,fnDrawCallback:null,sHeightMatch:"semiauto"},d.version="3.2.3",r.Api.register("fixedColumns()",function(){return this}),r.Api.register("fixedColumns().update()",function(){return this.iterator("table",function(t){t._oFixedColumns&&t._oFixedColumns.fnUpdate()})}),r.Api.register("fixedColumns().relayout()",function(){return this.iterator("table",function(t){t._oFixedColumns&&t._oFixedColumns.fnRedrawLayout()})}),r.Api.register("rows().recalcHeight()",function(){return this.iterator("row",function(t,e){t._oFixedColumns&&t._oFixedColumns.fnRecalculateHeight(this.row(e).node())})}),r.Api.register("fixedColumns().rowIndex()",function(t){return(t=g(t)).parents(".DTFC_Cloned").length?this.rows({page:"current"}).indexes()[t.index()]:this.row(t).index()}),r.Api.register("fixedColumns().cellIndex()",function(t){if((t=g(t)).parents(".DTFC_Cloned").length){var e=t.parent().index(),e=this.rows({page:"current"}).indexes()[e],t=t.parents(".DTFC_LeftWrapper").length?t.index():this.columns().flatten().length-this.context[0]._oFixedColumns.s.iRightColumns+t.index();return{row:e,column:this.column.index("toData",t),columnVisible:t}}return this.cell(t).index()}),g(s).on("init.dt.fixedColumns",function(t,e){var n,o;"dt"===t.namespace&&(n=e.oInit.fixedColumns,o=r.defaults.fixedColumns,(n||o)&&(o=g.extend({}
3298,n,o),!1!==n&&new d(e,o)))}),g.fn.dataTable.FixedColumns=d,g.fn.DataTable.FixedColumns=d}),function(n){"function"==typeof define&&define.amd?define("datatables.net-fixedheader",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(l,o,i,r){var a=l.fn.dataTable,s=0,d=function(t,e){if(!(this instanceof d))throw"FixedHeader must be initialised with the 'new' keyword.";!0===e&&(e={}),t=new a.Api(t),this.c=l.extend(!0,{},d.defaults,e),this.s={dt:t,position:{theadTop:0,tbodyTop:0,tfootTop:0,tfootBottom:0,width:0,left:0,tfootHeight:0,theadHeight:0,windowHeight:l(o).height(),visible:!0},headerMode:null,footerMode:null,autoWidth:t.settings()[0].oFeatures.bAutoWidth,namespace:".dtfc"+s++,scrollLeft:{header:-1,footer:-1},enable:!0},this.dom={floatingHeader:null,thead:l(t.table().header()),tbody:l(t.table().body()),tfoot:l(t.table().footer()),header:{host:null,floating:null,placeholder:null},footer:{host:null,floating:null,placeholder:null}},this.dom.header.host=this.dom.thead.parent(),this.dom.footer.host=this.dom.tfoot.parent();var n=t.settings()[0];if(n._fixedHeader)throw"FixedHeader already initialised on table "+n.nTable.id;(n._fixedHeader=this)._constructor()};return l.extend(d.prototype,{enable:function(t){this.s.enable=t,this.c.header&&this._modeChange("in-place","header",!0),this.c.footer&&this.dom.tfoot.length&&this._modeChange("in-place","footer",!0),this.update()},headerOffset:function(t){return t!==r&&(this.c.headerOffset=t,this.update()),this.c.headerOffset},footerOffset:function(t){return t!==r&&(this.c.footerOffset=t,this.update()),this.c.footerOffset},update:function(){this._positions(),this._scroll(!0)},_constructor:function(){var t=this,e=this.s.dt;l(o).on("scroll"+this.s.namespace,function(){t._scroll()}).on("resize"+this.s.namespace,function(){t.s.position.windowHeight=l(o).height(),t.update()});var n=l(".fh-fixedHeader");!this.c.headerOffset&&n.length&&(this.c.headerOffset=n.outerHeight()),n=l(".fh-fixedFooter"),!this.c.footerOffset&&n.length&&(this.c.footerOffset=n.outerHeight()),e.on("column-reorder.dt.dtfc column-visibility.dt.dtfc draw.dt.dtfc column-sizing.dt.dtfc",function(){t.update()}),e.on("destroy.dtfc",function(){e.off(".dtfc"),l(o).off(t.s.namespace)}),this._positions(),this._scroll()},_clone:function(t,e){var n=this.s.dt,o=this.dom[t],r="header"===t?this.dom.thead:this.dom.tfoot;!e&&o.floating?o.floating.removeClass("fixedHeader-floating fixedHeader-locked"):(o.floating&&(o.placeholder.remove(),this._unsize(t),o.floating.children().detach(),o.floating.remove()),o.floating=l(n.table().node().cloneNode(!1)).css("table-layout","fixed").removeAttr("id").append(r).appendTo("body"),o.placeholder=r.clone(!1),o.placeholder.find("*[id]").removeAttr("id"),o.host.prepend(o.placeholder),this._matchWidths(o.placeholder,o.floating))},_matchWidths:function(e,n){function t(t,e){l(t,n).each(function(t){l(this).css({width:e[t],minWidth:e[t]})})}var o=(r=function(t){return l(t,e).map(function(){return l(this).width()}).toArray()})("th"),r=r("td");t("th",o),t("td",r)},_unsize:function(t){var e=this.dom[t].floating;e&&("footer"===t||"header"===t&&!this.s.autoWidth)?l("th, td",e).css({width:"",minWidth:""}):e&&"header"===t&&l("th, td",e).css("min-width","")},_horizontal:function(t,e){var n=this.dom[t],o=this.s.position,r=this.s.scrollLeft;n.floating&&r[t]!==e&&(n.floating.css("left",o.left-e),r[t]=e)},_modeChange:function(t,e,n){var o=this.dom[e],r=this.s.position,a=l.contains(this.dom["footer"===e?"tfoot":"thead"][0],i.activeElement)?i.activeElement:null;"in-place"===t?(o.placeholder&&(o.placeholder.remove(),o.placeholder=null),this._unsize(e),"header"===e?o.host.prepend(this.dom.thead):o.host.append(this.dom.tfoot),o.floating&&(o.floating.remove(),o.floating=null)):"in"===t?(this._clone(e,n),o.floating.addClass("fixedHeader-floating").css("header"===e?"top":"bottom",this.c[e+"Offset"]).css("left",r.left+"px").css("width",r.width+"px"),"footer"===e&&o.floating.css("top","")):"below"===t?(this._clone(e,n),o.floating.addClass("fixedHeader-locked").css("top",r.tfootTop-r.theadHeight).css("left",r.left+"px").css("width",r.width+"px")):"above"===t&&(this._clone(e,n),o.floating.addClass("fixedHeader-locked").css("top",r.tbodyTop).css("left",r.left+"px").css("width",r.width+"px")),a&&a!==i.activeElement&&a.focus(),this.s.scrollLeft.header=-1,this.s.scrollLeft.footer=-1,this.s[e+"Mode"]=t},_positions:function(){var t=this.s.dt.table(),e=this.s.position,n=this.dom,o=(t=l(t.node())).children("thead"),r=t.children("tfoot"),n=n.tbody;e.visible=t.is(":visible"),e.width=t.outerWidth(),e.left=t.offset().left,e.theadTop=o.offset().top,e.tbodyTop=n.offset().top,e.theadHeight=e.tbodyTop-e.theadTop,r.length?(e.tfootTop=r.offset().top,e.tfootBottom=e.tfootTop+r.outerHeight(),e.tfootHeight=e.tfootBottom-e.tfootTop):(e.tfootTop=e.tbodyTop+n.outerHeight(),e.tfootBottom=e.tfootTop,e.tfootHeight=e.tfootTop)},_scroll:function(t){var e,n=l(i).scrollTop(),o=l(i).scrollLeft(),r=this.s.position;this.s.enable&&(this.c.header&&(e=!r.visible||n<=r.theadTop-this.c.headerOffset?"in-
3298place":n<=r.tfootTop-r.theadHeight-this.c.headerOffset?"in":"below",!t&&e===this.s.headerMode||this._modeChange(e,"header",t),this._horizontal("header",o)),this.c.footer&&this.dom.tfoot.length)&&(n=!r.visible||n+r.windowHeight>=r.tfootBottom+this.c.footerOffset?"in-place":r.windowHeight+n>r.tbodyTop+r.tfootHeight+this.c.footerOffset?"in":"above",!t&&n===this.s.footerMode||this._modeChange(n,"footer",t),this._horizontal("footer",o))}}),d.version="3.1.3",d.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0},l.fn.dataTable.FixedHeader=d,l.fn.DataTable.FixedHeader=d,l(i).on("init.dt.dtfh",function(t,e){var n,o;"dt"===t.namespace&&(n=e.oInit.fixedHeader,o=a.defaults.fixedHeader,!n&&!o||e._fixedHeader||(o=l.extend({},o,n),!1!==n&&new d(e,o)))}),a.Api.register("fixedHeader()",function(){}),a.Api.register("fixedHeader.adjust()",function(){return this.iterator("table",function(t){(t=t._fixedHeader)&&t.update()})}),a.Api.register("fixedHeader.enable()",function(e){return this.iterator("table",function(t){t=t._fixedHeader,e=e===r||e,t&&e!==t.s.enable&&t.enable(e)})}),a.Api.register("fixedHeader.disable()",function(){return this.iterator("table",function(t){(t=t._fixedHeader)&&t.s.enable&&t.enable(!1)})}),l.each(["header","footer"],function(t,n){a.Api.register("fixedHeader."+n+"Offset()",function(e){var t=this.context;return e===r?t.length&&t[0]._fixedHeader?t[0]._fixedHeader[n+"Offset"]():r:this.iterator("table",function(t){(t=t._fixedHeader)&&t[n+"Offset"](e)})})}),d}),function(n){"function"==typeof define&&define.amd?define("datatables.net-select",["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(c,l,t,u){function i(a,t,e){function n(e,n){var t,o=a.rows({search:"applied"}).indexes();o.indexOf(e)>o.indexOf(n)&&(t=n,n=e,e=t);var r=!1;return o.filter(function(t){return t===e&&(r=!0),t===n?!(r=!1):r})}var o=function(e,n){var t;n<e&&(t=n,n=e,e=t);var o=!1;return a.columns(":visible").indexes().filter(function(t){return t===e&&(o=!0),t===n?!(o=!1):o})};e=a.cells({selected:!0}).any()||e?(o=o(e.column,t.column),n(e.row,t.row)):(o=o(0,t.column),n(0,t.row)),e=a.cells(e,o).flatten(),a.cells(t,{selected:!0}).any()?a.cells(e).deselect():a.cells(e).select()}function r(t){var e=t.settings()[0]._select.selector;c(t.table().container()).off("mousedown.dtSelect",e).off("mouseup.dtSelect",e).off("click.dtSelect",e),c("body").off("click.dtSelect"+t.table().node().id)}function a(a){var e=c(a.table().container()),n=a.settings()[0],o=n._select.selector;e.on("mousedown.dtSelect",o,function(t){(t.shiftKey||t.metaKey||t.ctrlKey)&&e.css("-moz-user-select","none").one("selectstart.dtSelect",o,function(){return!1})}).on("mouseup.dtSelect",o,function(){e.css("-moz-user-select","")}).on("click.dtSelect",o,function(t){var e,n,o,r=a.select.items();l.getSelection&&c.trim(l.getSelection().toString())||(e=a.settings()[0],c(t.target).closest("div.dataTables_wrapper")[0]!=a.table().container()||(n=a.cell(c(t.target).closest("td, th"))).any()&&(o=c.Event("user-select.dt"),s(a,o,[r,n,t]),o.isDefaultPrevented()||(o=n.index(),"row"===r?(r=o.row,p(t,a,e,"row",r)):"column"===r?(r=n.index().column,p(t,a,e,"column",r)):"cell"===r&&(r=n.index(),p(t,a,e,"cell",r)),e._select_lastCell=o)))}),c("body").on("click.dtSelect"+a.table().node().id,function(t){!n._select.blurable||c(t.target).parents().filter(a.table().container()).length||0===c(t.target).parents("html").length||c(t.target).parents("div.DTE").length||h(n,!0)})}function s(t,e,n,o){o&&!t.flatten().length||("string"==typeof e&&(e+=".dt"),n.unshift(t),c(t.table().node()).trigger(e,n))}function d(o){var r,a,l,i,t=o.settings()[0];t._select.info&&t.aanFeatures.i&&"api"!==o.select.style()&&(r=o.rows({selected:!0}).flatten().length,a=o.columns({selected:!0}).flatten().length,l=o.cells({selected:!0}).flatten().length,i=function(t,e,n){t.append(c('<span class="select-item"/>').append(o.i18n("select."+e+"s",{_:"%d "+e+"s selected",0:"",1:"1 "+e+" selected"},n)))}
3298,c.each(t.aanFeatures.i,function(t,e){var e=c(e),n=c('<span class="select-info"/>');i(n,"row",r),i(n,"column",a),i(n,"cell",l);var o=e.children("span.select-info");o.length&&o.remove(),""!==n.text()&&e.append(n)}))}function f(t,e,n,o){var r,a=t[e+"s"]({search:"applied"}).indexes(),o=c.inArray(o,a),l=c.inArray(n,a);t[e+"s"]({selected:!0}).any()||-1!==o?(l<o&&(r=l,l=o,o=r),a.splice(l+1,a.length),a.splice(0,o)):a.splice(c.inArray(n,a)+1,a.length),t[e](n,{selected:!0}).any()?(a.splice(c.inArray(n,a),1),t[e+"s"](a).deselect()):t[e+"s"](a).select()}function h(t,e){var n;!e&&"single"!==t._select.style||((n=new g.Api(t)).rows({selected:!0}).deselect(),n.columns({selected:!0}).deselect(),n.cells({selected:!0}).deselect())}function p(t,e,n,o,r){var a=e.select.style(),l=e[o](r,{selected:!0}).any();"os"===a?t.ctrlKey||t.metaKey?e[o](r).select(!l):t.shiftKey?"cell"===o?i(e,r,n._select_lastCell||null):f(e,o,r,n._select_lastCell?n._select_lastCell[o]:null):(t=e[o+"s"]({selected:!0}),l&&1===t.flatten().length?e[o](r).deselect():(t.deselect(),e[o](r).select())):"multi+shift"==a&&t.shiftKey?"cell"===o?i(e,r,n._select_lastCell||null):f(e,o,r,n._select_lastCell?n._select_lastCell[o]:null):e[o](r).select(!l)}function n(e,n){return function(t){return t.i18n("buttons."+e,n)}}function m(t){return"draw.dt.DT"+(t=t._eventNamespace)+" select.dt.DT"+t+" deselect.dt.DT"+t}var g=c.fn.dataTable;g.select={},g.select.version="1.2.3",g.select.init=function(t){var e=t.settings()[0],n=e.oInit.select,o=g.defaults.select,n=n===u?o:n,o="row",r="api",a=!1,l=!0,i="td, th",s="selected",d=!1;e._select={},!0===n?(r="os",d=!0):"string"==typeof n?(r=n,d=!0):c.isPlainObject(n)&&(n.blurable!==u&&(a=n.blurable),n.info!==u&&(l=n.info),n.items!==u&&(o=n.items),n.style!==u&&(r=n.style,d=!0),n.selector!==u&&(i=n.selector),n.className!==u)&&(s=n.className),t.select.selector(i),t.select.items(o),t.select.style(r),t.select.blurable(a),t.select.info(l),e._select.className=s,c.fn.dataTable.ext.order["select-checkbox"]=function(e,t){return this.api().column(t,{order:"index"}).nodes().map(function(t){return"row"===e._select.items?c(t).parent().hasClass(e._select.className):"cell"===e._select.items&&c(t).hasClass(e._select.className)})},!d&&c(t.table().node()).hasClass("selectable")&&t.select.style("os")},c.each([{type:"row",prop:"aoData"},{type:"column",prop:"aoColumns"}],function(t,i){g.ext.selector[i.type].push(function(t,e,n){var o,r=[];if((e=e.selected)===u)return n;for(var a=0,l=n.length;a<l;a++)o=t[i.prop][n[a]],(!0===e&&!0===o._select_selected||!1===e&&!o._select_selected)&&r.push(n[a]);return r})}),g.ext.selector.cell.push(function(t,e,n){var o,r=[];if((e=e.selected)===u)return n;for(var a=0,l=n.length;a<l;a++)o=t.aoData[n[a].row],(!0!==e||!o._selected_cells||!0!==o._selected_cells[n[a].column])&&(!1!==e||o._selected_cells&&o._selected_cells[n[a].column])||r.push(n[a]);return r});var e=g.Api.register,o=g.Api.registerPlural;e("select()",function(){return this.iterator("table",function(t){g.select.init(new g.Api(t))})}),e("select.blurable()",function(e){return e===u?this.context[0]._select.blurable:this.iterator("table",function(t){t._select.blurable=e})}),e("select.info()",function(e){return d===u?this.context[0]._select.info:this.iterator("table",function(t){t._select.info=e})}),e("select.items()",function(e){return e===u?this.context[0]._select.items:this.iterator("table",function(t){t._select.items=e,s(new g.Api(t),"selectItems",[e])})}),e("select.style()",function(e){return e===u?this.context[0]._select.style:this.iterator("table",function(o){var n;o._select.style=e,o._select_init||(n=new g.Api(o),o.aoRowCreatedCallback.push({fn:function(t,e,n){for((e=o.aoData[n])._select_selected&&c(t).addClass(o._select.className),t=0,n=o.aoColumns.length;t<n;t++)(o.aoColumns[t]._select_selected||e._selected_cells&&e._selected_cells[t])&&c(e.anCells[t]).addClass(o._select.className)},sName:"select-deferRender"}),n.on("preXhr.dt.dtSelect",function(){var t=n.rows({selected:!0}).ids(!0).filter(function(t){return t!==u}),e=n.cells({selected:!0}).eq(0).map(function(t){var e=n.row(t.row).id(!0);return e?{row:e,column:t.column}:u}).filter(function(t){return t!==u});n.one("draw.dt.dtSelect",function(){n.rows(t).select(),e.any()&&e.each(function(t){n.cells(t.row,t.column).select()})})}),n.on("draw.dtSelect.dt select.dtSelect.dt deselect.dtSelect.dt info.dt",function(){d(n)}),n.on("destroy.dtSelect",function(){r(n),n.off(".dtSelect")}));var t=new g.Api(o);r(t),"api"!==e&&a(t),s(new g.Api(o),"selectStyle",[e])})}),e("select.selector()",function(e){return e===u?this.context[0]._select.selector:this.iterator("table",function(t){r(new g.Api(t)),t._select.selector=e,"api"!==t._select.style&&a(new g.Api(t))})}),o("rows().select()","row().select()",function(t){var n=this;return!1===t?this.deselect():(this.iterator("row",function(t,e){h(t),t.aoData[e]._select_selected=!0,c(t.aoData[e].nTr).addClass(t._select.className)}),this.iterator("table",function(t,e){s(n,"select",["row",n[e]],!0)}),this)}),o("columns().select()","column().select()",function(t){var n=this;return!1===t?this.deselect():(this.iterator("column",function(t,e){h(t),t.aoColumns[e]._select_selected=!0;var n=new g.Api(t).column(e);c(n.header()).addClass(t._select.className),c(n.footer()).addClass(t._select.className),n.nodes().to$().addClass(t._select.className)}),this.iterator("table",function(t,e){s(n,"select",["column",n[e]],!0)}),this)}),o("cells().select()","cell().select()",function(t){var n=this;return!1===t?this.deselect():(this.iterator("cell",function(t,e,n){h(t),(e=t.aoData[e])._selected_cells===u&&(e._selected_cells=[]),e._selected_cells[n]=!0,e.anCells&&c(e.anCells[n]).addClass(t._select.className)}),this.iterator("table",function(t,e){s(n,"select",["cell",n[e]],!0)}),this)}),o("rows().deselect()","row().deselect()",function(){var n=this;return this.iterator("row",function(t,e){t.aoData[e]._select_selected=!1,c(t.aoData[e].nTr).removeClass(t._select.className)}),this.iterator("table",function(t,e){s(n,"deselect",["row",n[e]],!0)}),this}),o("columns().deselect()","column().deselect()",function(){var n=this;return this.iterator("column",function(o,t){o.aoColumns[t]._select_selected=!1;var e=new g.Api(o),n=e.column(t);c(n.header()).removeClass(o._select.className),c(n.footer()).removeClass(o._select.className),e.cells(null,t).indexes().each(function(t){var e=o.aoData[t.row],n=e._selected_cells;!e.anCells||n&&n[t.column]||c(e.anCells[t.column]).removeClass(o._select.className)})}),this.iterator("table",function(t,e){s(n,"deselect",["column",n[e]],!0)}),this}),o("cells().deselect()","cell().deselect()",function(){var n=this;return this.iterator("cell",function(t,e,n){(e=t.aoData[e])._selected_cells[n]=!1,e.anCells&&!t.aoColumns[n]._select_selected&&c(e.anCells[n]).removeClass(t._select.className)}),this.iterator("table",function(t,e){s(n,"deselect",["cell",n[e]],!0)}),this});var b=0;return c.extend(g.ext.buttons,{selected:{text:n("selected","Selected"),className:"buttons-selected",init:function(t,e,n){var o=this;n._eventNamespace=".select"+b++,t.on(m(n),function(){var t=o.rows({selected:!0}).any()||o.columns({selected:!0}).any()||o.cells({selected:!0}).any();o.enable(t)}
3298),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectedSingle:{text:n("selectedSingle","Selected single"),className:"buttons-selected-single",init:function(e,t,n){var o=this;n._eventNamespace=".select"+b++,e.on(m(n),function(){var t=e.rows({selected:!0}).flatten().length+e.columns({selected:!0}).flatten().length+e.cells({selected:!0}).flatten().length;o.enable(1===t)}),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectAll:{text:n("selectAll","Select all"),className:"buttons-select-all",action:function(){this[this.select.items()+"s"]().select()}},selectNone:{text:n("selectNone","Deselect all"),className:"buttons-select-none",action:function(){h(this.settings()[0],!0)},init:function(e,t,n){var o=this;n._eventNamespace=".select"+b++,e.on(m(n),function(){var t=e.rows({selected:!0}).flatten().length+e.columns({selected:!0}).flatten().length+e.cells({selected:!0}).flatten().length;o.enable(0<t)}),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}}}),c.each(["Row","Column","Cell"],function(t,e){var r=e.toLowerCase();g.ext.buttons["select"+e+"s"]={text:n("select"+e+"s","Select "+r+"s"),className:"buttons-select-"+r+"s",action:function(){this.select.items(r)},init:function(t){var o=this;t.on("selectItems.dt.DT",function(t,e,n){o.active(n===r)})}}}),c(t).on("preInit.dt.dtSelect",function(t,e){"dt"===t.namespace&&g.select.init(new g.Api(e))}),g.select}),define("mockup-patterns-datatables",["jquery","pat-base","datatables.net","datatables.net-bs","datatables.net-buttons","datatables.net-buttons-colvis","datatables.net-buttons-flash","datatables.net-buttons-html5","datatables.net-buttons-print","datatables.net-buttons-bs","datatables.net-colreorder","datatables.net-rowreorder","datatables.net-fixedcolumns","datatables.net-fixedheader","datatables.net-select"],function(t,e,n){"use strict";return e.extend({name:"datatables",trigger:".pat-datatables",parser:"mockup",table:null,defaults:{},init:function(){this.table=this.$el.DataTable(this.options)}})}),require(["mockup-patterns-datatables"],function(){}),define("/home/vincentfretin/workspace/buildout.coredev-5.2/src/plone.staticresources/src/plone/staticresources/static/plone-datatables.js",function(){});
3299//# sourceMappingURL=plone-datatables-compiled.min.js.map
3300
3301/* reset requirejs definitions so that people who
3302   put requirejs in legacy compilation do not get errors */
3303var _old_define = define;
3304var _old_require = require;
3305define = undefined;
3306require = undefined;
3307try{
3308
3309/* Could not find resource: https://www.slowfood.de/++resource++plone.app.discussion.javascripts/comments.js */
3310
3311
3312/* resource: ++plone++plone.app.event/event.js */
3313(function($){var eventedit={start_end_delta:1/24,$start_input:undefined,$start_container:undefined,$pickadate_starttime:undefined,$end_input:undefined,$end_container:undefined,$pickadate_endtime:undefined,$whole_day_input:undefined,$open_end_input:undefined,get_dom_element:function(sel,$container){var $el;if($container){$el=$(sel,$container);}else{$el=$(sel);}return $el.length?$el:undefined;},getDateTime:function(datetimewidget){var date,time,datetime,set_time;date=$('input[name="_submit"]:first',datetimewidget).prop('value');if(!date){return;}date=date.split('-');time=$('input[name="_submit"]:last',datetimewidget).prop('value');if(!time){set_time=true;time='00:00';}time=time.split(':');datetime=new Date(parseInt(date[0],10),parseInt(date[1],10)-1,parseInt(date[2],10),parseInt(time[0],10),parseInt(time[1],10));if(set_time){$('.pattern-pickadate-time',datetimewidget).pickatime('picker').set('select',datetime);}return datetime;},initStartEndDelta:function(start_container,end_container){var start_datetime=this.getDateTime(start_container);var end_datetime=this.getDateTime(end_container);if(!start_datetime||!end_datetime){return;}this.start_end_delta=(end_datetime-start_datetime)/1000/60;},updateEndDate:function(start_container,end_container){var start_date=this.getDateTime(start_container);if(!start_date){return;}var new_end_date=new Date(start_date);new_end_date.setMinutes(start_date.getMinutes()+this.start_end_delta);$('.pattern-pickadate-date',end_container).pickadate('picker').set('select',new_end_date);$('.pattern-pickadate-time',end_container).pickatime('picker').set('select',new_end_date);},validateEndDate:function(start_container,end_container){var start_datetime=this.getDateTime(start_container);var end_datetime=this.getDateTime(end_container);if(!start_datetime||!end_datetime){return;}if(end_datetime<start_datetime){start_container.addClass('error');}else{end_container.removeClass('error');}},show_hide_widget:function(widget,hide,fade){var $widget=$(widget);if(hide===true){if(fade===true){$widget.fadeOut();}else{$widget.hide();}}else{if(fade===true){$widget.fadeIn();}else{$widget.show();}}},event_listing_calendar_init:function(cal){if($().dateinput&&cal.length>0){var get_req_param,val;get_req_param=function(name){if(name===new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)').exec(window.location.search)){return decodeURIComponent(name[1]);}};val=get_req_param('date');if(val===undefined){val=new Date();}else{val=new Date(val);}cal.dateinput({selectors:true,trigger:true,format:'yyyy-mm-dd',yearRange:[-10,10],firstDay:1,value:val,change:function(){var value=this.getValue('yyyy-mm-dd');window.location.href='event_listing?mode=day&date='+value;}}).unbind('change').bind('onShow',function(){var trigger_offset=$(this).next().offset();$(this).data('dateinput').getCalendar().offset({top:trigger_offset.top+20,left:trigger_offset.left});});}},initilize_event:function(){var $start_container=this.$start_container,$end_container=this.$end_container,$pickadate_starttime=this.$pickadate_starttime,$pickadate_endtime=this.$pickadate_endtime,$o
3313pen_end_input=this.$open_end_input,$whole_day_input=this.$whole_day_input;if($whole_day_input.length>0){$whole_day_input.bind('change',function(e){this.show_hide_widget($pickadate_starttime,e.target.checked,true);this.show_hide_widget($pickadate_endtime,e.target.checked,true);}.bind(this));this.show_hide_widget($pickadate_starttime,$whole_day_input.get(0).checked,false);this.show_hide_widget($pickadate_endtime,$whole_day_input.get(0).checked,false);}if($open_end_input.length>0){$open_end_input.bind('change',function(e){this.show_hide_widget($end_container,e.target.checked,true);}.bind(this));this.show_hide_widget($end_container,$open_end_input.get(0).checked,false);}$start_container.on('focus','.picker__input',function(){this.initStartEndDelta($start_container,$end_container);}.bind(this));$start_container.on('change','.picker__input',function(){this.updateEndDate($start_container,$end_container);}.bind(this));$end_container.on('focus','.picker__input',function(){this.initStartEndDelta($start_container,$end_container);}.bind(this));$end_container.on('change','.picker__input',function(){this.validateEndDate($start_container,$end_container);}.bind(this));}};$(document).ready(function(){eventedit.$start_input=eventedit.get_dom_element('form input.event_start');if(!eventedit.$start_input){return;}eventedit.$end_input=eventedit.get_dom_element('form input.event_end');if(!eventedit.$end_input){return;}eventedit.$start_container=eventedit.$start_input.closest('div');eventedit.$end_container=eventedit.$end_input.closest('div');eventedit.$whole_day_input=eventedit.get_dom_element('form input.event_whole_day');eventedit.$open_end_input=eventedit.get_dom_element('form input.event_open_end');var interval=setInterval(function(){eventedit.$pickadate_starttime=!eventedit.$pickadate_starttime&&eventedit.get_dom_element('.pattern-pickadate-time-wrapper',eventedit.$start_container);eventedit.$pickadate_endtime=!eventedit.$pickadate_endtime&&eventedit.get_dom_element('.pattern-pickadate-time-wrapper',eventedit.$end_container);if(eventedit.$pickadate_starttime&&eventedit.$pickadate_endtime){clearInterval(interval);eventedit.initilize_event();}},100);eventedit.event_listing_calendar_init($('#event_listing_calendar'));});})(jQuery);
3314/* resource: ++resource++kitconcept.dsgvo/dsgvo.js */
3315"use strict";var getCookie=function(name){var value="; "+document.cookie;var parts=value.split("; "+name+"=");if(parts.length==2)return parts.pop().split(";").shift();};(function(){var $=jQuery;var setCookie=function(){$.get("@@close-dsgvo-info");};$(function(){$(".dsgvo-close-banner").click(function(event){setCookie();$(".dsgvo-banner").fadeOut();event.preventDefault();});});})();$(document).ready(function(){if(!getCookie("hide-dsgvo-banner")){$(".dsgvo-banner").show();}});
3316/* resource: ++resource++slwf.website/js/slick.min.js */
3317/*
3318     _ _      _       _
3319 ___| (_) ___| | __  (_)___
3320/ __| | |/ __| |/ /  | / __|
3321\__ \ | | (__|   < _ | \__ \
3322|___/_|_|\___|_|\_(_)/ |___/
3323                   |__/
3324
3325 Version: 1.6.0
3326  Author: Ken Wheeler
3327 Website: http://kenwheeler.github.io
3328    Docs: http://kenwheeler.github.io/slick
3329    Repo: http://github.com/kenwheeler/slick
3330  Issues: http://github.com/kenwheeler/slick/issues
3331
3332 */
3333!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,458 bytes, line 3333
3333sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.getNavTarget=function(){var b=this,c=b.options.asNavFor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asNavFor=function(b){var c=this,d=c.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayClear(),a.slideCount>a.options.slidesToShow&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this,b=a.currentSlide+a.options.slidesToScroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentSlide+1===a.slideCount-1?a.direction=0:0===a.direction&&(b=a.currentSlide-a.options.slidesToScroll,a.currentSlide-1===0&&(a.direction=1))),a.slideHandler(b))},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(b.$slider.addClass("slick-dotted"),d=a("<ul />").addClass(b.options.dotsClass),c=0;c<=b.getDotCount();c+=1)d.append(a("<li />").append(b.options.customPaging.call(this,b,c)));b.$dots=d.appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.empty().append(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.currentTarget);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&a("li",b.$dots).off("click.slick",b.changeSlide).off("mouseenter.slick",a.proxy(b.interrupt,b,!0)).off("mouseleave.
3333slick",a.proxy(b.interrupt,b,!1)),b.$slider.off("focus.slick blur.slick"),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.cleanUpSlideEvents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpSlideEvents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.empty().append(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.$slider.removeClass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.focusHandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.options.pauseOnFocus&&(b.focussed=d.is(":focus"),b.autoPlay())},0)})},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else if(a.options.asNavFor)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else d=1+Math.ceil((a.slideCount-a.options.slidesToShow)/a.options.slidesToScroll);return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.o
3333ptions.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots(),c.checkResponsive(!0),c.focusHandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA(),c.options.autoplay&&(c.paused=!1,c.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.off("click.slick").on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initSlideEvents=function(){var b=this;b.options.pauseOnHover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.
3333slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.initSlideEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyLoad=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createElement("img");e.onload=function(){c.animate({opacity:0}
vendor: 11,311 bytes, lines 3333-3334
3333,100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeAttr("data-lazy").removeClass("slick-loading")}),b.$slider.trigger("lazyLoaded",[b,c,d])})},e.onerror=function(){c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),b.$slider.trigger("lazyLoadError",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=Math.ceil(e+b.options.slidesToShow),b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.autoPlay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postSlide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay&&b.autoPlay(),b.options.accessibility===!0&&b.initADA())},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createElement("img"),g.onload=function(){e.attr("src",f).removeAttr("data-lazy").removeClass("slick-loading"),c.options.adaptiveHeight===!0&&c.setPosition(),c.$slider.trigger("lazyLoaded",[c,e,f]),c.progressiveLazyLoad()},g.onerror=function(){3>b?setTimeout(function(){c.progressiveLazyLoad(b+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),c.$slider.trigger("lazyLoadError",[c,e,f]),c.progressiveLazyLoad())},g.src=f):c.$slider.trigger("allImagesLoaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,!c.options.infinite&&c.currentSlide>e&&(c.currentSlide=e),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.cleanUpSlideEvents(),b.initSlideEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.setPosition(),b.focusHandler(),b.paused=!b.options.autoplay,b.autoPlay(),b.$slider.trigger("reInit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a,
3334d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");
3334b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.interrupt=function(a){var b=this;a||b.autoPlay(),b.interrupted=a},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.options.asNavFor&&(j=i.getNavTarget(),j=j.slick("getSlick"),j.slideCount<=j.options.slidesToShow&&j.setSlideClasses(i.currentSlide)),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeEnd=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe){switch(d=b.swipeDirection()){case"left":case"down":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.currentDirection=0;break;case"right":case"up":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.currentDirection=1}"vertical"!=d&&(b.slideHandler(c),b.touchObject={},b.$slider.trigger("swipe",[b,d]))}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>
33344&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});
3335/* resource: ++resource++slwf.website/js/jquery.jscrollpane.min.js */
3336/*!
3337 * jScrollPane - v2.0.23 - 2016-01-28
3338 * http://jscrollpane.kelvinluck.com/
3339 *
3340 * Copyright (c) 2014 Kelvin Luck
3341 * Dual licensed under the MIT or GPL licenses.
3342 */
3343!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.fn.jScrollPane=function(b){function c(b,c){function d(c){var f,h,j,k,l,o,p=!1,q=!1;if(N=c,void 0===O)l=b.scrollTop(),o=b.scrollLeft(),b.css({overflow:"hidden",padding:0}),P=b.innerWidth()+rb,Q=b.innerHeight(),b.width(P),O=a('<div class="jspPane" />').css("padding",qb).append(b.children()),R=a('<div class="jspContainer" />').css({width:P+"px",height:Q+"px"}).append(O).appendTo(b);else{if(b.css("width",""),p=N.stickToBottom&&A(),q=N.stickToRight&&B(),k=b.innerWidth()+rb!=P||b.outerHeight()!=Q,k&&
3343(P=b.innerWidth()+rb,Q=b.innerHeight(),R.css({width:P+"px",height:Q+"px"})),!k&&sb==S&&O.outerHeight()==T)return void b.width(P);sb=S,O.css("width",""),b.width(P),R.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}O.css("overflow","auto"),S=c.contentWidth?c.contentWidth:O[0].scrollWidth,T=O[0].scrollHeight,O.css("overflow",""),U=S/P,V=T/Q,W=V>1,X=U>1,X||W?(b.addClass("jspScrollable"),f=N.maintainPosition&&($||bb),f&&(h=y(),j=z()),e(),g(),i(),f&&(w(q?S-P:h,!1),v(p?T-Q:j,!1)),F(),C(),L(),N.enableKeyboardNavigation&&H(),N.clickOnTrack&&m(),J(),N.hijackInternalLinks&&K()):(b.removeClass("jspScrollable"),O.css({top:0,left:0,width:R.width()-rb}),D(),G(),I(),n()),N.autoReinitialise&&!pb?pb=setInterval(function(){d(N)},N.autoReinitialiseDelay):!N.autoReinitialise&&pb&&clearInterval(pb),l&&b.scrollTop(0)&&v(l,!1),o&&b.scrollLeft(0)&&w(o,!1),b.trigger("jsp-initialised",[X||W])}function e(){W&&(R.append(a('<div class="jspVerticalBar" />').append(a('<div class="jspCap jspCapTop" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragTop" />'),a('<div class="jspDragBottom" />'))),a('<div class="jspCap jspCapBottom" />'))),cb=R.find(">.jspVerticalBar"),db=cb.find(">.jspTrack"),Y=db.find(">.jspDrag"),N.showArrows&&(hb=a('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",k(0,-1)).bind("click.jsp",E),ib=a('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",k(0,1)).bind("click.jsp",E),N.arrowScrollOnHover&&(hb.bind("mouseover.jsp",k(0,-1,hb)),ib.bind("mouseover.jsp",k(0,1,ib))),j(db,N.verticalArrowPositions,hb,ib)),fb=Q,R.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){fb-=a(this).outerHeight()}),Y.hover(function(){Y.addClass("jspHover")},function(){Y.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),Y.addClass("jspActive");var c=b.pageY-Y.position().top;return a("html").bind("mousemove.jsp",function(a){p(a.pageY-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),f())}function f(){db.height(fb+"px"),$=0,eb=N.verticalGutter+db.outerWidth(),O.width(P-eb-rb);try{0===cb.position().left&&O.css("margin-left",eb+"px")}catch(a){}}function g(){X&&(R.append(a('<div class="jspHorizontalBar" />').append(a('<div class="jspCap jspCapLeft" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragLeft" />'),a('<div class="jspDragRight" />'))),a('<div class="jspCap jspCapRight" />'))),jb=R.find(">.jspHorizontalBar"),kb=jb.find(">.jspTrack"),_=kb.find(">.jspDrag"),N.showArrows&&(nb=a('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",k(-1,0)).bind("click.jsp",E),ob=a('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",k(1,0)).bind("click.jsp",E),N.arrowScrollOnHover&&(nb.bind("mouseover.jsp",k(-1,0,nb)),ob.bind("mouseover.jsp",k(1,0,ob))),j(kb,N.horizontalArrowPositions,nb,ob)),_.hover(function(){_.addClass("jspHover")},function(){_.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),_.addClass("jspActive");var c=b.pageX-_.position().left;return a("html").bind("mousemove.jsp",function(a){r(a.pageX-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),lb=R.innerWidth(),h())}function h(){R.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){lb-=a(this).outerWidth()}),kb.width(lb+"px"),bb=0}function i(){if(X&&W){var b=kb.outerHeight(),c=db.outerWidth();fb-=b,a(jb).find(">.jspCap:visible,>.jspArrow").each(function(){lb+=a(this).outerWidth()}),lb-=c,Q-=c,P-=b,kb.parent().append(a('<div class="jspCorner" />').css("width",b+"px")),f(),h()}X&&O.width(R.outerWidth()-rb+"px"),T=O.outerHeight(),V=T/Q,X&&(mb=Math.ceil(1/U*lb),mb>N.horizontalDragMaxWidth?mb=N.horizontalDragMaxWidth:mb<N.horizontalDragMinWidth&&(mb=N.horizontalDragMinWidth),_.width(mb+"px"),ab=lb-mb,s(bb)),W&&(gb=Math.ceil(1/V*fb),gb>N.verticalDragMaxHeight?gb=N.verticalDragMaxHeight:gb<N.verticalDragMinHeight&&(gb=N.verticalDragMinHeight),Y.height(gb+"px"),Z=fb-gb,q($))}function j(a,b,c,d){var e,f="before",g="after";"os"==b&&(b=/Mac/.test(navigator.platform)?"after":"split"),b==f?g=b:b==g&&(f=b,e=c,c=d,d=e),a[f](c)[g](d)}function k(a,b,c){return function(){return l(a,b,this,c),this.blur(),!1}}function l(b,c,d,e){d=a(d).addClass("jspActive");var f,g,h=!0,i=function(){0!==b&&tb.scrollByX(b*N.arrowButtonSpeed),0!==c&&tb.scrollByY(c*N.arrowButtonSpeed),g=setTimeout(i,h?N.initialDelay:N.arrowRepeatFreq),h=!1};
3343i(),f=e?"mouseout.jsp":"mouseup.jsp",e=e||a("html"),e.bind(f,function(){d.removeClass("jspActive"),g&&clearTimeout(g),g=null,e.unbind(f)})}function m(){n(),W&&db.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageY-e.top-$,g=!0,h=function(){var a=d.offset(),e=b.pageY-a.top-gb/2,j=Q*N.scrollPagePercent,k=Z*j/(T-Q);if(0>f)$-k>e?tb.scrollByY(-j):p(e);else{if(!(f>0))return void i();e>$+k?tb.scrollByY(j):p(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}}),X&&kb.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageX-e.left-bb,g=!0,h=function(){var a=d.offset(),e=b.pageX-a.left-mb/2,j=P*N.scrollPagePercent,k=ab*j/(S-P);if(0>f)bb-k>e?tb.scrollByX(-j):r(e);else{if(!(f>0))return void i();e>bb+k?tb.scrollByX(j):r(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}})}function n(){kb&&kb.unbind("mousedown.jsp"),db&&db.unbind("mousedown.jsp")}function o(){a("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),Y&&Y.removeClass("jspActive"),_&&_.removeClass("jspActive")}function p(c,d){if(W){0>c?c=0:c>Z&&(c=Z);var e=new a.Event("jsp-will-scroll-y");if(b.trigger(e,[c]),!e.isDefaultPrevented()){var f=c||0,g=0===f,h=f==Z,i=c/Z,j=-i*(T-Q);void 0===d&&(d=N.animateScroll),d?tb.animate(Y,"top",c,q,function(){b.trigger("jsp-user-scroll-y",[-j,g,h])}):(Y.css("top",c),q(c),b.trigger("jsp-user-scroll-y",[-j,g,h]))}}}function q(a){void 0===a&&(a=Y.position().top),R.scrollTop(0),$=a||0;var c=0===$,d=$==Z,e=a/Z,f=-e*(T-Q);(ub!=c||wb!=d)&&(ub=c,wb=d,b.trigger("jsp-arrow-change",[ub,wb,vb,xb])),t(c,d),O.css("top",f),b.trigger("jsp-scroll-y",[-f,c,d]).trigger("scroll")}function r(c,d){if(X){0>c?c=0:c>ab&&(c=ab);var e=new a.Event("jsp-will-scroll-x");if(b.trigger(e,[c]),!e.isDefaultPrevented()){var f=c||0,g=0===f,h=f==ab,i=c/ab,j=-i*(S-P);void 0===d&&(d=N.animateScroll),d?tb.animate(_,"left",c,s,function(){b.trigger("jsp-user-scroll-x",[-j,g,h])}):(_.css("left",c),s(c),b.trigger("jsp-user-scroll-x",[-j,g,h]))}}}function s(a){void 0===a&&(a=_.position().left),R.scrollTop(0),bb=a||0;var c=0===bb,d=bb==ab,e=a/ab,f=-e*(S-P);(vb!=c||xb!=d)&&(vb=c,xb=d,b.trigger("jsp-arrow-change",[ub,wb,vb,xb])),u(c,d),O.css("left",f),b.trigger("jsp-scroll-x",[-f,c,d]).trigger("scroll")}function t(a,b){N.showArrows&&(hb[a?"addClass":"removeClass"]("jspDisabled"),ib[b?"addClass":"removeClass"]("jspDisabled"))}function u(a,b){N.showArrows&&(nb[a?"addClass":"removeClass"]("jspDisabled"),ob[b?"addClass":"removeClass"]("jspDisabled"))}function v(a,b){var c=a/(T-Q);p(c*Z,b)}function w(a,b){var c=a/(S-P);r(c*ab,b)}function x(b,c,d){var e,f,g,h,i,j,k,l,m,n=0,o=0;try{e=a(b)}catch(p){return}for(f=e.outerHeight(),g=e.outerWidth(),R.scrollTop(0),R.scrollLeft(0);!e.is(".jspPane");)if(n+=e.position().top,o+=e.position().left,e=e.offsetParent(),/^body|html$/i.test(e[0].nodeName))return;h=z(),j=h+Q,h>n||c?l=n-N.horizontalGutter:n+f>j&&(l=n-Q+f+N.horizontalGutter),isNaN(l)||v(l,d),i=y(),k=i+P,i>o||c?m=o-N.horizontalGutter:o+g>k&&(m=o-P+g+N.horizontalGutter),isNaN(m)||w(m,d)}function y(){return-O.position().left}function z(){return-O.position().top}function A(){var a=T-Q;return a>20&&a-z()<10}function B(){var a=S-P;return a>20&&a-y()<10}function C(){R.unbind(zb).bind(zb,function(a,b,c,d){bb||(bb=0),$||($=0);var e=bb,f=$,g=a.deltaFactor||N.mouseWheelSpeed;return tb.scrollBy(c*g,-d*g,!1),e==bb&&f==$})}function D(){R.unbind(zb)}function E(){return!1}function F(){O.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(a){x(a.target,!1)})}function G(){O.find(":input,a").unbind("focus.jsp")}function H(){function c(){var a=bb,b=$;switch(d){case 40:tb.scrollByY(N.keyboardSpeed,!1);break;case 38:tb.scrollByY(-N.keyboardSpeed,!1);break;case 34:case 32:tb.scrollByY(Q*N.scrollPagePercent,!1);break;case 33:tb.scrollByY(-Q*N.scrollPagePercent,!1);break;case 39:tb.scrollByX(N.keyboardSpeed,!1);break;case 37:tb.scrollByX(-N.keyboardSpeed,!1)}return e=a!=bb||b!=$}var d,e,f=[];X&&f.push(jb[0]),W&&f.push(cb[0]),O.bind("focus.jsp",function(){b.focus()}
3343),b.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(b){if(b.target===this||f.length&&a(b.target).closest(f).length){var g=bb,h=$;switch(b.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:d=b.keyCode,c();break;case 35:v(T-Q),d=null;break;case 36:v(0),d=null}return e=b.keyCode==d&&g!=bb||h!=$,!e}}).bind("keypress.jsp",function(b){return b.keyCode==d&&c(),b.target===this||f.length&&a(b.target).closest(f).length?!e:void 0}),N.hideFocus?(b.css("outline","none"),"hideFocus"in R[0]&&b.attr("hideFocus",!0)):(b.css("outline",""),"hideFocus"in R[0]&&b.attr("hideFocus",!1))}function I(){b.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),O.unbind(".jsp")}function J(){if(location.hash&&location.hash.length>1){var b,c,d=escape(location.hash.substr(1));try{b=a("#"+d+', a[name="'+d+'"]')}catch(e){return}b.length&&O.find(d)&&(0===R.scrollTop()?c=setInterval(function(){R.scrollTop()>0&&(x(b,!0),a(document).scrollTop(R.position().top),clearInterval(c))},50):(x(b,!0),a(document).scrollTop(R.position().top)))}}function K(){a(document.body).data("jspHijack")||(a(document.body).data("jspHijack",!0),a(document.body).delegate('a[href*="#"]',"click",function(b){var c,d,e,f,g,h,i=this.href.substr(0,this.href.indexOf("#")),j=location.href;if(-1!==location.href.indexOf("#")&&(j=location.href.substr(0,location.href.indexOf("#"))),i===j){c=escape(this.href.substr(this.href.indexOf("#")+1));try{d=a("#"+c+', a[name="'+c+'"]')}catch(k){return}d.length&&(e=d.closest(".jspScrollable"),f=e.data("jsp"),f.scrollToElement(d,!0),e[0].scrollIntoView&&(g=a(window).scrollTop(),h=d.offset().top,(g>h||h>g+a(window).height())&&e[0].scrollIntoView()),b.preventDefault())}}))}function L(){var a,b,c,d,e,f=!1;R.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(g){var h=g.originalEvent.touches[0];a=y(),b=z(),c=h.pageX,d=h.pageY,e=!1,f=!0}).bind("touchmove.jsp",function(g){if(f){var h=g.originalEvent.touches[0],i=bb,j=$;return tb.scrollTo(a+c-h.pageX,b+d-h.pageY),e=e||Math.abs(c-h.pageX)>5||Math.abs(d-h.pageY)>5,i==bb&&j==$}}).bind("touchend.jsp",function(){f=!1}).bind("click.jsp-touchclick",function(){return e?(e=!1,!1):void 0})}function M(){var a=z(),c=y();b.removeClass("jspScrollable").unbind(".jsp"),O.unbind(".jsp"),b.replaceWith(yb.append(O.children())),yb.scrollTop(a),yb.scrollLeft(c),pb&&clearInterval(pb)}var N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb=this,ub=!0,vb=!0,wb=!1,xb=!1,yb=b.clone(!1,!1).empty(),zb=a.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";"border-box"===b.css("box-sizing")?(qb=0,rb=0):(qb=b.css("paddingTop")+" "+b.css("paddingRight")+" "+b.css("paddingBottom")+" "+b.css("paddingLeft"),rb=(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)),a.extend(tb,{reinitialise:function(b){b=a.extend({},N,b),d(b)},scrollToElement:function(a,b,c){x(a,b,c)},scrollTo:function(a,b,c){w(a,c),v(b,c)},scrollToX:function(a,b){w(a,b)},scrollToY:function(a,b){v(a,b)},scrollToPercentX:function(a,b){w(a*(S-P),b)},scrollToPercentY:function(a,b){v(a*(T-Q),b)},scrollBy:function(a,b,c){tb.scrollByX(a,c),tb.scrollByY(b,c)},scrollByX:function(a,b){var c=y()+Math[0>a?"floor":"ceil"](a),d=c/(S-P);r(d*ab,b)},scrollByY:function(a,b){var c=z()+Math[0>a?"floor":"ceil"](a),d=c/(T-Q);p(d*Z,b)},positionDragX:function(a,b){r(a,b)},positionDragY:function(a,b){p(a,b)},animate:function(a,b,c,d,e){var f={};f[b]=c,a.animate(f,{duration:N.animateDuration,easing:N.animateEase,queue:!1,step:d,complete:e})},getContentPositionX:function(){return y()},getContentPositionY:function(){return z()},getContentWidth:function(){return S},getContentHeight:function(){return T},getPercentScrolledX:function(){return y()/(S-P)},getPercentScrolledY:function(){return z()/(T-Q)},getIsScrollableH:function(){return X},getIsScrollableV:function(){return W},getContentPane:function(){return O},scrollToBottom:function(a){p(Z,a)},hijackInternalLinks:a.noop,destroy:function(){M()}}),d(c)}return b=a.extend({},a.fn.jScrollPane.defaults,b),a.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){b[this]=b[this]||b.speed}),this.each(function(){var d=a(this),e=d.data("jsp");e?e.reinitialise(b):(a("script",d).filter('[type="text/javascript"],:not([type])').remove(),e=new c(d,b),d.data("jsp",e))})},a.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}});
3344/* resource: ++resource++slwf.website/js/jquery.mousewheel.js */
3345(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory;}else{factory(jQuery);}}(function($){var toFix=['wheel','mousewheel','DOMMouseScroll','MozMousePixelScroll'],toBind=('onwheel'in document||document.documentMode>=9)?['wheel']:['mousewheel','DomMouseScroll','MozMousePixelScroll'],slice=Array.prototype.slice,nullLowestDeltaT
vendor: 5,353 bytes, lines 3345-3401
3345imeout,lowestDelta;if($.event.fixHooks){for(var i=toFix.length; i;){$.event.fixHooks[toFix[--i]]=$.event.mouseHooks;}}var special=$.event.special.mousewheel={version:'3.1.12',setup:function(){if(this.addEventListener){for(var i=toBind.length; i;){this.addEventListener(toBind[--i],handler,false);}}else{this.onmousewheel=handler;}$.data(this,'mousewheel-line-height',special.getLineHeight(this));$.data(this,'mousewheel-page-height',special.getPageHeight(this));},teardown:function(){if(this.removeEventListener){for(var i=toBind.length; i;){this.removeEventListener(toBind[--i],handler,false);}}else{this.onmousewheel=null;}$.removeData(this,'mousewheel-line-height');$.removeData(this,'mousewheel-page-height');},getLineHeight:function(elem){var $elem=$(elem),$parent=$elem['offsetParent'in $.fn?'offsetParent':'parent']();if(!$parent.length){$parent=$('body');}return parseInt($parent.css('fontSize'),10)||parseInt($elem.css('fontSize'),10)||16;},getPageHeight:function(elem){return $(elem).height();},settings:{adjustOldDeltas:true,normalizeOffset:true}};$.fn.extend({mousewheel:function(fn){return fn?this.bind('mousewheel',fn):this.trigger('mousewheel');},unmousewheel:function(fn){return this.unbind('mousewheel',fn);}});function handler(event){var orgEvent=event||window.event,args=slice.call(arguments,1),delta=0,deltaX=0,deltaY=0,absDelta=0,offsetX=0,offsetY=0;event=$.event.fix(orgEvent);event.type='mousewheel';if('detail'in orgEvent){deltaY=orgEvent.detail*-1;}if('wheelDelta'in orgEvent){deltaY=orgEvent.wheelDelta;}if('wheelDeltaY'in orgEvent){deltaY=orgEvent.wheelDeltaY;}if('wheelDeltaX'in orgEvent){deltaX=orgEvent.wheelDeltaX*-1;}if('axis'in orgEvent&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS){deltaX=deltaY*-1;deltaY=0;}delta=deltaY===0?deltaX:deltaY;if('deltaY'in orgEvent){deltaY=orgEvent.deltaY*-1;delta=deltaY;}if('deltaX'in orgEvent){deltaX=orgEvent.deltaX;if(deltaY===0){delta=deltaX*-1;}}if(deltaY===0&&deltaX===0){return;}if(orgEvent.deltaMode===1){var lineHeight=$.data(this,'mousewheel-line-height');delta*=lineHeight;deltaY*=lineHeight;deltaX*=lineHeight;}else if(orgEvent.deltaMode===2){var pageHeight=$.data(this,'mousewheel-page-height');delta*=pageHeight;deltaY*=pageHeight;deltaX*=pageHeight;}absDelta=Math.max(Math.abs(deltaY),Math.abs(deltaX));if(!lowestDelta||absDelta<lowestDelta){lowestDelta=absDelta;if(shouldAdjustOldDeltas(orgEvent,absDelta)){lowestDelta/=40;}}if(shouldAdjustOldDeltas(orgEvent,absDelta)){delta/=40;deltaX/=40;deltaY/=40;}delta=Math[delta>=1?'floor':'ceil'](delta/lowestDelta);deltaX=Math[deltaX>=1?'floor':'ceil'](deltaX/lowestDelta);deltaY=Math[deltaY>=1?'floor':'ceil'](deltaY/lowestDelta);if(special.settings.normalizeOffset&&this.getBoundingClientRect){var boundingRect=this.getBoundingClientRect();offsetX=event.clientX-boundingRect.left;offsetY=event.clientY-boundingRect.top;}event.deltaX=deltaX;event.deltaY=deltaY;event.deltaFactor=lowestDelta;event.offsetX=offsetX;event.offsetY=offsetY;event.deltaMode=0;args.unshift(event,delta,deltaX,deltaY);if(nullLowestDeltaTimeout){clearTimeout(nullLowestDeltaTimeout);}nullLowestDeltaTimeout=setTimeout(nullLowestDelta,200);return($.event.dispatch||$.event.handle).apply(this,args);}function nullLowestDelta(){lowestDelta=null;}function shouldAdjustOldDeltas(orgEvent,absDelta){return special.settings.adjustOldDeltas&&orgEvent.type==='mousewheel'&&absDelta%120===0;}}));
3346/* Resource (error cooking): ++plone++plone.app.discussion.javascripts/comments.js */
3347/******************************************************************************
3348 *
3349 * jQuery functions for the plone.app.discussion comment viewlet and form.
3350 *
3351 ******************************************************************************/
3352/* global require */
3353
3354if (require === undefined) {
3355  require = function(reqs, torun) {
3356    // jshint ignore:line
3357    "use strict";
3358    return torun(window.jQuery);
3359  };
3360}
3361
3362require([
3363  // jshint ignore:line
3364  "jquery"
3365], function($) {
3366  "use strict";
3367
3368  // This unnamed function allows us to use $ inside of a block of code
3369  // without permanently overwriting $.
3370  // http://docs.jquery.com/Using_jQuery_with_Other_Libraries
3371  /**************************************************************************
3372   * Create a reply-to-comment form right beneath the form that is passed to
3373   * the function. We do this by copying the regular comment form and
3374   * adding a hidden in_reply_to field to the form.
3375   **************************************************************************/
3376  $.createReplyForm = function(comment_div) {
3377    var comment_id = comment_div.attr("id");
3378
3379    var reply_button = comment_div.find(".reply-to-comment-button");
3380
3381    /* Clone the reply div at the end of the page template that contains
3382     * the regular comment form.
3383     */
3384    var reply_div = $("#commenting").clone(true);
3385
3386    /* Remove the ReCaptcha JS code before appending the form. If not
3387     * removed, this causes problems
3388     */
3389    reply_div
3390      .find("#formfield-form-widgets-captcha")
3391      .find("script")
3392      .remove();
3393
3394    /* Insert the cloned comment form right after the reply button of the
3395     * current comment.
3396     */
3397    reply_div.appendTo(comment_div).css("display", "none");
3398
3399    /* Remove id='commenting' attribute, since we use it to uniquely define
3400           the main reply form. */
3401    // Still belongs to class='reply'
3402    reply_div.removeAttr("id");
3403
3404    /* Hide the reply button (only hide, because we may want to show it
3405     * again if the user hits the cancel button).
3406     */
3407    $(reply_button).css("display", "none");
3408
3409    /* Fetch the reply form inside the reply div */
3410    var reply_form = reply_div.find("form");
3411
3412    /* Change the id of the textarea of the reply form
3413     * To avoid conflict later between textareas with same id 'form-widgets-comment-text' while implementing a seperate instance of TinyMCE
3414     * */
3415    reply_form
3416      .find("#formfield-form-widgets-comment-text")
3417      .attr("id", "formfield-form-widgets-new-textarea" + comment_id);
3418    reply_form
3419      .find("#form-widgets-comment-text")
3420      .attr("id", "form-widgets-new-textarea" + comment_id);
3421
3422    /* Populate the hidden 'in_reply_to' field with the correct comment
3423           id */
3424    reply_form.find('input[name="form.widgets.in_reply_to"]').val(comment_id);
3425
3426    /* Add a remove-reply-to-comment Javascript function to remove the
3427           form */
3428    var cancel_reply_button = reply_div.find(".cancelreplytocomment");
3429    cancel_reply_button.attr("id", comment_id);
3430
3431    /* Show the cancel buttons. */
3432    reply_form
3433      .find('input[name="form.buttons.cancel"]')
3434      .css("display", "inline");
3435
3436    /* Show the reply layer with a slide down effect */
3437    reply_div.slideDown("slow");
3438
3439    /* Show the cancel button in the reply-to-comment form */
3440    cancel_reply_button.css("display", "inline");
3441  };
3442
3443  /**************************************************************************
3444   * Remove all error messages and field values from the form that is passed
3445   * to the function.
3446   **************************************************************************/
3447  $.clearForm = function(form_div) {
3448    form_div.find(".error").removeClass("error");
3449    form_div.find(".fieldErrorBox").remove();
3450    form_div.find('input[type="text"]').attr("value", "");
3451    form_div.find("textarea").attr("value", "");
3452    /* XXX: Clean all additional form extender fields. */
3453  };
3454
3455  function init_comment_eventhandler () {
3456      /**********************************************************************
3457       * Transmit a single comment.
3458       **********************************************************************/
3459      $('input[name="form.button.TransmitComment"]').on("click", function(e) {
3460        e.preventDefault();
3461        var trigger = this;
3462        var form = $(this).parents("form");
3463        var data = $(form).serialize();
3464        var form_url = $(form).attr("action");
3465        var comment_id = $(this).parents(".comment").attr("id");
3466        $.ajax({
3467          type: "GET",
3468          url: form_url,
3469          data: data,
3470          context: trigger,
3471          success: function(msg) {
3472              let url = location.href;
3473              $(this).parents(".comment").load(
3474                // loading child nodes is not enough,
3475                // class attributes are needed for visualization of workflow_state
3476                url + " #" + comment_id + ".comment",
3477                function() {
3478                  $(this).find(".comment").unwrap();
3479                  init_comment_eventhandler();
3480                  $(".pat-plone-modal").patPloneModal();
3481                }
3482              );
3483          },
3484          error: function(msg) {
3485            return true;
3486          }
3487        });
3488        return false;
3489      });
3490
3491      /**********************************************************************
3492       * Edit a comment
3493       **********************************************************************/
3494      if ($.fn.prepOverlay) {
3495        $('form[name="edit"]').prepOverlay({
3496          cssclass: "overlay-edit-comment",
3497          width: "60%",
3498          subtype: "ajax",
3499          filter: "#content>*"
3500        });
3501      }
3502
3503      /**********************************************************************
3504       * Delete a comment and its answers.
3505       **********************************************************************/
3506      $('input[name="form.button.DeleteComment"]').on("click", function(e) {
3507        e.preventDefault();
3508        var trigger = this;
3509        var form = $(this).parents("form");
3510        var data = $(form).serialize();
3511        var form_url = $(form).attr("action");
3512        $.ajax({
3513          type: "POST",
3514          url: form_url,
3515          data: data,
3516          context: $(trigger).parents(".comment"),
3517          success: function(data) {
3518            // jshint ignore:line
3519            var comment = $(this);
3520            var clss = comment.attr("class");
3521            // remove replies
3522            var treelevel = parseInt(
3523              clss[clss.indexOf("replyTreeLevel") + "replyTreeLevel".length],
3524              10
3525            );
3526            // selector for all the following elements of lower level
3527            var selector = ".replyTreeLevel" + treelevel;
3528            for (var i = 0; i < treelevel; i++) {
3529              selector += ", .replyTreeLevel" + i;
3530            }
3531            comment.nextUntil(selector).each(function() {
3532              $(this).fadeOut("fast", function() {
3533                $(this).remove();
3534              });
3535            });
3536            // Add delete button to the parent
3537            var parent = comment.prev(
3538              '[class*="replyTreeLevel' + (treelevel - 1) + '"]'
3539            );
3540            parent.find('form[name="delete"]').css("display", "inline");
3541            // remove comment
3542            $(this).fadeOut("fast", function() {
3543              $(this).remove();
3544            });
3545          },
3546          error: function(req, error) {
3547            // jshint ignore:line
3548            return true;
3549          }
3550        });
3551        return false;
3552      });
3553  };
3554
3555  $(document).ready(function() {
3556    init_comment_eventhandler();
3557
3558    /**********************************************************************
3559     * If the user has hit the reply button of a reply-to-comment form
3560     * (form was submitted with a value for the 'in_reply_to' field in the
3561     * request), create a reply-to-comment form right under this comment.
3562     **********************************************************************/
3563    var post_comment_div = $("#commenting");
3564    var in_reply_to_field = post_comment_div.find(
3565      'input[name="form.widgets.in_reply_to"]'
3566    );
3567    if (in_reply_to_field.length !== 0 && in_reply_to_field.val() !== "") {
3568      var current_reply_id = "#" + in_reply_to_field.val();
3569      var current_reply_to_div = $(".discussion").find(current_reply_id);
3570      $.createReplyForm(current_reply_to_div);
3571      $.clearForm(post_comment_div);
3572    }
3573
3574    /**********************************************************************
3575     * If the user hits the 'reply' button of an existing comment, create a
3576     * reply form right beneath this comment.
3577     **********************************************************************/
3578    $(".reply-to-comment-button").bind("click", function(e) {
3579      // jshint ignore:line
3580      var comment_div = $(this)
3581        .parents()
3582        .filter(".comment");
3583      $.createReplyForm(comment_div);
3584      $.clearForm(comment_div);
3585    });
3586
3587    /**********************************************************************
3588     * If the user hits the 'clear' button of an open reply-to-comment form,
3589     * remove the form and show the 'reply' button again.
3590     **********************************************************************/
3591    $("#commenting #form-buttons-cancel").bind("click", function(e) {
3592      e.preventDefault();
3593      var reply_to_comment_button = $(this)
3594        .parents()
3595        .filter(".comment")
3596        .find(".reply-to-comment-button");
3597
3598      /* Find the reply-to-comment form and hide and remove it again. */
3599      $.reply_to_comment_form = $(this)
3600        .parents()
3601        .filter(".reply");
3602      $.reply_to_comment_form.slideUp("slow", function() {
3603        $(this).remove();
3604      });
3605
3606      /* Show the reply-to-comment button again. */
3607      reply_to_comment_button.css("display", "inline");
3608    });
3609
3610    /**********************************************************************
3611     * By default, hide the reply and the cancel button for the regular add
3612     * comment form.
3613     **********************************************************************/
3614    $(".reply")
3615      .find('input[name="form.buttons.reply"]')
3616      .css("display", "none");
3617    $(".reply")
3618      .find('input[name="form.buttons.cancel"]')
3619      .css("display", "none");
3620
3621    /**********************************************************************
3622     * By default, show the reply button only when Javascript is enabled.
3623     * Otherwise hide it, since the reply functions only work with JS
3624     * enabled.
3625     **********************************************************************/
3626    $(".reply-to-comment-button").removeClass("hide");
3627  });
3628
3629});
3630
3631}catch(e){
3632    // log it
3633    if (typeof console !== "undefined"){
3634        console.log('Error loading javascripts!' + e);
3635    }
3636}finally{
3637    define = _old_define;
3638    require = _old_require;
3639}
3640
3641define("mockup-patterns-inlinevalidation",["jquery","pat-base"],function(s,e){"use strict";return e.extend({name:"inlinevalidation",trigger:".pat-inlinevalidation",parser:"mockup",render_error:function(e,t){var n=s("div.fieldErrorBox",e);""!==t?(e.addClass("error"),n.html(t)):(e.removeClass("error"),n.html(""))},render_error_bootstrap:function(e,t){var n=s("input",e),i=s(".invali
3641d-feedback",e);""!==t?(n.addClass("is-invalid"),i.length?i.html(t):s('<div class="invalid-feedback">'+t+"</div>").insertAfter(n)):(n.removeClass("is-invalid"),i.length&&i.remove())},append_url_path:function(e,t){var n,i=e.split(/\?/),a=i[0];for("/"!==a[a.length-1]&&(a+="/"),a+=t,n=1;n<i.length;n+=1)a+="?"+i[n];return a},queue:function(e,t){void 0===t&&(t=e,e="fx"),s(window).queue(e,t)},validate_archetypes_field:function(e){var t=s(e),n=t.closest(".field"),i=n.attr("data-uid"),a=n.attr("data-fieldname"),o=t.val();t.prop("multiple")&&null===o&&(o=s([]).serialize());var r=s.param({uid:i,fname:a,value:o},!0);n&&i&&a&&this.queue(s.proxy(function(t){s.ajax({type:"POST",url:s("base").attr("href")+"/at_validate_field?"+r,iframe:!1,success:s.proxy(function(e){this.render_error(n,e.errmsg),t()},this),error:function(){t()},dataType:"json"})},this))},validate_formlib_field:function(e){var n=s(e).closest(".field"),i=n.closest("form").clone(),a=n.attr("data-fieldname");i.find("input[type=file]").remove(),this.queue(s.proxy(function(t){i.ajaxSubmit({url:this.append_url_path(i.attr("action"),"@@formlib_validate_field"),data:{fname:a},iframe:!1,success:s.proxy(function(e){this.render_error(n,e.errmsg),t()},this),error:function(){t()},dataType:"json"})},this))},validate_z3cform_field:function(e){var t=s(e),n=t.closest(".field"),i=n.closest("form"),a=i.clone(),o=t.closest("fieldset").attr("data-fieldset"),r=n.attr("data-fieldname");s.each(s("select",i),function(e,t){s('select[name="'+t.name+'"]',a).val(s(t).val())}),a.find("input[type=file]").remove(),r&&this.queue(s.proxy(function(t){a.ajaxSubmit({url:this.append_url_path(a.attr("action"),"@@z3cform_validate_field"),data:{fname:r,fset:o},iframe:!1,success:s.proxy(function(e){n.hasClass("form-group")?this.render_error_bootstrap(n,e.errmsg):this.render_error(n,e.errmsg),t()},this),error:function(){t()},dataType:"json"})},this))},init:function(){this.$el.find('input[type="text"], input[type="password"], input[type="checkbox"], select, textarea').on("blur",s.proxy(function(e){"archetypes"===this.options.type?this.validate_archetypes_field(e.target):"z3c.form"===this.options.type?this.validate_z3cform_field(e.target):"formlib"===this.options.type&&this.validate_formlib_field(e.target)},this))}})}),function(e){define("resource-plone-app-jquerytools-js",["jquery"],function(){return function(){function p(e,t){var n=f(t);return n.length<2?n:e.parent().find(t)}function n(e,r){var i,a,t,s=this,l=e.add(s),c=e.children(),d=0,u=r.vertical;
3641m=m||s,1<c.length&&(c=f(r.items,e)),1<r.size&&(r.circular=!1),f.extend(s,{getConf:function(){return r},getIndex:function(){return d},getSize:function(){return s.getItems().size()},getNaviButtons:function(){return n.add(h)},getRoot:function(){return e},getItemWrap:function(){return c},getItems:function(){return c.find(r.item).not("."+r.clonedClass)},move:function(e,t){return s.seekTo(d+e,t)},next:function(e){return s.move(r.size,e)},prev:function(e){return s.move(-r.size,e)},begin:function(e){return s.seekTo(0,e)},end:function(e){return s.seekTo(s.getSize()-1,e)},focus:function(){return m=s},addItem:function(e){return e=f(e),r.circular?(c.children().last().before(e),c.children().first().replaceWith(e.clone().addClass(r.clonedClass))):(c.append(e),h.removeClass("disabled")),l.trigger("onAddItem",[e]),s},seekTo:function(e,t,n){if(e.jquery||(e*=1),r.circular&&0===e&&-1==d&&0!==t)return s;if(!r.circular&&e<0||e>s.getSize()||e<-1)return s;var i=e;e.jquery?e=s.getItems().index(e):i=s.getItems().eq(e);var a=f.Event("onBeforeSeek");if(!n&&(l.trigger(a,[e,t]),a.isDefaultPrevented()||!i.length))return s;var o=u?{top:-i.position().top}:{left:-i.position().left};return d=e,m=s,void 0===t&&(t=r.speed),c.animate(o,t,r.easing,n||function(){l.trigger("onSeek",[e])}),s}}),f.each(["onBeforeSeek","onSeek","onAddItem"],function(e,t){f.isFunction(r[t])&&f(s).on(t,r[t]),s[t]=function(e){return e&&f(s).on(t,e),s}}),r.circular&&(i=s.getItems().slice(-1).clone().prependTo(c),a=s.getItems().eq(1).clone().appendTo(c),i.add(a).addClass(r.clonedClass),s.onBeforeSeek(function(e,t,n){if(!e.isDefaultPrevented())return-1==t?(s.seekTo(i,n,function(){s.end(0)}),e.preventDefault()):void(t==s.getSize()&&s.seekTo(a,n,function(){s.begin(0)}))}),(t=e.parents().add(e).filter(function(){if("none"===f(this).css("display"))return!0})).length?(t.show(),s.seekTo(0,0,function(){}),t.hide()):s.seekTo(0,0,function(){}));var o,n=p(e,r.prev).click(function(e){e.stopPropagation(),s.prev()}),h=p(e,r.next).click(function(e){e.stopPropagation(),s.next()});r.circular||(s.onBeforeSeek(function(e,t){setTimeout(function(){e.isDefaultPrevented()||(n.toggleClass(r.disabledClass,t<=0),h.toggleClass(r.disabledClass,t>=s.getSize()-1))},1)}),r.initialIndex||n.addClass(r.disabledClass)),s.getSize()<2&&n.add(h).addClass(r.disabledClass),r.mousewheel&&f.fn.mousewheel&&e.mousewheel(function(e,t){if(r.mousewheel)return s.move(t<0?1:-1,r.wheelSpeed||50),!1}),r.touch&&(o={},c[0].ontouchstart=function(e){var t=e.touches[0];o.x=t.clientX,o.y=t.clientY},c[0].ontouchmove=function(e){var t,n,i;1!=e.touches.length||c.is(":animated")||(t=e.touches[0],n=o.x-t.clientX,i=o.y-t.clientY,s[u&&0<i||!u&&0<n?"next":"prev"](),e.preventDefault())}),r.keyboard&&f(document).on("keydown.scrollable",function(e){if(!(!r.keyboard||e.altKey||e.ctrlKey||e.metaKey||f(e.target).is(":input")||"static"!=r.keyboard&&m!=s)){var t=e.keyCode;return!u||38!=t&&40!=t?u||37!=t&&39!=t?void 0:(s.move(37==t?-1:1),e.preventDefault()):(s.move(38==t?-1:1),e.preventDefault())}}),r.initialIndex&&s.seekTo(r.initialIndex,0,function(){})}var f,m,i,a,o,r,t,s,l,c,d,u,h,g;function v(e){var t;e&&((t=o.contentWindow.document).open().close(),t.location.hash=e)}function y(){if(/msie/.test(navigator.userAgent.toLowerCase())){var e=s(document).height(),t=s(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e-t<20?t:e]}return[s(document).width(),s(document).height()]}function b(e){if(e)return e.call(s.mask)}!function(f){f.tools=f.tools||{version:"@VERSION"},f.tools.overlay={addEffect:function(e,t,n){g[e]=[t,n]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!/msie/.test(navigator.userAgent.toLowerCase())||6<navigator.appVersion,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var m=[],g={};function n(e,r){var t,s,l=this,c=e.add(l),d=f(window),u=f.tools.expose&&(r.mask||r.expose),h=Math.random().toString().slice(10);u&&("string"==typeof u&&(u={color:u}),u.closeOnClick=u.closeOnEsc=!1);var p,n=r.target||e.attr("rel");if(!(p=n?f(n):e).length)throw"Could not find Overlay: "+n;e&&-1==e.index(p)&&e.click(function(e){return l.load(e),e.preventDefault()}),f.extend(l,{load:function(e){if(l.isOpened())return l;var t=g[r.effect];if(!t)throw'Overlay: cannot find effect : "'+r.effect+'"';if(r.oneInstance&&f.each(m,function(){this.close(e)}),(e=e||f.Event()).type="onBeforeLoad",c.trigger(e),e.isDefaultPrevented())return l;s=!0,u&&f(p).expose(u);var n=r.top,i=r.left,a=p.outerWidth(!0),o=p.outerHeight(!0);return"string"==typeof n&&(n="center"==n?Math.max((d.height()-o)/2,0):parseInt(n,10)/100*d.height()),"center"==i&&(i=Math.max((d.width()-a)/2,0)),t[0].call(l,{top:n,left:i},function(){s&&(e.type="onLoad",c.trigger(e))}),u&&r.closeOnClick&&f.mask.getMask().one("click",l.close),r.closeOnClick&&f(document).on("click."+h,function(e){f(e.target).parents(p).length||l.close(e)}),r.closeOnEsc&&f(document).on("keydown."+h,function(e){27==e.keyCode&&l.close(e)}),l},close:function(e){return l.isOpened()?((e=e||f.Event()).type="onBeforeClose",c.trigger(e),e.isDefaultPrevented()?void 0:(s=!1,g[r.effect][1].call(l,function(){e.type="onClose",c.trigger(e)}
3641),f(document).off("click."+h+" keydown."+h),u&&f.mask.close(),l)):l},getOverlay:function(){return p},getTrigger:function(){return e},getClosers:function(){return t},isOpened:function(){return s},getConf:function(){return r}}),f.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(e,t){f.isFunction(r[t])&&f(l).on(t,r[t]),l[t]=function(e){return e&&f(l).on(t,e),l}}),(t=p.find(r.close||".close")).length||r.close||(t=f('<a class="close"></a>'),p.prepend(t)),t.click(function(e){l.close(e)}),r.load&&l.load()}f.tools.overlay.addEffect("default",function(e,t){var n=this.getConf(),i=f(window);n.fixed||(e.top+=i.scrollTop(),e.left+=i.scrollLeft()),e.position=n.fixed?"fixed":"absolute",this.getOverlay().css(e).fadeIn(n.speed,t)},function(e){this.getOverlay().fadeOut(this.getConf().closeSpeed,e)}),f.fn.overlay=function(e){var t=this.data("overlay");return t||(f.isFunction(e)&&(e={onBeforeLoad:e}),e=f.extend(!0,{},f.tools.overlay.conf,e),this.each(function(){t=new n(f(this),e),m.push(t),f(this).data("overlay",t)}),e.api?t:this)}}(jQuery),(f=jQuery).tools=f.tools||{version:"@VERSION"},f.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:"> *",items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",size:1,speed:400,vertical:!1,touch:!0,wheelSpeed:0}},f.fn.scrollable=function(e){var t=this.data("scrollable");return t||(e=f.extend({},f.tools.scrollable.conf,e),this.each(function(){t=new n(f(this),e),f(this).data("scrollable",t)}),e.api?t:this)},function(h){h.tools=h.tools||{version:"@VERSION"},h.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialEffect:!1,initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(e,t){p[e]=t}};var a,o,p={default:function(e,t){this.getPanes().hide().eq(e).show(),t.call()},fade:function(e,t){var n=this.getConf(),i=n.fadeOutSpeed,a=this.getPanes();i?a.fadeOut(i):a.hide(),a.eq(e).fadeIn(n.fadeInSpeed,t)},slide:function(e,t){var n=this.getConf();this.getPanes().slideUp(n.slideUpSpeed),this.getPanes().eq(e).slideDown(n.slideDownSpeed,t)},ajax:function(e,t){this.getPanes().eq(0).load(this.getTabs().eq(e).attr("href"),t)}};function i(r,e,s){var l,c=this,d=r.add(this),u=r.find(s.tabs),t=e.jquery?e:r.children(e);u.length||(u=r.children()),t.length||(t=r.parent().find(e)),t.length||(t=h(e)),h.extend(this,{click:function(e,t){var n=u.eq(e),i=!r.data("tabs");if("string"==typeof e&&e.replace("#","")&&(n=u.filter('[href*="'+e.replace("#","")+'"]'),e=Math.max(u.index(n),0)),s.rotate){var a=u.length-1;if(e<0)return c.click(a,t);if(a<e)return c.click(0,t)}if(!n.length){if(0<=l)return c;e=s.initialIndex,n=u.eq(e)}if(e===l)return c;if((t=t||h.Event()).type="onBeforeClick",d.trigger(t,[e]),!t.isDefaultPrevented()){var o=i?s.initialEffect&&s.effect||"default":s.effect;return p[o].call(c,e,function(){l=e,t.type="onClick",d.trigger(t,[e])}),u.removeClass(s.current),n.addClass(s.current),c}},getConf:function(){return s},getTabs:function(){return u},getPanes:function(){return t},getCurrentPane:function(){return t.eq(l)},getCurrentTab:function(){return u.eq(l)},getIndex:function(){return l},next:function(){return c.click(l+1)},prev:function(){return c.click(l-1)},destroy:function(){return u.off(s.event).removeClass(s.current),t.find('a[href^="#"]').off("click.T"),c}}),h.each("onBeforeClick,onClick".split(","),function(e,t){h.isFunction(s[t])&&h(c).on(t,s[t]),c[t]=function(e){return e&&h(c).on(t,e),c}}),s.history&&h.fn.history&&(h.tools.history.init(u),s.event="history"),u.each(function(t){h(this).on(s.event,function(e){return c.click(t,e),e.preventDefault()})}),t.find('a[href^="#"]').on("click.T",function(e){c.click(h(this).attr("href"),e)}),location.hash&&"a"==s.tabs&&r.find('[href="'+location.hash+'"]').length?c.click(location.hash):(0===s.initialIndex||0<s.initialIndex)&&c.click(s.initialIndex)}h.tools.tabs.addEffect("horizontal",function(e,t){var n,i;a||(n=this.getPanes().eq(e),i=this.getCurrentPane(),o=o||this.getPanes().eq(0).width(),a=!0,n.show(),i.animate({width:0},{step:function(e){n.css("width",o-e)},complete:function(){h(this).hide(),t.call(),a=!1}}),i.length||(t.call(),a=!1))}),h.fn.tabs=function(e,t){var n=this.data("tabs");return n&&(n.destroy(),this.removeData("tabs")),h.isFunction(t)&&(t={onBeforeClick:t}),t=h.extend({},h.tools.tabs.conf,t),this.each(function(){n=new i(h(this),e,t),h(this).data("tabs",n)}),t.api?n:this}}(jQuery),(i=jQuery).tools=i.tools||{version:"@VERSION"},i.tools.history={init:function(e){t||(i.browser.msie&&i.browser.version<"8"?o||(o=i("<iframe/>").attr("src","javascript:false;").hide().get(0),i("body").append(o),setInterval(function(){var e=o.contentWindow.document.location.hash;a!==e&&i(window).trigger("hash",e)},100),v(location.hash||"#")):setInterval(function(){var e=location.hash;e!==a&&i(window).trigger("hash",e)},100),r=r?r.add(e):e,e.click(function(e){var t=i(this).attr("href");if(o&&v(t),"#"!=t.slice(0,1))return location.href="#"+t,e.preventDefault()}),t=!0)}},i(window).on("hash",function(e,t){t?r.filter(function(){var e=i(this).attr("href");return e==t||e==t.replace("#","")}).trigger("history",[t]):r.eq(0).trigger("history",[t]),a=t}),i.fn.history=function(e){return i.tools.history.init(this),this.on("history",e)},(s=jQuery).tools=s.tools||{version:"@VERSION"},l=s.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}},s.mask={load:function(e,t){if(u)return this;"string"==typeof e&&(e={color:e}),e=e||h,h=e=s.extend(s.extend({},l.conf),e),(c=s("#"+e.maskId)).length||(c=s("<div/>").attr("id",e.maskId),s("body").append(c));var n=y();return c.css({position:"absolute",top:0,left:0,width:n[0],height:n[1],display:"none",opacity:e.startOpacity,zIndex:e.zIndex}),e.color&&c.css("backgroundColor",e.color),!1===b(e.onBeforeLoad)||(e.closeOnEsc&&s(document).on("keydown.mask",function(e){27==e.keyCode&&s.mask.close(e)}),e.closeOnClick&&c.on("click.mask",function(e){s.mask.close(e)}),s(window).on("resize.mask",function(){s.mask.fit()}),t&&t.length&&(g=t.eq(0).css("zIndex"),s.each(t,function(){var e=s(this);/relative|absolute|fixed/i.test(e.css("position"))||e.css("position","relative")}),d=t.css({zIndex:Math.max(e.zIndex+1,"auto"==g?0:g)})),c.css({display:"block"}).fadeTo(e.loadSpeed,e.opacity,function(){s.mask.fit(),b(e.onLoad),u="full"}),u=!0),this},close:function(){if(u){if(!1===b(h.onBeforeClose))return this;c.fadeOut(h.closeSpeed,function(){d&&d.css({zIndex:g}),u=!1,b(h.onClose)}),s(document).off("keydown.mask"),c.off("click.mask"),s(window).off("resize.mask")}return this},fit:function(){var e;u&&(e=y(),c.css({width:e[0],height:e[1]}))},getMask:function(){return c},isLoaded:function(e){return e?"full"==u:u},getConf:function(){return h},getExposed:function(){return d}},s.fn.mask=function(e){return s.mask.load(e),this},s.fn.expose=function(e){return s.mask.load(e,this),this},function(m){m.tools=m.tools||{version:"@VERSION"},m.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,fadeIE:!1,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(e,t,n){g[e]=[t,n]}};var g={toggle:[function(e){var t=this.getConf(),n=this.getTip(),i=t.opacity;i<1&&n.css({opacity:i}),n.show(),e.call()},function(e){this.getTip().hide(),e.call()}],fade:[function(e){var t=this.getConf();!/msie/.test(navigator.userAgent.toLowerCase())||t.fadeIE?this.getTip().fadeTo(t.fadeInSpeed,t.opacity,e):(this.getTip().show(),e())},function(e){var t=this.getConf();!/msie/.test(navigator.userAgent.toLowerCase())||t.fadeIE?this.getTip().fadeOut(t.fadeOutSpeed,e):(this.getTip().hide(),e())}]};function v(e,t,n){var i=n.relative?e.position().top:e.offset().top,a=n.relative?e.position().left:e.offset().left,o=n.position[0];i-=t.outerHeight()-n.offset[0],a+=e.outerWidth()+n.offset[1],/iPad/i.test(navigator.userAgent)&&(i-=m(window).scrollTop());var r=t.outerHeight()+e.outerHeight();"center"==o&&(i+=r/2),"bottom"==o&&(i+=r),o=n.position[1];var s=t.outerWidth()+e.outerWidth();return"center"==o&&(a-=s/2),"left"==o&&(a-=s),{top:i,left:a}}function n(i,a){var o,r,s=this,l=i.add(s),c=0,d=0,u=i.attr("title"),h=i.attr("data-tooltip"),p=g[a.effect],e=i.is(":input"),t=e&&i.is(":checkbox, :radio, select, :button, :submit"),n=i.attr("type"),f=a.events[n]||a.events[e?t?"widget":"input":"def"];if(!p)throw'Nonexistent effect "'+a.effect+'"';if(2!=(f=f.split(/,\s*/)).length)throw"Tooltip: bad events configuration for "+n;i.on(f[0],function(e){clearTimeout(c),a.predelay?d=setTimeout(function(){s.show(e)},a.predelay):s.show(e)}).on(f[1],function(e){clearTimeout(d),a.delay?c=setTimeout(function(){s.hide(e)},a.delay):s.hide(e)}),u&&a.cancelDefault&&(i.removeAttr("title"),i.data("title",u)),m.extend(s,{show:function(e){if(!o&&(h?o=m(h):a.tip?o=m(a.tip).eq(0):u?o=m(a.layout).addClass(a.tipClass).appendTo(document.body).hide().append(u):((o=i.find("."+a.tipClass)).length||(o=i.next()),o.length||(o=i.parent().next())),!o.length))throw"Cannot find tooltip for "+i;if(s.isShown())return s;o.stop(!0,!0);var t=v(i,o,a);if(a.tip&&o.html(i.data("title")),(e=m.Event()).type="onBeforeShow",l.trigger(e,[t]),e.isDefaultPrevented())return s;
3641t=v(i,o,a),o.css({position:"absolute",top:t.top,left:t.left}),r=!0,p[0].call(s,function(){e.type="onShow",r="full",l.trigger(e)});var n=a.events.tooltip.split(/,\s*/);return o.data("__set")||(o.off(n[0]).on(n[0],function(){clearTimeout(c),clearTimeout(d)}),n[1]&&!i.is("input:not(:checkbox, :radio), textarea")&&o.off(n[1]).on(n[1],function(e){e.relatedTarget!=i[0]&&i.trigger(f[1].split(" ")[0])}),a.tip||o.data("__set",!0)),s},hide:function(e){return o&&s.isShown()?((e=m.Event()).type="onBeforeHide",l.trigger(e),e.isDefaultPrevented()?void 0:(r=!1,g[a.effect][1].call(s,function(){e.type="onHide",l.trigger(e)}),s)):s},isShown:function(e){return e?"full"==r:r},getConf:function(){return a},getTip:function(){return o},getTrigger:function(){return i}}),m.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(e,t){m.isFunction(a[t])&&m(s).on(t,a[t]),s[t]=function(e){return e&&m(s).on(t,e),s}})}m.fn.tooltip=function(e){var t=this.data("tooltip");return t||("string"==typeof(e=m.extend(!0,{},m.tools.tooltip.conf,e)).position&&(e.position=e.position.split(/,?\s/)),this.each(function(){t=new n(m(this),e),m(this).data("tooltip",t)}),e.api?t:this)}}(jQuery)}.apply(e,arguments)})}(this),function(e){define("resource-plone-app-jquerytools-dateinput-js",["jquery"],function(){return function(){!function(M,R){function P(e,t){return new Date(e,t+1,0).getDate()}function d(e,t){for(e=""+e,t=t||2;e.length<t;)e="0"+e;return e}function u(e,t,n,i){var a=t.getDate(),o=t.getDay(),r=t.getMonth(),s=t.getFullYear(),l={d:a,dd:d(a),ddd:U[i].shortDays[o],dddd:U[i].days[o],m:r+1,mm:d(r+1),mmm:U[i].shortMonths[r],mmmm:U[i].months[r],yy:String(s).slice(2),yyyy:s},c=p[e](n,t,l,i);return f.html(c).html()}function _(e){return parseInt(e,10)}function j(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()}function N(e){if(e!==R){if(e.constructor==Date)return e;if("string"==typeof e){var t=e.split("-");if(3==t.length)return new Date(_(t[0]),_(t[1])-1,_(t[2]));if(!/^-?\d+$/.test(e))return;e=_(e)}var n=new Date;return n.setDate(n.getDate()+e),n}}function a(o,p){function f(e,t,n){return o.attr("readonly")?void k.hide(n):(v=(E=e).getFullYear(),y=e.getMonth(),b=e.getDate(),"click"!=(n=n||M.Event("api")).type||/msie/.test(navigator.userAgent.toLowerCase())||o.focus(),n.type="beforeChange",l.trigger(n,[e]),void(n.isDefaultPrevented()||(o.val(u(t.formatter,e,t.format,t.lang)),n.type="change",n.target=o[0],l.trigger(n),o.data("date",e),k.hide(n))))}function n(e){e.type="onShow",l.trigger(e),M(document).on("keydown.d",function(e){if(e.ctrlKey)return!0;var t=e.keyCode;if(8==t||46==t)return o.val(""),k.hide(e);if(27==t||9==t)return k.hide(e);if(0<=M(F).index(t)){if(!w)return k.show(e),e.preventDefault();var n=M("#"+T.weeks+" a"),i=M("."+T.focus),a=n.index(i);return i.removeClass(T.focus),74==t||40==t?a+=7:75==t||38==t?a-=7:76==t||39==t?a+=1:72!=t&&37!=t||--a,(i=41<a?(k.addMonth(),M("#"+T.weeks+" a:eq("+(a-42)+")")):a<0?(k.addMonth(-1),M("#"+T.weeks+" a:eq("+(a+42)+")")):n.eq(a)).addClass(T.focus),e.preventDefault()}return 34==t?k.addMonth():33==t?k.addMonth(-1):36==t?k.today():(13==t&&(M(e.target).is("select")||M("."+T.focus).click()),0<=M([16,17,18,9]).index(t))}),M(document).on("click.d",function(e){var t=e.target;t.id==T.root||M(t).parents("#"+T.root).length||t==o[0]||i&&t==i[0]||k.hide(e)})}var i,m,g,v,y,b,w,e,t,a,k=this,x=new Date,r=x.getFullYear(),T=p.css,S=U[p.lang],s=M("#"+T.root),C=s.find("#"+T.title),E=o.attr("data-value")||p.value||o.val(),D=o.attr("min")||p.min,$=o.attr("max")||p.max;if(0===D&&(D="0"),E=N(E)||x,D=N(D||new Date(r+p.yearRange[0],1,1)),$=N($||new Date(r+p.yearRange[1]+1,1,-1)),!S)throw"Dateinput: invalid language: "+p.lang;"date"==o.attr("type")&&(t=(e=o.clone()).wrap("<div/>").parent().html(),a=M(t.replace(/type/i,"type=text data-orig-type")),p.value&&a.val(p.value),o.replaceWith(a),o=a),o.addClass(T.input);var l=o.add(k);if(!s.length){(s=M("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",T.root)).children().eq(0).attr("id",T.head).end().eq(1).attr("id",T.body).children().eq(0).attr("id",T.days).end().eq(1).attr("id",T.weeks).end().end().end().find("a").eq(0).attr("id",T.prev).end().eq(1).attr("id",T.next),C=s.find("#"+T.head).find("div").attr("id",T.title),p.selectors&&(I=M("<select/>").attr("id",T.month),A=M("<select/>").attr("id",T.year),C.html(I.add(A)));for(var c=s.find("#"+T.days),d=0;d<7;d++)c.append(M("<span/>").text(S.shortDays[(d+p.firstDay)%7]));M("body").append(s)}p.trigger&&(i=M("<a/>").attr("href","#").addClass(T.trigger).click(function(e){return p.toggle?k.toggle():k.show(),e.preventDefault()}).insertAfter(o));var O=s.find("#"+T.weeks),A=s.find("#"+T.year),I=s.find("#"+T.month);M.extend(k,{show:function(e){if(!o.attr("disabled")&&!w&&((e=e||M.Event()).type="onBeforeShow",l.trigger(e),!e.isDefaultPrevented())){M.each(h,function(){this.hide()}
3641),w=!0,I.off("change").change(function(){k.setValue(_(A.val()),_(M(this).val()))}),A.off("change").change(function(){k.setValue(_(M(this).val()),_(I.val()))}),m=s.find("#"+T.prev).off("click").click(function(){return m.hasClass(T.disabled)||k.addMonth(-1),!1}),g=s.find("#"+T.next).off("click").click(function(){return g.hasClass(T.disabled)||k.addMonth(),!1}),k.setValue(E);var t=o.offset();return/iPad/i.test(navigator.userAgent)&&(t.top-=M(window).scrollTop()),s.css({top:t.top+o.outerHeight(!0)+p.offset[0],left:t.left+p.offset[1]}),p.speed?s.show(p.speed,function(){n(e)}):(s.show(),n(e)),k}},setValue:function(n,e,t){var i=-1<=_(e)?new Date(_(n),_(e),_(t==R||isNaN(t)?1:t)):n||E;if(i<D?i=D:$<i&&(i=$),"string"==typeof n&&(i=N(n)),n=i.getFullYear(),e=i.getMonth(),t=i.getDate(),-1==e?(e=11,n--):12==e&&(e=0,n++),!w)return f(i,p),k;y=e,v=n,b=t;var a,o=new Date(n,e,1-p.firstDay).getDay(),r=P(n,e),s=P(n,e-1);if(p.selectors){I.empty(),M.each(S.months,function(e,t){D<new Date(n,e+1,1)&&$>new Date(n,e,0)&&I.append(M("<option/>").html(t).attr("value",e))}),A.empty();for(var l=x.getFullYear(),c=l+p.yearRange[0];c<l+p.yearRange[1];c++)D<new Date(c+1,0,1)&&$>new Date(c,0,0)&&A.append(M("<option/>").text(c));I.val(e),A.val(n)}else C.html(S.months[e]+" "+n);O.empty(),m.add(g).removeClass(T.disabled);for(var d,u,h=o?0:-7;h<(o?42:35);h++)d=M("<a/>"),h%7==0&&(a=M("<div/>").addClass(T.week),O.append(a)),h<o?(d.addClass(T.off),u=s-o+h+1,i=new Date(n,e-1,u)):o+r<=h?(d.addClass(T.off),u=h-r-o+1,i=new Date(n,e+1,u)):(u=h-o+1,i=new Date(n,e,u),j(E,i)?d.attr("id",T.current).addClass(T.focus):j(x,i)&&d.attr("id",T.today)),D&&i<D&&d.add(m).addClass(T.disabled),$&&$<i&&d.add(g).addClass(T.disabled),d.attr("href","#"+u).text(u).data("date",i),a.append(d);return O.find("a").click(function(e){var t=M(this);return t.hasClass(T.disabled)||(M("#"+T.current).removeAttr("id"),t.attr("id",T.current),f(t.data("date"),p,e)),!1}),T.sunday&&O.find("."+T.week).each(function(){var e=p.firstDay?7-p.firstDay:0;M(this).children().slice(e,1+e).addClass(T.sunday)}),k},setMin:function(e,t){return D=N(e),t&&E<D&&k.setValue(D),k},setMax:function(e,t){return $=N(e),t&&$<E&&k.setValue($),k},today:function(){return k.setValue(x)},addDay:function(e){return this.setValue(v,y,b+(e||1))},addMonth:function(e){var t=y+(e||1),n=P(v,t),i=b<=n?b:n;return this.setValue(v,t,i)},addYear:function(e){return this.setValue(v+(e||1),y,b)},destroy:function(){o.add(document).off("click.d keydown.d"),s.add(i).remove(),o.removeData("dateinput").removeClass(T.input),e&&o.replaceWith(e)},hide:function(e){if(w){if((e=M.Event()).type="onHide",l.trigger(e),e.isDefaultPrevented())return;M(document).off("click.d keydown.d"),s.hide(),w=!1}return k},toggle:function(){return k.isOpen()?k.hide():k.show()},getConf:function(){return p},getInput:function(){return o},getCalendar:function(){return s},getValue:function(e){return e?u(p.formatter,E,e,p.lang):E},isOpen:function(){return w}}),M.each(["onBeforeShow","onShow","change","onHide"],function(e,t){M.isFunction(p[t])&&M(k).on(t,p[t]),k[t]=function(e){return e&&M(k).on(t,e),k}}),p.editable||o.on("focus.d click.d",k.show).keydown(function(e){var t=e.keyCode;return!w&&0<=M(F).index(t)?(k.show(e),e.preventDefault()):(8!=t&&46!=t||o.val(""),!!(e.shiftKey||e.ctrlKey||e.altKey||9==t)||e.preventDefault())}),N(o.val())&&f(E,p)}M.tools=M.tools||{version:"@VERSION"};var h=[],p={},F=[75,76,38,39,74,72,40,37],U={},e=M.tools.dateinput={conf:{format:"mm/dd/yy",formatter:"default",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:R,max:R,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},addFormatter:function(e,t){p[e]=t},localize:function(e,n){M.each(n,function(e,t){n[e]=t.split(",")}),U[e]=n}};e.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var f=M("<a/>");e.addFormatter("default",function(e,t,n){return e.replace(/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,function(e){return e in n?n[e]:e})}),e.addFormatter("prefixed",function(e,t,n){return e.replace(/%(d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*')/g,function(e,t){return t in n?n[t]:e})}),M.expr[":"].date=function(e){var t=e.getAttribute("type");return t&&"date"==t||!!M(e).data("dateinput")},M.fn.dateinput=function(n){return this.data("dateinput")?this:(n=M.extend(!0,{},e.conf,n),M.each(n.css,function(e,t){t||"prefix"==e||(n.css[e]=(n.css.prefix||"")+(t||e))}),this.each(function(){var e=new a(M(this),n);h.push(e);var t=e.getInput().data("dateinput",e);i=i?i.add(t):t}),i||this);var i}}(jQuery)}.apply(e,arguments)})}(this),function(e){define("jquery.tmpl",["jquery"],function(){return function(){function c(e,t,n,i){var a={data:i||(t?t.data:{}),_wrap:t?t._wrap:null,tmpl:null,parent:t||null,nodes:[],calls:d,nest:h,wrap:p,html:f,update:m};return e&&g.extend(a,e,{nodes:[],parent:t}),n&&(a.tmpl=n,a._ctnt=a._ctnt||a.tmpl(g,a),a.key=++T,(C.length?k:w)[T]=a),a}function r(t,e,n){var a,i=n?g.map(n,function(e){return"string"==typeof e?t.key?e.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+b+'="'+t.key+'" $2'):e:r(e,t,e._ctnt)}):t;return e?i:((i=i.join("")).replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(e,t,n,i){l(a=g(n).get()),t&&(a=o(t).concat(a)),i&&(a=a.concat(o(i)))}),a||o(i))}function o(e){var t=document.createElement("div");return t.innerHTML=e,g.makeArray(t.childNodes)}function n(e){return new Function("jQuery","$item","var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('"+g.trim(e).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(e,t,n,i,a,o,r){var s,l,c,d=g.tmpl.tag[n];if(!d)throw"Template command not found: "+n;return s=d._default||[],o&&!/\w$/.test(a)&&(a+=o,o=""),c=a?(a=u(a),r=r?","+u(r)+")":o?")":"",l=o?-1<a.indexOf(".")?a+o:"("+a+").call($item"+r:a,o?l:"(typeof("+a+")==='function'?("+
3641a+").call($item):("+a+"))"):l=s.$1||"null",i=u(i),"');"+d[t?"close":"open"].split("$notnull_1").join(a?"typeof("+a+")!=='undefined' && ("+a+")!=null":"true").split("$1a").join(c).split("$1").join(l).split("$2").join(i?i.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g,function(e,t,n,i){return(i=i?","+i+")":n?")":"")?"("+t+").call($item"+i:e}):s.$2||"")+"_.push('"})+"');}return _;")}function s(e,t){e._wrap=r(e,!0,g.isArray(t)?t:[i.test(t)?t:g(t).html()]).join("")}function u(e){return e?e.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function l(e){for(var t,n,i,s="_"+S,l={},a=0,o=e.length;a<o;a++)if(1===(t=e[a]).nodeType){for(i=(n=t.getElementsByTagName("*")).length-1;0<=i;i--)r(n[i]);r(t)}function r(e){var t,n,i,a,o=e;if(a=e.getAttribute(b)){for(;o.parentNode&&1===(o=o.parentNode).nodeType&&!(t=o.getAttribute(b)););t!==a&&(o=o.parentNode&&11!==o.nodeType&&o.getAttribute(b)||0,(i=w[a])||((i=c(i=k[a],w[o]||k[o],null,!0)).key=++T,w[T]=i),S&&r(a)),e.removeAttribute(b)}else S&&(i=g.data(e,"tmplItem"))&&(r(i.key),w[i.key]=i,o=(o=g.data(e.parentNode,"tmplItem"))?o.key:0);if(i){for(n=i;n&&n.key!=o;)n.nodes.push(e),n=n.parent;delete i._ctnt,delete i._wrap,g.data(e,"tmplItem",i)}function r(e){i=l[e+=s]=l[e]||c(i,w[i.parent.key+s]||i.parent,null,!0)}}}function d(e,t,n,i){if(!e)return C.pop();C.push({_:e,tmpl:t,item:this,data:n,options:i})}function h(e,t,n){return g.tmpl(g.template(e),t,n,this)}function p(e,t){var n=e.options||{};return n.wrapped=t,g.tmpl(g.template(e.tmpl),e.data,n,e.item)}function f(e,i){var t=this._wrap;return g.map(g(g.isArray(t)?t.join(""):t).filter(e||"*"),function(e){return i?e.innerText||e.textContent:e.outerHTML||(t=e,(n=document.createElement("div")).appendChild(t.cloneNode(!0)),n.innerHTML);var t,n})}function m(){var e=this.nodes;g.tmpl(null,null,null,this).insertBefore(e[0]),g(e).remove()}var g,v,y,b,i,w,k,x,T,S,C;g=jQuery,y=g.fn.domManip,b="_tmplitem",i=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,w={},k={},x={key:0,data:{}},S=T=0,C=[],g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,c){g.fn[l]=function(e){var t,n,i,a,o=[],r=g(e),s=1===this.length&&this[0].parentNode;if(v=w||{},s&&11===s.nodeType&&1===s.childNodes.length&&1===r.length)r[c](this[0]),o=this;else{for(n=0,i=r.length;n<i;n++)t=(0<(S=n)?this.clone(!0):this).get(),g.fn[c].apply(g(r[n]),t),o=o.concat(t);S=0,o=this.pushStack(o,l,r.selector)}return a=v,v=null,g.tmpl.complete(a),o}}),g.fn.extend({tmpl:function(e,t,n){return g.tmpl(this[0],e,t,n)},tmplItem:function(){return g.tmplItem(this[0])},template:function(e){return g.template(e,this[0])},domManip:function(e,t,n,i){if(e[0]&&e[0].nodeType){for(var a,o=g.makeArray(arguments),r=e.length,s=0;s<r&&!(a=g.data(e[s++],"tmplItem")););1<r&&(o[0]=[g.makeArray(e)]),a&&S&&(o[2]=function(e){g.tmpl.afterManip(this,e,n)}),y.apply(this,o)}else y.apply(this,arguments);return S=0,v||g.tmpl.complete(w),this}}),g.extend({tmpl:function(t,e,n,i){var a,o=!i;if(o)i=x,t=g.template[t]||g.template(null,t),k={};else if(!t)return t=i.tmpl,(w[i.key]=i).nodes=[],i.wrapped&&s(i,i.wrapped),g(r(i,null,i.tmpl(g,i)));return t?("function"==typeof e&&(e=e.call(i||{})),n&&n.wrapped&&s(n,n.wrapped),a=g.isArray(e)?g.map(e,function(e){return e?c(n,i,t,e):null}):[c(n,i,t,e)],o?g(r(i,null,a)):a):[]},tmplItem:function(e){var t;for(e instanceof g&&(e=e[0]);e&&1===e.nodeType&&!(t=g.data(e,"tmplItem"))&&(e=e.parentNode););return t||x},template:function(e,t){return t?("string"==typeof t?t=n(t):t instanceof g&&(t=t[0]||{}),t.nodeType&&(t=g.data(t,"tmpl")||g.data(t,"tmpl",n(t.innerHTML))),"string"==typeof e?g.template[e]=t:t):e?"string"!=typeof e?g.template(null,e):g.template[e]||g.template(null,i.test(e)?e:g(e)):null},encode:function(e){return(""+e).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}}),g.extend(g.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){_=_.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(_,$1,$2);_=[];",close:"call=$item.calls();_=call._.concat($item.wrap(call,_));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},if:{open:"if(($notnull_1) && $1a){",close:"}"},else:{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){_.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){_.push($.encode($1a));}"},"!":{open:""}},complete:function(e){w={}},afterManip:function(e,t,n){var i=11===t.nodeType?g.makeArray(t.childNodes):1===t.nodeType?[t]:[];n.call(e,t),l(i),S++}})}.apply(e,arguments)})}(this),function(e){define("jquery.recurrenceinput",["jquery","resource-plone-app-jquerytools-js","resource-plone-app-jquerytools-dateinput-js","jquery.tmpl"],function(){return function(){!function(A){A.tools=A.tools||{version:"@VERSION"};var a,p={};(a=A.tools.recurrenceinput={conf:{lang:"en",readOnly:!1,firstDay:0,startField:null,startFieldYear:null,startFieldMonth:null,startFieldDay:null,ajaxURL:null,ajaxContentType:"application/json; charset=utf8",ributtonExtraClass:"",hasRepeatForeverButton:!0,formOverlay:{speed:"fast",fixed:!1},template:{form:"#jquery-recurrenceinput-form-tmpl",display:"#jquery-recurrenceinput-display-tmpl"},rtemplate:{daily:{rrule:"FREQ=DAILY",fields:["ridailyinterval","rirangeoptions"]},mondayfriday:{rrule:"FREQ=WEEKLY;BYDAY=MO,FR",fields:["rirangeoptions"]},weekdays:{rrule:"FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR",fields:["rirangeoptions"]},weekly:{rrule:"FREQ=WEEKLY",fields:["riweeklyinterval","riweeklyweekdays","rirangeoptions"]},monthly:{rrule:"FREQ=MONTHLY",fields:["rimonthlyinterval","rimonthlyoptions","rirangeoptions"]},yearly:{rrule:"FREQ=YEARLY",fields:["riyearlyinterval","riyearlyoptions","rirangeoptions"]}}},localize:function(e,t){p[e]=t},setTemplates:function(e,t){var n,i;for(n in a.conf.rtemplate=e,t)if(t.hasOwnProperty(n))for(i in t[n])t[n].hasOwnProperty(i)&&(p[n].rtemplate[i]=t[n][i])}}).localize("en",{displayUnactivate:"Does not repeat",displayActivate:"Repeats every",add_rules:"Add",edit_rules:"Edit",delete_rules:"Delete",add:"Add",refresh:"Refresh",title:"Repeat",preview:"Selected dates",addDate:"Add date",recurrenceType:"Repeats:",dailyInterval1:"Repeat every:",dailyInterval2:"days",weeklyInterval1:"Repeat every:",weeklyInterval2:"week(s)",weeklyWeekdays:"Repeat on:",weeklyWeekdaysHuman:"on:",monthlyInterval1:"Repeat every:",monthlyInterval2:"month(s)",monthlyDayOfMonth1:"Day",monthlyDayOfMonth1Human:"on day",monthlyDayOfMonth2:"of the month",monthlyDayOfMonth3:"month(s)",monthlyWee
3641kdayOfMonth1:"The",monthlyWeekdayOfMonth1Human:"on the",monthlyWeekdayOfMonth2:"",monthlyWeekdayOfMonth3:"of the month",monthlyRepeatOn:"Repeat on:",yearlyInterval1:"Repeat every:",yearlyInterval2:"year(s)",yearlyDayOfMonth1:"Every",yearlyDayOfMonth1Human:"on",yearlyDayOfMonth2:"",yearlyDayOfMonth3:"",yearlyWeekdayOfMonth1:"The",yearlyWeekdayOfMonth1Human:"on the",yearlyWeekdayOfMonth2:"",yearlyWeekdayOfMonth3:"of",yearlyWeekdayOfMonth4:"",yearlyRepeatOn:"Repeat on:",range:"End recurrence:",rangeNoEnd:"Never",rangeByOccurrences1:"After",rangeByOccurrences1Human:"ends after",rangeByOccurrences2:"occurrence(s)",rangeByEndDate:"On",rangeByEndDateHuman:"ends on",including:", and also",except:", except for",cancel:"Cancel",save:"Save",recurrenceStart:"Start of the recurrence",additionalDate:"Additional date",include:"Include",exclude:"Exclude",remove:"Remove",orderIndexes:["first","second","third","fourth","last"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortWeekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longDateFormat:"mmmm dd, yyyy",shortDateFormat:"mm/dd/yyyy",unsupportedFeatures:"Warning: This event uses recurrence features not supported by this widget. Saving the recurrence may change the recurrence in unintended ways:",noTemplateMatch:"No matching recurrence template",multipleDayOfMonth:"This widget does not support multiple days in monthly or yearly recurrence",bysetpos:"BYSETPOS is not supported",noRule:"No RRULE in RRULE data",noRepeatEvery:'Error: The "Repeat every"-field must be between 1 and 1000',noEndDate:"Error: End date is not set. Please set a correct value",noRepeatOn:'Error: "Repeat on"-value must be selected',pastEndDate:"Error: End date cannot be before start date",noEndAfterNOccurrences:'Error: The "After N occurrences"-field must be between 1 and 1000',alreadyAdded:"This date was already added",rtemplate:{daily:"Daily",mondayfriday:"Monday and Friday",weekdays:"Weekday",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly"}});var e=['<div class="rioccurrences">',"{{each occurrences}}",'<div class="occurrence ${occurrences[$index].type}">',"<span>","${occurrences[$index].formattedDate}",'{{if occurrences[$index].type === "start"}}','<span class="rlabel">${i18n.recurrenceStart}</span>',"{{/if}}",'{{if occurrences[$index].type === "rdate"}}','<span class="rlabel">${i18n.additionalDate}</span>',"{{/if}}","</span>","{{if !readOnly}}",'<span class="action">','{{if occurrences[$index].type === "rrule"}}','<a date="${occurrences[$index].date}" href="#"','class="${occurrences[$index].type}" title="${i18n.exclude}">',"${i18n.exclude}","</a>","{{/if}}",'{{if occurrences[$index].type === "rdate"}}','<a date="${occurrences[$index].date}" href="#"','class="${occurrences[$index].type}" title="${i18n.remove}" >',"${i18n.remove}","</a>","{{/if}}",'{{if occurrences[$index].type === "exdate"}}','<a date="${occurrences[$index].date}" href="#"','class="${occurrences[$index].type}" title="${i18n.include}">',"${i18n.include}","</a>","{{/if}}","</span>","{{/if}}","</div>","{{/each}}",'<div class="batching">',"{{each batch.batches}}",'{{if $index === batch.currentBatch}}<span class="current">{{/if}}','<a href="#" start="${batch.batches[$index][0]}">[${batch.batches[$index][0]} - ${batch.batches[$index][1]}]</a>',"{{if $index === batch.currentBatch}}</span>{{/if}}","{{/each}}","</div></div>"].join("\n");A.template("occurrenceTmpl",e);var t=['<div class="ridisplay">','<div class="rimain">',"{{if !readOnly}}",'<button name="riedit">${i18n.add_rules}</button>','<button name="ridelete" style="display:none">${i18n.delete_rules}</button>',"{{/if}}",'<label class="ridisplay">${i18n.displayUnactivate}</label>',"</div>",'<div class="rioccurrences" style="display:none" /></div>'].join("\n");A.template("displayTmpl",t);var n=['<div class="riform">',"<form>","<h1>${i18n.title}</h1>",'<div id="messagearea" style="display: none;">',"</div>",'<div id="rirtemplate">','<label for="${name}rtemplate" class="label">',"${i18n.recurrenceType}","</label>",'<select id="rirtemplate" name="rirtemplate" class="field">',"{{each rtemplate}}",'<option value="${$index}">${i18n.rtemplate[$index]}</value>',"{{/each}}","</select>","<div>",'<div id="riformfields">','<div id="ridailyinterval" class="rifield">','<label for="${name}dailyinterval" class="label">',"${i18n.dailyInterval1}","</label>",'<div class="field">','<input type="text" size="2"','value="1"','name="ridailyinterval"','i
3641d="${name}dailyinterval" />',"${i18n.dailyInterval2}","</div>","</div>",'<div id="riweeklyinterval" class="rifield">','<label for="${name}weeklyinterval" class="label">',"${i18n.weeklyInterval1}","</label>",'<div class="field">','<input type="text" size="2"','value="1"','name="riweeklyinterval"','id="${name}weeklyinterval"/>',"${i18n.weeklyInterval2}","</div>","</div>",'<div id="riweeklyweekdays" class="rifield">','<label for="${name}weeklyinterval" class="label">${i18n.weeklyWeekdays}</label>','<div class="field">',"{{each orderedWeekdays}}",'<div class="riweeklyweekday">','<input type="checkbox"','name="riweeklyweekdays${weekdays[$value]}"','id="${name}weeklyWeekdays${weekdays[$value]}"','value="${weekdays[$value]}" />','<label for="${name}weeklyWeekdays${weekdays[$value]}">${i18n.shortWeekdays[$value]}</label>',"</div>","{{/each}}","</div>","</div>",'<div id="rimonthlyinterval" class="rifield">','<label for="rimonthlyinterval" class="label">${i18n.monthlyInterval1}</label>','<div class="field">','<input type="text" size="2"','value="1" ','name="rimonthlyinterval"/>',"${i18n.monthlyInterval2}","</div>","</div>",'<div id="rimonthlyoptions" class="rifield">','<label for="rimonthlytype" class="label">${i18n.monthlyRepeatOn}</label>','<div class="field">',"<div>","<input",'type="radio"','value="DAYOFMONTH"','name="rimonthlytype"','id="${name}monthlytype:DAYOFMONTH" />','<label for="${name}monthlytype:DAYOFMONTH">',"${i18n.monthlyDayOfMonth1}","</label>",'<select name="rimonthlydayofmonthday"','id="${name}monthlydayofmonthday">',"{{each [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,","18,19,20,21,22,23,24,25,26,27,28,29,30,31]}}",'<option value="${$value}">${$value}</option>',"{{/each}}","</select>","${i18n.monthlyDayOfMonth2}","</div>","<div>","<input",'type="radio"','value="WEEKDAYOFMONTH"','name="rimonthlytype"','id="${name}monthlytype:WEEKDAYOFMONTH" />','<label for="${name}monthlytype:WEEKDAYOFMONTH">',"${i18n.monthlyWeekdayOfMonth1}","</label>",'<select name="rimonthlyweekdayofmonthindex">',"{{each i18n.orderIndexes}}",'<option value="${orderIndexes[$index]}">${$value}</option>',"{{/each}}","</select>","${i18n.monthlyWeekdayOfMonth2}",'<select name="rimonthlyweekdayofmonth">',"{{each orderedWeekdays}}",'<option value="${weekdays[$value]}">${i18n.weekdays[$value]}</option>',"{{/each}}","</select>","${i18n.monthlyWeekdayOfMonth3}","</div>","</div>","</div>",'<div id="riyearlyinterval" class="rifield">','<label for="riyearlyinterval" class="label">${i18n.yearlyInterval1}</label>','<div class="field">','<input type="text" size="2"','value="1" ','name="riyearlyinterval"/>',"${i18n.yearlyInterval2}","</div>","</div>",'<div id="riyearlyoptions" class="rifield">','<label for="riyearlyType" class="label">${i18n.yearlyRepeatOn}</label>','<div class="field">',"<div>","<input",'type="radio"','value="DAYOFMONTH"','name="riyearlyType"','id="${name}yearlytype:DAYOFMONTH" />','<label for="${name}yearlytype:DAYOFMONTH">',"${i18n.yearlyDayOfMonth1}","</label>",'<select name="riyearlydayofmonthmonth">',"{{each i18n.months}}",'<option value="${$index+1}">${$value}</option>',"{{/each}}","</select>","${i18n.yearlyDayOfMonth2}",'<select name="riyearlydayofmonthday">',"{{each [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,","18,19,20,21,22,23,24,25,26,27,28,29,30,31]}}",'<option value="${$value}">${$value}</option>',"{{/each}}","</select>","${i18n.yearlyDayOfMonth3}","</div>","<div>","<input",'type="radio"','value="WEEKDAYOFMONTH"','name="riyearlyType"','id="${name}yearlytype:WEEKDAYOFMONTH"/>','<label for="${name}yearlytype:WEEKDAYOFMONTH">',"${i18n.yearlyWeekdayOfMonth1}","</label>",'<select name="riyearlyweekdayofmonthindex">',"{{each i18n.orderIndexes}}",'<option value="${orderIndexes[$index]}">${$value}</option>',"{{/each}}","</select>",'<label for="${name}yearlytype:WEEKDAYOFMONTH">',"${i18n.yearlyWeekdayOfMonth2}","</label>",'<select name="riyearlyweekdayofmonthday">',"{{each orderedWeekdays}}",'<option value="${weekdays[$value]}">${i18n.weekdays[$value]}</option>',"{{/each}}","</select>","${i18n.yearlyWeekdayOfMonth3}",'<select name="riyearlyweekdayofmonthmonth">',"{{each i18n.months}}",'<option value="${$index+1}">${$value}</option>',"{{/each}}","</select>","${i18n.yearlyWeekdayOfMonth4}","</div>","</div>","</div>",'<div id="rirangeoptions" class="rifield">','<label class="label">${i18n.range}</label>','<div class="field">',"{{if hasRepeatForeverButton}}","<div>","<input",'type="radio"','value="NOENDDATE"','name="rirangetype"','id="${name}rangetype:NOENDDATE"/>','<label for="${name}rangetype:NOENDDATE">',"${i18n.rangeNoEnd}","</label>","</div>","{{/if}}","<div>","<input",'type="radio"','checked="checked"','value="BYOCCURRENCES"','name="rirangetype"','id="${name}rangetype:BYOCCURRENCES"/>','<label for="${name}rangetype:BYOCCURRENCES">',"${i18n.rangeByOccurrences1}","</label>","<input",'type="text" size="3"','value="7"','name="rirangebyoccurrencesvalue" />',"${i18n.rangeByOccurrences2}","</div>","<div>","<input",'type="radio"','value="BYENDDATE"','name="rirangetype"','id="${name}rangetype:BYENDDATE"/>','<label for="${name}rangetype:BYENDDATE">',"${i18n.rangeByEndDate}","</label>","<input",'type="date"','name="rirangebyenddatecalendar" />',"</div>","</div>","</div>","</div>",'<div class="rioccurrencesactions">','<div class="rioccurancesheader">',"<h2>${i18n.preview}</h2>",'<span class="refreshbutton action">','<a class="rirefreshbutton" href="#" title="${i18n.refresh}">',"${i18n.refresh}","</a>","</span>","</div>","</div>",'<div class="rioccurrences">',"</div>",'<div class="rioccurrencesactions">','<div class="rioccurancesheader">',"<h2>${i18n.addDate}</h2>","</div>",'<div class="riaddoccurrence">','<div class="errorarea"></div>','<input type="date" name="adddate" id="adddate" />','<input type="button" name="addaction" id="addaction" value="${i18n.add}">',"</div>","</div>",'<div class="ributtons">',"<input",'type="submit"','class="ricancelbutton ${ributtonExtraClass}"','value="${i18n.cancel}" />',"<input",'type="submit"','class="risavebutton ${ributtonExtraClass}"','value="${i18n.save}" />',"</div>","</form></div>"].join("\n");A.template("formTmpl",n);var l=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g;function c(e,t){for(e=e.toString(),t=t||2;e.length<t;)e="0"+e;return e}function x(e,t,n){var i=e.getDate(),a=e.getDay(),o=e.getMonth(),r=e.getFullYear(),s={d:i,dd:c(i),ddd:n.i18n.shortWeekdays[a],dddd:n.i18n.weekdays[a],m:o+1,mm:c(o+1),mmm:n.i18n.shortMonths[o],mmmm:n.i18n.months[o],yy:String(r).slice(2),yyyy:r};return t.replace(l,function(e){return s.hasOwnProperty(e)?s[e]:e.slice(1,e.length-1)})}function f(e,t,n){for(var i,a,o,r,s,l,c,d,u,h,p,f=e.find("select[name=rirtemplate]").val(),m=t.rtemplate[f],g=m.rrule,v=t.i18n.rtemplate[f],y=0;y<m.fields.length;y++)switch((i=e.find("#"+m.fields[y])).attr("id")){case"ridailyinterval":"1"!==(h=i.find("input[name=ridailyinterval]").val())&&(g+=";INTERVAL="+h),v=h+" "+t.i18n.dailyInterval2;break;case"riweeklyinterval":"1"!==(h=i.find("input[name=riweeklyinterval]").val())&&(g+=";INTERVAL="+h),v=h+" "+t.i18n.weeklyInterval2;break;case"riweeklyweekdays":for(o=a="",r=0;r<t.weekdays.length;r++)i.find("input[name=riweeklyweekdays"+t.weekdays[r]+"]").is(":checked")&&(a&&(a+=",",o+=", "),a+=t.weekdays[r],o+=t.i18n.weekdays[r]);a&&(g+=";BYDAY="+a,v+=" "+t.i18n.weeklyWeekdaysHuman+" "+o);break;case"rimonthlyinterval":"1"!==(h=i.find("input[name=rimonthlyinterval]").val())&&(g+=";INTERVAL="+h),v=h+" "+t.i18n.monthlyInterval2;break;case"rimonthlyoptions":switch(A("input[name=rimonthlytype]:checked",e).val()){case"DAYOFMONTH":g+=";BYMONTHDAY="+(c=A("select[name=rimonthlydayofmonthday]",e).val()),v+=", "+t.i18n.monthlyDayOfMonth1Human+" "+c+" "+t.i18n.monthlyDayOfMonth2;break;case"WEEKDAYOFMONTH":s=A("select[name=rimonthlyweekdayofmonthindex]",e).val(),c=A("select[name=rimonthlyweekdayofmonth]",e).val(),-1<A.inArray(c,["MO","TU","WE","TH","FR","SA","SU"])&&(g+=";
3641BYDAY="+s+c,v+=", "+t.i18n.monthlyWeekdayOfMonth1Human+" ",v+=" "+t.i18n.orderIndexes[A.inArray(s,t.orderIndexes)],v+=" "+t.i18n.monthlyWeekdayOfMonth2,v+=" "+t.i18n.weekdays[A.inArray(c,t.weekdays)],v+=" "+t.i18n.monthlyDayOfMonth2)}break;case"riyearlyinterval":"1"!==(h=i.find("input[name=riyearlyinterval]").val())&&(g+=";INTERVAL="+h),v=h+" "+t.i18n.yearlyInterval2;break;case"riyearlyoptions":switch(A("input[name=riyearlyType]:checked",e).val()){case"DAYOFMONTH":g+=";BYMONTH="+(d=A("select[name=riyearlydayofmonthmonth]",e).val()),g+=";BYMONTHDAY="+(c=A("select[name=riyearlydayofmonthday]",e).val()),v+=", "+t.i18n.yearlyDayOfMonth1Human+" "+t.i18n.months[d-1]+" "+c;break;case"WEEKDAYOFMONTH":s=A("select[name=riyearlyweekdayofmonthindex]",e).val(),c=A("select[name=riyearlyweekdayofmonthday]",e).val(),g+=";BYMONTH="+(d=A("select[name=riyearlyweekdayofmonthmonth]",e).val()),-1<A.inArray(c,["MO","TU","WE","TH","FR","SA","SU"])&&(g+=";BYDAY="+s+c,v+=", "+t.i18n.yearlyWeekdayOfMonth1Human,v+=" "+t.i18n.orderIndexes[A.inArray(s,t.orderIndexes)],v+=" "+t.i18n.yearlyWeekdayOfMonth2,v+=" "+t.i18n.weekdays[A.inArray(c,t.weekdays)],v+=" "+t.i18n.yearlyWeekdayOfMonth3,v+=" "+t.i18n.months[d-1],v+=" "+t.i18n.yearlyWeekdayOfMonth4)}break;case"rirangeoptions":switch(e.find("input[name=rirangetype]:checked").val()){case"BYOCCURRENCES":g+=";COUNT="+(p=e.find("input[name=rirangebyoccurrencesvalue]").val()),v+=", "+t.i18n.rangeByOccurrences1Human,v+=" "+p,v+=" "+t.i18n.rangeByOccurrences2;break;case"BYENDDATE":g+=";UNTIL="+(i=e.find("input[name=rirangebyenddatecalendar]")).data("dateinput").getValue("yyyymmdd")+"T000000",!0===n&&(g+="Z"),v+=", "+t.i18n.rangeByEndDateHuman,v+=" "+i.data("dateinput").getValue(t.i18n.longDateFormat)}}if(void 0!==e.ical.RDATE&&0<e.ical.RDATE.length){for(e.ical.RDATE.sort(),l=[],y=0;y<e.ical.RDATE.length;y++)""!==e.ical.RDATE[y]&&(u=parseInt(e.ical.RDATE[y].substring(0,4),10),d=parseInt(e.ical.RDATE[y].substring(4,6),10)-1,c=parseInt(e.ical.RDATE[y].substring(6,8),10),l.push(x(new Date(u,d,c),t.i18n.longDateFormat,t)));0!==l.length&&(v=v+t.i18n.including+" "+l.join("; "))}if(void 0!==e.ical.EXDATE&&0<e.ical.EXDATE.length){for(e.ical.EXDATE.sort(),l=[],y=0;y<e.ical.EXDATE.length;y++)""!==e.ical.EXDATE[y]&&(u=parseInt(e.ical.EXDATE[y].substring(0,4),10),d=parseInt(e.ical.EXDATE[y].substring(4,6),10)-1,c=parseInt(e.ical.EXDATE[y].substring(6,8),10),l.push(x(new Date(u,d,c),t.i18n.longDateFormat,t)));0!==l.length&&(v=v+t.i18n.except+" "+l.join("; "))}return g="RRULE:"+g,void 0!==e.ical.EXDATE&&""!==e.ical.EXDATE.join()&&(g=g+"\nEXDATE:"+(l=A.map(e.ical.EXDATE,function(e){return 8===e.length&&(e+="T000000"),!0===n&&(e+="Z"),e}))),void 0!==e.ical.RDATE&&""!==e.ical.RDATE.join()&&(g=g+"\nRDATE:"+(l=A.map(e.ical.RDATE,function(e){return 8===e.length&&(e+="T000000"),!0===n&&(e+="Z"),e}))),{result:g,description:v}}function I(e){var t,n,i,a,o,r=[],s={},l=null;for((r=e.split("\n")).reverse();;){if(0<r.length){if(" "===(t=r.pop()).charAt(0)||"\t"===t.charAt(0)){l+=t;continue}}else t="";if(null!==l&&(o=a=i=void 0,i={},a=(n=l).indexOf(":"),o=n.substring(0,a),i.value=n.substring(a+1),-1!==o.indexOf(";")?(a=o.indexOf(";"),i.parameters=o.substring(a+1),i.property=o.substring(0,a)):(i.parameters=null,i.property=o),"RDATE"===(l=i).property||"EXDATE"===l.property?s[l.property]=function(e){var t,n=[],i=e.split(",");for(t in i)i.hasOwnProperty(t)&&(-1!==i[t].indexOf("Z")?n.push(i[t].substring(0,15)):n.push(i[t]));return n}(l.value):s[l.property]=l.value),""===(l=t))break}return s}function T(e,t,n,i){var a,o,r,s,l,c,d,u,h,p,f,m,g,v,y,b,w,k,x,T,S,C=[];if(e.ical=I(n),void 0===e.ical.RRULE){if(C.push(t.i18n.noRule),!i)return-1}else{for(a in m=(o=/INTERVAL=([0-9]+);?/.exec(e.ical.RRULE))?o[1]:"1",g=(o=/BYDAY=([^;]+);?/.exec(e.ical.RRULE))?o[1]:"",y=(o=/BYMONTHDAY=([^;]+);?/.exec(e.ical.RRULE))?o[1].split(","):null,v=(o=/BYMONTH=([^;]+);?/.exec(e.ical.RRULE))?o[1].split(","):null,b=(o=/COUNT=([0-9]+);?/.exec(e.ical.RRULE))?o[1]:null,w=(o=/UNTIL=([0-9T]+);?/.exec(e.ical.RRULE))?o[1]:null,(o=/BYSETPOS=([^;]+);?/.exec(e.ical.RRULE))&&C.push(t.i18n.bysetpos),r="",s=null,t.rtemplate)t.rtemplate.hasOwnProperty(a)&&(l=t.rtemplate[a],0===e.ical.RRULE.indexOf(l.rrule)&&e.ical.RRULE.length>r.length&&(r=e.ical.RRULE,s=a));if(r)l=t.rtemplate[s],e.find("select[name=rirtemplate]").val(s);else{for(l in t.rtemplate)if(t.rtemplate.hasOwnProperty(l)){l=t.rtemplate[l];break}C.push(t.i18n.noTemplateMatch)}for(a=0;a<l.fields.length;a++)switch((p=e.find("#"+l.fields[a])).attr("id")){case"ridailyinterval":p.find("input[name=ridailyinterval]").val(m);break;case"riweeklyinterval":p.find("input[name=riweeklyinterval]").val(m);break;case"riweeklyweekdays":for(g=g.split(","),c=0;c<t.weekdays.length;c++)k=t.weekdays[c],(d=p.find("input[name=riweeklyweekdays"+k+"]")).attr("checked",-1!==A.inArray(k,g));break;case"rimonthlyinterval":p.find("input[name=rimonthlyinterval]").val(m);break;case"rimonthlyoptions":var E="DAYOFMONTH";for(y&&(E="DAYOFMONTH",1<y.length&&(C.push(t.i18n.multipleDayOfMonth),y=y[0]),p.find("select[name=rimonthlydayofmonthday]").val(y)),g&&(E="WEEKDAYOFMONTH",-1!==g.indexOf(",")&&(C.push(t.i18n.multipleDayOfMonth),g=g.split(",")[0]),"+"!==(u=g.slice(0,-2)).charAt(0)&&"-"!==u.charAt(0)&&(u="+"+u),S=g.slice(-2),p.find("select[name=rimonthlyweekdayofmonthindex]").val(u),p.find("select[name=rimonthlyweekdayofmonth]").val(S)),h=p.find("input[name=rimonthlytype]"),u=0;u<h.length;u++)f=h[u],A(f).attr("checked",f.value===E);break;case"riyearlyinterval":p.find("input[name=riyearlyinterval]").val(m);break;case"riyearlyoptions":var D="DAYOFMONTH";for(y&&(D="DAYOFMONTH",1<y.length&&(C.push(t.i18n.multipleDayOfMonth),y=y[0]),p.find("select[name=riyearlydayofmonthmonth]").val(v),p.find("select[name=riyearlydayofmonthday]").val(y)),g&&(D="WEEKDAYOFMONTH",-1!==g.indexOf(",")&&(C.push(t.i18n.multipleDayOfMonth),g=g.split(",")[0]),"+"!==(u=g.slice(0,-2)).charAt(0)&&"-"!==u.charAt(0)&&(u="+"+u),S=g.slice(-2),p.find("select[name=riyearlyweekdayofmonthindex]").val(u),p.find("select[name=riyearlyweekdayofmonthday]").val(S),p.find("select[name=riyearlyweekdayofmonthmonth]").val(v)),h=p.find("input[name=riyearlyType]"),u=0;u<h.length;u++)f=h[u],A(f).attr("checked",f.value===D);break;case"rirangeoptions":var $="NOENDDATE";for(b&&($="BYOCCURRENCES",p.find("input[name=rirangebyoccurrencesvalue]").val(b)),w&&($="BYENDDATE",d=p.find("input[name=rirangebyenddatecalendar]"),T=w.slice(0,4),x=w.slice(4,6),x=parseInt(x,10)-1,k=w.slice(6,8),d.data("dateinput").setValue(new Date(T,x,k))),h=p.find("input[name=rirangetype]"),u=0;u<h.length;u++)f=h[u],A(f).attr("checked",f.value===$)}}var O=e.find("#messagearea");return 0!==C.length?(O.text(t.i18n.unsupportedFeatures+" "+C.join("; ")),O.show(),1):(O.text(""),O.hide(),0)}function i(m,n){for(var g,v,e,t=[],i=0;i<7;i++)6<(e=i+m.firstDay)&&(e-=7),t.push(e);function a(e){g.find(".rifield").hide();var t=e.val();if(t)for(var n=m.rtemplate[t],i=0;i<n.fields.length;i++)g.find("#"+n.fields[i]).show()}function y(e){e.preventDefault(),void 0===g.ical.EXDATE&&(g.ical.EXDATE=[]),g.ical.EXDATE.push(this.attributes.date.value);var t=A(this);t.attr("class","exdate"),t.parent().parent().addClass("exdate"),t.unbind(e),t.click(b)}function b(e){e.preventDefault(),g.ical.EXDATE.splice(A.inArray(this.attributes.date.value,g.ical.EXDATE),1);var t=A(this);t.attr("class","rrule"),t.parent().parent().removeClass("exdate"),t.unbind(e),t.click(y)}function w(e){e.preventDefault(),g.ical.RDATE.splice(A.inArray(this.attributes.date.value,g.ical.RDATE),1),A(this).parent().parent().hide("slow",function(){A(this).remove()})}function k(u,h,e,p){var t=p?v:g,f=t.find(".rioccurrences");f.hide();var n={year:u.getFullYear(),month:u.getMonth()+1,day:u.getDate(),rrule:h,format:m.i18n.longDateFormat,start:e},i={url:m.ajaxURL,async:!1,type:"post",dataType:"json",contentType:m.ajaxContentType,cache:!1,data:n,success:function(e,t,n){var i,a,o,r,s,l,c,d=p?v:g;for(c in e.readOnly=p,e.i18n=m.i18n,e.occurrences)e.occurrences.hasOwnProperty(c)&&(o=(a=e.occurrences[c]).date,r=parseInt(o.substring(0,4),10),s=parseInt(o.substring(4,6),10)-1,l=parseInt(o.substring(6,8),10),a.formattedDate=x(new Date(r,s,l),m.i18n.longDateFormat,m));i=A.tmpl("occurrenceTmpl",e),(f=d.find(".rioccurrences")).replaceWith(i),d.find(".rioccurrences .batching a").click(function(e){e.preventDefault(),k(u,h,this.attributes.start.value,p)}),p||(d.find(".rioccurrences .action a.rrule").click(y),d.find(".rioccurrences .action a.exdate").
3641click(b),d.find(".rioccurrences .action a.rdate").click(w)),d.find(".rioccurrences").show()},error:function(e,t,n){alert(t)}};A.ajax(i)}function o(e){var t=A(e);return t.length||(t=A("#"+e)),t.length||(t=A("input[name='"+e+"']")),t}function s(){var e,t,n,i,a=null;if(m.startField){if(!(e=o(m.startField)).length)return null;(a=e.data("dateinput"))?a=a.getValue():""===(a=e.val())&&(a=e.text()),"string"==typeof a&&(a=a.replace(" ","T")),a=new Date(a)}else if(m.startFieldYear&&m.startFieldMonth&&m.startFieldDay){if(t=o(m.startFieldYear),n=o(m.startFieldMonth),i=o(m.startFieldDay),!t.length&&!n.length&&!i.length)return null;a=new Date(t.val(),n.val()-1,i.val())}return null===a||isNaN(a)?null:a}function l(e,t){var n=t.find("input[name="+e+"]"),i=n.val();return isNaN(i)||-1!==i.toString().indexOf(".")||""===n.val()?null:i}function r(e){var t,n,i;e&&T(g,m,e,!0),null!==(t=s())?(g.find("select[name=rimonthlydayofmonthday]").val(t.getDate()),n=m.orderIndexes[Math.floor((t.getDate()-1)/7)],i=m.weekdays[t.getDay()],g.find("select[name=rimonthlyweekdayofmonthindex]").val(n),g.find("select[name=rimonthlyweekdayofmonth]").val(i),g.find("select[name=riyearlydayofmonthmonth]").val(t.getMonth()+1),g.find("select[name=riyearlydayofmonthday]").val(t.getDate()),g.find("select[name=riyearlyweekdayofmonthindex]").val(n),g.find("select[name=riyearlyweekdayofmonthday]").val(i),g.find("select[name=riyearlyweekdayofmonthmonth]").val(t.getMonth()+1),k(t,f(g,m,!1).result,0,!1),g.find("div.rioccurrencesactions").show()):g.find("div.rioccurrencesactions").hide(),a(g.find("select[name=rirtemplate]"))}function c(){var e=f(g,m,!1);v.find("label[class=ridisplay]").text(m.i18n.displayActivate+" "+e.description),n.val(e.result).change();var t=s();null!==t&&k(t,f(g,m,!1).result,0,!0),v.find('button[name="riedit"]').text(m.i18n.edit_rules),v.find('button[name="ridelete"]').show()}function d(e){var t,n,i,a,o=s(),r=e.find("#messagearea");if(r.text(""),r.hide(),e.find(".riaddoccurrence div.errorarea").text("").hide(),"block"===e.find("#ridailyinterval").css("display")&&(!(n=l("ridailyinterval",e))||n<1||1e3<n))r.text(m.i18n.noRepeatEvery).show();else if("block"===e.find("#riweeklyinterval").css("display")&&(!(n=l("riweeklyinterval",e))||n<1||1e3<n))r.text(m.i18n.noRepeatEvery).show();else{if("block"===e.find("#rimonthlyinterval").css("display")){if(!(n=l("rimonthlyinterval",e))||n<1||1e3<n)return void r.text(m.i18n.noRepeatEvery).show();if(0===e.find("#rimonthlyoptions input:checked").length)return void r.text(m.i18n.noRepeatOn).show()}if("block"===e.find("#riyearlyinterval").css("display")){if(!(n=l("riyearlyinterval",e))||n<1||1e3<n)return void r.text(m.i18n.noRepeatEvery).show();if(0===e.find("#riyearlyoptions input:checked").length)return void r.text(m.i18n.noRepeatOn).show()}if(!(0<e.find('input[value="BYOCCURRENCES"]:visible:checked').length&&(!(n=l("rirangebyoccurrencesvalue",e))||n<1||1e3<n))){if(0<e.find('input[value="BYENDDATE"]:visible:checked').length){if(i=e.find("input[name=rirangebyenddatecalendar]"),a=(a=i.data("dateinput"))?a.getValue():i.val(),a=new Date(a),!(t=isNaN(a)||""===i.val()?null:a))return void r.text(m.i18n.noEndDate).show();if(t<o)return void r.text(m.i18n.pastEndDate).show()}return 1}r.text(m.i18n.noEndAfterNOccurrences).show()}}function u(e){e.preventDefault(),d(g)&&(g.overlay().close(),c())}function h(){var e=s();d(g)&&k(e,f(g,m,!1).result,0,!1)}A.extend(m,{orderIndexes:["+1","+2","+3","+4","-1"],weekdays:["SU","MO","TU","WE","TH","FR","SA"],orderedWeekdays:t}),v=A.tmpl("displayTmpl",m),(g=A.tmpl("formTmpl",m)).overlay(m.formOverlay).hide(),g.ical={RDATE:[],EXDATE:[]},A.tools.dateinput.localize(m.lang,{months:p[m.lang].months.join(),shortMonths:p[m.lang].shortMonths.join(),days:p[m.lang].weekdays.join(),shortDays:p[m.lang].shortWeekdays.join()}),g.find("input[name=rirangebyenddatecalendar]").dateinput({selectors:!0,lang:m.lang,format:m.i18n.shortDateFormat,firstDay:m.firstDay,yearRange:[-5,10]}).data("dateinput").setValue(new Date),n.val()&&(-1===T(g,m,n.val(),!1)?v.find("label[class=ridisplay]").text(m.i18n.noRule):c()),v.find("button[name=ridelete]").click(function(e){e.preventDefault(),v.find("label[class=ridisplay]").text(m.i18n.displayUnactivate),n.val("").change(),v.find(".rioccurrences").hide(),v.find('button[name="riedit"]').text(m.i18n.add_rules),v.find('button[name="ridelete"]').hide()}),v.find("button[name=riedit]").click(function(e){r(n.val()),e.preventDefault(),g.overlay().load()}),g.find("div.riaddoccurrence input#adddate").dateinput({selectors:!0,lang:m.lang,format:m.i18n.shortDateFormat,firstDay:m.firstDay,yearRange:[-5,10]}).data("dateinput").setValue(new Date),g.find("input#addaction").click(function(e){e.preventDefault();var t=g.find(".riaddoccurrence input#adddate").data("dateinput"),n=t.getValue("yyyymmddT000000");void 0===g.ical.RDATE&&(g.ical.RDATE=[]);var i,a=g.find(".riaddoccurrence div.errorarea");a.text(""),a.hide(),-1===A.inArray(n,g.ical.RDATE)?(g.ical.RDATE.push(n),i=['<div class="occurrence rdate" style="display: none;">','<span class="rdate">',t.getValue(m.i18n.longDateFormat),'<span class="rlabel">'+m.i18n.additionalDate+"</span>","</span>",'<span class="action">','<a date="'+n+'" href="#" class="rdate" >',"Include","</a>","</span>","</div>"].join("\n"),g.find("div.rioccurrences").prepend(i),A(g.find("div.rioccurrences div")[0]).slideDown(),A(g.find("div.rioccurrences .action a.rdate")[0]).click(w)):a.text(m.i18n.alreadyAdded).show()}),g.find("a.rirefreshbutton").click(function(e){e.preventDefault(),h()}),g.find("select[name=rirtemplate]").change(function(e){a(A(this))}),g.find("select").change(function(e){A(this).parent().find("> input").click().change()}),g.find("input[name=rirangebyoccurrencesvalue]").change(function(e){A(this).parent().find("input[name=rirangetype]").click().change()}),g.find("input[name=rirangebyenddatecalendar]").change(function(){A(this).parent().find("input[name=rirangetype]").click(),0!==g.find(".rioccurrencesactions:visible").length&&h()}),g.find("input:radio, .riweeklyweekday > input, input[name=ridailyinterval], input[name=riweeklyinterval], input[name=rimonthlyinterval], input[name=riyearlyinterval]").change(function(e){0!==g.find(".rioccurrencesactions:visible").length&&h()}),g.find(".ricancelbutton").click(function(e){e.preventDefault(),g.overlay().close()}),g.find(".risavebutton").click(u),A.extend(this,{display:v,form:g,loadData:r,save:u})}A.fn.recurrenceinput=function(e){if(this.data("recurrenceinput"))return this.data("recurrenceinput");var t=A.extend({},a.conf);A.extend(t,e),A.extend(t,{i18n:p[t.lang],name:this.attr("name")}
3641);var n=new i(t,this);return n.form.appendTo("body"),this.after(n.display),this.hide(),this.data("recurrenceinput",n),n}}(jQuery)}.apply(e,arguments)})}(this),define("mockup-patterns-recurrence",["jquery","pat-base","jquery.recurrenceinput"],function(e,t){"use strict";return t.extend({name:"recurrence",trigger:".pat-recurrence",parser:"mockup",defaults:{language:"en",localization:null,configuration:{}},init:function(){this.$el.addClass("recurrence-widget"),this.options.localization&&e.tools.recurrenceinput.localize(this.options.language,this.options.localization),this.$el.recurrenceinput(this.options.configuration)}})}),function(e){define("select2",[],function(){return function(){var a;void 0===(a=jQuery).fn.each2&&a.extend(a.fn,{each2:function(e){for(var t=a([0]),n=-1,i=this.length;++n<i&&(t.context=t[0]=this[n])&&!1!==e.call(t[0],n,t););return this}}),function(k,w){"use strict";var e,t,n,x,s,c,T,u,i,a,o;function r(e){var t=k(document.createTextNode(""));e.before(t),t.before(e),t.remove()}function l(e){return e.replace(/[^\u
36410000-\u007E]/g,function(e){return i[e]||e})}function d(e,t){for(var n=0,i=t.length;n<i;n+=1)if(p(e,t[n]))return n;return-1}function p(e,t){return e===t||e!==w&&t!==w&&(null!==e&&null!==t&&(e.constructor===String?e+""==t+"":t.constructor===String&&t+""==e+""))}function h(e,t,n){var i,a,o;if(null===e||e.length<1)return[];for(a=0,o=(i=e.split(t)).length;a<o;a+=1)i[a]=n(i[a]);return i}function f(e){return e.outerWidth(!1)-e.width()}function m(t){var n="keyup-change-value";t.on("keydown",function(){k.data(t,n)===w&&k.data(t,n,t.val())}),t.on("keyup",function(){var e=k.data(t,n);e!==w&&t.val()!==e&&(k.removeData(t,n),t.trigger("keyup-change"))})}function g(t,n,i){var a;return i=i||w,function(){var e=arguments;window.clearTimeout(a),a=window.setTimeout(function(){n.apply(i,e)},t)}}function v(e){e.preventDefault(),e.stopPropagation()}function y(e,t,n){var i,a=[],o=k.trim(e.attr("class"));o&&k((o=""+o).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)}),(o=k.trim(t.attr("class")))&&k((o=""+o).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(i=n(this))&&a.push(i)}),e.attr("class",a.join(" "))}function b(e,t,n,i){var a=l(e.toUpperCase()).indexOf(l(t.toUpperCase())),o=t.length;a<0?n.push(i(e)):(n.push(i(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(i(e.substring(a,a+o))),n.push("</span>"),n.push(i(e.substring(a+o,e.length))))}function S(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function C(r){var e,s=null,t=r.quietMillis||100,l=r.url,c=this;return function(o){window.clearTimeout(e),e=window.setTimeout(function(){var e=r.data,t=l,n=r.transport||k.fn.select2.ajaxDefaults.transport,i={type:r.type||"GET",cache:r.cache||!1,jsonpCallback:r.jsonpCallback||w,dataType:r.dataType||"json"},a=k.extend({},k.fn.select2.ajaxDefaults.params,i),e=e?e.call(c,o.term,o.page,o.context):null,t="function"==typeof t?t.call(c,o.term,o.page,o.context):t;s&&"function"==typeof s.abort&&s.abort(),r.params&&(k.isFunction(r.params)?k.extend(a,r.params.call(c)):k.extend(a,r.params)),k.extend(a,{url:t,dataType:r.dataType,data:e,success:function(e){var t=r.results(e,o.page,o);o.callback(t)},error:function(e,t,n){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:n};o.callback(i)}}),s=n.call(c,a)},t)}}function E(e){var t,n,i=e,s=function(e){return""+e.text};k.isArray(i)&&(i={results:n=i}),!1===k.isFunction(i)&&(n=i,i=function(){return n});var a=i();return a.text&&(s=a.text,k.isFunction(s)||(t=a.text,s=function(e){return e[t]})),function(a){var o,r=a.term,n={results:[]};""!==r?(o=function(e,t){var n,i;if((e=e[0]).children){for(i in n={},e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.children=[],k(e.children).each2(function(e,t){o(t,n.children)}),(n.children.length||a.matcher(r,s(n),e))&&t.push(n)}else a.matcher(r,s(e),e)&&t.push(e)},k(i().results).each2(function(e,t){o(t,n.results)}),a.callback(n)):a.callback(i())}}function D(t){var o=k.isFunction(t);return function(n){var i=n.term,a={results:[]},e=o?t(n):t;k.isArray(e)&&(k(e).each(function(){var e=this.text!==w,t=e?this.text:this;""!==i&&!n.matcher(i,t)||a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function $(e,t){if(k.isFunction(e))return 1;if(e){if("string"==typeof e)return 1;throw new Error(t+" must be a string, function, or falsy value")}}function O(e,t){if(k.isFunction(e)){var n=Array.prototype.slice.call(arguments,2);return e.apply(t,n)}return e}function A(){var n=this;k.each(arguments,function(e,t){n[t].remove(),n[t]=null})}function I(e,t){function n(){}return((n.prototype=new e).constructor=n).prototype.parent=e.prototype,n.prototype=k.extend(n.prototype,t),n}window.Select2===w&&(c={x:0,y:0},u={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case u.LEFT:case u.RIGHT:case u.UP:case u.DOWN:return!0}return!1},isControl:function(e){switch(e.which){case u.SHIFT:case u.CTRL:case u.ALT:return!0}return!!e.metaKey},isFunctionKey:function(e){return 112<=(e=e.which?e.which:e)&&e<=123}},i={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"
3641V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},o=k(document),a=1,x=function(){return a++},e=I(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(e){var o,t,n,i,a,r=".select2-results";this.opts=e=this.prepareOpts(e),this.id=e.id,e.element.data("select2")!==w&&null!==e.element.data("select2")&&e.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=k(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=k("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(e.element.attr("id")||"autogen"+x()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",e.element.attr("title")),this.body=k(document.body),y(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",e.element.attr("style")),this.container.css(O(e.containerCss,this.opts.element)),this.container.addClass(O(e.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",v),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),y(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(O(e.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",v),this.results=o=this.container.find(r),this.search=t=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",v),this.results.on("mousemove",function(e){c!==w&&c.x===e.pageX&&c.y===e.pageY||k(e.target).trigger("mousemove-filtered",e)}),this.dropdown.on("mousemove-filtered",r,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",r,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",r,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",r,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(e){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),n=80,i=this.results,a=g(n,function(e){i.trigger("scroll-debounced",e)}),i.on("scroll",function(e){0<=d(e.target,i.get())&&a(e)}),this.dropdown.on("scroll-debounced",r,this.bind(this.loadMoreIfNeeded)),k(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),k(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),k.fn.mousewheel&&o.mousewheel(function(e,t,n,i){var a=o.scrollTop();0<i&&a-i<=0?(o.scrollTop(0),v(e)):i<0&&o.get(0).scrollHeight-o.scrollTop()+i<=o.height()&&(o.scrollTop(o.get(0).scrollHeight-o.height()),v(e))}),m(t),t.on("keyup-change input paste",this.bind(this.updateResults)),t.on("focus",function(){t.addClass("select2-focused")}),t.on("blur",function(){t.removeClass("select2-focused")}),this.dropdown.on("mouseup",r,this.bind(function(e){0<k(e.target).closest(".select2-result-selectable").length&&(this.highlightUnderEvent(e),this.selectHighlighted(e))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.lastSearchTerm=w,k.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==e.maximumInputLength&&this.search.attr("maxlength",e.maximumInputLength);var s=e.element.prop("disabled");s===w&&(s=!1),this.enable(!s);var l=e.element.prop("readonly");l===w&&(l=!1),this.readonly(l),T=T||function(){var e=k("<div class='select2-measure-scrollbar'></div>");e.appendTo(document.body);var t={width:e.width()-e[0].clientWidth,height:e.height()-e[0].clientHeight};return e.remove(),t}(),this.autofocus=e.element.prop("autofocus"),e.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",e.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,t=e.data("select2"),n=this;this.close(),e.length&&e[0].detachEvent&&n._sync&&e.each(function(){n._sync&&this.detachEvent("onpropertychange",n._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,t!==w&&(t.container.remove(),t.liveRegion.remove(),t.dropdown.remove(),e.removeData("select2").off(".select2"),e.is("input[type='hidden']")?e.css("display",""):(e.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show())),A.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:p(e.attr("locked"),"locked")||p(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:void 0},prepareOpts:function(y){var e,t,n,i,a,b=this,r=y.element;if("select"===r.get(0).tagName.toLowerCase()&&(this.select=e=y.element),e&&k.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in y)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),y.debug=y.debug||k.fn.select2.defaults.debug,y.debug&&console&&console.warn&&(null!=y.id&&console.warn("Select2: The `id` option has been removed in Select2 4.0.0, consider renaming your `id` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=y.text&&console.warn("Select2: The `text` option has been removed in Select2 4.0.0, consider renaming your `text` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=y.sortResults&&console.warn("Select2: the `sortResults` option has been renamed to `sorter` in Select2 4.0.0. "),null!=y.selectOnBlur&&console.warn("Select2: The `selectOnBlur` option has been renamed to `selectOnClose` in Select2 4.0.0."),null!=y.ajax&&null!=y.ajax.results&&console.warn("Select2: The `ajax.results` option has been renamed to `aja
3641x.processResults` in Select2 4.0.0."),null!=y.formatNoResults&&console.warn("Select2: The `formatNoResults` option has been renamed to `language.noResults` in Select2 4.0.0."),null!=y.formatSearching&&console.warn("Select2: The `formatSearching` option has been renamed to `language.searching` in Select2 4.0.0."),null!=y.formatInputTooShort&&console.warn("Select2: The `formatInputTooShort` option has been renamed to `language.inputTooShort` in Select2 4.0.0."),null!=y.formatInputTooLong&&console.warn("Select2: The `formatInputTooLong` option has been renamed to `language.inputTooLong` in Select2 4.0.0."),null!=y.formatLoading&&console.warn("Select2: The `formatLoading` option has been renamed to `language.loadingMore` in Select2 4.0.0."),null!=y.formatSelectionTooBig&&console.warn("Select2: The `formatSelectionTooBig` option has been renamed to `language.maximumSelected` in Select2 4.0.0."),y.element.data("select2Tags")&&console.warn("Select2: The `data-select2-tags` attribute has been renamed to `data-tags` in Select2 4.0.0.")),null!=y.element.data("tags")&&(i=y.element.data("tags"),k.isArray(i)||(i=[]),y.element.data("select2Tags",i)),null!=y.sorter&&(y.sortResults=y.sorter),null!=y.selectOnClose&&(y.selectOnBlur=y.selectOnClose),null!=y.ajax&&k.isFunction(y.ajax.processResults)&&(y.ajax.results=y.ajax.processResults),null!=y.language&&(a=y.language,k.isFunction(a.noMatches)&&(y.formatNoMatches=a.noMatches),k.isFunction(a.searching)&&(y.formatSearching=a.searching),k.isFunction(a.inputTooShort)&&(y.formatInputTooShort=a.inputTooShort),k.isFunction(a.inputTooLong)&&(y.formatInputTooLong=a.inputTooLong),k.isFunction(a.loadingMore)&&(y.formatLoading=a.loadingMore),k.isFunction(a.maximumSelected)&&(y.formatSelectionTooBig=a.maximumSelected)),"function"!=typeof(y=k.extend({},{populateResults:function(e,t,f){var m=this.opts.id,g=this.liveRegion,v=function(e,t,n){for(var i,a,o,r,s,l,c,d,u=[],h=0,p=(e=y.sortResults(e,t,f)).length;h<p;h+=1)a=!(o=!0===(i=e[h]).disabled)&&m(i)!==w,r=i.children&&0<i.children.length,(s=k("<li></li>")).addClass("select2-results-dept-"+n),s.addClass("select2-result"),s.addClass(a?"select2-result-selectable":"select2-result-unselectable"),o&&s.addClass("select2-disabled"),r&&s.addClass("select2-result-with-children"),s.addClass(b.opts.formatResultCssClass(i)),s.attr("role","presentation"),(l=k(document.createElement("div"))).addClass("select2-result-label"),l.attr("id","select2-result-label-"+x()),l.attr("role","option"),(d=y.formatResult(i,l,f,b.opts.escapeMarkup))!==w&&(l.html(d),s.append(l)),r&&((c=k("<ul></ul>")).addClass("select2-result-sub"),v(i.children,c,n+1),s.append(c)),s.data("select2-data",i),u.push(s[0]);t.append(u),g.text(y.formatMatches(e.length))};v(t,e,0)}},k.fn.select2.defaults,y)).id&&(t=y.id,y.id=function(e){return e[t]}
3641),k.isArray(y.element.data("select2Tags"))){if("tags"in y)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+y.element.attr("id");y.tags=y.element.data("select2Tags")}if(e?(y.query=this.bind(function(i){var e,n={results:[],more:!1},a=i.term,o=function(e,t){var n;e.is("option")?i.matcher(a,e.text(),e)&&t.push(b.optionToData(e)):e.is("optgroup")&&(n=b.optionToData(e),e.children().each2(function(e,t){o(t,n.children)}),0<n.children.length&&t.push(n))},t=r.children();this.getPlaceholder()!==w&&0<t.length&&(e=this.getPlaceholderOption())&&(t=t.not(e)),t.each2(function(e,t){o(t,n.results)}),i.callback(n)}),y.id=function(e){return e.id}):"query"in y||("ajax"in y?((n=y.element.data("ajax-url"))&&0<n.length&&(y.ajax.url=n),y.query=C.call(y.element,y.ajax)):"data"in y?y.query=E(y.data):"tags"in y&&(y.query=D(y.tags),y.createSearchChoice===w&&(y.createSearchChoice=function(e){return{id:k.trim(e),text:k.trim(e)}}),y.initSelection===w&&(y.initSelection=function(e,t){var n=[];k(h(e.val(),y.separator,y.transformVal)).each(function(){var e={id:this,text:this},t=y.tags;k.isFunction(t)&&(t=t()),k(t).each(function(){if(p(this.id,e.id))return e=this,!1}),n.push(e)}),t(n)}))),"function"!=typeof y.query)throw"query function not defined for Select2 "+y.element.attr("id");if("top"===y.createSearchChoicePosition)y.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===y.createSearchChoicePosition)y.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof y.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return y},monitorSource:function(){var e,n=this.opts.element,t=this;n.on("change.select2",this.bind(function(e){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var e=n.prop("disabled");e===w&&(e=!1),this.enable(!e);var t=n.prop("readonly");t===w&&(t=!1),this.readonly(t),this.container&&(y(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(O(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(y(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(O(this.opts.dropdownCssClass,this.opts.element)))}),n.length&&n[0].attachEvent&&n.each(function(){this.attachEvent("onpropertychange",t._sync)}),(e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)!==w&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new e(function(e){k.each(e,t._sync)}),this.propertyObserver.observe(n.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(e){var t=k.Event("select2-selecting",{val:this.id(e),object:e,choice:e});return this.opts.element.trigger(t),!t.isDefaultPrevented()},triggerChange:function(e){e=e||{},e=k.extend({},e,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(e),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return!0===this.enabledInterface},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e!==this.enabledInterface&&(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===w&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===w&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return!!this.container&&this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var e,t,n,i,a,o=this.dropdown,r=this.container,s=r.offset(),l=r.outerHeight(!1),c=r.outerWidth(!1),d=o.outerHeight(!1),u=k(window),h=u.width(),p=u.height(),f=u.scrollLeft()+h,m=u.scrollTop()+p,g=s.top+l,v=s.left,y=g+d<=m,b=s.top-d>=u.scrollTop(),w=o.outerWidth(!1);o.hasClass("select2-drop-above")?(t=!0,!b&&y&&(t=!(n=!0))):(t=!1,!y&&b&&(t=n=!0)),n&&(o.hide(),s=this.container.offset(),l=this.container.outerHeight(!1),c=this.container.outerWidth(!1),d=o.outerHeight(!1),f=u.scrollLeft()+h,u.scrollTop(),g=s.top+l,v=s.left,w=o.outerWidth(!1),o.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(a=k(".select2-results",o)[0],o.addClass("select2-drop-auto-width"),o.css("width",""),c<(w=o.outerWidth(!1)+(a.scrollHeight===a.clientHeight?0:T.width))?c=w:w=c,d=o.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(g-=(e=this.body.offset()).top,v-=e.left),
3641!(v+w<=f)&&s.left+f+r.outerWidth(!1)>w&&(v=s.left+this.container.outerWidth(!1)-w),i={left:v,width:c},t?(this.container.addClass("select2-drop-above"),o.addClass("select2-drop-above"),d=o.outerHeight(!1),i.top=s.top-d,i.bottom="auto"):(i.top=g,i.bottom="auto",this.container.removeClass("select2-drop-above"),o.removeClass("select2-drop-above")),i=k.extend(i,O(this.opts.dropdownCss,this.opts.element)),o.css(i)},shouldOpen:function(){var e;return!this.opened()&&(!1!==this._enabled&&!0!==this._readonly&&(e=k.Event("select2-opening"),this.opts.element.trigger(e),!e.isDefaultPrevented()))},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return!!this.shouldOpen()&&(this.opening(),o.on("mousemove.select2Event",function(e){c.x=e.pageX,c.y=e.pageY}),!0)},opening:function(){var i,e=this.containerEventName,t="scroll."+e,n="resize."+e,a="orientationchange."+e;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),0===(i=k("#select2-drop-mask")).length&&((i=k(document.createElement("div"))).attr("id","select2-drop-mask").attr("class","select2-drop-mask"),i.hide(),i.appendTo(this.body),i.on("mousedown touchstart click",function(e){r(i);var t,n=k("#select2-drop");0<n.length&&((t=n.data("select2")).opts.selectOnBlur&&t.selectHighlighted({noFocus:!0}),t.close(),e.preventDefault(),e.stopPropagation())})),this.dropdown.prev()[0]!==i[0]&&this.dropdown.before(i),k("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),i.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var o=this;this.container.parents().add(window).each(function(){k(this).on(n+" "+t+" "+a,function(e){o.opened()&&o.positionDropdown()})})},close:function(){var e,t,n,i;this.opened()&&(e=this.containerEventName,t="scroll."+e,n="resize."+e,i="orientationchange."+e,this.container.parents().add(window).each(function(){k(this).off(t).off(n).off(i)}),this.clearDropdownAlignmentPreference(),k("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),o.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.search.removeAttr("aria-activedescendant"),this.opts.element.trigger(k.Event("select2-close")))},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},prefillNextSearchTerm:function(){if(""!==this.search.val())return!1;var e=this.opts.nextSearchTerm(this.data(),this.lastSearchTerm);return e!==w&&(this.search.val(e),this.search.select(),!0)},getMaximumSelectionSize:function(){return O(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var e,t,n,i,a,o,r,s=this.results,l=this.highlight();l<0||(0!=l?(e=this.findHighlightableChoices().find(".select2-result-label"),n=(r=((t=k(e[l])).offset()||{}).top||0)+t.outerHeight(!0),l===e.length-1&&0<(o=s.find("li.select2-more-results")).length&&(n=o.offset().top+o.outerHeight(!0)),(i=s.offset().top+s.outerHeight(!1))<n&&s.scrollTop(s.scrollTop()+(n-i)),(a=r-s.offset().top)<0&&"none"!=t.css("display")&&s.scrollTop(s.scrollTop()+a)):s.scrollTop(0))},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(e){for(var t=this.findHighlightableChoices(),n=this.highlight();-1<n&&n<t.length;){var i=k(t[n+=e]);if(i.hasClass("select2-result-selectable")&&!i.hasClass("select2-disabled")&&!i.hasClass("select2-selected")){this.highlight(n);break}}},highlight:function(e){var t,n,i=this.findHighlightableChoices();if(0===arguments.length)return d(i.filter(".select2-highlighted")[0],i.get());e>=i.length&&(e=i.length-1),e<0&&(e=0),this.removeHighlight(),(t=k(i[e])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",t.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(t.text()),(n=t.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(n),choice:n})},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0}
3641,clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(e){var t,n=k(e.target).closest(".select2-result-selectable");0<n.length&&!n.is(".select2-highlighted")?(t=this.findHighlightableChoices(),this.highlight(t.index(n))):0==n.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var t=this.results,n=t.find("li.select2-more-results"),i=this.resultsPage+1,a=this,o=this.search.val(),r=this.context;0!==n.length&&n.offset().top-t.offset().top-t.height()<=this.opts.loadMorePadding&&(n.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:r,matcher:this.opts.matcher,callback:this.bind(function(e){a.opened()&&(a.opts.populateResults.call(this,t,e.results,{term:o,page:i,context:r}),a.postprocessResults(e,!1,!1),!0===e.more?(n.detach().appendTo(t).html(a.opts.escapeMarkup(O(a.opts.formatLoadMore,a.opts.element,i+1))),window.setTimeout(function(){a.loadMoreIfNeeded()},10)):n.remove(),a.positionDropdown(),a.resultsPage=i,a.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})}))},tokenize:function(){},updateResults:function(n){var e,t,i,a=this.search,o=this.results,r=this.opts,s=this,l=a.val(),c=k.data(this.container,"select2-last-term");if((!0===n||!c||!p(l,c))&&(k.data(this.container,"select2-last-term",l),!0===n||!1!==this.showSearchInput&&this.opened())){i=++this.queryCount;var d=this.getMaximumSelectionSize();if(!(1<=d&&(e=this.data(),k.isArray(e)&&e.length>=d&&$(r.formatSelectionTooBig,"formatSelectionTooBig"))))return a.val().length<r.minimumInputLength?($(r.formatInputTooShort,"formatInputTooShort")?h("<li class='select2-no-results'>"+O(r.formatInputTooShort,r.element,a.val(),r.minimumInputLength)+"</li>"):h(""),void(n&&this.showSearch&&this.showSearch(!0))):void(r.maximumInputLength&&a.val().length>r.maximumInputLength?$(r.formatInputTooLong,"formatInputTooLong")?h("<li class='select2-no-results'>"+O(r.formatInputTooLong,r.element,a.val(),r.maximumInputLength)+"</li>"):h(""):(r.formatSearching&&0===this.findHighlightableChoices().length&&h("<li class='select2-searching'>"+O(r.formatSearching,r.element)+"</li>"),a.addClass("select2-active"),this.removeHighlight(),(t=this.tokenize())!=w&&null!=t&&a.val(t),this.resultsPage=1,r.query({element:r.element,term:a.val(),page:this.resultsPage,context:null,matcher:r.matcher,callback:this.bind(function(e){var t;if(i==this.queryCount)if(this.opened())if(e.hasError!==w&&$(r.formatAjaxError,"formatAjaxError"))h("<li class='select2-ajax-error'>"+O(r.formatAjaxError,r.element,e.jqXHR,e.textStatus,e.errorThrown)+"</li>");else{if(this.context=e.context===w?null:e.context,this.opts.createSearchChoice&&""!==a.val()&&(t=this.opts.createSearchChoice.call(s,a.val(),e.results))!==w&&null!==t&&s.id(t)!==w&&null!==s.id(t)&&0===k(e.results).filter(function(){return p(s.id(this),s.id(t))}).length&&this.opts.createSearchChoicePosition(e.results,t),0===e.results.length&&$(r.formatNoMatches,"formatNoMatches"))return h("<li class='select2-no-results'>"+O(r.formatNoMatches,r.element,a.val())+"</li>"),void(this.showSearch&&this.showSearch(a.val()));o.empty(),s.opts.populateResults.call(this,o,e.results,{term:a.val(),page:this.resultsPage,context:null}),!0===e.more&&$(r.formatLoadMore,"formatLoadMore")&&(o.append("<li class='select2-more-results'>"+r.escapeMarkup(O(r.formatLoadMore,r.element,this.resultsPage))+"</li>"),window.setTimeout(function(){s.loadMoreIfNeeded()},10)),this.postprocessResults(e,n),u(),this.opts.element.trigger({type:"select2-loaded",items:e})}else this.search.removeClass("select2-active")})})));h("<li class='select2-selection-limit'>"+O(r.formatSelectionTooBig,r.element,d)+"</li>")}function u(){a.removeClass("select2-active"),s.positionDropdown(),o.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?s.liveRegion.text(o.text()):s.liveRegion.text(s.opts.formatMatches(o.find('.select2-result-selectable:not(".select2-selected")').length))}function h(e){o.html(e),u()}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){var i;(i=this.search)[0]!==document.activeElement&&window.setTimeout(function(){var e,t=i[0],n=i.val().length;i.focus(),(0<t.offsetWidth||0<t.offsetHeight)&&t===document.activeElement&&(t.setSelectionRange?t.setSelectionRange(n,n):t.createTextRange&&((e=t.createTextRange()).collapse(!1),e.select()))},0)},selectHighlighted:function(e){var t,n;this._touchMoved?this.clearTouchMoved():(t=this.highlight(),(n=this.results.find(".select2-highlighted").closest(".select2-result").data("select2-data"))?(this.highlight(t),this.onSelect(n,e)):e&&e.noFocus&&this.close())},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==w?e.text():w)},getPlaceholderOption:function(){if(this.select){var e=this.select.children("option").first();if(this.opts.placeholderOption!==w)return"first"===this.opts.placeholderOption&&e||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===k.trim(e.text())&&""===e.val())return e}},initContainerWidth:function(){var e=function(){var e,t,n,i,a;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"!==this.opts.width&&"resolve"!==this.opts.width)return k.isFunction(this.opts.width)?this.opts.width():this.opts.width;if("string"==typeof(e=this.opts.element.attr("style")))for(i=0,a=(t=e.split(";")).length;i<a;i+=1)if(null!==(n=t[i].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&1<=n.length)return n[1];return"resolve"===this.opts.width?0<(e=this.opts.element.css("width")).indexOf("%")?e:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px":null}.call(this);null!==e&&this.container.css("width",e)}}),t=I(e,{createContainer:function(){return k(document.createElement("div")).attr({class:"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>","   <span class='select2-chosen'>&#160;</span><abbr class='select2-search-choice-close'></abbr>","   <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>","   <div class='select2-search'>","       <label for='' class='select2-offscreen'></label>","       <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'","       aria-autocomplete='list' />","   </div>","   <ul class='select2-results' role='listbox'>","   </ul>","</div>"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var e,t,n;0<=this.opts.minimumResultsForSearch&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),(e=this.search.get(0)).createTextRange?((t=e.createTextRange()).collapse(!1),t.select()):e.setSelectionRange&&(n=this.search.val().length,e.setSelectionRange(n,n))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(k.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){k("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),A.call(this,"selection","focusser")},initContainer:function(){var t,e,n=this.container,i=this.dropdown,a=x();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=n.find(".select2-choice"),this.focusser=n.find(".select2-focusser"),t.find(".select2-chosen").attr("id","select2-chosen-"+a),this.focusser.attr("aria-labelledby","select2-chosen-"+a),this.results.attr("id","select2-results-"+a),this.search.attr("aria-owns","select2-results-"+a),this.focusser.attr("id","s2id_autogen"+a),e=k("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(e.text()).attr("for",this.focusser.attr("id"));var o=this.opts.element.attr("title");this.opts.element.attr("title",o||e.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(k("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode)if(e.which!==u.PAGE_UP&&e.which!==u.PAGE_DOWN)switch(e.which){case u.UP:case u.DOWN:return this.moveHighlight(e.which===u.UP?-1:1),void v(e);case u.ENTER:return this.selectHighlighted(),void v(e);case u.TAB:return void this.selectHighlighted({noFocus:!0});case u.ESC:return this.cancel(e),void v(e)}else v(e)})),this.search.on("blur",this.bind(function(e){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&1<this.results.length&&this.search.focus()}),0)}
3641)),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==u.TAB&&!u.isControl(e)&&!u.isFunctionKey(e)&&e.which!==u.ESC){if(!1!==this.opts.openOnEnter||e.which!==u.ENTER){if(e.which==u.DOWN||e.which==u.UP||e.which==u.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void v(e)}return e.which==u.DELETE||e.which==u.BACKSPACE?(this.opts.allowClear&&this.clear(),void v(e)):void 0}v(e)}})),m(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(0<=this.opts.minimumResultsForSearch){if(e.stopPropagation(),this.opened())return;this.open()}})),t.on("mousedown touchstart","abbr",this.bind(function(e){var t;this.isInterfaceEnabled()&&(this.clear(),(t=e).preventDefault(),t.stopImmediatePropagation(),this.close(),this.selection&&this.selection.focus())})),t.on("mousedown touchstart",this.bind(function(e){r(t),this.container.hasClass("select2-container-active")||this.opts.element.trigger(k.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),v(e)})),i.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){v(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(k.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(k.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(k.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(e){var t=this.selection.data("select2-data");if(t){var n=k.Event("select2-clearing");if(this.opts.element.trigger(n),n.isDefaultPrevented())return;var i=this.getPlaceholderOption();this.opts.element.val(i?i.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==e&&(this.opts.element.trigger({type:"select2-removed",val:this.id(t),choice:t}),this.triggerChange({removed:t}))}},initSelection:function(){var t;this.isPlaceholderOptionSelected()?(this.updateSelection(null),this.close(),this.setPlaceholder()):(t=this).opts.initSelection.call(null,this.opts.element,function(e){e!==w&&null!==e&&(t.updateSelection(e),t.close(),t.setPlaceholder(),t.lastSearchTerm=t.search.val())})},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()!==w&&((e=this.getPlaceholderOption())!==w&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===w||null===this.opts.element.val())},prepareOpts:function(){var r=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===r.element.get(0).tagName.toLowerCase()?r.initSelection=function(e,t){var n=e.find("option").filter(function(){return this.selected&&!this.disabled});t(i.optionToData(n))}:"data"in r&&(r.initSelection=r.initSelection||function(e,t){var a=e.val(),o=null;r.query({matcher:function(e,t,n){var i=p(a,r.id(n));return i&&(o=n),i},callback:k.isFunction(t)?function(){t(o)}:k.noop})}),r},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===w?w:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==w){if(this.select&&this.getPlaceholderOption()===w)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,t,n){var i,a=0,o=this;this.findHighlightableChoices().each2(function(e,t){if(p(o.id(t.data("select2-data")),o.opts.element.val()))return a=e,!1}),!1!==n&&(!0===t&&0<=a?this.highlight(a):this.highlight(0)),!0!==t||0<=(i=this.opts.minimumResultsForSearch)&&this.showSearch(function n(e){var i=0;return k.each(e,function(e,t){t.children?i+=n(t.children):i++}),i}(e.results)>=i)},showSearch:function(e){this.showSearchInput!==e&&(this.showSearchInput=e,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!e),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!e),k(this.dropdown,this.container).toggleClass("select2-with-searchbox",e))},onSelect:function(e,t){var n,i;this.triggerSelect(e)&&(n=this.opts.element.val(),i=this.data(),this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.lastSearchTerm=this.search.val(),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),p(n,this.id(e))||this.triggerChange({added:e,removed:i}))},updateSelection:function(e){var t,n,i=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),i.empty(),null!==e&&(t=this.opts.formatSelection(e,i,this.opts.escapeMarkup)),t!==w&&i.append(t),(n=this.opts.formatSelectionCssClass(e,i))!==w&&i.addClass(n),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==w&&this.container.addClass("select2-allowclear")},val:function(){var e,t=!1,n=null,i=this,a=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],1<arguments.length&&(t=arguments[1],this.opts.debug&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.')),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a <select> using `select2("val")` is no longer supported in 4.0.0. You can use the `.val(newValue).trigger("change")` method provided by jQuery instead.'),this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return n=i.optionToData(t),!1}),this.updateSelection(n),this.setPlaceholder(),t&&this.triggerChange({added:n,removed:a});else{if(!e&&0!==e)return void this.clear(t);if(this.opts.initSelection===w)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){i.opts.element.val(e?i.id(e):""),i.updateSelection(e),i.setPlaceholder(),t&&i.triggerChange({added:e,removed:a})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var t,n=!1;if(0===arguments.length)return(t=this.selection.data("select2-data"))==w&&(t=null),t;this.opts.debug&&console&&console.warn&&console.warn('Select2: The `select2("data")` method can no longer set selected values in 4.0.0, consider using the `.val()` method instead.'),1<arguments.length&&(n=arguments[1]),e?(t=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),n&&this.triggerChange({added:e,removed:t})):this.clear(n)}}),n=I(e,{createContainer:function(){return k(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>","  <li class='select2-search-field'>","    <label for='' class='select2-offscreen'></label>","    <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>","  </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>","   <ul class='select2-results'>","   </ul>","</div>"].join(""))},prepareOpts:function(){var l=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===l.element.get(0).tagName.toLowerCase()?l.initSelection=function(e,t){var n=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){n.push(i.optionToData(t))}),t(n)}:"data"in l&&(l.initSelection=l.initSelection||function(e,o){var r=h(e.val(),l.separator,l.transformVal),s=[];l.query({matcher:function(e,t,n){var i=k.grep(r,function(e){return p(e,l.id(n))}).length;return i&&s.push(n),i},callback:k.isFunction(o)?function(){for(var e=[],t=0;t<r.length;t++)for(var n=r[t],i=0;i<s.length;i++){var a=s[i];if(p(n,l.id(a))){e.push(a),s.splice(i,1);break}}o(e)}:k.noop})}),l},selectChoice:function(e){var t=this.container.find(".select2-search-choice-focus");t.length&&e&&e[0]==t[0]||(t.length&&this.opts.element.trigger("choice-deselected",t),t.removeClass("select2-search-choice-focus"),e&&e.length&&(this.close(),e.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",e)))},destroy:function(){k("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),A.call(this,"searchContainer","selection")},initContainer:function(){var d,e=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=d=this.container.find(e);var t=this;this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(e){t.search[0].focus(),t.selectChoice(k(this))}),this.search.attr("id","s2id_autogen"+x()),this.search.prev().text(k("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()){++this.keydowns;var t,n,i,a,o=d.find(".select2-search-choice-focus"),r=o.prev(".
3641select2-search-choice:not(.select2-locked)"),s=o.next(".select2-search-choice:not(.select2-locked)"),l=(t=this.search,a=i=0,"selectionStart"in(t=k(t)[0])?(i=t.selectionStart,a=t.selectionEnd-i):"selection"in document&&(t.focus(),n=document.selection.createRange(),a=document.selection.createRange().text.length,n.moveStart("character",-t.value.length),i=n.text.length-a),{offset:i,length:a});if(o.length&&(e.which==u.LEFT||e.which==u.RIGHT||e.which==u.BACKSPACE||e.which==u.DELETE||e.which==u.ENTER)){var c=o;return e.which==u.LEFT&&r.length?c=r:e.which==u.RIGHT?c=s.length?s:null:e.which===u.BACKSPACE?this.unselect(o.first())&&(this.search.width(10),c=r.length?r:s):e.which==u.DELETE?this.unselect(o.first())&&(this.search.width(10),c=s.length?s:null):e.which==u.ENTER&&(c=null),this.selectChoice(c),v(e),void(c&&c.length||this.open())}if((e.which===u.BACKSPACE&&1==this.keydowns||e.which==u.LEFT)&&0==l.offset&&!l.length)return this.selectChoice(d.find(".select2-search-choice:not(.select2-locked)").last()),void v(e);if(this.selectChoice(null),this.opened())switch(e.which){case u.UP:case u.DOWN:return this.moveHighlight(e.which===u.UP?-1:1),void v(e);case u.ENTER:return this.selectHighlighted(),void v(e);case u.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case u.ESC:return this.cancel(e),void v(e)}if(e.which!==u.TAB&&!u.isControl(e)&&!u.isFunctionKey(e)&&e.which!==u.BACKSPACE&&e.which!==u.ESC){if(e.which===u.ENTER){if(!1===this.opts.openOnEnter)return;if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return}this.open(),e.which!==u.PAGE_UP&&e.which!==u.PAGE_DOWN||v(e),e.which===u.ENTER&&v(e)}}})),this.search.on("keyup",this.bind(function(e){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(e){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),e.stopImmediatePropagation(),this.opts.element.trigger(k.Event("select2-blur"))})),this.container.on("click",e,this.bind(function(e){this.isInterfaceEnabled()&&(0<k(e.target).closest(".select2-search-choice").length||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(k.Event("select2-focus")),this.open(),this.focusSearch(),e.preventDefault()))})),this.container.on("focus",e,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(k.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){var t;""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),!this.select&&""===this.opts.element.val()||(t=this).opts.initSelection.call(null,this.opts.element,function(e){e!==w&&null!==e&&(t.updateSelection(e),t.close(),t.clearSearch())})},clearSearch:function(){var e=this.getPlaceholder(),t=this.getMaxSearchWidth();e!==w&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(e).addClass("select2-default"),this.search.width(0<t?t:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(k.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(e){var t={},n=[],i=this;k(e).each(function(){i.id(this)in t||(t[i.id(this)]=0,n.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(n),i.postprocessResults()},tokenize:function(){var e=this.search.val();null!=(e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts))&&e!=w&&(this.search.val(e),0<e.length&&this.open())},onSelect:function(e,t){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(e,!1,!0===this.opts.closeOnSelect),!this.opts.closeOnSelect&&0<this.countSelectableResults()?(this.search.width(10),this.resizeSearch(),0<this.getMaximumSelectionSize()&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),t&&t.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(e){var t=this.getVal(),n=this;k(e).each(function(){t.push(n.createChoice(this))}),this.setVal(t)},createChoice:function(e){var t,n=!e.locked,i=k("<li class='select2-search-choice'>    <div></div>    <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),a=k("<li class='select2-search-choice select2-locked'><div></div></li>"),o=n?i:a,r=this.id(e),s=this.opts.formatSelection(e,o.find("div"),this.opts.escapeMarkup);return s!=w&&o.find("div").replaceWith(k("<div></div>").html(s)),(t=this.opts.formatSelectionCssClass(e,o.find("div")))!=w&&o.addClass(t),n&&o.find(".select2-search-choice-close").on("mousedown",v).on("click dblclick",this.bind(function(e){this.isInterfaceEnabled()&&(this.unselect(k(e.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),v(e),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),o.data("select2-data",e),o.insertBefore(this.searchContainer),r},unselect:function(e){var t,n,i=this.getVal();if(0===(e=e.closest(".select2-search-choice")).length)throw"Invalid argument: "+e+". Mu
3641st be .select2-search-choice";if(t=e.data("select2-data")){var a=k.Event("select2-removing");if(a.val=this.id(t),a.choice=t,this.opts.element.trigger(a),a.isDefaultPrevented())return!1;for(;0<=(n=d(this.id(t),i));)i.splice(n,1),this.setVal(i),this.select&&this.postprocessResults();return e.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(t),choice:t}),this.triggerChange({removed:t}),!0}},postprocessResults:function(e,t,n){var i=this.getVal(),a=this.results.find(".select2-result"),o=this.results.find(".select2-result-with-children"),r=this;a.each2(function(e,t){0<=d(r.id(t.data("select2-data")),i)&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),o.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&!0===this.opts.closeOnSelect&&r.highlight(0),!this.opts.createSearchChoice&&0<!a.filter(".select2-result:not(.select2-selected)").length&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&$(r.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+O(r.opts.formatNoMatches,r.opts.element,r.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-f(this.search)},resizeSearch:function(){var e,t,n,i,a,o,r=f(this.search);a=this.search,s||(o=a[0].currentStyle||window.getComputedStyle(a[0],null),(s=k(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:o.fontSize,fontFamily:o.fontFamily,fontStyle:o.fontStyle,fontWeight:o.fontWeight,letterSpacing:o.letterSpacing,textTransform:o.textTransform,whiteSpace:"nowrap"})).attr("class","select2-sizer"),k(document.body).append(s)),s.text(a.val()),e=s.width()+10,t=this.search.offset().left,(i=(n=this.selection.width())-(t-this.selection.offset().left)-r)<e&&(i=n-r),i<40&&(i=n-r),i<=0&&(i=e),this.search.width(Math.floor(i))},getVal:function(){var e;return this.select?null===(e=this.select.val())?[]:e:h(e=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(e){var t,n;this.select?this.select.val(e):(t=[],n={},k(e).each(function(){this in n||(t.push(this),n[this]=0)}),this.opts.element.val(0===t.length?"":t.join(this.opts.separator)))},buildChangeDetails:function(e,t){for(var t=t.slice(0),e=e.slice(0),n=0;n<t.length;n++)for(var i=0;i<e.length;i++)if(p(this.opts.id(t[n]),this.opts.id(e[i]))){t.splice(n,1),n--,e.splice(i,1);break}return{added:t,removed:e}},val:function(e,n){var i,a=this;if(0===arguments.length)return this.getVal();if((i=this.data()).length||(i=[]),!e&&0!==e)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(n&&this.triggerChange({added:this.data(),removed:i}));if(this.setVal(e),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),n&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===w)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(e){var t=k.map(e,a.id);a.setVal(t),a.updateSelection(e),a.clearSearch(),n&&a.triggerChange(a.buildChangeDetails(i,a.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var e=[],t=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){e.push(t.opts.id(k(this).data("select2-data")))}),this.setVal(e),this.triggerChange()},data:function(e,t){var n,i,a=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return k(this).data("select2-data")}).get();i=this.data(),e=e||[],n=k.map(e,function(e){return a.opts.id(e)}),this.setVal(n),this.updateSelection(e),this.clearSearch(),t&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),k.fn.select2=function(){var e,t,n,i,a,o=Array.prototype.slice.call(arguments,0),r=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],s=["opened","is
3641Focused","container","dropdown"],l=["val","data"],c={search:"externalSearch"};return this.each(function(){if(0===o.length||"object"==typeof o[0])(e=0===o.length?{}:k.extend({},o[0])).element=k(this),"select"===e.element.get(0).tagName.toLowerCase()?a=e.element.prop("multiple"):(a=e.multiple||!1,"tags"in e&&(e.multiple=a=!0)),(t=a?new window.Select2.class.multi:new window.Select2.class.single).init(e);else{if("string"!=typeof o[0])throw"Invalid arguments to select2 plugin: "+o;if(d(o[0],r)<0)throw"Unknown method: "+o[0];if(i=w,(t=k(this).data("select2"))===w)return;if(n=o[0],i="container"===n?t.container:"dropdown"===n?t.dropdown:(c[n]&&(n=c[n]),t[n].apply(t,o.slice(1))),0<=d(o[0],s)||0<=d(o[0],l)&&1==o.length)return!1}}),i===w?this:i},k.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,n,i){var a=[];return b(this.text(e),n.term,a,i),a.join("")},transformVal:function(e){return k.trim(e)},formatSelection:function(e,t,n){return e?n(this.text(e)):w},sortResults:function(e,t,n){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(e,t){return w},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==w?null:e.id},text:function(e){return e&&this.data&&this.data.text?k.isFunction(this.data.text)?this.data.text(e):e[this.data.text]:e.text},matcher:function(e,t){return 0<=l(""+t).toUpperCase().indexOf(l(""+e).toUpperCase())},separator:",",tokenSeparators:[],tokenizer:function(e,t,n,i){var a,o,r,s,l,c=e,d=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return w;for(;;){for(o=-1,r=0,s=i.tokenSeparators.length;r<s&&(l=i.tokenSeparators[r],!(0<=(o=e.indexOf(l))));r++);if(o<0)break;if(a=e.substring(0,o),e=e.substring(o+l.length),0<a.length&&(a=i.createSearchChoice.call(this,a,t))!==w&&null!==a&&i.id(a)!==w&&null!==i.id(a)){for(d=!1,r=0,s=t.length;r<s;r++)if(p(i.id(a),i.id(t[r]))){d=!0;break}d||n(a)}}return c!==e?e:void 0},escapeMarkup:S,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(e){return null},nextSearchTerm:function(e,t){return w},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){return!("ontouchstart"in window||0<navigator.msMaxTouchPoints)||!(e.opts.minimumResultsForSearch<0)}},k.fn.select2.locales=[],k.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(e,t,n){return"Loading failed"},formatInputTooShort:function(e,t){var n=t-e.length;return"Please enter "+n+" or more character"+(1==n?"":"s")},formatInputTooLong:function(e,t){var n=e.length-t;return"Please delete "+n+" character"+(1==n?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(e){return"Loading more results…"},formatSearching:function(){return"Searching…"}},k.extend(k.fn.select2.defaults,k.fn.select2.locales.en),k.fn.select2.ajaxDefaults={transport:k.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:C,local:E,tags:D},util:{debounce:g,markMatch:b,escapeMarkup:S,stripDiacritics:l},class:{abstract:e,single:t,multi:n}})}(jQuery)}.apply(e,arguments)})}(this),function(e){define("jquery.event.drag",["jquery"],function(){return function(){!function(h){h.fn.drag=function(e,t,n){var i="string"==typeof e?e:"",a=h.isFunction(e)?e:h.isFunction(t)?t:null;return 0!==i.indexOf("drag")&&(i="drag"+i),n=(e==a?t:n)||{},a?this.bind(i,n,a):this.trigger(i)};var p=h.event,i=p.special,f=i.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:!1,drop:!0,click:!1},datakey:"dragdata",noBubble:!0,add:function(e){var n=h.data(this,f.datakey),i=e.data||{};n.related+=1,h.each(f.defaults,function(e,t){void 0!==i[e]&&(n[e]=i[e])})},remove:function(){--h.data(this,f.datakey).related},setup:function(){var e;h.data(this,f.datakey)||(e=h.extend({related:0},f.defaults),h.data(this,f.datakey,e),p.add(this,"touchstart mousedown",f.init,e),this.attachEvent&&this.attachEvent("ondragstart",f.dontstart))},teardown:function(){(h.data(this,f.datakey)||{}).related||(h.removeData(this,f.datakey),p.remove(this,"touchstart mousedown",f.init),f.textselect(!0),this.detachEvent&&this.detachEvent("ondragstart",f.dontstart))},init:function(e){if(!f.touched){var t,n=e.data;if(!(0!=e.which&&0<n.which&&e.which!=n.which)&&!h(e.target).is(n.not)&&(!n.handle||h(e.target).closest(n.handle,e.currentTarget).length)&&(f.touched="touchstart"==e.type?this:null,n.propagates=1,n.mousedown=this,n.interactions=[f.interaction(this,n)],n.target=e.target,n.pageX=e.pageX,n.pageY=e.pageY,n.dragging=null,t=f.hijack(e,"draginit",n),n.propagates))return(t=f.flatten(t))&&t.length&&(n.interactions=[],h.each(t,function(){n.interactions.push(f.interaction(this,n))})),n.propagates=n.interactions.length,!1!==n.drop&&i.drop&&i.drop.handler(e,n),f.textselect(!1),f.touched?p.add(f.touched,"touchmove touchend",f.handler,n):p.add(document,"mousemove mouseup",f.handler,n),!(!f.touched||n.live)&&void 0}},interaction:function(e,t){var n=h(e)[t.relative?"position":"offset"]()||{top:0,left:0};return{drag:e,callback:new f.callback,droppable:[],offset:n}},handler:function(e){var t=e.data;switch(e.type){case!t.dragging&&"touchmove":e.preventDefault();case!t.dragging&&"mousemove":if(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2)<Math.pow(t.distance,2))break;e.target=t.target,f.hijack(e,"dragstart",t),t.propagates&&(t.dragging=!0);case"touchmove":e.preventDefault();case"mousemove":if(t.dragging){if(f.hijack(e,"drag",t),t.propagates){!1!==t.drop&&i.drop&&i.drop.handler(e,t);break}e.type="mouseup"}case"touchend":case"mouseup":default:f.touched?p.remove(f.touched,"touchmove touchend",f.handler):p.remove(document,"mousemove mouseup",f.handler),t.dragging&&(!1!==t.drop&&i.drop&&i.drop.handler(e,t),f.hijack(e,"dragend",t)),f.textselect(!0),!1===t.click&&t.dragging&&h.data(t.mousedown,"suppress.click",(new Date).getTime()+5),t.dragging=f.touched=!1}},hijack:function(n,i,a,e,t){if(a){var o,r,s,l={event:n.originalEvent,type:n.type},c=i.indexOf("drop")?"drag":"drop",d=e||0,u=isNaN(e)?a.interactions.length:e;n.type=i,n.originalEvent=null,a.results=[];do{if(r=a.interactions[d]){if("dragend"!==i&&r.cancelled)continue;s=f.properties(n,a,r),r.results=[],h(t||r[c]||a.droppable).each(function(e,t){if(s.target=t,!(n.isPropagationStopped=function(){return!1})===(o=t?p.dispatch.call(t,n,s):null)?("drag"==c&&(r.cancelled=!0,--a.propagates),"drop"==i&&(r[c][e]=null)):"dropinit"==i&&r.droppable.push(f.element(o)||t),"dragstart"==i&&(r.proxy=h(f.element(o)||r.drag)[0]),r.results.push(o),delete n.result,"dropinit"!==i)return o}
3641),a.results[d]=f.flatten(r.results),"dropinit"==i&&(r.droppable=f.flatten(r.droppable)),"dragstart"!=i||r.cancelled||s.update()}}while(++d<u);return n.type=l.type,n.originalEvent=l.event,f.flatten(a.results)}},properties:function(e,t,n){var i=n.callback;return i.drag=n.drag,i.proxy=n.proxy||n.drag,i.startX=t.pageX,i.startY=t.pageY,i.deltaX=e.pageX-t.pageX,i.deltaY=e.pageY-t.pageY,i.originalX=n.offset.left,i.originalY=n.offset.top,i.offsetX=i.originalX+i.deltaX,i.offsetY=i.originalY+i.deltaY,i.drop=f.flatten((n.drop||[]).slice()),i.available=f.flatten((n.droppable||[]).slice()),i},element:function(e){if(e&&(e.jquery||1==e.nodeType))return e},flatten:function(e){return h.map(e,function(e){return e&&e.jquery?h.makeArray(e):e&&e.length?f.flatten(e):e})},textselect:function(e){h(document)[e?"unbind":"bind"]("selectstart",f.dontstart).css("MozUserSelect",e?"":"none"),document.unselectable=e?"off":"on"},dontstart:function(){return!1},callback:function(){}};f.callback.prototype={update:function(){i.drop&&this.available.length&&h.each(this.available,function(e){i.drop.locate(this,e)})}};var t=p.dispatch;p.dispatch=function(e){if(!(0<h.data(this,"suppress."+e.type)-(new Date).getTime()))return t.apply(this,arguments);h.removeData(this,"suppress."+e.type)};var a=p.fixHooks.touchstart=p.fixHooks.touchmove=p.fixHooks.touchend=p.fixHooks.touchcancel={props:"clientX clientY pageX pageY screenX screenY".split(" "),filter:function(n,e){var i;return!e||(i=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||null)&&h.each(a.props,function(e,t){n[t]=i[t]}),n}}}(jQuery)}.apply(e,arguments)})}(this),function(e){define("jquery.event.drop",["jquery"],function(){return function(){return function(p){p.fn.drop=function(e,t,n){var i="string"==typeof e?e:"",a=p.isFunction(e)?e:p.isFunction(t)?t:null;return 0!==i.indexOf("drop")&&(i="drop"+i),n=(e==a?t:n)||{},a?this.bind(i,n,a):this.trigger(i)},p.drop=function(e){e=e||{},m.multi=!0===e.multi?1/0:!1===e.multi?1:isNaN(e.multi)?m.multi:e.multi,m.delay=e.delay||m.delay,m.tolerance=p.isFunction(e.tolerance)?e.tolerance:null===e.tolerance?null:m.tolerance,m.mode=e.mode||m.mode||"intersect"};var f=p.event.special,m=p.event.special.drop={multi:1,delay:20,mode:"overlap",targets:[],datakey:"dropdata",noBubble:!0,add:function(e){p.data(this,m.datakey).related+=1},remove:function(){--p.data(this,m.datakey).related},setup:function(){p.data(this,m.datakey)||(p.data(this,m.datakey,{related:0,active:[],anyactive:0,winner:0,location:{}}),m.targets.push(this))},teardown:function(){var t;(p.data(this,m.datakey)||{}).related||(p.removeData(this,m.datakey),t=this,m.targets=p.grep(m.targets,function(e){return e!==t}))},handler:function(e,t){var n;if(t)switch(e.type){case"mousedown":case"touchstart":n=p(m.targets),"string"==typeof t.drop&&(n=n.filter(t.drop)),n.each(function(){var e=p.data(this,m.datakey);e.active=[],e.anyactive=0,e.winner=0}),t.droppable=n,f.drag.hijack(e,"dropinit",t);break;case"mousemove":case"touchmove":m.event=e,m.timer||m.tolerate(t);break;case"mouseup":case"touchend":m.timer=clearTimeout(m.timer),t.propagates&&(f.drag.hijack(e,"drop",t),f.drag.hijack(e,"dropend",t))}},locate:function(e,t){var n=p.data(e,m.datakey),i=p(e),a=i.offset()||{},o=i.outerHeight(),r=i.outerWidth(),s={elem:e,width:r,height:o,top:a.top,left:a.left,right:a.left+r,bottom:a.top+o};return n&&(n.location=s,n.index=t,n.elem=e),s},contains:function(e,t){return(t[0]||t.left)>=e.left&&(t[0]||t.right)<=e.right&&(t[1]||t.top)>=e.top&&(t[1]||t.bottom)<=e.bottom},modes:{intersect:function(e,t,n){return this.contains(n,[e.pageX,e.pageY])?1e9:this.modes.overlap.apply(this,arguments)},overlap:function(e,t,n){return Math.max(0,Math.min(n.bottom,t.bottom)-Math.max(n.top,t.top))*Math.max(0,Math.min(n.right,t.right)-Math.max(n.left,t.left))},fit:function(e,t,n){return this.contains(n,t)?1:0},middle:function(e,t,n){return this.contains(n,[t.left+.5*t.width,t.top+.5*t.height])?1:0}},sort:function(e,t){return t.winner-e.winner||e.index-t.index},tolerate:function(e){var t,n,i,a,o,r,s,l,c=0,d=e.interactions.length,u=[m.event.pageX,m.event.pageY],h=m.tolerance||m.modes[m.mode];
3641do{if(l=e.interactions[c]){if(!l)return;l.drop=[],o=[],r=l.droppable.length,h&&(i=m.locate(l.proxy)),t=0;do{if(s=l.droppable[t]){if(!(n=(a=p.data(s,m.datakey)).location))continue;a.winner=h?h.call(m,m.event,i,n):m.contains(n,u)?1:0,o.push(a)}}while(++t<r);for(o.sort(m.sort),t=0;(a=o[t])&&(a.winner&&l.drop.length<m.multi?(a.active[c]||a.anyactive||(!1!==f.drag.hijack(m.event,"dropstart",e,c,a.elem)[0]?(a.active[c]=1,a.anyactive+=1):a.winner=0),a.winner&&l.drop.push(a.elem)):a.active[c]&&1==a.anyactive&&(f.drag.hijack(m.event,"dropend",e,c,a.elem),a.active[c]=0,--a.anyactive)),++t<r;);}}while(++c<d);m.last&&u[0]==m.last.pageX&&u[1]==m.last.pageY?delete m.timer:m.timer=setTimeout(function(){m.tolerate(e)},m.delay),m.last=m.event}};f.dropinit=f.dropstart=f.dropend=m}(jQuery),$.drop}.apply(e,arguments)})}(this),define("mockup-patterns-select2",["jquery","pat-base","mockup-utils","select2","jquery.event.drag","jquery.event.drop"],function(s,e,l){"use strict";return e.extend({name:"select2",trigger:".pat-select2",parser:"mockup",defaults:{separator:","},initializeValues:function(){var o=this;o.options.initialValues&&(o.options.id=function(e){return e.id},o.options.initSelection=function(e,t){var n=[],i=e.val(),a=o.options.initialValues;"string"==typeof o.options.initialValues&&""!==o.options.initialValues&&("{"===o.options.initialValues[0]?a=JSON.parse(o.options.initialValues):(a={},s(o.options.initialValues.split(o.options.separator)).each(function(){var e=this.split(":"),t=s.trim(e[0]),n=s.trim(e[1]);a[t]=n}))),s(i.split(o.options.separator)).each(function(){var e=this;a[this]&&(e=a[this]),n.push({id:l.removeHTML(this),text:l.removeHTML(e)})}),t(n)})},initializeTags:function(){var e=this;e.options.tags&&"string"==typeof e.options.tags&&("["===e.options.tags.substr(0,1)?e.options.tags=JSON.parse(e.options.tags):e.options.tags=e.options.tags.split(e.options.separator)),e.options.tags&&!e.options.allowNewItems&&(e.options.data=s.map(e.options.tags,function(e,t){return{id:e,text:e}}),e.options.multiple=!0,delete e.options.tags)},initializeOrdering:function(){var n,i=this;i.options.orderable&&(n=function(e,t){return e?e.text:void 0},i.options.formatSelection&&(n=i.options.formatSelection),i.options.formatSelection=function(e,t){return t.parents("li").drag("start",function(e,t){return s(this).addClass("select2-choice-dragging"),i.$el.select2("onSortStart"),s.drop({tolerance:function(e,t,n){var i=e.pageY>n.top+n.height/2;return s.data(n.elem,"drop+reorder",i?"insertAfter":"insertBefore"),this.contains(n,[e.pageX,e.pageY])}}),s(this).clone().addClass("dragging").css({opacity:.75,position:"absolute"}).appendTo(document.body)}).drag(function(e,t){s(t.proxy).css({top:t.offsetY,left:t.offsetX});var n=t.drop[0],i=s.data(n||{},"drop+reorder");!n||n==t.current&&i==t.method||(s(this)[i](n),t.current=n,t.method=i,t.update())}).drag("end",function(e,t){s(this).removeClass("select2-choice-dragging"),i.$el.select2("onSortEnd"),s(t.proxy).remove()}).drop("init",function(e,t){return this!=t.drag}),n(e,t)})},initializeSelect2:function(){var n=this;function t(e,t){return e?(n.options.debug&&console.debug("callback",e,t),"string"==typeof e&&(e=window[e]),e(t)):e}n.options.formatResultCssClass=function(e){if(e.id)return"select2-option-"+e.id.toLowerCase().replace(/[ \:\)\(\[\]\{\}\_\+\=\&\*\%\#]/g,"-")},n.$el.select2(n.options),n.$el.on("select2-selected",function(e){t(n.options.onSelected,e)}),n.$el.on("select2-selecting",function(e){t(n.options.onSelecting,e)}),n.$el.on("select2-deselecting",function(e){t(n.options.onDeselecting,e)}),n.$el.on("select2-deselected",function(e){t(n.options.onDeselected,e)}),n.$select2=n.$el.parent().find(".select2-container"),n.$el.parent().off("close.plone-modal.patterns"),n.options.orderable&&n.$select2.addClass("select2-orderable")},opened:function(){return 1===s(".select2-dropdown-open",this.$el.parent()).length},init:function(){var o,e,t,n,r=this;r.options.allowNewItems=!r.options.hasOwnProperty("allowNewItems")||JSON.parse(r.options.allowNewItems),r.options.ajax||r.options.vocabularyUrl?(r.options.vocabularyUrl&&(r.options.multiple=void 0===r.options.multiple||r.options.multiple,r.options.ajax=r.options.ajax||{},r.options.ajax.url=r.options.vocabularyUrl,r.options.initSelection=function(e,t){var n=[],i=e.val();s(i.split(r.options.separator)).each(function(){var e=l.removeHTML(this);n.push({id:e,text:e})}),t(n)}),o="",r.options.ajax=s.extend({quietMillis:300,data:function(e,t){return{query:o=e,page_limit:10,page:t}},results:function(e,t){var n,i,a=e.results;return r.options.vocabularyUrl&&(n=[],s.each(e.results,function(e,t){n.push(t.id)}),a=[],i=""===o||0<=s.inArray(o,n),r.options.allowNewItems&&!i&&(o=l.removeHTML(o),a.push({id:o,text:o})),s.each(e.results,function(e,t){a.push(t)})),{results:a}}},r.options.ajax)):r.options.multiple&&r.$el.is("select")&&(e=r.$el.val()||[],t=s.map(r.$el.find("option"),function(e){return{text:s(e).html(),id:e.value}}),(n=s('<input type="hidden" />')).val(e.join(r.options.separator)),n.attr("class",r.$el.attr("class")),n.attr("name",r.$el.attr("name")),n.attr("id",r.$el.attr("id")),r.$orig=r.$el,r.$el.replaceWith(n),r.$el=n,r.options.data=t),r.initializeValues(),r.initializeTags(),r.initializeOrdering(),r.initializeSelect2()}})}),define("mockup-ui-url/views/base",["jquery","underscore","backbone","translate"],function(n,i,a,o){"use strict";return a.View.extend({isUIView:!0,eventPrefix:"ui",template:null,idPrefix:"base-",appendInContainer:!0,initialize:function(e){for(var t in this.options=e,this.options)this[t]=this.options[t];this.options._t=o},render:function(){return this.applyTemplate(),this.trigger("render",this),this.afterRender(),this.options.id&&this.$el.attr("id",this.idPrefix+this.options.id),this},afterRender:function(){},serializedModel:function(){return this.options},applyTemplate:function(){var e,t;null!==this.template&&(e=n.extend({_t:o},this.options,this.serializedModel()),"string"==typeof(t=this.template)&&(t=i.template(t)),this.$el.html(t(e)))},propagateEvent:function(e){if(0<e.indexOf(":")){var t=e.split(":")[0];if(""!==this.eventPrefix&&(t===this.eventPrefix||t===this.eventPrefix+"."+this.id
3641))return!0}return!1},uiEventTrigger:function(e){var t=[].slice.call(arguments,0);""!==this.eventPrefix&&(t[0]=this.eventPrefix+":"+e,a.View.prototype.trigger.apply(this,t),this.id&&(t[0]=this.eventPrefix+"."+this.id+":"+e,a.View.prototype.trigger.apply(this,t)))}})}),define("mockup-patterns-tooltip",["jquery","pat-base"],function(f,e,t){"use strict";function n(e,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",e,t)}return n.VERSION="3.2.0",n.DEFAULTS={animation:!0,placement:"auto",selector:!1,template:'<div class="tooltip mockup-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!0,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,t,n){this.enabled=!0,this.type=e,this.$element=f(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&f(this.options.viewport.selector||this.options.viewport);for(var i=this.options.trigger.split(" "),a=i.length;a--;){var o,r,s=i[a];"click"==s?this.$element.on("click."+this.type,this.options.selector,f.proxy(this.toggle,this)):"manual"!=s&&(o="hover"==s?"mouseenter":"focusin",r="hover"==s?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,f.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,f.proxy(this.leave,this)))}this.options.selector?this._options=f.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return(e=f.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&f.each(this._options,function(e,t){i[e]!=t&&(n[e]=t)}),n},n.prototype.enter=function(e){var t=e instanceof this.constructor?e:f(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),f(e.currentTarget).data("bs."+this.type,t)),t.leaving=!1,clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)},n.prototype.leave=function(e){var t=e instanceof this.constructor?e:f(e.currentTarget).data("bs."+this.type);if(t.leaving=!0,t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),f(e.currentTarget).data("bs."+this.type,t)),clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)},n.prototype.show=function(){var e=f.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=f.contains(document.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var u=this.tip(),h=this.getUID(this.type),p=this;this.setContent().then(function(){u.attr("id",h),p.$element.attr("aria-describedby",h),p.options.animation&&u.addClass("fade");var e="function"==typeof p.options.placement?p.options.placement.call(p,u[0],p.$element[0]):p.options.placement,t=/\s?auto?\s?/i,n=t.test(e);n&&(e=e.replace(t,"")||"top"),u.detach().css({top:0,left:0,display:"block"}).addClass(e).data("bs."+p.type,p),p.options.container?u.appendTo(p.options.container):u.insertAfter(p.$element);var i,a,o,r=p.getPosition(),s=u[0].offsetWidth,l=u[0].offsetHeight;n&&(i=e,a=p.$element.parent(),o=p.getPosition(a),e="bottom"==e&&r.top+r.height+l-o.scroll>o.height?"top":"top"==e&&r.top-o.scroll-l<0?"bottom":"right"==e&&r.right+s>o.width?"left":"left"==e&&r.left-s<o.left?"right":e,u.removeClass(i).addClass(e));var c=p.getCalculatedOffset(e,r,s,l);p.applyPlacement(c,e);function d(){p.$element.trigger("shown.bs."+p.type),p.hoverState=null,p.leaving&&p.leave(p)}f.support.transition&&p.$tip.hasClass("fade")?u.one("bsTransitionEnd",d).emulateTransitionEnd(150):d()})}},n.prototype.applyPlacement=function(e,t){var n=this.tip(),i=n[0].offsetWidth,a=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(r)&&(r=0),e.top=e.top+o,e.left=e.left+r,f.offset.setOffset(n[0],f.extend({using:function(e){n.css({top:Math.round(e.top),left
3641:Math.round(e.left)})}},e),0),n.addClass("in");var s=n[0].offsetWidth,l=n[0].offsetHeight;"top"==t&&l!=a&&(e.top=e.top+a-l);var c=this.getViewportAdjustedDelta(t,e,s,l);c.left?e.left+=c.left:e.top+=c.top;var d=c.left?2*c.left-i+s:2*c.top-a+l,u=c.left?"left":"top",h=c.left?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][h],u)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},n.prototype.setContent=function(){var t=this.tip(),n=this.options.html?"html":"text",i=this.options.patTooltip?this.options.patTooltip.contentSelector:null;function a(e){"html"===n&&i&&(e=f(e).find(i).html()),t.find(".tooltip-inner")[n](e)}function e(){t.removeClass("fade in top bottom left right")}var o=this.getTitle(),r=this.getUrl();return r?(e(),f.get(r).then(function(e){a(e)})):(e(),a(o),new Promise(function(e,t){e(o)}))},n.prototype.getUrl=function(){return this.options.patTooltip?this.options.patTooltip.ajaxUrl:null},n.prototype.hide=function(){var e=this,t=this.tip(),n=f.Event("hide.bs."+this.type);function i(){"in"!=e.hoverState&&t.detach(),e.$element.trigger("hidden.bs."+e.type)}if(this.$element.removeAttr("aria-describedby"),this.$element.trigger(n),!n.isDefaultPrevented())return t.removeClass("in"),f.support.transition&&this.$tip.hasClass("fade")?t.one("bsTransitionEnd",i).emulateTransitionEnd(150):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var e=this.$element;!e.attr("title")&&"string"==typeof e.attr("data-original-title")||e.attr("data-original-title",e.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()||this.getUrl()},n.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName;return f.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():null,{scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop(),width:n?f(window).width():e.outerWidth(),height:n?f(window).height():e.outerHeight()},n?{top:0,left:0}:e.offset())},n.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,n,i){var a={top:0,left:0};if(!this.$viewport)return a;var o,r,s,l,c=this.options.viewport&&this.options.viewport.padding||0,d=this.getPosition(this.$viewport);return/right|left/.test(e)?(o=t.top-c-d.scroll,r=t.top+c-d.scroll+i,o<d.top?a.top=d.top-o:r>d.top+d.height&&(a.top=d.top+d.height-r)):(s=t.left-c,l=t.left+c+n,s<d.left?a.left=d.left-s:l>d.width&&(a.left=d.left+d.width-l)),a},n.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},n.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},n.prototype.tip=function(){if(this.$tip)return this.$tip;var e=this.$tip||f(this.options.template);return this.options.patTooltip&&(this.options.patTooltip.style&&e.css(this.options.patTooltip.style),this.options.patTooltip.class&&e.addClass(this.options.patTooltip.class),this.options.patTooltip.innerStyle&&e.find(".tooltip-inner").css(this.options.patTooltip.innerStyle)),this.$tip=e},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var t=this;e&&((t=f(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),f(e.currentTarget).data("bs."+this.type,t))),t.tip().hasClass("in")?t.leave(t):t.enter(t)},n.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)},e.extend({name:"tooltip",trigger:".pat-tooltip",parser:"mockup",defaults:{html:!1,placement:"top"},init:function(){"true"===this.options.html||!0===this.options.html?this.options.html=!0:this.options.html=!1,this.data=new n(this.$el[0],this.options)}})}),define("mockup-ui-url/views/button",["underscore","mockup-ui-url/views/base","mockup-patterns-tooltip"],function(n,i,a){"use strict";return i.extend({tagName:"a",className:"btn",eventPrefix:"button",context:"default",idPrefix:"btn-",attributes:{href:"#"}
3641,extraClasses:[],tooltip:null,template:'<% if (icon) { %><span class="glyphicon glyphicon-<%= icon %>"></span><% } %> <%= title %>',events:{click:"handleClick"},initialize:function(e){var t;e.id||(t=e.title||"",e.id=""!==t?t.toLowerCase().replace(" ","-"):this.cid),i.prototype.initialize.apply(this,[e]),this.on("render",function(){this.$el.attr("title",this.options.title||""),this.$el.attr("aria-label",this.options.title||this.options.tooltip||""),null!==this.context&&this.$el.addClass("btn-"+this.context),n.each(this.extraClasses,function(e){this.$el.addClass(e)}.bind(this)),null!==this.tooltip&&(this.$el.attr("title",this.tooltip),new a(this.$el),this.$el.on("hidden",function(e){"hidden"===e.type&&e.stopPropagation()}))},this)},handleClick:function(e){e.preventDefault(),this.$el.is(".disabled")||this.uiEventTrigger("click",this,e)},serializedModel:function(){return n.extend({icon:"",title:""},this.options)},disable:function(){this.$el.addClass("disabled")},enable:function(){this.$el.removeClass("disabled")}})}),define("text",["module"],function(e){"use strict";var c,a,r,s,l,i=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,o=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,d="undefined"!=typeof location&&location.href,u=d&&location.protocol&&location.protocol.replace(/\:/,""),h=d&&location.hostname,p=d&&(location.port||void 0),f={},m=e.config&&e.config()||{};function g(e,t){return void 0===e||""===e?t:e}return c={version:"2.0.15",strip:function(e){var t;return e?(t=(e=e.replace(n,"")).match(o))&&(e=t[1]):e="",e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:m.createXhr||function(){var e,t,n;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(t=0;t<3;t+=1){n=i[t];try{e=new ActiveXObject(n)}catch(e){}if(e){i=[n];break}}return e},parseName:function(e){var t,n,i,a=!1,o=e.lastIndexOf("."),r=0===e.indexOf("./")||0===e.indexOf("../");return-1!==o&&(!r||1<o)?(t=e.substring(0,o),n=e.substring(o+1)):t=e,-1!==(o=(i=n||t).indexOf("!"))&&(a="strip"===i.substring(o+1),i=i.substring(0,o),n?n=i:t=i),{moduleName:t,ext:n,strip:a}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,t,n,i){var a,o,r,s=c.xdRegExp.exec(e);return!s||(a=s[2],r=(o=(o=s[3]).split(":"))[1],o=o[0],(!a||a===t)&&(!o||o.toLowerCase()===n.toLowerCase())&&(!r&&!o||function(e,t,n,i){if(t===i)return!0;if(e===n){if("http"===e)return g(t,"80")===g(i,"80");if("https"===e)return g(t,"443")===g(i,"443")}return!1}(a,r,t,i)))},finishLoad:function(e,t,n,i){n=t?c.strip(n):n,m.isBuild&&(f[e]=n),i(n)},load:function(t,e,n,i){var a,o,r,s;i&&i.isBuild&&!i.inlineText?n():(m.isBuild=i&&i.isBuild,o=(a=c.parseName(t)).moduleName+(a.ext?"."+a.ext:""),r=e.toUrl(o),s=m.useXhr||c.useXhr,0!==r.indexOf("empty:")?!d||s(r,u,h,p)?c.get(r,function(e){c.finishLoad(t,a.strip,e,n)},function(e){n.error&&n.error(e)}):e([o],function(e){c.finishLoad(a.moduleName+"."+a.ext,a.strip,e,n)}):n())},write:function(e,t,n,i){var a;f.hasOwnProperty(t)&&(a=c.jsEscape(f[t]),n.asModule(e+"!"+t,"define(function () { return '"+a+"';});\n"))},writeFile:function(n,e,t,i,a){var o=c.parseName(e),r=o.ext?"."+o.ext:"",s=o.moduleName+r,l=t.toUrl(o.moduleName+r)+".js";c.load(s,t,function(e){function t(e){return i(l,e)}t.asModule=function(e,t){return i.asModule(e,l,t)},c.write(n,s,t,a)},a)}},"node"===m.env||!m.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(a=require.nodeRequire("fs"),c.get=function(e,t,n){try{var i=a.readFileSync(e,"utf8");"\ufeff"===i[0]&&(i=i.substring(1)),t(i)}catch(e){n&&n(e)}}):"xhr"===m.env||!m.env&&c.createXhr()?c.get=function(i,a,o,e){var t,r=c.createXhr();if(r.open("GET",i,!0),e)for(t in e)e.hasOwnProperty(t)&&r.setRequestHeader(t.toLowerCase(),e[t]);m.onXhr&&m.onXhr(r,i),r.onreadystatechange=function(e){var t,n;4===r.readyState&&(399<(t=r.status||0)&&t<600?((n=new Error(i+" HTTP status: "+t)).xhr=r,o&&o(n)):a(r.responseText),m.onXhrComplete&&m.onXhrComplete(r,i))},r.send(null)}:"rhino"===m.env||!m.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?c.get=function(e,t){var n,i,a=new java.io.File
3641(e),o=java.lang.System.getProperty("line.separator"),r=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(a),"utf-8")),s="";try{for(n=new java.lang.StringBuffer,(i=r.readLine())&&i.length()&&65279===i.charAt(0)&&(i=i.substring(1)),null!==i&&n.append(i);null!==(i=r.readLine());)n.append(o),n.append(i);s=String(n.toString())}finally{r.close()}t(s)}:("xpconnect"===m.env||!m.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(r=Components.classes,s=Components.interfaces,Components.utils.import("resource://gre/modules/FileUtils.jsm"),l="@mozilla.org/windows-registry-key;1"in r,c.get=function(e,t){var n,i,a,o={};l&&(e=e.replace(/\//g,"\\")),a=new FileUtils.File(e);try{(n=r["@mozilla.org/network/file-input-stream;1"].createInstance(s.nsIFileInputStream)).init(a,1,0,!1),(i=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(s.nsIConverterInputStream)).init(n,"utf-8",n.available(),s.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),i.readString(n.available(),o),i.close(),n.close(),t(o.value)}catch(e){throw new Error((a&&a.path||"")+": "+e)}}),c}),define("text!mockup-patterns-relateditems-url/templates/breadcrumb.xml",[],function(){return'<span class="separator">/<span>\n<a href="<%- path %>" class="crumb"><%- text %></a>\n'}),define("text!mockup-patterns-relateditems-url/templates/favorite.xml",[],function(){return'<li><a href="<%- path %>" class="fav" aria-labelledby="blip"><%- title %></a></li>\n'}),define("text!mockup-patterns-relateditems-url/templates/recentlyused.xml",[],function(){return'<li class="pattern-relateditems-recentlyused">\n  <a class="pattern-relateditems-recentlyused-select" data-uid="<%- UID %>">\n    <div class="pattern-relateditems-recentlyused-info">
3641\n      <span\n        class="pattern-relateditems-recentlyused-title <%- portal_type ? \'contenttype-\' + portal_type.toLowerCase() : \'\' %> <%- review_state ? \'state-\' + review_state : \'\' %>"\n        title="<%- portal_type %>">\n        <%- Title %>\n      </span>\n      <span class="pattern-relateditems-recentlyused-path"><%- path %></span>\n    </div>\n    <% if (getURL && (getIcon || portal_type === "Image")) { %>\n      <div class="pattern-relateditems-recentlyused-image">\n        <img src="<%- getURL %>/@@images/image/tile" />\n      </div>\n    <% } %>\n  </a>\n</li>\n'}),define("text!mockup-patterns-relateditems-url/templates/result.xml",[],function(){return'<div class="pattern-relateditems-result <%- oneLevelUp ? \'one-level-up\' : \'\' %>">\n  <div class="pattern-relateditems-result-browse-wrapper">\n  <% if (!oneLevelUp) { %>\n    <a\n      class="pattern-relateditems-result-select<%- selectable ? \' selectable\' : \'\' %><%- oneLevelUp ? \' one-level-up\' : \'\' %>"\n      data-path="<%- path %>">\n  <% } %>\n      <div class="pattern-relateditems-result-info">\n        <span\n          class="pattern-relateditems-result-title <%- portal_type ? \'contenttype-\' + portal_type.toLowerCase() : \'\' %> <%- review_state ? \'state-\' + review_state : \'\' %>"\n          title="<%- portal_type %>">\n          <%- Title %>\n        </span>\n        <span class="pattern-relateditems-result-path"><%- oneLevelUp ? currentPath : path %></span>\n      </div>\n      <% if (is_folderish) { %>\n        <a\n          class="pattern-relateditems-result-browse"\n          data-path="<%- path %>"\n          title="<%- oneLevelUp ? one_level_up : open_folder %>">\n          <span class="<%- oneLevelUp ? \'icon-left-circle\' : \'icon-right-circle\' %>"></span>\n        </a>\n      <% } %>\n  <% if (!oneLevelUp) { %>\n    </a>\n  <% } %>\n  </div>\n  <% if (getURL && (getIcon || portal_type === "Image")) { %>\n    <% if (!oneLevelUp) { %>\n    <a\n      class="pattern-relateditems-result-select<%- selectable ? \' selectable\' : \'\' %><%- oneLevelUp ? \' one-level-up\' : \'\' %>"\n      data-path="<%- path %>">\n    <% } %>\n    <div class="pattern-relateditems-result-image">\n      <img src="<%- getURL %>/@@images/image/thumb" />\n    </div>\n    <% if (!oneLevelUp) { %>\n    </a>\n    <% } %>\n  <% } %>\n</div>\n'}),define("text!mockup-patterns-relateditems-url/templates/selection.xml",[],function(){return'<div class="pattern-relateditems-item">\n  <div class="pattern-relateditems-result-info">\n    <span\n      class="pattern-relateditems-item-title <%- portal_type ? \'contenttype-\' + portal_type.toLowerCase() : \'\' %> <%- review_state ? \'state-\' + review_state : \'\' %>"\n      title="<%- portal_type %>">\n      <%- Title %>\n    </span>\n    <span class="pattern-relateditems-item-path"><%- path %></span>\n  </div>\n  <% if (getURL && (getIcon || portal_type === "Image")) { %>\n    <div class="pattern-relateditems-item-image">\n      <img src="<%- getURL %>/@@images/image/thumb" />\n    </div>\n  <% } %>\n</div>\n'}),define("text!mockup-patterns-relateditems-url/templates/toolbar.xml",[],function(){return'<% if (mode!==\'auto\') { %>\n<div class="btn-group mode-selector" role="group">\n  <button type="button" class="mode search btn <% if (mode==\'search\') { %>btn-primary<% } else {%>btn-default<% } %>"><%- searchModeText %></button>\n  <button type="button" class="mode browse btn <% if (mode==\'browse\') { %>btn-primary<% } else {%>btn-default<% } %>"><%- browseModeText %></button>\n</div>\n<% } %>\n<div class="path-wrapper">\n  <span class="pattern-relateditems-path-label"><%- searchText %></span>\n  <a class="crumb" href="/"><span class="glyphicon glyphicon-home"/></a>\n  <%= items %>\n</div>\n<div class="controls pull-right">\n\n  <% if (recentlyUsedItems) { %>\n  <div class="recentlyUsed dropdown pull-right">\n    <button type="button" class="recentlyUsed dropdown-toggle btn btn-primary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
3641\n      <span class="glyphicon glyphicon-time"/>\n      <%- recentlyUsedText %>\n      <span class="caret"/>\n    </button>\n    <ul class="dropdown-menu">\n      <%= recentlyUsedItems %>\n    </ul>\n  </div>\n  <% } %>\n\n  <% if (favorites.length > 0) { %>\n  <div class="favorites dropdown pull-right">\n    <button type="button" class="favorites dropdown-toggle btn btn-primary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\n      <span class="glyphicon glyphicon-star"/>\n      <%- favText %>\n      <span class="caret"/>\n    </button>\n    <ul class="dropdown-menu">\n      <%= favItems %>\n    </ul>\n  </div>\n  <% } %>\n</div>\n'}),define("mockup-patterns-relateditems",["jquery","underscore","pat-base","mockup-patterns-select2","mockup-ui-url/views/button","mockup-utils","pat-registry","translate","text!mockup-patterns-relateditems-url/templates/breadcrumb.xml","text!mockup-patterns-relateditems-url/templates/favorite.xml","text!mockup-patterns-relateditems-url/templates/recentlyused.xml","text!mockup-patterns-relateditems-url/templates/result.xml","text!mockup-patterns-relateditems-url/templates/selection.xml","text!mockup-patterns-relateditems-url/templates/toolbar.xml","bootstrap-dropdown"],function(c,d,e,o,u,h,i,p,t,n,a,r,s,l){"use strict";var f=37,m=39;return e.extend({name:"relateditems",trigger:".pat-relateditems",parser:"mockup",currentPath:void 0,selectedUIDs:[],openAfterInit:void 0,defaults:{vocabularyUrl:null,attributes:["UID","Title","portal_type","path","getURL","getIcon","is_folderish","review_state"],basePath:"",pageSize:10,browsing:void 0,closeOnSelect:!0,contextPath:void 0,dropdownCssClass:"pattern-relateditems-dropdown",favorites:[],recentlyUsed:!1,recentlyUsedMaxItems:20,recentlyUsedKey:"relateditems_recentlyused",maximumSelectionSize:-1,minimumInputLength:0,mode:"auto",orderable:!0,pathOperator:"plone.app.querystring.operation.string.path",rootPath:"/",rootUrl:"",scanSelection:!1,selectableTypes:null,separator:",",sortOn:null,
3641sortOrder:"ascending",tokenSeparators:[","," "],upload:!1,uploadAllowView:void 0,width:"100%",breadcrumbTemplate:t,breadcrumbTemplateSelector:null,favoriteTemplate:n,favoriteTemplateSelector:null,recentlyusedTemplate:a,recentlyusedTemplateSelector:null,resultTemplate:r,resultTemplateSelector:null,selectionTemplate:s,selectionTemplateSelector:null,toolbarTemplate:l,toolbarTemplateSelector:null,multiple:!0},recentlyUsed:function(e){var t=(t=h.storage.get(this.options.recentlyUsedKey)||[]).slice(t.length-1e3,t.length);e&&t.filter(this.isSelectable.bind(this));var n=parseInt(this.options.recentlyUsedMaxItems,10);return n&&(t=t.slice(t.length-n,t.length)),t},applyTemplate:function(e,t){var n=this,i=n.options[e+"TemplateSelector"]&&(i=c(n.options[e+"TemplateSelector"]).html())||n.options[e+"Template"],a=c.extend(!0,{},n.options,t,{browsing:n.browsing,open_folder:p("Open folder"),current_directory:p("current directory:"),one_level_up:p("Go one level up")});return a._item=t,d.template(i)(a)},setAjax:function(){var e={url:this.options.vocabularyUrl,dataType:"JSON",quietMillis:500,data:function(e,t){var n=[];e&&(e="*"+e+"*",n.push({i:"SearchableText",o:"plone.app.querystring.operation.string.contains",v:e})),!this.browsing&&this.options.selectableTypes&&n.push({i:"portal_type",o:"plone.app.querystring.operation.selection.any",v:this.options.selectableTypes}),n.push({i:"path",o:this.options.pathOperator,v:this.options.rootPath+this.currentPath+(this.browsing?"::1":"")});var i=this.options.sortOn,a=i?this.options.sortOrder:null;return this.browsing&&null===i&&(i="getObjPositionInParent",a="ascending"),{query:JSON.stringify({criteria:n,sort_on:i,sort_order:a}),attributes:JSON.stringify(this.options.attributes),batch:JSON.stringify({page:t||1,size:this.options.pageSize})}}.bind(this),results:function(e,t){var n=t*this.options.pageSize<e.total,i=e.results;this.selectedUIDs=(this.$el.select2("data")||[]).map(function(e){return e.UID}),i=i.filter(function(e){return!!(this.browsing&&e.is_folderish||this.isSelectable(e)&&-1===this.selectedUIDs.indexOf(e.UID))}.bind(this));var a=this.currentPath.split("/");return 1===t&&this.browsing&&1<a.length&&"/"!==this.currentPath&&(i=[{oneLevelUp:!0,Title:p("One level up"),path:a.slice(0,a.length-1).join("/")||"/",currentPath:this.currentPath,is_folderish:!0,selectable:!1}].concat(i)),{results:i,more:n}}.bind(this)};this.options.ajax=e},renderToolbar:function(){var e,a=this,t=a.currentPath.split("/"),n="",i="";d.each(t,function(e){var t;""!==e&&((t={}).path=n=n+"/"+e,t.text=e,i+=a.applyTemplate("breadcrumb",t))});var o="";d.each(a.options.favorites,function(e){var t=d.clone(e);t.path=t.path.substr(a.options.rootPath.length)||"/",o+=a.applyTemplate("favorite",t)});var r,s="";function l(e,t){var n="upload-"+h.generateId(),i=new u({id:n,title:p("Upload"),tooltip:p("Upload files"),icon:"upload"});t&&i.disable(),c(".controls",a.$toolbar).prepend(i.render().el),a.uploadView=new e({triggerView:i,app:a}),c("#btn-"+n,a.$toolbar).append(a.uploadView.render().el)}a.options.recentlyUsed&&(r=a.recentlyUsed(!0),d.each(r.reverse(),function(e){s+=a.applyTemplate("recentlyused",e)})),e=a.applyTemplate("toolbar",{items:i,favItems:o,favText:p("Favorites"),searchText:p("Current path:"),searchModeText:p("Search"),browseModeText:p("Browse"),recentlyUsedItems:s,recentlyUsedText:p("Recently Used")}),a.$toolbar.html(e),c(".dropdown-toggle",a.$toolbar).dropdown(),c(".pattern-relateditems-dropdown").unbind("mouseup"),c(".pattern-relateditems-dropdown").bind("mouseup",function(e){e.stopPropagation()}),c("button.mode.search",a.$toolbar).on("click",function(e){e.preventDefault(),a.browsing?(c("button.mode.search",a.$toolbar).toggleClass("btn-primary btn-default"),c("button.mode.browse",a.$toolbar).toggleClass("btn-primary btn-default"),a.browsing=!1,0<a.$el.select2("data").length&&(a.openAfterInit=!0),a.openAfterInit||(a.$el.select2("close"),a.$el.select2("open"))):(a.$el.select2("close"),a.$el.select2("open"))}),c("button.mode.browse",a.$toolbar).on("click",function(e){e.preventDefault(),a.browsing?(a.$el.select2("close"),a.$el.select2("open")):(c("button.mode.search",a.$toolbar).toggleClass("btn-primary btn-default"),c("button.mode.browse",a.$toolbar).toggleClass("btn-primary btn-default"),a.browsing=!0,0<a.$el.select2("data").length&&(a.openAfterInit=!0),a.openAfterInit||(a.$el.select2("close"),a.$el.select2("open")))}),c("a.crumb",a.$toolbar).on("click",function(e){e.preventDefault(),a.browseTo(c(this).attr("href"))}),c("a.fav",a.$toolbar).on("click",function(e){e.preventDefault(),a.browseTo(c(this).attr("href"))}),a.options.recentlyUsed&&c(".pattern-relateditems-recentlyused-select",a.$toolbar).on("click",function(e){e.preventDefault();var t=c(this).data("uid");if(0<(n=a.recentlyUsed().filter(function(e){return e.UID===t})).length){var n=n[0];if(a.selectItem(n),0<a.options.maximumSelectionSize)if(a.$el.select2("data").length>=a.options.maximumSelectionSize)return}}),a.options.upload&&h.featureSupport.dragAndDrop()&&h.featureSupport.fileApi()&&require(["mockup-patterns-relateditems-upload"],function(t){a.options.uploadAllowView?c.ajax({url:a.options.uploadAllowView,dataType:"JSON",data:{path:a.options.rootPath+a.currentPath},type:"GET",success:function(e){l(t,!e.allowUpload)}}):l(t)})},browseTo:function(e){var t=this;t.emit("before-browse"),t.currentPath=e,t.$el.select2("close"),t.renderToolbar(),t.$el.select2("open"),t.emit("after-browse")},selectItem:function(t){var e=this;e.emit("selecting");var n,i,a=e.$el.select2("data");a.push(t),e.$el.select2("data",a,!0),e.options.recentlyUsed&&(0<(i=(n=e.recentlyUsed()).filter(function(e){return e.UID===t.UID})).length&&n.splice(n.indexOf(i[0]),1),n.push(t),h.storage.set(e.options.recentlyUsedKey,n)),e.emit("selected")}
3641,deselectItem:function(n){this.emit("deselecting");var i=this.$el.select2("data");d.each(i,function(e,t){e.UID===n.UID&&i.splice(t,1)}),this.$el.select2("data",i,!0),this.emit("deselected")},isSelectable:function(e){return!1!==e.selectable&&(null===this.options.selectableTypes||-1!==this.options.selectableTypes.indexOf(e.portal_type))},init:function(){var a=this;a.browsing="search"!==a.options.mode,a.options.rootPath=a.options.rootPath.replace(/\/$/,""),a.currentPath=a.options.basePath.substr(a.options.rootPath.length)||"/",a.setAjax(),a.$el.wrap('<div class="pattern-relateditems-container" />'),a.$container=a.$el.parents(".pattern-relateditems-container"),a.$container.width(a.options.width),o.prototype.initializeValues.call(a),o.prototype.initializeTags.call(a),a.options.formatSelection=function(e){e=c.extend(!0,{Title:"",getIcon:"",getURL:"",path:"",portal_type:"",review_state:""},e);var t,n=c(a.applyTemplate("selection",e));return a.options.scanSelection&&i.scan(n),1==a.options.maximumSelectionSize&&(t=(t=e.path).split("/").slice(0,-1).join("/"),a.currentPath=t,a.renderToolbar()),n},o.prototype.initializeOrdering.call(a),a.options.formatResult=function(n){n.selectable=a.isSelectable(n),n=c.extend(!0,{Title:"",getIcon:"",getURL:"",is_folderish:!1,oneLevelUp:!1,path:"",portal_type:"",review_state:"",selectable:!1},n),-1!==a.selectedUIDs.indexOf(n.UID)&&(n.selectable=!1);var e=c(a.applyTemplate("result",n));return c(".pattern-relateditems-result-select",e).on("click",function(e){var t;e.preventDefault(),c(this).is(".selectable")&&((t=c(this).parents(".pattern-relateditems-result")).is(".pattern-relateditems-active")?(t.removeClass("pattern-relateditems-active"),a.deselectItem(n)):(0<a.options.maximumSelectionSize&&a.$el.select2("data").length>=a.options.maximumSelectionSize&&a.$el.select2("close"),a.selectItem(n),t.addClass("pattern-relateditems-active"),a.options.closeOnSelect&&a.$el.select2("close")))}),c(".pattern-relateditems-result-browse",e).on("click",function(e){e.preventDefault(),e.stopPropagation();var t=c(this).data("path");a.browseTo(t)}),c(e)},a.options.initSelection=function(e,n){var i,t=c(e).val();""!==t&&(i=t.split(a.options.separator),new h.QueryHelper(c.extend(!0,{},a.options,{pattern:a})).search("UID","plone.app.querystring.operation.list.contains",i,function(e){var t=e.results.reduce(function(e,t){return e[t.UID]=t,e},{});try{n(i.map(function(e){return t[e]}).filter(function(e){return void 0!==e}))}catch(e){}a.openAfterInit&&(a.$el.select2("open"),a.openAfterInit=void 0)},!1))},a.options.tokenizer=function(e){"auto"===this.options.mode&&(this.browsing=!e)}.bind(this),a.options.id=function(e){return e.UID},o.prototype.initializeSelect2.call(a),a.$toolbar=c('<div class="toolbar ui-offset-parent" />'),a.$container.prepend(a.$toolbar),a.$el.on("select2-selecting",function(e){a.isSelectable(e.choice)||e.preventDefault()}),a.renderToolbar(),c(document).on("keyup",a.$el,function(e){if(o.prototype.opened.call(a)&&(e.which===f||e.which===m)){e.stopPropagation();var t=e.which===f?".pattern-relateditems-result.one-level-up":".select2-highlighted",n=c(".pattern-relateditems-result-browse",t);if(1!==n.length)return;var i=n.data("path");a.browseTo(i)}})}})}),function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):"object"==typeof window?window.Picker=e(jQuery):this.Picker=e(jQuery)}(function(m){var i=m(window),g=m(document),a=m(document.documentElement),v=null!=document.documentElement.style.transition;function y(a,e,t,n){if(!a)return y;function i(){return this.start()}var o=!1,s={id:a.id||"P"+Math.abs(~~(Math.random()*new Date)),handlingOpen:!1},l=t?m.extend(!0,{},t.defaults,n):n||{},r=m.extend({},y.klasses(),l.klass),c=m(a),d=i.prototype={constructor:i,$node:c,start:function(){return s&&s.start?d:(s.methods={},s.start=!0,s.open=!1,s.type=a.type,a.autofocus=a==x(),a.readOnly=!l.editable,a.id=a.id||s.id,"text"!=a.type&&(a.type="text"),d.component=new t(d,l),d.$root=m('<div class="'+r.picker+'" id="'+a.id+'_root" />'),k(d.$root[0],"hidden",!0),d.$holder=m(u()).appendTo(d.$root),h(),l.formatSubmit&&function(){var e;!0===l.hiddenName?(e=a.name,a.name=""):e=(e=["string"==typeof l.hiddenPrefix?l.hiddenPrefix:"","string"==typeof l.hiddenSuffix?l.hiddenSuffix:"_submit"])[0]+a.name+e[1];d._hidden=m('<input type=hidden name="'+e+'"'+(c.data("value")||a.value?' value="'+d.get("select",l.formatSubmit)+'"':"")+">")[0],c.on("change."+s.id,function(){d._hidden.value=a.value?d.get("select",l.formatSubmit):""})}(),function(){c.data(e,d).addClass(r.input).val(c.data("value")?d.get("select",l.format):a.value).on("focus."+s.id+" click."+s.id,function(e){e.preventDefault(),d.open()}).on("mousedown",function(){s.handlingOpen=!0;var e=function(){setTimeout(function(){m(document).off("mouseup",e),s.handlingOpen=!1},0)};m(document).on("mouseup",e)}),l.editable||c.on("keydown."+s.id,f);k(a,{haspopup:!0,expanded:!1,readonly:!1,owns:a.id+"_root"})}(),l.containerHidden?m(l.containerHidden).append(d._hidden):c.after(d._hidden),l.container?m(l.container).append(d.$root):c.after(d.$root),d.on({start:d.component.onStart,render:d.component.onRender,stop:d.component.onStop,open:d.component.onOpen,close:d.component.onClose,set:d.component.onSet}).on({start:l.onStart,render:l.onRender,stop:l.onStop,open:l.onOpen,close:l.onClose,set:l.onSet}),o=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(d.$holder[0]),a.autofocus&&d.open(),d.trigger("start").trigger("render"))},render:function(e){return e?(d.$holder=m(u()),h(),d.$root.html(d.$holder)):d.$root.find("."+r.box).html(d.component.nodes(s.open)),d.trigger("render")},stop:function(){return s.start&&(d.close(),d._hidden&&d._hidden.parentNode.removeChild(d._hidden),d.$root.remove(),c.removeClass(r.input).removeData(e),setTimeout(function(){c.off("."+s.id)},0),a.type=s.type,a.readOnly=!1,d.trigger("stop"),s.methods={},s.start=!1),d},open:function(e){return s.open?d:(c.addClass(r.active),k(a,"expanded",!0),setTimeout(function(){d.$root.addClass(r.opened),k(d.$root[0],"hidden",!1)},0),!1!==e&&(s.open=!0,o&&m("body").css("overflow","hidden").css("padding-right","+="+b()),o&&v?d.$holder.find("."+r.frame).one("transitionend",function(){d.$holder.eq(0).focus()}):setTimeout(function(){d.$holder.eq(0).focus()},0),g.on("click."+s.id+" focusin."+s.id,function(e){var t;s.handlingOpen||(t=w(e,a),e.isSimulated||t==a||t==document||3==e.which||d.close(t===d.$holder[0]))}).on("keydown."+s.id,function(e){var t=e.keyCode,n=d.component.key[t],i=w(e,a);
364127==t?d.close(!0):i!=d.$holder[0]||!n&&13!=t?m.contains(d.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?y._.trigger(d.component.key.go,d,[y._.trigger(n)]):d.$root.find("."+r.highlighted).hasClass(r.disabled)||(d.set("select",d.component.item.highlight),l.closeOnSelect&&d.close(!0)))})),d.trigger("open"))},close:function(e){return e&&(l.editable?a.focus():(d.$holder.off("focus.toOpen").focus(),setTimeout(function(){d.$holder.on("focus.toOpen",p)},0))),c.removeClass(r.active),k(a,"expanded",!1),setTimeout(function(){d.$root.removeClass(r.opened+" "+r.focused),k(d.$root[0],"hidden",!0)},0),s.open?(s.open=!1,o&&m("body").css("overflow","").css("padding-right","-="+b()),g.off("."+s.id),d.trigger("close")):d},clear:function(e){return d.set("clear",null,e)},set:function(e,t,n){var i,a,o=m.isPlainObject(e),r=o?e:{};if(n=o&&m.isPlainObject(t)?t:n||{},e){for(i in o||(r[e]=t),r)a=r[i],i in d.component.item&&(void 0===a&&(a=null),d.component.set(i,a,n)),"select"!=i&&"clear"!=i||!l.updateInput||c.val("clear"==i?"":d.get(i,l.format)).trigger("change");d.render()}return n.muted?d:d.trigger("set",r)},get:function(e,t){if(null!=s[e=e||"value"])return s[e];if("valueSubmit"==e){if(d._hidden)return d._hidden.value;e="value"}if("value"==e)return a.value;if(e in d.component.item){if("string"!=typeof t)return d.component.get(e);var n=d.component.get(e);return n?y._.trigger(d.component.formats.toString,d.component,[t,n]):""}},on:function(e,t,n){var i,a,o=m.isPlainObject(e),r=o?e:{};if(e)for(i in o||(r[e]=t),r)a=r[i],n&&(i="_"+i),s.methods[i]=s.methods[i]||[],s.methods[i].push(a);return d},off:function(){var e,t=arguments,n=0;for(namesCount=t.length;n<namesCount;n+=1)(e=t[n])in s.methods&&delete s.methods[e];return d},trigger:function(e,n){function t(e){var t=s.methods[e];t&&t.map(function(e){y._.trigger(e,d,[n])})}return t("_"+e),t(e),d}};function u(){return y._.node("div",y._.node("div",y._.node("div",y._.node("div",d.component.nodes(s.open),r.box),r.wrap),r.frame),r.holder,'tabindex="-1"')}function h(){d.$holder.on({keydown:f,"focus.toOpen":p,blur:function(){c.removeClass(r.target)},focusin:function(e){d.$root.removeClass(r.focused),e.stopPropagation()},"mousedown click":function(e){var t=w(e,a);t!=d.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||m(t).is("input, select, textarea, button, option")||(e.preventDefault(),d.$holder.eq(0).focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=m(this),t=e.data(),n=e.hasClass(r.navDisabled)||e.hasClass(r.disabled),i=(i=x())&&(i.type||i.href?i:null);(n||i&&!m.contains(d.$root[0],i))&&d.$holder.eq(0).focus(),!n&&t.nav?d.set("highlight",d.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?(d.set("select",t.pick),l.closeOnSelect&&d.close(!0)):t.clear?(d.clear(),l.closeOnClear&&d.close(!0)):t.close&&d.close(!0)})}function p(e){e.stopPropagation(),c.addClass(r.target),d.$root.addClass(r.focused),d.open()}function f(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return d.close(!0),!1;(32==t||n||!s.open&&d.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?d.clear().close():d.open())}return new i}function b(){if(a.height()<=i.height())return 0;var e=m('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=m('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function w(e,t){var n=[];return e.path&&(n=e.path),e.originalEvent&&e.originalEvent.path&&(n=e.originalEvent.path),n&&0<n.length?t&&0<=n.indexOf(t)?t:n[0]:e.target}function k(e,t,n){if(m.isPlainObject(t))for(var i in t)o(e,i,t[i]);else o(e,t,n)}function o(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function x(){try{return document.activeElement}catch(e){}}return y.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},y._={group:function(e){for(var t,n="",i=y._.trigger(e.min,e);i<=y._.trigger(e.max,e,[i]);i+=e.i)t=y._.trigger(e.item,e,[i]),n+=y._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=m.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){m.isPlainObject(e)||(e={attribute:t});
3641for(var n in t="",e){var i=("role"==n?"":"aria-")+n,a=e[n];t+=null==a?"":i+'="'+e[n]+'"'}return t}},y.extend=function(i,a){m.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?y._.trigger(n[e],n,[t]):this.each(function(){m(this).data(i)||new y(this,i,a,e)})},m.fn[i].defaults=a.defaults},y}),function(e){"function"==typeof define&&define.amd?define("picker.date",["./picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,f){var t,v=e._;function n(t,n){function e(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction}var i,a=this,o=t.$node[0],r=o.value,s=t.$node.data("value"),l=s||r,c=s?n.formatSubmit:n.format;a.settings=n,a.$node=t.$node,a.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},a.item={},a.item.clear=null,a.item.disable=(n.disable||[]).slice(0),a.item.enable=-(!0===(i=a.item.disable)[0]?i.shift():-1),a.set("min",n.min).set("max",n.max).set("now"),l?a.set("select",l,{format:c,defaultValue:!0}):a.set("select",null).set("highlight",a.item.now),a.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(e){var t=a.item.highlight,n=new Date(t.year,t.month,t.date+e);a.set("highlight",n,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";a.disabled(a.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}function i(e,t,n){var i=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function a(e){return e.match(/\w+/)[0].length}n.prototype.set=function(t,n,i){var a=this,e=a.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=a.queue[t].split(" ").map(function(e){return n=a[e](t,n,i)}).pop(),"select"==t?a.set("highlight",e.select,i):"highlight"==t?a.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&a.disabled(e.select)&&a.set("select",e.select,i),e.highlight&&a.disabled(e.highlight)&&a.set("highlight",e.highlight,i))),a},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=f.isPlainObject(t)&&v.isInteger(t.pick)?t.obj:f.isArray(t)?(t=new Date(t[0],t[1],t[2]),v.isDate(t)?t:this.create().obj):v.isInteger(t)||v.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},n.prototype.createRange=function(e,t){function n(e){return!0===e||f.isArray(e)||v.isDate(e)?i.create(e):e}var i=this;return v.isInteger(e)||(e=n(e)),v.isInteger(t)||(t=n(t)),v.isInteger(e)&&f.isPlainObject(t)?e=[t.year,t.month,t.date+e]:v.isInteger(t)&&f.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:n(e),to:n(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,a,o,r,s=f.isArray(t),l=f.isPlainObject(t),c=this.item.view;if(s||l){for(r=l?(a=t.year,o=t.month,t.date):(a=+t[0],o=+t[1],+t[2]),n&&n.nav&&c&&c.month!==o&&(a=c.year,o=c.month),a=(i=new Date(a,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=i.getMonth();new Date(a,o,r).getMonth()!==o;)--r;t=[a,o,r]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return v.isInteger(t)?t=this.now(e,t,{rel:t}):t?"string"==typeof t&&(t=this.parse(e,t)):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,a,o,r,s=this,l=n,c=t&&t.interval?t.interval:1,d=-1===s.item.enable,u=s.item.min,h=s.item.max,p=d&&s.item.disable.filter(function(e){var t;
3641return f.isArray(e)&&((t=s.create(e).pick)<n.pick?i=!0:t>n.pick&&(a=!0)),v.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!d&&s.disabled(n)||d&&s.disabled(n)&&(p||i||a)||!d&&(n.pick<=u.pick||n.pick>=h.pick)))for(d&&!p&&(!a&&0<c||!i&&c<0)&&(c*=-1);s.disabled(n)&&(1<Math.abs(c)&&(n.month<l.month||n.month>l.month)&&(n=l,c=0<c?1:-1),n.pick<=u.pick?(o=!0,c=1,n=s.create([u.year,u.month,u.date+(n.pick===u.pick?0:-1)])):n.pick>=h.pick&&(r=!0,c=-1,n=s.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!o||!r);)n=s.create([n.year,n.month,n.date+c]);return n},n.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return v.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:f.isArray(e)||v.isDate(e)?t.pick===n.create(e).pick:f.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return f.isArray(e)&&"inverted"==e[3]||f.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.parse=function(e,i,t){var a=this,o={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=a.settings.format),a.formats.toArray(t.format).map(function(e){var t=a.formats[e],n=t?v.trigger(t,a,[i,o]):e.replace(/^!/,"").length;t&&(o[e]=i.substr(0,n)),i=i.substr(n)}),[o.yyyy||o.yy,(o.mm||o.m)-1,o.dd||o.d]):i},n.prototype.formats={d:function(e,t){return e?v.digits(e):t.date},dd:function(e,t){return e?2:v.lead(t.date)},ddd:function(e,t){return e?a(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?a(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?v.digits(e):t.month+1},mm:function(e,t){return e?2:v.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return v.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}},n.prototype.isDateExact=function(e,t){return v.isInteger(e)&&v.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(v.isDate(e)||f.isArray(e))&&(v.isDate(t)||f.isArray(t))?this.create(e).pick===this.create(t).pick:!(!f.isPlainObject(e)||!f.isPlainObject(t))&&(this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to))},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return v.isInteger(e)&&(v.isDate(t)||f.isArray(t))?(e=e%7+n)===this.create(t).day+1:v.isInteger(t)&&(v.isDate(e)||f.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!f.isPlainObject(e)||!f.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,a=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),a=[]):!0===t?(i.flipEnable(-1),a=[]):t.map(function(e){for(var t,n=0;n<a.length;n+=1)if(i.isDateExact(e,a[n])){t=!0;break}t||(v.isInteger(e)||v.isDate(e)||f.isArray(e)||f.isPlainObject(e)&&e.from&&e.to)&&a.push(e)}),a},n.prototype.activate=function(e,t){var o=this,r=o.item.disable,s=r.length;return"flip"==t?o.flipEnable():!0===t?(o.flipEnable(1),r=[]):!1===t?(o.flipEnable(-1),r=[]):t.map(function(e){for(var t,n,i,a=0;a<s;a+=1){if(n=r[a],o.isDateExact(n,e)){i=!(t=r[a]=null);break}if(o.isDateOverlap(n,e)){f.isPlainObject(e)?(e.inverted=!0,t=e):f.isArray(e)?(t=e)[3]||t.push("inverted"):v.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(a=0;a<s;a+=1)if(o.isDateExact(r[a],e)){r[a]=null;break}if(i)for(a=0;a<s;a+=1)if(o.isDateOverlap(r[a],e)){r[a]=null;break}t&&r.push(t)}),r.filter(function(e){return null!=e})},n.prototype.nodes=function(l){function e(e){return v.node("div"," ",d.klass["nav"+(e?"Next":"Prev")]+(e&&h.year>=m.year&&h.month>=m.month||!e&&h.year<=f.year&&h.month<=f.month?" "+d.klass.navDisabled:""),"data-nav="+(e||-1)+" "+v.ariaAttr({role:"button",controls:c.$node[0].id+"_table"})+' title="'+(e?d.labelMonthNext:d.labelMonthPrev)+'"')}function t(){var t=d.showMonthsShort?d.monthsShort:d.monthsFull;
3641return d.selectMonths?v.node("select",v.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(h.month==e?" selected":"")+(h.year==f.year&&e<f.month||h.year==m.year&&e>m.month?" disabled":"")]}}),d.klass.selectMonth,(l?"":"disabled")+" "+v.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+d.labelMonthSelect+'"'):v.node("div",t[h.month],d.klass.month)}function n(){var t=h.year,e=!0===d.selectYears?5:~~(d.selectYears/2);if(e){var n,i,a=f.year,o=m.year,r=t-e,s=t+e;return r<a&&(s+=a-r,r=a),o<s&&(r-=(i=s-o)<(n=r-a)?i:n,s=o),v.node("select",v.group({min:r,max:s,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),d.klass.selectYear,(l?"":"disabled")+" "+v.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+d.labelYearSelect+'"')}return v.node("div",t,d.klass.year)}var i,a,c=this,d=c.settings,o=c.item,r=o.now,s=o.select,u=o.highlight,h=o.view,p=o.disable,f=o.min,m=o.max,g=(i=(d.showWeekdaysFull?d.weekdaysFull:d.weekdaysShort).slice(0),a=d.weekdaysFull.slice(0),d.firstDay&&(i.push(i.shift()),a.push(a.shift())),v.node("thead",v.node("tr",v.group({min:0,max:6,i:1,node:"th",item:function(e){return[i[e],d.klass.weekdays,'scope=col title="'+a[e]+'"']}}))));return v.node("div",(d.selectYears?n()+t():t()+n())+e()+e(1),d.klass.header)+v.node("table",g+v.node("tbody",v.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=d.firstDay&&0===c.create([h.year,h.month,1]).day?-7:0;return[v.group({min:7*e-h.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=c.create([h.year,h.month,e+(d.firstDay?1:0)]);var t,n=s&&s.pick==e.pick,i=u&&u.pick==e.pick,a=p&&c.disabled(e)||e.pick<f.pick||e.pick>m.pick,o=v.trigger(c.formats.toString,c,[d.format,e]);return[v.node("div",e.date,((t=[d.klass.day]).push(h.month==e.month?d.klass.infocus:d.klass.outfocus),r.pick==e.pick&&t.push(d.klass.now),n&&t.push(d.klass.selected),i&&t.push(d.klass.highlighted),a&&t.push(d.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+v.ariaAttr({role:"gridcell",label:o,selected:!(!n||c.$node.val()!==o)||null,activedescendant:!!i||null,disabled:!!a||null})),"",v.ariaAttr({role:"presentation"})]}})]}})),d.klass.table,'id="'+c.$node[0].id+'_table" '+v.ariaAttr({role:"grid",controls:c.$node[0].id,readonly:!0}))+v.node("div",v.node("button",d.today,d.klass.buttonToday,"type=button data-pick="+r.pick+(l&&!c.disabled(r)?"":" disabled")+" "+v.ariaAttr({controls:c.$node[0].id}))+v.node("button",d.clear,d.klass.buttonClear,"type=button data-clear=1"+(l?"":" disabled")+" "+v.ariaAttr({controls:c.$node[0].id}))+v.node("button",d.close,d.klass.buttonClose,"type=button data-close=true "+(l?"":" disabled")+" "+v.ariaAttr({controls:c.$node[0].id})),d.klass.footer)},n.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,updateInput:!0,format:"d mmmm, yyyy",klass:{table:(t=e.klasses().picker+"__")+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}},e.extend("pickadate",n)}),function(e){"function"==typeof define&&define.amd?define("picker.time",["./picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,l){var t,a=1440,p=e._;function n(a,o){var e,t=this,n=a.$node[0].value,i=a.$node.data("value"),r=i||n,s=i?o.formatSubmit:o.format;t.settings=o,t.$node=a.$node,t.queue={interval:"i",min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse create validate",view:"parse create validate",disable:"deactivate",enable:"activate"},t.item={},t.item.clear=null,t.item.interval=o.interval||30,t.item.disable=(o.disable||[]).slice(0),t.item.enable=-(!0===(e=t.item.disable)[0]?e.shift():-1),t.set("min",o.min).set("max",o.max).set("now"),r?t.set("select",r,{format:s}):t.set("select",null).set("highlight",t.item.now),t.key={40:1,38:-1,39:1,37:-1,go:function(e){t.set("highlight",t.item.highlight.pick+e*t.item.interval,{interval:e*t.item.interval}),this.render()}},a.on("render",function(){function e(t){return["webkit","moz","ms","o",""].map(function(e){return(e?"-"+e+"-":"")+t})}function t(t,n){e("transform").map(function(e){t.css(e,n)}),e("transition").map(function(e){t.css(e,n)})}var n=a.$root.children(),i=n.find("."+o.klass.viewset);i.length&&(t(n,"none"),n[0].scrollTop=~~i.position().top-2*i[0].clientHeight,t(n,""))},1).on("open",function(){a.$root.find("button").attr("disabled",!1)},1).on("close",function(){a.$root.find("button").attr("disabled",!0)},1)}n.prototype.set=function(t,n,i){var a=this,e=a.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=a.queue[t].split(" ").map(function(e){return n=a[e](t,n,i)}).pop(),"select"==t?a.set("highlight",e.select,i):"highlight"==t?a.set("view",e.highlight,i):"interval"==t?a.set("min",e.min,i).set("max",e.max,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&a.disabled(e.select)&&a.set("select",n,i),e.highlight&&a.disabled(e.highlight)&&a.set("highlight",n,i),"min"==t&&a.set("max",e.max,i))),a},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i=this;return t=void 0===t?e:t,p.isDate(t)&&(t=[t.getHours(),t.getMinutes()]),l.isPlainObject(t)&&p.isInteger(t.pick)?t=t.pick:l.isArray(t)?t=60*t[0]+ +t[1]:p.isInteger(t)||(t=i.now(e,t,n)),"max"==e&&t<i.item.min.pick&&(t+=a),"min"!=e&&"max"!=e&&(t-i.item.min.pick)%i.item.interval!=0&&(t+=i.item.interval),{hour:~~(24+(t=i.normalize(e,t,n))/60)%24,mins:(60+t%60)%60,time:(a+t)%a,pick:t%a}},n.prototype.createRange=function(e,t){function n(e){return!0===e||l.isArray(e)||p.isDate(e)?i.create(e):e}var i=this;return p.isInteger(e)||(e=n(e)),p.isInteger(t)||(t=n(t)),p.isInteger(e)&&l.isPlainObject(t)?e=[t.hour,t.mins+e*i.settings.interval]:p.isInteger(t)&&l.isPlainObject(e)&&(t=[e.hour,e.mins+t*i.settings.interval]),{from:n(e),to:n(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t){var n,i=this.item.interval,a=new Date,o=60*a.getHours()+a.getMinutes();return o-=o%i,n=t<0&&i*t+o<=-i,o+="min"==e&&n?0:i,p.isInteger(t)&&(o+=i*(n&&"max"!=e?t+1:t)),o},n.prototype.normalize=function(e,t){var n=this.item.interval,i=this.item.min&&this.item.min.pick||0;return t-="min"==e?0:(t-i)%n},n.prototype.measure=function(e,t,n){return"string"==typeof(t=t||("min"==e?[0,0]:[23,59]))?t=this.parse(e,t):!0===t||p.isInteger(t)?t=this.now(e,t,n):l.isPlainObject(t)&&p.isInteger(t.pick)&&(t=this.normalize(e,t.pick,n)),t},n.prototype.validate=function(e,t,n){var i=this,a=n&&n.interval?n.interval:i.item.interval;return i.disabled(t)&&(t=i.shift(t,a)),t=i.scope(t),i.disabled(t)&&(t=i.shift(t,-1*a)),t},n.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return p.isInteger(e)?t.hour==e:l.isArray(e)||p.isDate(e)?t.pick==n.create(e).pick:l.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return l.isArray(e)&&"inverted"==e[2]||l.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.shift=function(e,t){var n=this,i=n.item.min.pick,a=n.item.max.pick;for(t=t||n.item.interval;n.disabled(e)&&!((e=n.create(e.pick+=t)).pick<=i||e.pick>=a););return e},n.prototype.scope=function(e){var t=this.item.min.pick,n=this.item.max.pick;return this.create(e.pick>n?n:e.pick<t?t:e)},n.prototype.parse=function(e,a,t){var n,i,o,r,s,l=this,c={};if(!a||"string"!=typeof a)return a;for(r in t&&t.format||((t=t||{}).format=l.settings.format),l.formats.toArray(t.format).map(function(e){var t,n=l.formats[e],i=n?p.trigger(n,l,[a,c]):e.replace(/^!/,"").length;n&&(t=a.substr(0,i),c[e]=t.match(/^\d+$/)?+t:t),a=a.substr(i)}),c)s=c[r],p.isInteger(s)?r.match(/^(h|hh)$/i)?(n=s,"h"!=r&&"hh"!=r||(n%=12)):"i"==r&&(i=s):r.match(/^a$/i)&&s.match(/^p/i)&&("h"in c||"hh"in c)&&(o=!0);return 60*(o?n+12:n)+i},n.prototype.formats={h:function(e,t){return e?p.digits(e):t.hour%12||12},hh:function(e,t){return e?2:p.lead(t.hour%12||12)},H:function(e,t){return e?p.digits(e):""+t.hour%24},HH:function(e,t){return e?p.digits(e):p.lead(t.hour%24)},i:function(e,t){return e?2:p.lead(t.mins)},a:function(e,t){return e?4:t.time%a<720?"a.m.":"p.m."},A:function(e,t){return e?2:t.time%a<720?"AM":"PM"},toArray:function(e){return e.split(/(h{1,2}|H{1,2}|i|a|A|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return p.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}},n.prototype.isTimeExact=function(e,t){return p.isInteger(e)&&p.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(p.isDate(e)||l.isArray(e))&&(p.isDate(t)||l.isArray(t))?this.create(e).pick===this.create(t).pick:!(!l.isPlainObject(e)||!l.isPlainObject(t))&&(this.isTimeExact(e.from,t.from)&&this.isTimeExact(e.to,t.to))},n.prototype.isTimeOverlap=function(e,t){return p.isInteger(e)&&(p.isDate(t)||l.isArray(t))?e===this.create(t).hour:p.isInteger(t)&&(p.isDate(e)||l.isArray(e))?t===this.create(e).hour:!(!l.isPlainObject(e)||!l.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,a=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),a=[]):!0===t?(i.flipEnable(-1),a=[]):t.map(function(e){for(var t,n=0;n<a.length;n+=1)if(i.isTimeExact(e,a[n])){t=!0;break}t||(p.isInteger(e)||p.isDate(e)||l.isArray(e)||l.isPlainObject(e)&&e.from&&e.to)&&a.push(e)}),a},n.prototype.activate=function(e,t){var o=this,r=o.item.disable,s=r.length;return"flip"==t?o.flipEnable():!0===t?(o.flipEnable(1),r=[]):!1===t?(o.flipEnable(-1),r=[]):t.map(function(e){for(var t,n,i,a=0;a<s;a+=1){if(n=r[a],o.isTimeExact(n,e)){i=!(t=r[a]=null);break}if(o.isTimeOverlap(n,e)){l.isPlainObject(e)?(e.inverted=!0,t=e):l.isArray(e)?(t=e)[2]||t.push("inverted"):p.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(a=0;a<s;a+=1)if(o.isTimeExact(r[a],e)){r[a]=null;break}if(i)for(a=0;a<s;a+=1)if(o.isTimeOverlap(r[a],e)){r[a]=null;break}t&&r.push(t)}),r.filter(function(e){return null!=e})},n.prototype.i=function(e,t){return p.isInteger(t)&&0<t?t:this.item.interval},n.prototype.nodes=function(e){var s=this,l=s.settings,c=s.item.select,d=s.item.highlight,u=s.item.view,h=s.item.disable;return p.node("ul",p.group({min:s.item.min.pick,max:s.item.max.pick,i:s.item.interval,node:"li",item:function(e){var t,n=(e=s.create(e)).pick,i=c&&c.pick==n,a=d&&d.pick==n,o=h&&s.disabled(e),r=p.trigger(s.formats.toString,s,[l.format,e]);return[p.trigger(s.formats.toString,s,[p.trigger(l.formatLabel,s,[e])||l.format,e]),(t=[l.klass.listItem],i&&t.push(l.klass.selected),a&&t.push(l.klass.highlighted),u&&u.pick==n&&t.push(l.klass.viewset),o&&t.push(l.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+p.ariaAttr({role:"option",label:r,selected:!(!i||s.$node.val()!==r)||null,activedescendant:!!a||null,disabled:!!o||null})]}})+p.node("li",p.node("button",l.clear,l.klass.buttonClear,"type=button data-clear=1"+(e?"":" disabled")+" "+p.ariaAttr({controls:s.$node[0].id})),"",p.ariaAttr({role:"presentation"})),l.klass.list,p.ariaAttr({role:"listbox",controls:s.$node[0].id}))},n.defaults={clear:"Clear",format:"h:i A",interval:30,closeOnSelect:!0,closeOnClear:!0,updateInput:!0,klass:{picker:(t=e.klasses().picker)+" "+t+"--time",holder:t+"__holder",list:t+"__list",listItem:t+"__list-item",disabled:t+"__list-item--disabled",selected:t+"__list-item--selected",highlighted:t+"__list-item--highlighted",viewset:t+"__list-item--viewset",now:t+"__list-item--now",buttonClear:t+"__button--clear"}},e.extend("pickatime",n)}),define("mockup-patterns-pickadate",["jquery","pat-base","mockup-utils","translate","picker","picker.date","picker.time","mockup-patterns-select2"],function(r,e,s,t){"use strict";return e.extend({name:"pickadate",trigger:".pat-pickadate",parser:"mockup",defaults:{separator:" ",date:{selectYears:!0,selectMonths:!0,formatSubmit:"yyyy-mm-dd",format:"yyyy-mm-dd",labelMonthNext:t("Next month"),labelMonthPrev:t("Previous month"),labelMonthSelect:t("Select a month"),labelYearSelect:t("Select a year"),clear:!1,close:!1,today:!1},time:{clear:!1},today:t("Today"),clear:t("Clear"),timezone:null,autoSetTimeOnDateChange:"+[0,0]",classWrapperName:"pattern-pickadate-wrapper",classSeparatorName:"pattern-pickadate-separator",classDateName:"pattern-pickadate-date",classDateWrapperName:"pattern-pickadate-date-wrapper",classTimeName:"pattern-pickadate-time",classTimeWrapperName:"pattern-pickadate-time-wrapper",classTimezoneName:"pattern-pickadate-timezone",classTimezoneWrapperName:"pattern-pickadate-timezone-wrapper",classClearName:"pattern-pickadate-clear",classNowName:"pattern-pickadate-now",placeholderDate:t("Enter date..."),placeholderTime:t("Enter time..."),placeholderTimezone:t("Enter timezone...")},parseTimeOffset:function(t){var e=void 0;0===t.indexOf("+")?(e="+",t=t.split("+")[1]):0===t.indexOf("-")&&(e="-",t=t.split("-")[1]);try{t=JSON.parse(t)}catch(e){t=void 0}if(!1===t)return!1;if(!0===t||!0!==Array.isArray(t))return[0,0];var n,i,a,o=parseInt(t[0],10)||0,r=parseInt(t[1],10)||0;return"+"!==e&&"-"!==e||(i=(n=new Date).getHours(),a=n.getMinutes(),"+"===e?(23<(o=i+o)&&(o=23),59<(r=a+r)&&(r=59)):"-"===e&&((o=i-o)<0&&(o=0),(r=a-r)<0&&(r=0))),[o,r]},init:function(){var e,t,n=this,i=n.$el.val().split(" "),a=i[0]||"",o=i[1]||"";!1===s.bool(n.options.date)&&(n.options.date=!1),!1===s.bool(n.options.time)&&(n.options.time=!1),n.options.autoSetTimeOnDateChange=n.parseTimeOffset(n.options.autoSetTimeOnDateChange),!1===n.options.date&&(o=i[0]),n.$el.hide(),n.$wrapper=r("<div/>").addClass(n.options.classWrapperName).insertAfter(n.$el),!1!==n.options.date&&(n.$date=r('<input type="text"/>').attr("placeholder",n.options.placeholderDate).attr("data-value",a).addClass(n.options.classDateName).appendTo(r("<div/>").addClass(n.options.classDateWrapperName).appendTo(n.$wrapper)).pickadate(r.extend(!0,{},n.options.date,{onSet:function(e){void 0!==e.select&&(n.$date.attr("data-value",e.select),!1!==n.options.autoSetTimeOnDateChange&&n.$time&&(n.$time.pickatime("picker").get("select")||n.$time.pickatime("picker").set("select",n.options.autoSetTimeOnDateChange)),!1!==n.options.time&&""===n.$time.attr("data-value")||n.updateV
3641alue.call(n)),e.hasOwnProperty("clear")&&(n.$el.val(""),n.$date.attr("data-value",""))}}))),!1!==n.options.time&&(n.options.time.formatSubmit="HH:i",n.$time=r('<input type="text"/>').attr("placeholder",n.options.placeholderTime).attr("data-value",o).addClass(n.options.classTimeName).appendTo(r("<div/>").addClass(n.options.classTimeWrapperName).appendTo(n.$wrapper)).pickatime(r.extend(!0,{},n.options.time,{onSet:function(e){void 0!==e.select&&(n.$time.attr("data-value",e.select),!1!==n.options.date&&""===n.$date.attr("data-value")||n.updateValue.call(n)),e.hasOwnProperty("clear")&&(n.$el.val(""),n.$time.attr("data-value",""))}})),"string"==typeof o&&"00"===o.substring(0,2)&&(n.$time.pickatime("picker").set("select",o.split(":")),n.$time.attr("data-value",o))),!1!==n.options.date&&!1!==n.options.time&&n.options.timezone&&(n.$separator=r("<span/>").addClass(n.options.classSeparatorName).html(" "===n.options.separator?"&nbsp;":n.options.separator).appendTo(n.$wrapper)),null!==n.options.timezone&&(n.$timezone=r('<input type="text"/>').addClass(n.options.classTimezoneName).appendTo(r("<div/>").addClass(n.options.classTimezoneWrapperName).appendTo(n.$wrapper)).patternSelect2(r.extend(!0,{placeholder:n.options.placeholderTimezone,width:"10em"},n.options.timezone,{multiple:!1})).on("change",function(e){void 0!==e.val&&(n.$timezone.attr("data-value",e.val),!1!==n.options.date&&""===n.$date.attr("data-value")||!1!==n.options.time&&""===n.$time.attr("data-value")||n.updateValue.call(n))}),(e=n.options.timezone.default)&&(n.options.timezone.data.some(function(e){return t=e.text===n.options.timezone.default}),t&&(n.$timezone.attr("data-value",e),n.$timezone.parent().find(".select2-chosen").text(e))),1===n.options.timezone.data.length&&(n.$timezone.attr("data-value",n.options.timezone.data[0].text),n.$timezone.parent().find(".select2-chosen").text(n.options.timezone.data[0].text),n.$timezone.select2("enable",!1))),s.bool(n.options.today)&&(n.$now=r('<button type="button" class="btn btn-xs btn-info" title="'+n.options.today+'"><span class="glyphicon glyphicon-time"></span></button>').addClass(n.options.classNowName).on("click",function(e){e.preventDefault();var t=new Date;n.$date&&n.$date.data("pickadate").set("select",t),n.$time&&n.$time.data("pickatime").set("select",t),n.emit("updated")}).appendTo(n.$wrapper)),s.bool(n.options.clear)&&(n.$clear=r('<button type="button" class="btn btn-xs btn-danger" title="'+n.options.clear+'"><span class="glyphicon glyphicon-trash"></span></button>').addClass(n.options.classClearName).on("click",function(e){e.preventDefault(),n.$date&&n.$date.data("pickadate").clear(),n.$time&&n.$time.data("pickatime").clear(),n.emit("updated")}).appendTo(n.$wrapper))},updateValue:function(){var e,t,n,i,a,o,r,s=this,l="";!1!==s.options.date&&(e=s.$date.data("pickadate").component,t=s.$date.data("pickadate").get("select"),n=e.formats.toString,t&&(l+=n.apply(e,[s.options.date.formatSubmit,t]))),!1!==s.options.date&&!1!==s.options.time&&(l+=" "),!1!==s.options.time&&(i=s.$time.data("pickatime").component,a=s.$time.data("pickatime").get("select"),o=i.formats.toString,a&&(l+=o.apply(i,["HH:i",a]))),null===s.options.timezone||(r=" "+s.$timezone.attr("data-value"))&&(l+=r),s.$el.val(l),s.emit("updated")}})}),require(["mockup-patterns-inlinevalidation","mockup-patterns-recurrence","mockup-patterns-relateditems","mockup-patterns-pickadate","mockup-patterns-select2"],function(){}),define("/Users/pbauer/workspace/coredev/src/plone.staticresources/src/plone/staticresources/static/plone-logged-in.js",function(){});
3642//# sourceMappingURL=plone-logged-in-compiled.min.js.map
3643define("mockup-i18n",["jquery"],function(i){"use strict";return function(){var o=this;o.baseUrl=i("body").attr("data-i18ncatalogurl"),o.currentLanguage=i("html").attr("lang")||"en",1<o.currentLanguage.split("-").length&&(o.currentLanguage=o.currentLanguage.split("-")[0]+"_"+o.currentLanguage.split("-")[1].toUpperCase()),o.storage=null,o.catalogs={},o.ttl=864e5,Date.now||(Date.now=function(){return(new Date).valueOf()});try{"localStorage"in window&&null!==window.localStorage&&"JSON"in window&&null!==window.JSON&&(o.storage=window.localStorage)}catch(e){}o.configure=function(e){for(var t in e)o[t]=e[t]},o._setCatalog=function(e,t,n){e in o.catalogs||(o.catalogs[e]={}),o.catalogs[e][t]=n},o._storeCatalog=function(e,t,n){var s=e+"-"+t;null!==o.storage&&null!==n&&(o.storage.setItem(s,JSON.stringify(n)),o.storage.setItem(s+"-updated",Date.now()))},o.getUrl=function(e,t){return o.baseUrl+"?domain="+e+"&language="+t},o.loadCatalog=function(t,n){if(void 0===n&&(n=o.currentLanguage),null!==o.storage){var e=t+"-"+n;if(e in o.storage&&Date.now()-parseInt(o.storage.getItem(e+"-updated"),10)<o.ttl){var s=JSON.parse(o.storage.getItem(e));return void o._setCatalog(t,n,s)}}o.baseUrl&&i.getJSON(o.getUrl(t,n),function(e){null!==e&&(o._setCatalog(t,n,e),o._storeCatalog(t,n,e))})},o.MessageFactory=function(r,a){return a=a||o.currentLanguage,function(e,t){var n,s,i=r in o.catalogs&&a in o.catalogs[r]&&e in o.catalogs[r][a]?o.catalogs[r][a][e]:e;if(t)for(s in t)t.hasOwnProperty(s)&&(n=new RegExp("\\$\\{"+s+"\\}","g"),i=i.replace(n,t[s]));return i}}}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("moment",t):e.moment=t()}(this,function(){"use strict";var e,i;function w(){return e.apply(null,arguments)}function l(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function h(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}
vendor: 11,225 bytes, line 3643
3643function _(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function y(e,t,n,s){return Yt(e,t,n,s,!0).utc()}function v(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=v(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function k(e){var t=y(NaN);return null!=e?_(v(t),e):v(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var r=w.momentProperties=[];function M(e,t){var n,s,i;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=v(t)),d(t._locale)||(e._locale=t._locale),0<r.length)for(n=0;n<r.length;n++)d(i=t[s=r[n]])||(e[s]=i);return e}var t=!1;function S(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,w.updateOffset(this),t=!1)}function D(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function O(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=Y(t)),n}function a(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&O(e[a])!==O(t[a]))&&r++;return r+i}function o(e){!1===w.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,r){var a=!0;return _(function(){if(null!=w.deprecationHandler&&w.deprecationHandler(null,i),a){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var s in e+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}o(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var s,u={};function T(e,t){null!=w.deprecationHandler&&w.deprecationHandler(e,t),u[e]||(o(t),u[e]=!0)}function b(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,s=_({},e);for(n in t)p(t,n)&&(h(e[n])&&h(t[n])?(s[n]={},_(s[n],e[n]),_(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)p(e,n)&&!p(t,n)&&h(e[n])&&(s[n]=_({},s[n]));return s}function P(e){null!=e&&this.set(e)}w.suppressDeprecationWarnings=!1,w.deprecationHandler=null,s=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var W={};function C(e,t){var n=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}function L(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function U(e){var t,n,s={};for(n in e)p(e,n)&&(t=L(n))&&(s[t]=e[n]);return s}var R={};function H(e,t){R[e]=t}function F(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,G={},E={};function I(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(E[e]=i),t&&(E[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(E[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=A(t,e.localeData()),G[t]=G[t]||function(s){for(var e,i=s.match(N),t=0,r=i.length;t<r;t++)E[i[t]]?i[t]=E[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=b(i[n])?i[n].call(e,s):i[n];return t}}(t),G[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;0<=n&&V.test(e);)e=e.replace(V,s),V.lastIndex=0,--n;return e}var z=/\d/,Z=/\d\d/,$=/\d{3}/,q=/\d{4}/,J=/[+-]?\d{6}/,B=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,K=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,se=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe={};function ue(e,n,s){oe[e]=b(n)?n:function(e,t){return e&&s?s:n}}function le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function de(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),c(n)&&(s=function(e,t){t[n]=O(e)}),t=0;t<e.length;t++)he[e[t]]=s}function ce(e,i){de(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var fe=0,me=1,_e=2,ye=3,ge=4,pe=5,we=6,ve=7,ke=8;function Me(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}I("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),C("year","y"),H("year",1),ue("Y",se),ue("YY",B,Z),ue("YYYY",ee,q),ue("YYYYY",te,J),ue("YYYYYY",te,J),de(["YYYYY","YYYYYY"],fe),de("YYYY",function(e,t){t[fe]=2===e.length?w.parseTwoDigitYear(e):O(e)}),de("YY",function(e,t){t[fe]=w.parseTwoDigitYear(e)}),de("Y",function(e,t){t[fe]=parseInt(e,10)}),w.parseTwoDigitYear=function(e){return O(e)+(68<O(e)?1900:2e3)};var De,Ye=Oe("FullYear",!0);function Oe(t,n){return function(e){return null!=e?(be(this,t,e),w.updateOffset(this,n),this):Te(this,t)}}function Te(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function be(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1==n?Se(e)?29:28:31-n%7%2}De=Array.prototype.indexOf?Array.prototype.indexOf:function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),C("month","M"),H("month",8),ue("M",B),ue("MM",B,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),de(["M","MM"],function(e,t){t[me]=O(e)-1}),de(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[me]=i:v(n).invalidMonth=e});var Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,We="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=O(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ue(e){return null!=e?(Le(this,e),w.updateOffset(this,!0),this):Te(this,"Month")}var Re=ae,He=ae;function Fe(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=y([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=le(n[r]),s[r]=le(s[r]);for(r=0;r<24;r++)i[r]=le(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ne(e){var t,n;return e<100&&0<=e?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){var s=7+t-n;return-(7+Ne(e,0,s).getUTCDay()-t)%7+s-1}function Ge(e,t,n,s,i){var r,a=1+7*(t-1)+(7+n-s)%7+Ve(e,s,i),o=a<=0?Me(r=e-1)+a:a>Me(e)?(r=e+1,a-Me(e)):(r=e,a);return{year:r,dayOfYear:o}}function Ee(e,t,n){var s,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(s=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ie(e,t,n){var s=Ve(e,t,n),i=Ve(e+1,t,n);return(Me(e)-s+i)/7}function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),H("week",5),H("isoWeek",5),ue("w",B),ue("ww",B,Z),ue("W",B),ue("WW",B,Z),ce(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=O(e)}),I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ue("d",B),ue("e",B),ue("E",B),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ce(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e}),ce(["d","e","E"],function(e,t,n,s){t[s]=O(e)});var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$e=ae,qe=ae,Je=ae;function Be(){function e(e,t){return t.length-e.length}for(var t,n,s,i,r=[],a=[],o=[],u=[],l=0;l<7;l++)t=y([2e3,1]).day(l),n=this.weekdaysMin(t,""),s=this.weekdaysShort(t,""),i=this.weekdays(t,""),r.push(n),a.push(s),o.push(i),u.push(n),u.push(s),u.push(i);for(r.sort(e),a.sort(e),o.sort(e),u.sort(e),l=0;l<7;l++)a[l]=le(a[l]),o[l]=le(o[l]),u[l]=le(u[l]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Qe),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+Qe.apply(this)+F(this.minutes(),2)}
vendor: 4,279 bytes, line 3643
3643),I("hmmss",0,0,function(){return""+Qe.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),C("hour","h"),H("hour",13),ue("a",Ke),ue("A",Ke),ue("H",B),ue("h",B),ue("k",B),ue("HH",B,Z),ue("hh",B,Z),ue("kk",B,Z),ue("hmm",Q),ue("hmmss",X),ue("Hmm",Q),ue("Hmmss",X),de(["H","HH"],ye),de(["k","kk"],function(e,t,n){var s=O(e);t[ye]=24===s?0:s}),de(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),de(["h","hh"],function(e,t,n){t[ye]=O(e),v(n).bigHour=!0}),de("hmm",function(e,t,n){var s=e.length-2;t[ye]=O(e.substr(0,s)),t[ge]=O(e.substr(s)),v(n).bigHour=!0}),de("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ye]=O(e.substr(0,s)),t[ge]=O(e.substr(s,2)),t[pe]=O(e.substr(i)),v(n).bigHour=!0}),de("Hmm",function(e,t,n){var s=e.length-2;t[ye]=O(e.substr(0,s)),t[ge]=O(e.substr(s))}),de("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ye]=O(e.substr(0,s)),t[ge]=O(e.substr(s,2)),t[pe]=O(e.substr(i))});var et,tt=Oe("Hours",!0),nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:We,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Ae,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},it={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(e){var t=null;if(!st[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=et._abbr,require("./locale/"+e),ot(t)}catch(e){}return st[e]}function ot(e,t){var n;return e&&((n=d(t)?lt(e):ut(e,t))?et=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),et._abbr}function ut(e,t){if(null===t)return delete st[e],null;var n,s=nt;if(t.abbr=e,null!=st[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])s=st[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;s=n._config}return st[e]=new P(x(s,t)),it[e]&&it[e].forEach(function(e){ut(e.name,e.config)}),ot(e),st[e]}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return et;if(!l(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=rt(e[r]).split("-")).length,n=(n=rt(e[r+1]))?n.split("-"):null;0<t;){if(s=at(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&a(i,n,!0)>=t-1)break;t--}r++}return et}(e)}function ht(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[me]<0||11<n[me]?me:n[_e]<1||n[_e]>xe(n[fe],n[me])?_e:n[ye]<0||24<n[ye]||24===n[ye]&&(0!==n[ge]||0!==n[pe]||0!==n[we])?ye:n[ge]<0||59<n[ge]?ge:n[pe]<0||59<n[pe]?pe:n[we]<0||999<n[we]?we:-1,v(e)._overflowDayOfYear&&(t<fe||_e<t)&&(t=_e),v(e)._overflowWeeks&&-1===t&&(t=ve),v(e)._overflowWeekday&&-1===t&&(t=ke),v(e).overflow=t),e}function dt(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,s,i,r,a,o,u,l,h,d,c,f,m,_=[];if(!e._d){var y=e,g=new Date(w.now()),p=y._useUTC?[g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()]:[g.getFullYear(),g.getMonth(),g.getDate()];for(e._w&&null==e._a[_e]&&null==e._a[me]&&(null!=(a=(r=e)._w).GG||null!=a.W||null!=a.E?(u=1,l=4,f=dt(a.GG,r._a[fe],Ee(Ot(),1,4).year),m=dt(a.W,1),((o=dt(a.E,1))<1||7<o)&&(d=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,c=Ee(Ot(),u,l),f=dt(a.gg,r._a[fe],c.year),m=dt(a.w,c.week),null!=a.d?((o=a.d)<0||6<o)&&(d=!0):null!=a.e?(o=a.e+u,(a.e<0||6<a.e)&&(
vendor: 36,256 bytes, line 3643
3643d=!0)):o=u),m<1||m>Ie(f,u,l)?v(r)._overflowWeeks=!0:null!=d?v(r)._overflowWeekday=!0:(h=Ge(f,m,o,u,l),r._a[fe]=h.year,r._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(i=dt(e._a[fe],p[fe]),(e._dayOfYear>Me(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=Ne(i,0,e._dayOfYear),e._a[me]=n.getUTCMonth(),e._a[_e]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=_[t]=p[t];for(;t<7;t++)e._a[t]=_[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[ge]&&0===e._a[pe]&&0===e._a[we]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ne:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,_),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(v(e).weekdayMismatch=!0)}}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((\-?\d+)/i;function wt(e){var t,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(v(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||" ")+gt[t][0];break}if(null==r)return e._isValid=!1}if(!s&&null!=r)return e._isValid=!1;if(u[4]){if(!_t.exec(u[4]))return e._isValid=!1;a="Z"}e._f=i+(r||"")+(a||""),St(e)}else e._isValid=!1}var vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;var kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t,n,s,i,r,a,o,u,l=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var h,d=(t=l[4],n=l[3],s=l[2],i=l[5],r=l[6],a=l[7],u=[(o=parseInt(t,10))<=49?2e3+o:o<=999?1900+o:o,Ce.indexOf(n),parseInt(s,10),parseInt(i,10),parseInt(r,10)],a&&u.push(parseInt(a,10)),u),c=d,f=e;if((h=l[1])&&ze.indexOf(h)!==new Date(c[0],c[1],c[2]).getDay()&&(v(f).weekdayMismatch=!0,!(f._isValid=!1)))return;e._a=d,e._tzm=function(e,t,n){if(e)return kt[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(l[8],l[9],l[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function St(e){if(e._f!==w.ISO_8601)if(e._f!==w.RFC_2822){e._a=[],v(e).empty=!0;for(var t,n,s,i,r,a,o=""+e._i,u=o.length,l=0,h=A(e._f,e._locale).match(N)||[],d=0;d<h.length;d++)n=h[d],(t=(o.match((g=e,p(oe,y=n)?oe[y](g._strict,g._locale):new RegExp(le(y.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))))||[])[0])&&(0<(s=o.substr(0,o.indexOf(t))).length&&v(e).unusedInput.push(s),o=o.slice(o.indexOf(t)+t.length),l+=t.length),E[n]?(t?v(e).empty=!1:v(e).unusedTokens.push(n),i=n,a=e,null!=(r=t)&&p(he,i)&&he[i](r,a._a,a,i)):e._strict&&!t&&v(e).unusedTokens.push(n);v(e).charsLeftOver=u-l,0<o.length&&v(e).unusedInput.push(o),e._a[ye]<=12&&!0===v(e).bigHour&&0<e._a[ye]&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[ye]=(c=e._locale,f=e._a[ye],null==(m=e._meridiem)?f:null!=c.meridiemHour?c.meridiemHour(f,m):(null!=c.isPM&&((_=c.isPM(m))&&f<12&&(f+=12),_||12!==f||(f=0)),f)),ct(e),ht(e)}else Mt(e);else wt(e);var c,f,m,_,y,g}function Dt(e){var t,n,s,i,r,a,o=e._i,u=e._f;return e._locale=e._locale||lt(e._l),null===o||void 0===u&&""===o?k({nullInput:!0}):("string"==typeof o&&(e._i=o=e._locale.preparse(o)),D(o)?new S(ht(o)):(f(o)?e._d=o:l(u)?function(e){var t,n,s,i,r;if(0===e._f.length)return v(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],St(t),g(t)&&(r+=v(t).charsLeftOver,r+=10*v(t).unusedTokens.length,v(t).score=r,(null==s||r<s)&&(s=r,n=t));_(e,n||t)}(e):u?St(e):d(n=(t=e)._i)?t._d=new Date(w.now()):f(n)?t._d=new Date(n.valueOf()):"string"==typeof n?(s=t,null===(i=pt.exec(s._i))?(wt(s),!1===s._isValid&&(delete s._isValid,Mt(s),!1===s._isValid&&(delete s._isValid,w.createFromInputFallback(s)))):s._d=new Date(+i[1])):l(n)?(t._a=m(n.slice(0),function(e){return parseInt(e,10)}),ct(t)):h(n)?(r=t)._d||(a=U(r._i),r._a=m([a.year,a.month,a.day||a.date,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),ct(r)):c(n)?t._d=new Date(n):w.createFromInputFallback(t),g(e)||(e._d=null),e))}function Yt(e,t,n,s,i){var r,a={};return!0!==n&&!1!==n||(s=n,n=void 0),(h(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return;return 1}(e)||l(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=new S(ht(Dt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Ot(e,t,n,s){return Yt(e,t,n,s,!1)}w.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),w.ISO_8601=function(){},w.RFC_2822=function(){};var Tt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:k()}),bt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:k()});function xt(e,t){var n,s;if(1===t.length&&l(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Wt(e){var t=U(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===De.call(Pt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,s=0;s<Pt.length;++s)if(e[Pt[s]]){if(n)return!1;parseFloat(e[Pt[s]])!==O(e[Pt[s]])&&(n=!0)}return!0}(t),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=lt(),this._bubble()}function Ct(e){return e instanceof Wt}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,n){I(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+F(~~(e/60),2)+n+F(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),ue("Z",re),ue("ZZ",re),de(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(re,e)});var Rt=/([\+\-]|\d\d)/gi;function Ht(e,t){var n=(t||"").match(e);if(null===n)return null;var s=((n[n.length-1]||[])+"").match(Rt)||["-",0,0],i=60*s[1]+O(s[2]);return 0===i?0:"+"===s[0]?i:-i}function Ft(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(D(e)||f(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),w.updateOffset(n,!1),n):Ot(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Vt(){return!!this.isValid()&&this._isUTC&&0===this._offset}w.updateOffset=function(){};var Gt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Et=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function It(e,t){var n,s,i,r,a,o,u=e,l=null;return Ct(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Gt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:O(l[_e])*n,h:O(l[ye])*n,m:O(l[ge])*n,s:O(l[pe])*n,ms:O(Lt(1e3*l[we]))*n}):(l=Et.exec(e))?(n="-"===l[1]?-1:1,u={y:jt(l[2],n),M:jt(l[3],n),w:jt(l[4],n),d:jt(l[5],n),h:jt(l[6],n),m:jt(l[7],n),s:jt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(r=Ot(u.from),a=Ot(u.to),i=r.isValid()&&a.isValid()?(a=Ft(a,r),r.isBefore(a)?o=At(r,a):((o=At(a,r)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),s=new Wt(u),Ct(e)&&p(e,"_locale")&&(s._locale=e._locale),s}function jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function At(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function zt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,It(e="string"==typeof e?+e:e,t),s),this}}function Zt(e,t,n,s){var i=t._milliseconds,r=Lt(t._days),a=Lt(t._months);e.isValid()&&(s=null==s||s,a&&Le(e,Te(e,"Month")+a*n),r&&be(e,"Date",Te(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&w.updateOffset(e,r||a))}It.fn=Wt.prototype,It.invalid=function(){return It(NaN)};var $t=zt(1,"add"),qt=zt(-1,"subtract");function Jt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s)))||0}function Bt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}w.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",w.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Xt(){return this._locale}var Kt=126227808e5;function en(e,t){return(e%t+t)%t}function tn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-Kt:new Date(e,t,n).valueOf()}function nn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-Kt:Date.UTC(e,t,n)}function sn(e,t){I(0,[e,e.length],0,t)}function rn(e,t,n,s,i){var r;return null==e?Ee(this,s,i).year:((r=Ie(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=Ge(e,t,n,s,i),a=Ne(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ue("G",se),ue("g",se),ue("GG",B,Z),ue("gg",B,Z),ue("GGGG",ee,q),ue("gggg",ee,q),ue("GGGGG",te,J),ue("ggggg",te,J),ce(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=O(e)}),ce(["gg","GG"],function(e,t,n,s){t[s]=w.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),C("quarter","Q"),H("quarter",7),ue("Q",z),de("Q",function(e,t){t[me]=3*(O(e)-1)}),I("D",["DD",2],"Do","date"),C("date","D"),H("date",9),ue("D",B),ue("DD",B,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),de(["D","DD"],_e),de("Do",function(e,t){t[_e]=O(e.match(B)[0])});var an=Oe("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),H("dayOfYear",4),ue("DDD",K),ue("DDDD",$),de(["DDD","DDDD"],function(e,t,n){n._dayOfYear=O(e)}),I("m",["mm",2],0,"minute"),C("minute","m"),H("minute",14),ue("m",B),ue("mm",B,Z),de(["m","mm"],ge);var on=Oe("Minutes",!1);I("s",["ss",2],0,"second"),C("second","s"),H("second",15),ue("s",B),ue("ss",B,Z),de(["s","ss"],pe);var un,ln=Oe("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),C("millisecond","ms"),H("millisecond",16),ue("S",K,z),ue("SS",K,Z),ue("SSS",K,$),un="SSSS";un.length<=9;un+="S")ue(un,ne);function hn(e,t){t[we]=O(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")de(un,hn);var dn=Oe("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var cn=S.prototype;function fn(e){return e}cn.add=$t,cn.calendar=function(e,t){var n=e||Ot(),s=Ft(n,this).startOf("day"),i=w.calendarFormat(this,s)||"sameElse",r=t&&(b(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,Ot(n)))},cn.clone=function(){return new S(this)},cn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Ft(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=L(t)){case"year":r=Jt(this,s)/12;break;case"month":r=Jt(this,s);break;case"quarter":r=Jt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:Y(r)},cn.endOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?nn:tn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-en(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-en(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-en(t,1e3)-1}return this._d.setTime(t),w.updateOffset(this,!0),this},cn.format=function(e){e=e||(this.isUtc()?w.defaultFormatUtc:w.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},cn.from=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||Ot(e).isValid())?It({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.fromNow=function(e){return this.from(Ot(),e)},cn.to=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||Ot(e).isValid())?It({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.toNow=function(e){return this.to(Ot(),e)},cn.get=function(e){return b(this[e=L(e)])?this[e]():this},cn.invalidAt=function(){return v(this).overflow},cn.isAfter=function(e,t){var n=D(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},cn.isBefore=function(e,t){var n=D(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},cn.isBetween=function(e,t,n,s){var i=D(e)?e:Ot(e),r=D(t)?t:Ot(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n))},cn.isSame=function(e,t){var n,s=D(e)?e:Ot(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},cn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},cn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},cn.isValid=function(){return g(this)},cn.lang=Qt,cn.locale=Bt,cn.localeData=Xt,cn.max=bt,cn.min=Tt,cn.parsingFlags=function(){return _({},v(this))},cn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=U(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(b(this[e=L(e)]))return this[e](t);return this},cn.startOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?nn:tn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=en(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=en(t,6e4);break;case"second":t=this._d.valueOf(),t-=en(t,1e3)}return this._d.setTime(t),w.updateOffset(this,!0),this},cn.subtract=qt,cn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},cn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},cn.toDate=function(){return new Date(this.valueOf())},cn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?j(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},cn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},cn.toJSON=function(){return this.isValid()?this.toISOString():null},cn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},cn.unix=function(){return Math.floor(this.valueOf()/1e3)},cn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},cn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},cn.year=Ye,cn.isLeapYear=function(){return Se(this.year())},cn.weekYear=function(e){return rn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},cn.isoWeekYear=function(e){return rn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},cn.quarter=cn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},cn.month=Ue,cn.daysInMonth=function(){return xe(this.year(),this.month())},cn.week=cn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},cn.isoWeek=cn.isoWeeks=function(e){var t=Ee(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},cn.weeksInYear=function(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)},cn.isoWeeksInYear=function(){return Ie(this.year(),1,4)},cn.date=an,cn.day=cn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},cn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},cn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,s=(t=e,n=this.localeData(),"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?s:s-7)},cn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},cn.hour=cn.hours=tt,cn.minute=cn.minutes=on,cn.second=cn.seconds=ln,cn.millisecond=cn.milliseconds=dn,cn.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Nt(this);if("string"==typeof e){if(null===(e=Ht(re,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Nt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,It(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,w.updateOffset(this,!0),this._changeInProgress=null)),this},cn.utc=function(e){return this.utcOffset(0,e)},cn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},cn.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(ie,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},cn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},cn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},cn.isLocal=function(){return!!this.isValid()&&!this._isUTC},cn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},cn.isUtc=Vt,cn.isUTC=Vt,cn.zoneAbbr=function(){return this._isUTC?"UTC":""},cn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},cn.dates=n("dates accessor is deprecated. Use date instead.",an),cn.months=n("months accessor is deprecated. Use month instead",Ue),cn.years=n("years accessor is deprecated. Use year instead",Ye),cn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),cn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=Dt(t))._a?(e=(t._isUTC?y:Ot)(t._a),this._isDSTShifted=this.isValid()&&0<a(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var mn=P.prototype;function _n(e,t,n,s){var i=lt(),r=y().set(s,t);return i[n](r,e)}function yn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return _n(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=_n(e,i,n,"month");return s}function gn(e,t,n,s){"boolean"==typeof e?c(t)&&(n=t,t=void 0):(t=e,e=!1,c(n=t)&&(n=t,t=void 0)),t=t||"";var i=lt(),r=e?i._week.dow:0;if(null!=n)return _n(t,(n+r)%7,s,"day");for(var a=[],o=0;o<7;o++)a[o]=_n(t,(o+r)%7,s,"day");return a}mn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return b(s)?s.call(t,n):s},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=fn,mn.postformat=fn,mn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return b(i)?i(e,t,n,s):i.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)b(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mn.months=function(e,t){return e?l(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:l(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?l(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=y([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=De.call(this._shortMonthsParse,a))?i:null:-1!==(i=De.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=De.call(this._shortMonthsParse,a))||-1!==(i=De.call(this._longMonthsParse,a))?i:null:-1!==(i=De.call(this._longMonthsParse,a))||-1!==(i=De.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=y([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},mn.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return Ee(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=l(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?je(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=y([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=De.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=De.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=De.call(this._weekdaysParse,a))||-1!==(i=De.call(this._shortWeekdaysParse,a))||-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=De.call(this._shortWeekdaysParse,a))||-1!==(i=De.call(this._weekdaysParse,a))||-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:-1!==(i=De.call(this._minWeekdaysParse,a))||-1!==(i=De.call(this._weekdaysParse,a))||-1!==(i=De.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=y([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===O(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),w.lang=n("moment.lang is deprecated. Use moment.locale instead.",ot),w.langData=n("moment.langData is deprecated. Use moment.localeData instead.",lt);var pn=Math.abs;function wn(e,t,n,s){var i=It(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function kn(e){return 4800*e/146097}function Mn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}var Dn=Sn("ms"),Yn=Sn("s"),On=Sn("m"),Tn=Sn("h"),bn=Sn("d"),xn=Sn("w"),Pn=Sn("M"),Wn=Sn("Q"),Cn=Sn("y");function Ln(e){return function(){return this.isValid()?this._data[e]:NaN}}var Un=Ln("milliseconds"),Rn=Ln("seconds"),Hn=Ln("minutes"),Fn=Ln("hours"),Nn=Ln("days"),Vn=Ln("months"),Gn=Ln("years"),En=Math.round,In={ss:44,s:45,m:45,h:22,d:26,M:11},jn=Math.abs;function An(e){return(0<e)-(e<0)||+e}function zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t=jn(this._milliseconds)/1e3,n=jn(this._days),s=jn(this._months),i=Y((e=Y(t/60))/60);t%=60,e%=60;var r=Y(s/12),a=s%=12,o=n,u=i,l=e,h=t?t.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var c=d<0?"-":"",f=An(this._months)!==An(d)?"-":"",m=An(this._days)!==An(d)?"-":"",_=An(this._milliseconds)!==An(d)?"-":"";return c+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(o?m+o+"D":"")+(u||l||h?"T":"")+(u?_+u+"H":"")+(l?_+l+"M":"")+(h?_+h+"S":"")}var Zn=Wt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),e.milliseconds=pn(e.milliseconds),e.seconds=pn(e.seconds),e.minutes=pn(e.minutes),e.hours=pn(e.hours),e.months=pn(e.months),e.years=pn(e.years),this},Zn.add=function(e,t){return wn(this,e,t,1)},Zn.subtract=function(e,t){return wn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+kn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Mn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=Dn,Zn.asSeconds=Yn,Zn.asMinutes=On,Zn.asHours=Tn,Zn.asDays=bn,Zn.asWeeks=xn,Zn.asMonths=Pn,Zn.asQuarters=Wn,Zn.asYears=Cn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*O(this._months/12):NaN},Zn._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return 0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*vn(Mn(o)+a),o=a=0),u.milliseconds=r%1e3,e=Y(r/1e3),u.seconds=e%60,t=Y(e/60),u.minutes=t%60,n=Y(t/60),u.hours=n%24,o+=i=Y(kn(a+=Y(n/24))),a-=vn(Mn(i)),s=Y(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},Zn.clone=function(){return It(this)},Zn.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Un,Zn.seconds=Rn,Zn.minutes=Hn,Zn.hours=Fn,Zn.days=Nn,Zn.weeks=function(){return Y(this.days()/7)},Zn.months=Vn,Zn.years=Gn,Zn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t,n,s,i,r,a,o,u,l,h,d=this.localeData(),c=(t=!e,n=d,s=It(this).abs(),i=En(s.as("s")),r=En(s.as("m")),a=En(s.as("h")),o=En(s.as("d")),u=En(s.as("M")),l=En(s.as("y")),(h=(i<=In.ss?["s",i]:i<In.s&&["ss",i])||r<=1&&["m"]||r<In.m&&["mm",r]||a<=1&&["h"]||a<In.h&&["hh",a]||o<=1&&["d"]||o<In.d&&["dd",o]||u<=1&&["M"]||u<In.M&&["MM",u]||l<=1&&["y"]||["yy",l])[2]=t,h[3]=0<+this,h[4]=n,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,h));return e&&(c=d.pastFuture(+this,c)),d.postformat(c)},Zn.toISOString=zn,Zn.toString=zn,Zn.toJSON=zn,Zn.locale=Bt,Zn.localeData=Xt,Zn.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zn),Zn.lang=Qt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),ue("x",se),ue("X",/[+-]?\d+(\.\d{1,3})?/),de("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),de("x",function(e,t,n){n._d=new Date(O(e))}),w.version="2.24.0",e=Ot,w.fn=cn,w.min=function(){return xt("isBefore",[].slice.call(arguments,0))},w.max=function(){return xt("isAfter",[].slice.call(arguments,0))},w.now=function(){return Date.now?Date.now():+new Date},w.utc=y,w.unix=function(e){return Ot(1e3*e)},w.months=function(e,t){return yn(e,t,"months")},w.isDate=f,w.locale=ot,w.invalid=k,w.duration=It,w.isMoment=D,w.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},w.parseZone=function(){return Ot.apply(null,arguments).parseZone()},w.localeData=lt,w.isDuration=Ct,w.monthsShort=function(e,t){return yn(e,t,"monthsShort")},w.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},w.defineLocale=ut,w.updateLocale=function(e,t){var n,s,i;return null!=t?(i=nt,null!=(s=at(e))&&(i=s._config),(n=new P(t=x(i,t))).parentLocale=st[e],st[e]=n,ot(e)):null!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&delete st[e]),st[e]},w.locales=function(){return s(st)},w.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},w.normalizeUnits=L,w.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},w.relativeTimeThreshold=function(e,t){return void 0!==In[e]&&(void 0===t?In[e]:(In[e]=t,"
3643s"===e&&(In.ss=t-1),!0))},w.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},w.prototype=cn,w.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},w}),define("mockup-patterns-moment",["jquery","pat-base","pat-registry","mockup-i18n","moment"],function(s,e,t,n,i){var r,a=(new n).currentLanguage,o=!1,u=[],l="ar-sa ar-tn ar az be bg bn bo br bs ca cs cv cy da de-at de dv el en-au en-ca en-gb en-ie en-nz eo es et eu fa fi fo fr-ca fr-ch fr fy gd gl he hi hr hu hy-am id is it ja jv ka kk km ko lb lo lt lv me mk ml mr ms-my ms my nb ne nl nn pl pt-br pt ro ru se si sk sl sq sr-cyrl sr sv sw ta te th tl-ph tlh tr tzl tzm-latn tzm uk uz vi zh-cn zh-tw";function h(e){return-1!==l.split(" ").indexOf(e)}return"en"!==a?(r=h(r=a.replace("_","-").toLowerCase())?r:r.split("-")[0],"en"!==(r=h(r)?r:"en")?require(["moment-url/"+r],function(){o=!0;for(var e=0;e<u.length;e++){u[e].init()}u=[]}):o=!0):o=!0,e.extend({name:"moment",trigger:".pat-moment",parser:"mockup",moment_i18n_map:{no:"nb"},defaults:{selector:null,format:"LLL",setTitle:!1},convert:function(e){var t=this,n=e.attr("data-date");n||(n=s.trim(e.html()))&&"None"!==n&&e.attr("data-date",n),n&&"None"!==n&&(a in t.moment_i18n_map&&(a=t.moment_i18n_map[a]),i.locale([a,"en"]),(n=i(n)).isValid()&&(t.options.setTitle&&e.attr("title",n.format("LLLL")),(n="relative"===t.options.format?n.fromNow():"calendar"===t.options.format?n.calendar():n.format(t.options.format))&&e.html(n)))},init:function(){var e=this;o?e.options.selector?e.$el.find(e.options.selector).each(function(){e.convert(s(this))}):e.convert(e.$el):u.push(e)}})}),require(["mockup-patterns-moment"],function(){}),define("/home/vincentfretin/workspace/buildout.coredev-5.2/src/plone.staticresources/src/plone/staticresources/static/plone-moment.js",function(){});
3644//# sourceMappingURL=plone-moment-compiled.min.js.map
3645define("mockup-patterns-autotoc",["jquery","pat-base"],function(a,t){"use strict";return t.extend({name:"autotoc",trigger:".pat-autotoc",parser:"mockup",defaults:{section:"section",levels:"h1,h2,h3",IDPrefix:"autotoc-item-",classTOCName:"autotoc-nav",classSectionName:"autotoc-section",classLevelPrefixName:"autotoc-level-",classActiveName:"active",scrollDuration:"slow",scrollEasing:"swing"},init:function(){var o=this;o.$toc=a("<nav/>").addClass(o.options.classTOCName),o.options.prependTo?o.$toc.prependTo(o.options.prependTo):o.options.appendTo?o.$toc.appendTo(o.options.appendTo):o.$toc.prependTo(o.$el),o.options.className&&o.$el.addClass(o.options.className),a(o.options.section,o.$el).addClass(o.options.classSectionName);var r=o.$el.hasClass("autotabs"),n=null;a(o.options.levels,o.$el).each(function(t){var i=a(this),e=i.prop("id")?i.prop("id"):i.parents(o.options.section).prop("id");(!e||0<a("#"+e).length)&&(e=o.options.IDPrefix+o.name+"-"+t),window.location.hash==="#"+e&&(n=e),null===n&&i.hasClass(o.options.classActiveName)&&(n=e),i.data("navref",e),a("<a/>").appendTo(o.$toc).text(i.text()).attr("id",e).attr("href","#"+e).addClass(o.options.classLevelPrefixName+o.getLevel(i)).on("click",function(t,e){t.stopPropagation(),t.preventDefault(),e=e||{doScroll:!0,skipHash:!1};var n=a(this);o.$toc.children("."+o.options.classActiveName).removeClass(o.options.classActiveName),o.$el.children("."+o.options.classActiveName).removeClass(o.options.classActiveName),a(t.target).addClass(o.options.classActiveName),i.parents(o.options.section).addClass(o.options.classActiveName),!1!==e.doScroll&&o.options.scrollDuration&&i&&!r&&a("body,html").animate({scrollTop:i.offset().top},o.options.scrollDuration,o.options.scrollEasing),0!==o.$el.parents(".plone-modal").size()&&o.$el.trigger("resize.plone-modal.patterns"),a(this).trigger("clicked"),e.skipHash||window.history&&window.history.pushState&&window.history.pushState({},"","#"+n.attr("id"))}),i.data("autotoc-trigger-id",e)}),n?a("a#"+n).trigger("click",{doScroll:!0,skipHash:!0}):o.$toc.find("a").first().trigger("click",{doScroll:!1,skipHash:!0})},getLevel:function(n){var i=0;return a.each(this.options.levels.split(","),function(t,e){if(1===n.filter(e).size())return i=t+1,!1}),i}})}),define("mockup-utils",["jquery"],function(c){"use strict";function t(t){var n=this;return n.className="plone-loader",t=t||{},n.options=c.extend({},{backdrop:null,zIndex:10005},t),n.init=function(){n.$el=c("."+n.className),0===n.$el.length&&(n.$el=c("<div><div></div></div>"),n.$el.addClass(n.className).hide().appendTo("body"))},n.show=function(t){n.init(),n.$el.show();var e=n.options.zIndex;"function"==typeof e?e=Math.max(e(),10005):(e=10005,c(".plone-modal-wrapper,.plone-modal-backdrop").each(function(){e=Math.max(e,c(this).css("zIndex")||
364510005)}),e+=1),n.$el.css("zIndex",e),void 0===t&&(t=!0),n.options.backdrop&&(n.options.backdrop.closeOnClick=t,n.options.backdrop.closeOnEsc=t,n.options.backdrop.init(),n.options.backdrop.show())},n.hide=function(){n.init(),n.$el.hide()},n}function i(t){return void 0===t&&(t="id"),t+Math.floor(65536*(1+Math.random())).toString(16).substring(1)}var e={get:function(t){if(window.localStorage){var e=window.localStorage[t];return"string"==typeof e?JSON.parse(e):void 0}},set:function(t,e){window.localStorage&&(window.localStorage[t]=JSON.stringify(e))}};return{bool:function(t){return"string"==typeof t&&(t=c.trim(t).toLowerCase()),-1===["false",!1,"0",0,"",void 0,null].indexOf(t)},escapeHTML:function(t){return c("<div/>").text(t).html()},removeHTML:function(t){return t.replace(/<[^>]+>/gi,"")},featureSupport:{dragAndDrop:function(){return"draggable"in document.createElement("span")},fileApi:function(){return"undefined"!=typeof FileReader},history:function(){return!(!window.history||!window.history.pushState)}},generateId:i,getAuthenticator:function(){var t=c('input[name="_authenticator"]');return 0===t.length?0<(t=c('a[href*="_authenticator"]')).length?t.attr("href").split("_authenticator=")[1]:"":t.val()},getWindow:function(){var t=window;return t.parent!==window&&(t=t.parent),t},Loading:t,loading:new t,parseBodyTag:function(t){return c(/<body[^>]*>[^]*<\/body>/im.exec(t)[0].replace("<body","<div").replace("</body>","</div>")).eq(0).html()},QueryHelper:function(t){var l=this;return l.options=c.extend({},{pattern:null,vocabularyUrl:null,searchParam:"SearchableText",pathOperator:"plone.app.querystring.operation.string.path",attributes:["UID","Title","Description","getURL","portal_type"],batchSize:10,baseCriteria:[],sort_on:"is_folderish",sort_order:"reverse",pathDepth:1},t),l.pattern=l.options.pattern,void 0!==l.pattern&&null!==l.pattern||(l.pattern={browsing:!1,basePath:"/"}),l.options.url&&!l.options.vocabularyUrl?l.options.vocabularyUrl=l.options.url:l.pattern.vocabularyUrl&&(l.options.vocabularyUrl=l.pattern.vocabularyUrl),l.valid=Boolean(l.options.vocabularyUrl),l.getBatch=function(t){return{page:t||1,size:l.options.batchSize}},l.getCurrentPath=function(){var t=l.pattern,e=l.currentPath?l.currentPath:t.currentPath;"function"==typeof e&&(e=e());var n=e;return n=n||(t.basePath?t.basePath:t.options.basePath?t.options.basePath:"/")},l.getCriterias=function(t,e){void 0===e&&(e={});var n=[];return(e=c.extend({},{useBaseCriteria:!0,additionalCriterias:[]},e)).useBaseCriteria&&(n=l.options.baseCriteria.slice(0)),t&&(t+="*",n.push({i:l.options.searchParam,o:"plone.app.querystring.operation.string.contains",v:t})),e.searchPath?n.push({i:"path",o:l.options.pathOperator,v:e.searchPath+"::"+l.options.pathDepth}):l.pattern.browsing&&n.push({i:"path",o:l.options.pathOperator,v:l.getCurrentPath()+"::"+l.options.pathDepth}),n=n.concat(e.additionalCriterias)},l.getQueryData=function(t,e){var n={query:JSON.stringify({criteria:l.getCriterias(t),sort_on:l.options.sort_on,sort_order:l.options.sort_order}),attributes:JSON.stringify(l.options.attributes)};return e&&(n.batch=JSON.stringify(l.getBatch(e))),n},l.getUrl=function(){var t=l.options.vocabularyUrl;return-1===t.indexOf("?")?t+="?":t+="&",t+c.param(l.getQueryData())},l.selectAjax=function(){return{url:l.options.vocabularyUrl,dataType:"JSON",quietMillis:100,data:function(t,e){return l.getQueryData(t,e)},results:function(t,e){var n=10*e<t.total;return{results:t.results,more:n}}}},l.search=function(t,e,n,i,o,r){void 0===o&&(o=!0),void 0===r&&(r="GET");var a=[];o&&(a=l.options.baseCriteria.slice(0)),a.push({i:t,o:e,v:n});var s={query:JSON.stringify({criteria:a}),attributes:JSON.stringify(l.options.attributes)};c.ajax({url:l.options.vocabularyUrl,dataType:"JSON",data:s,type:r,success:i})},l},setId:function(t,e){void 0===e&&(e="id");var n=void 0===(n=t.attr("id"))?i(e):n.replace(/\./g,"-");return t.attr("id",n),n},storage:e,createElementFromHTML:function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild}}}),define("mockup-patterns-contentloader",["jquery","pat-base","pat-logger","pat-registry","mockup-utils","underscore"],function(i,t,e,o,r,a){"use strict";var s=e.getLogger("pat-contentloader");return t.extend({name:"contentloader",trigger:".pat-contentloader",parser:"mockup",defaults:{url:null,content:null,trigger:"click",target:null,template:null,dataType:"html"},init:function(){var e=this;"el"===e.options.url&&"A"===e.$el[0].tagName&&(e.options.url=e.$el.attr("href")),e.$el.removeClass("loading-content"),e.$el.removeClass("content-load-error"),"immediate"===e.options.trigger?e._load():e.$el.on(e.options.trigger,function(t){t.preventDefault(),e._load()})},_load:function(){this.$el.addClass("loading-content"),this.options.url?this.loadRemote():this.loadLocal()},loadRemote:function(){var n=this;i.ajax({url:n.options.url,dataType:n.options.dataType,success:function(t){var e;if("html"===n.options.dataType)-1!==t.indexOf("<html")&&(t=r.parseBodyTag(t)),e=i("<div>"+t+"</div>");else if(-1!==n.options.dataType.indexOf("json")){t.constructor===Array&&1===t.length&&(t=t[0]);try{e=i(a.template(n.options.template)(t))}catch(t){return n.$el.removeClass("loading-content"),n.$el.addClass("content-load-error"),void s.warn("error rendering template. pat-contentloader will not work")}}null!==n.options.content&&(e=e.find(n.options.content)),n.loadLocal(e)},error:function(){n.$el.removeClass("loading-content"),n.$el.addClass("content-load-error")}})},loadLocal:function(t){var e=this;if(!t&&null===e.options.content)return e.$el.removeClass("loading-content"),e.$el.addClass("content-load-error"),void s.warn("No selector configured");var n=e.$el;if(null!==e.options.target&&0===(n=i(e.options.target)).size())return e.$el.removeClass("loading-content"),e.$el.addClass("content-load-error"),void s.warn("No target nodes found");(t=t||i(e.options.content).clone()).length?(t.show(),n.replaceWith(t),o.scan(t)):n.empty(),e.$el.removeClass("loading-content"),e.emit("loading-done")}})}),define("mockup-patterns-cookietrigger",["pat-base"],function(t){"use strict";return t.extend({name:"cookietrigger",trigger:".pat-cookietrigger",parser:"mockup",isCookiesEnabled:function(){var t="areYourCookiesEnabled=0";document.cookie=t;var e=document.cookie;return-1===e.indexOf(t)?0:(t="areYourCookiesEnabled=1",document.cookie=t,-1===(e=document.cookie).indexOf(t)?0:(document.cookie="areYourCookiesEnabled=; expires=Thu, 01-Jan-70 00:00:01 GMT",1))},showIfCookiesDisabled:function(){this.isCookiesEnabled()?this.$el.hide():this.$el.show()},init:function(){this.showIfCookiesDisabled()}})}),define("mockup-patterns-formautofocus",["jquery","pat-base"],function(e,t,n){"use strict";return t.extend({name:"formautofocus",trigger:".pat-formautofocus",parser:"mockup",defaults:{condition:"div.error",target:"div.error :input:not(.formTabs):visible:first",always:":input:not(.formTabs):visible:first"},init:function(){var t=this;0!==e(t.options.condition,t.$el).size()?e(t.options.target,t.$el).focus():e(t.options.always,t.$el).focus()}})}),define("mockup-i18n",["jquery"],function(o){"use strict";return function(){var s=this;s.baseUrl=o("body").attr("data-i18ncatalogurl"),s.currentLanguage=o("html").attr("lang")||"en",1<s.currentLanguage.split("-").length&&(s.currentLanguage=s.currentLanguage.split("-")[0]+"_"+s.currentLanguage.split("-")[1].toUpperCase()),s.storage=null,s.catalogs={},s.ttl=864e5,Date.now||(Date.now=function(){return(new Date).valueOf()});try{"localStorage"in window&&null!==window.localStorage&&"JSON"in window&&null!==window.JSON&&(s.storage=window.localStorage)}catch(t){}s.configure=function(t){for(var e in t)s[e]=t[e]},s._setCatalog=function(t,e,n){t in s.catalogs||(s.catalogs[t]={}),s.catalogs[t][e]=n},s._storeCatalog=function(t,e,n){var i=t+"-"+e;null!==s.storage&&null!==n&&(s.storage.setItem(i,JSON.stringify(n)),s.storage.setItem(i+"-updated",Date.now()))},s.getUrl=function(t,e){return s.baseUrl+"?domain="+t+"&language="+e},s.loadCatalog=function(e,n){if(void 0===n&&(n=s.currentLanguage),null!==s.storage){var t=e+"-"+n;if(t in s.storage&&Date.now()-parseInt(s.storage.getItem(t+"-updated"),10)<s.ttl){var i=JSON.parse(s.storage.getItem(t));return void s._setCatalog(e,n,i)}}s.baseUrl&&o.getJSON(s.getUrl(e,n),function(t){null!==t&&(s._setCatalog(e,n,t),s._storeCatalog(e,n,t))})},s.MessageFactory=function(r,a){return a=a||s.currentLanguage,function(t,e){var n,i,o=r in s.catalogs&&a in s.catalogs[r]&&t in s.catalogs[r][a]?s.catalogs[r][a][t]:t;if(e)for(i in e)e.hasOwnProperty(i)&&(n=new RegExp("\\$\\{"+i+"\\}","g"),o=o.replace(n,e[i]));return o}}}}),define("translate",["mockup-i18n"],function(i){"use strict";var o=null;return function(t,e){var n;return null===o&&((n=new i).loadCatalog("widgets"),o=n.MessageFactory("widgets")),o(t,e)}}),define("mockup-patterns-formunloadalert",["jquery","pat-base","translate"],function(o,t,e){"use strict";return t.extend({name:"formunloadalert",trigger:".pat-formunloadalert",parser:"mockup",_changed:!1,_suppressed:!1,defaults:{message:e("Discard changes? If you click OK, any changes you have made will be lost."),changingEvents:"change keyup paste",changingFields:"input,select,textarea,fileupload"},init:function(){var n,i=this;i.$el.is("form")&&(o(i.options.changingFields,i.$el).on(i.options.changingEvents,function(t){i._changed=!0}),0!==(n=i.$el.parents(".plone-modal")).size()?n.data("patternPloneModal").on("hide",function(t){var e=n.data("patternPloneModal");e&&(e._suppressHide=i._handleUnload.call(i,t))}):o(window).on("beforeunload",function(t){return i._handleUnload(t)}),i.$el.on("submit",function(t){i._suppressed=!0}))},_handleUnload:function(t){var e=this;if(e._suppressed)e._suppressed=!1;else if(e._changed){var n=e.options.message;return e._handleMsg(t,n),o(window).trigger("messageset"),n}},_handleMsg:function(t,e){(t||window.event).returnValue=e}})}),define("mockup-patterns-livesearch",["jquery","pat-base","underscore","translate"],function(a,t,s,l){"use strict";return t.extend({name:"livesearch",trigger:".pat-livesearch",parser:"mockup",timeout:null,active:!1,results:null,
3645selectedItem:-1,resultsClass:"livesearch-results",defaults:{ajaxUrl:null,defaultSortOn:"",perPage:7,quietMillis:350,minimumInputLength:4,inputSelector:'input[type="text"]',itemTemplate:'<li class="search-result <%- state %>"><h4 class="title"><a href="<%- url %>"><%- title %></a></h4><p class="description"><%- description %></p></li>'},doSearch:function(e){var o=this;o.active=!0,o.render(),o.$el.addClass("searching");var n=o.$el.serialize();void 0===e&&(e=1);var t=function(){var t=location.search,e=t.indexOf("sort_on");if(-1===e){var n=a("#search-results");return 0<n.length?n.attr("data-default-sort"):o.options.defaultSortOn}var i=t.substring(e);return i=(i=i.split("&")[0]).split("=")[1]}();a.ajax({url:o.options.ajaxUrl+"?"+n+"&page="+e+"&perPage="+o.options.perPage+"&sort_on="+t,dataType:"json"}).done(function(t){o.results=t,o.page=e,n!==o.$el.serialize()&&o.doSearch()}).fail(function(){o.results={items:[{url:"",title:l("Error"),description:l("There was an error searching…"),state:"error",error:!1}],total:1},o.page=1}).always(function(){o.active=!1,o.selectedItem=-1,o.$el.removeClass("searching"),o.render()})},render:function(){var i,t,e,n,o,r=this;r.$results.empty(),r.active?r.$results.append(a('<li class="searching">'+l("searching…")+"</li>")):null===r.results?r.$results.append(a('<li class="no-results no-search">'+l("enter search phrase")+"</li>")):0===r.results.total?r.$results.append(a('<li class="no-results">'+l("no results found")+"</li>")):r.$results.append(a('<li class="results-summary">'+l("found")+" "+r.results.total+" "+l("results")+"</li>")),null!==r.results&&(i=s.template(r.options.itemTemplate),s.each(r.results.items,function(t,e){var n=a(i(a.extend({_t:l},t)));n.attr("data-url",t.url).on("click",function(){t.error||(window.location=t.url)}),e===r.selectedItem&&n.addClass("selected"),r.$results.append(n)}),t=[],1<r.page&&((e=a('<a href="#" class="prev">'+l("Previous")+"</a>")).click(function(t){r.disableHiding=!0,t.preventDefault(),r.doSearch(r.page-1)}),t.push(e)),r.page*r.options.perPage<r.results.total&&((n=a('<a href="#" class="next">'+l("Next")+"</a>")).click(function(t){r.disableHiding=!0,t.preventDefault(),r.doSearch(r.page+1)}),t.push(n)),0<t.length&&((o=a('<li class="load-more"><div class="page">'+r.page+"</div></li>")).prepend(t),r.$results.append(o))),r.position()},position:function(){var t=this;t.$el.addClass("livesearch-active");var e=t.$input.position();t.$results.width(t.$el.outerWidth()),t.$results.css({top:e.top+t.$input.outerHeight(),left:e.left}),t.$results.show()},hide:function(){this.$results.hide(),this.$el.removeClass("livesearch-active")},init:function(){var n=this;n.$input=n.$el.find(n.options.inputSelector),n.$input.off("focusout").on("focusout",function(){setTimeout(function(){n.disableHiding?(n.disableHiding=!1,n.$input.focus()):n.hide()},200)}).off("focusin").on("focusin",function(){n.onceFocused?n.$results.is(":visible")||n.render():(n.onceFocused=!0,n.$input.val().length>=n.options.minimumInputLength&&n.doSearch())}).attr("autocomplete","off").off("keyup").on("keyup",function(t){var e=t.keyCode||t.which;if(27===e)return n.$input.val(""),void n.hide();if(n.results&&n.results.items&&0<n.results.items.length){if(13===e)return void(-1!==n.selectedItem&&(window.location=n.results.items[n.selectedItem].url));if(38===e)return void(-1!==n.selectedItem&&(--n.selectedItem,n.render()));if(40===e)return void(n.selectedItem<n.results.items.length&&(n.selectedItem+=1,n.render()))}null!==n.timeout&&(clearTimeout(n.timeout),n.timeout=null),n.active||(n.$input.val().length>=n.options.minimumInputLength?n.timeout=setTimeout(function(){n.doSearch()},n.options.quietMillis):(n.results=null,n.render()))}),a("#sorting-options a").click(function(t){t.preventDefault(),n.onceFocused=!1}),n.$results=a('<ul class="'+n.resultsClass+'"></ul>').hide().insertAfter(n.$input)}})}),define("mockup-patterns-markspeciallinks",["pat-base","jquery"],function(t,l){"use strict";return t.extend({name:"markspeciallinks",trigger:".pat-markspeciallinks",parser:"mockup",defaults:{external_links_open_new_window:!1,mark_special_links:!0},init:function(){var t,e,n,i,o,r,a=this,s=a.$el;"string"==typeof a.options.external_links_open_new_window?t="true"===a.options.external_links_open_new_window.toLowerCase():"boolean"==typeof a.options.external_links_open_new_window&&(t=a.options.external_links_open_new_window),"string"==typeof a.options.mark_special_links?e="true"===a.options.mark_special_links.toLowerCase():"boolean"==typeof a.options.mark_special_links&&(e=a.options.mark_special_links),n=window.location.protocol+"//"+window.location.host,i=/^(mailto|ftp|news|irc|h323|sip|callto|https|feed|webcal)/,o=s,t&&o.find('a[href^="http"]:not(.link-plain):not([href^="'+n+'"])').attr("target","_blank").attr("rel","noopener"),e&&(o.find('a[href^="http:"]:not(.link-plain):not([href^="'+n+'"]):not(:has(img))').before('<i class="glyphicon link-external"></i>'),o.find('a[href]:not([href^="http:"]):not(.link-plain):not([href^="'+n+'"]):not(:has(img)):not([href^="#"])').each(function(){var t;(r=i.exec(l(this).attr("href")))&&(t="glyphicon link-"+r[0],l(this).before('<i class="'+t+'"></i>'))}))}})}),define("mockup-patterns-backdrop",["jquery","pat-base"],function(t,e){"use strict";return e.extend({name:"backdrop",trigger:".pat-backdrop",parser:"mockup",defaults:{zIndex:null,opacity:.8,className:"plone-backdrop",classActiveName:"plone-backdrop-active",closeOnEsc:!0,closeOnClick:!0},init:function(){var n=this;n.$backdrop=t("> ."+n.options.className,n.$el),0===n.$backdrop.size()&&(n.$backdrop=t("<div/>").hide().appendTo(n.$el).addClass(n.options.className),null!==n.options.zIndex&&n.$backdrop.css("z-index",n.options.zIndex)),!0===n.options.closeOnEsc&&t(document).on("keydown",function(t,e){n.$el.is("."+n.options.classActiveName)&&27===t.keyCode&&n.hide()}),!0===n.options.closeOnClick&&n.$backdrop.on("click",function(){n.$el.is("."+n.options.classActiveName)&&n.hide()})},show:function(){var t=this;
3645t.$el.hasClass(t.options.classActiveName)||(t.emit("show"),t.$backdrop.css("opacity","0").show(),t.$el.addClass(t.options.classActiveName),t.$backdrop.animate({opacity:t.options.opacity},500),t.emit("shown"))},hide:function(){var t=this;t.$el.hasClass(t.options.classActiveName)&&(t.emit("hide"),t.$backdrop.animate({opacity:"0"},500).hide(),t.$el.removeClass(t.options.classActiveName),t.emit("hidden"))}})}),function(i,o){var t;"function"==typeof define&&define.amd?define("backbone",["underscore","jquery","exports"],function(t,e,n){i.Backbone=o(i,n,t,e)}):"undefined"!=typeof exports?(t=require("underscore"),o(i,exports,t)):i.Backbone=o(i,{},i._,i.jQuery||i.Zepto||i.ender||i.$)}(this,function(t,s,k,e){var n=t.Backbone,i=[],o=i.slice;s.VERSION="1.1.2",s.$=e,s.noConflict=function(){return t.Backbone=n,this},s.emulateHTTP=!1,s.emulateJSON=!1;var r=s.Events={on:function(t,e,n){return p(this,"on",t,[e,n])&&e&&(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:n,ctx:n||this})),this},once:function(t,e,n){if(!p(this,"once",t,[e,n])||!e)return this;var i=this,o=k.once(function(){i.off(t,o),e.apply(this,arguments)});return o._callback=e,this.on(t,o,n)},off:function(t,e,n){var i,o,r,a,s,l,c,u;if(!this._events||!p(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(s=0,l=(a=t?[t]:k.keys(this._events)).length;s<l;s++)if(t=a[s],r=this._events[t]){if(this._events[t]=i=[],e||n)for(c=0,u=r.length;c<u;c++)o=r[c],(e&&e!==o.callback&&e!==o.callback._callback||n&&n!==o.context)&&i.push(o);i.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!p(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&a(n,e),i&&a(i,arguments),this},stopListening:function(t,e,n){var i=this._listeningTo;if(!i)return this;var o=!e&&!n;for(var r in n||"object"!=typeof e||(n=this),t&&((i={})[t._listenId]=t),i)(t=i[r]).off(e,n,this),(o||k.isEmpty(t._events))&&delete this._listeningTo[r];return this}},l=/\s+/,p=function(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var o in n)t[e].apply(t,[o,n[o]].concat(i));return!1}if(l.test(n)){for(var r=n.split(l),a=0,s=r.length;a<s;a++)t[e].apply(t,[r[a]].concat(i));return!1}return!0},a=function(t,e){var n,i=-1,o=t.length,r=e[0],a=e[1],s=e[2];switch(e.length){case 0:for(;++i<o;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r);return;case 2:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r,a);return;case 3:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r,a,s);return;default:for(;++i<o;)(n=t[i]).callback.apply(n.ctx,e);return}};k.each({listenTo:"on",listenToOnce:"once"},function(o,t){r[t]=function(t,e,n){var i=this._listeningTo||(this._listeningTo={});return n||"object"!=typeof e||(n=this),(i[t._listenId||(t._listenId=k.uniqueId("l"))]=t)[o](e,n,this),this}}),r.bind=r.on,r.unbind=r.off,k.extend(s,r);var $=s.Model=function(t,e){var n=t||{};e=e||{},this.cid=k.uniqueId("c"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{}),n=k.defaults({},n,k.result(this,"defaults")),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};k.extend($.prototype,r,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return k.clone(this.attributes)},sync:function(){return s.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return k.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,n){var i,o,r,a,s,l,c,u;if(null==t)return this;if("object"==typeof t?(o=t,n=e):(o={})[t]=e,n=n||{},!this._validate(o,n))return!1;for(i in r=n.unset,s=n.silent,a=[],l=this._changing,this._changing=!0,l||(this._previousAttributes=k.clone(this.attributes),this.changed={}),u=this.attributes,c=this._previousAttributes,this.idAttribute in o&&(this.id=o[this.idAttribute]),o)e=o[i],k.isEqual(u[i],e)||a.push(i),k.isEqual(c[i],e)?delete this.changed[i]:this.changed[i]=e,r?delete u[i]:u[i]=e;if(!s){a.length&&(this._pending=n);for(var p=0,d=a.length;p<d;p++)this.trigger("change:"+a[p],this,u[a[p]],n)}if(l)return this;if(!s)for(;this._pending;
3645)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,k.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,k.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!k.isEmpty(this.changed):k.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&k.clone(this.changed);var e,n=!1,i=this._changing?this._previousAttributes:this.attributes;for(var o in t)k.isEqual(i[o],e=t[o])||((n=n||{})[o]=e);return n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return k.clone(this._previousAttributes)},fetch:function(e){void 0===(e=e?k.clone(e):{}).parse&&(e.parse=!0);var n=this,i=e.success;return e.success=function(t){if(!n.set(n.parse(t,e),e))return!1;i&&i(n,t,e),n.trigger("sync",n,t,e)},j(this,e),this.sync("read",this,e)},save:function(t,e,n){var i,o,r,a=this.attributes;if(null==t||"object"==typeof t?(i=t,n=e):(i={})[t]=e,n=k.extend({validate:!0},n),i&&!n.wait){if(!this.set(i,n))return!1}else if(!this._validate(i,n))return!1;i&&n.wait&&(this.attributes=k.extend({},a,i)),void 0===n.parse&&(n.parse=!0);var s=this,l=n.success;return n.success=function(t){s.attributes=a;var e=s.parse(t,n);if(n.wait&&(e=k.extend(i||{},e)),k.isObject(e)&&!s.set(e,n))return!1;l&&l(s,t,n),s.trigger("sync",s,t,n)},j(this,n),"patch"==(o=this.isNew()?"create":n.patch?"patch":"update")&&(n.attrs=i),r=this.sync(o,this,n),i&&n.wait&&(this.attributes=a),r},destroy:function(e){e=e?k.clone(e):{};function n(){i.trigger("destroy",i,i.collection,e)}var i=this,o=e.success;if(e.success=function(t){(e.wait||i.isNew())&&n(),o&&o(i,t,e),i.isNew()||i.trigger("sync",i,t,e)},this.isNew())return e.success(),!1;j(this,e);var t=this.sync("delete",this,e);return e.wait||n(),t},url:function(){var t=k.result(this,"urlRoot")||k.result(this.collection,"url")||A();return this.isNew()?t:t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},k.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=k.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger("invalid",this,n,k.extend(e,{validationError:n})),!1)}});k.each(["keys","values","pairs","invert","pick","omit"],function(e){$.prototype[e]=function(){var t=o.call(arguments);return t.unshift(this.attributes),k[e].apply(k,t)}});var c=s.Collection=function(t,e){(e=e||{}).model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,k.extend({silent:!0},e))},T={add:!0,remove:!0,merge:!0},u={add:!0,remove:!1};k.extend(c.prototype,r,{model:$,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return s.sync.apply(this,arguments)},add:function(t,e){return this.set(t,k.extend({merge:!1},e,u))},remove:function(t,e){var n,i,o,r,a=!k.isArray(t);for(e=e||{},n=0,i=(t=a?[t]:k.clone(t)).length;n<i;n++)(r=t[n]=this.get(t[n]))&&(delete this._byId[r.id],delete this._byId[r.cid],o=this.indexOf(r),this.models.splice(o,1),this.length--,e.silent||(e.index=o,r.trigger("remove",r,this,e)),this._removeReference(r,e));return a?t[0]:t},set:function(t,e){(e=k.defaults({},e,T)).parse&&(t=this.parse(t,e));var n,i,o,r,a,s=!k.isArray(t);t=s?t?[t]:[]:k.clone(t);var l=e.at,c=this.model,u=this.comparator&&null==l&&!1!==e.sort,p=k.isString(this.comparator)?this.comparator:null,d=[],h=[],f={},m=e.add,g=e.merge,v=e.remove,y=!(u||!m||!v)&&[];for(w=0,x=t.length;w<x;w++){if(n=(o=t[w]||{})instanceof $?i=o:o[c.prototype.idAttribute||"id"],r=this.get(n))v&&(f[r.cid]=!0),g&&(o=o===i?i.attributes:o,e.parse&&(o=r.parse(o,e)),r.set(o,e),u&&!a&&r.hasChanged(p)&&(a=!0)),t[w]=r;else if(m){if(!(i=t[w]=this._prepareModel(o,e)))continue;d.push(i),this._addReference(i,e)}i=r||i,!y||!i.isNew()&&f[i.id]||y.push(i),f[i.id]=!0}if(v){for(w=0,x=this.length;w<x;++w)f[(i=this.models[w]).cid]||h.push(i);h.length&&this.remove(h,e)}if(d.length||y&&y.length)if(u&&(a=!0),this.length+=d.length,null!=l)for(w=0,x=d.length;w<x;w++)this.models.splice(l+w,0,d[w]);else{y&&(this.models.length=0);for(var b=y||d,w=0,x=b.length;w<x;w++)this.models.push(b[w])}if(a&&this.sort({silent:!0}),!e.silent){for(w=0,x=d.length;w<x;w++)(i=d[w]).trigger("add",i,this,e);(a||y&&y.length)&&this.trigger("sort",this,e)}return s?t[0]:t},reset:function(t,e){e=e||{};for(var n=0,i=this.models.length;n<i;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,k.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,k.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return this.add(t,k.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(n,t){return k.isEmpty(n)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var e in n)if(n[e]!==t.get(e))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t=t||{},k.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(k.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return k.invoke(this.models,"get",t)},fetch:function(n){void 0===(n=n?k.clone(n):{}).parse&&(n.parse=!0);var i=n.success,o=this;return n.success=function(t){var e=n.reset?"reset":"set";o[e](t,n),i&&i(o,t,n),o.trigger("sync",o,t,n)},j(this,n),this.sync("read",this,n)},create:function(t,n){if(n=n?k.clone(n):{},!(t=this._prepareModel(t,n)))return!1;n.wait||this.add(t,n);var i=this,o=n.success;return n.success=function(t,e){n.wait&&i.add(t,n),o&&o(t,e,n)},t.save(null,n),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof $)return t;var n=new(((e=e?k.clone(e):{}).collection=this).model)(t,e);return n.validationError?(this.trigger("invalid",this,n.validationError,e),!1):n},_addReference:function(t,e){null!=(this._byId[t.cid]=t).id&&(this._byId[t.id]=t),t.collection||(t.collection=this),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){("add"!==t&&"remove"!==t||n===this)&&("destroy"===t&&this.remove(e,i),e&&t==="change:"+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&
3645(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}});k.each(["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"],function(e){c.prototype[e]=function(){var t=o.call(arguments);return t.unshift(this.models),k[e].apply(k,t)}});k.each(["groupBy","countBy","sortBy","indexBy"],function(i){c.prototype[i]=function(e,t){var n=k.isFunction(e)?e:function(t){return t.get(e)};return k[i](this.models,n,t)}});var d=s.View=function(t){this.cid=k.uniqueId("view"),t=t||{},k.extend(this,k.pick(t,f)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},h=/^(\S+)\s*(.*)$/,f=["model","collection","el","id","attributes","className","tagName","events"];k.extend(d.prototype,r,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,e){return this.$el&&this.undelegateEvents(),this.$el=t instanceof s.$?t:s.$(t),this.el=this.$el[0],!1!==e&&this.delegateEvents(),this},delegateEvents:function(t){if(!(t=t||k.result(this,"events")))return this;for(var e in this.undelegateEvents(),t){var n,i,o,r=t[e];k.isFunction(r)||(r=this[t[e]]),r&&(i=(n=e.match(h))[1],o=n[2],r=k.bind(r,this),i+=".delegateEvents"+this.cid,""===o?this.$el.on(i,r):this.$el.on(i,o,r))}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){var t,e;this.el?this.setElement(k.result(this,"el"),!1):(t=k.extend({},k.result(this,"attributes")),this.id&&(t.id=k.result(this,"id")),this.className&&(t.class=k.result(this,"className")),e=s.$("<"+k.result(this,"tagName")+">").attr(t),this.setElement(e,!1))}}),s.sync=function(t,e,n){var i=g[t];k.defaults(n=n||{},{emulateHTTP:s.emulateHTTP,emulateJSON:s.emulateJSON});var o,r={type:i,dataType:"json"};n.url||(r.url=k.result(e,"url")||A()),null!=n.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),!n.emulateHTTP||"PUT"!==i&&"DELETE"!==i&&"PATCH"!==i||(r.type="POST",n.emulateJSON&&(r.data._method=i),o=n.beforeSend,n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",i),o)return o.apply(this,arguments)}),"GET"===r.type||n.emulateJSON||(r.processData=!1),"PATCH"===r.type&&m&&(r.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=n.xhr=s.ajax(k.extend(r,n));return e.trigger("request",e,a,n),a};var m=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),g={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};s.ajax=function(){return s.$.ajax.apply(s.$,arguments)};var v=s.Router=function(t){(t=t||{}).routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},y=/\((.*?)\)/g,b=/(\(\?)?:\w+/g,w=/\*\w+/g,x=/[\-{}\[\]+?.,\\\^$|#\s]/g;k.extend(v.prototype,r,{initialize:function(){},route:function(n,i,o){k.isRegExp(n)||(n=this._routeToRegExp(n)),k.isFunction(i)&&(o=i,i=""),o=o||this[i];var r=this;return s.history.route(n,function(t){var e=r._extractParameters(n,t);r.execute(o,e),r.trigger.apply(r,["route:"+i].concat(e)),r.trigger("route",i,e),s.history.trigger("route",r,i,e)}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,e){return s.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=k.result(this,"routes");for(var t,e=k.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(x,"\\$&").replace(y,"(?:$1)?").replace(b,function(t,e){return e?t:"([^/?]+)"}).replace(w,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return k.map(n,function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}});var _=s.History=function(){this.handlers=[],k.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},C=/^[#\/]|\s+$/g,S=/^\/+|\/+$/g,N=/msie [\w.]+/,E=/\/$/,O=/#.*$/;
3645_.started=!1,k.extend(_.prototype,r,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){var n;return null==t&&(this._hasPushState||!this._wantsHashChange||e?(t=decodeURI(this.location.pathname+this.location.search),n=this.root.replace(E,""),t.indexOf(n)||(t=t.slice(n.length))):t=this.getHash()),t.replace(C,"")},start:function(t){if(_.started)throw new Error("Backbone.history has already been started");_.started=!0,this.options=k.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e,n=this.getFragment(),i=document.documentMode,o=N.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(S,"/"),o&&this._wantsHashChange&&(e=s.$('<iframe src="javascript:0" tabindex="-1">'),this.iframe=e.hide().appendTo("body")[0].contentWindow,this.navigate(n)),this._hasPushState?s.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!o?s.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=n;var r=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&r.hash&&(this.fragment=this.getHash().replace(C,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){s.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),_.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(e){return e=this.fragment=this.getFragment(e),k.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(t,e){if(!_.started)return!1;e&&!0!==e||(e={trigger:!!e});var n=this.root+(t=this.getFragment(t||""));if(t=t.replace(O,""),this.fragment!==t){if(""===(this.fragment=t)&&"/"!==n&&(n=n.slice(0,-1)),this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){var i;n?(i=t.href.replace(/(javascript:|#).*$/,""),t.replace(i+"#"+e)):t.hash="#"+e}}),s.history=new _;$.extend=c.extend=v.extend=d.extend=_.extend=function(t,e){var n=this,i=t&&k.has(t,"constructor")?t.constructor:function(){return n.apply(this,arguments)};k.extend(i,n,e);function o(){this.constructor=i}return o.prototype=n.prototype,i.prototype=new o,t&&k.extend(i.prototype,t),i.__super__=n.prototype,i};var A=function(){throw new Error('A "url" property or function must be specified')},j=function(e,n){var i=n.error;n.error=function(t){i&&i(e,t,n),e.trigger("error",e,t,n)}};return s}),define("mockup-router",["underscore","backbone"],function(s,t){"use strict";function l(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}return new(t.Router.extend({actions:[],redirects:{},addRoute:function(t,e,n,i,o,r){void 0===s.findWhere(this.patterns,{patternName:t,id:e})&&this.actions.push({patternName:t,id:e,callback:n,context:i,pathExp:o,expReplace:r});var a=new RegExp("("+l(t)+":"+l(e)+")");this.route(a,"handleRoute")},addRedirect:function(t,e){this.redirects[t]=e},handleRoute:function(t){var e=t.split(":"),n=e[0],i=e[1],o=s.findWhere(this.actions,{patternName:n,id:i});o&&o.callback.call(o.context)},redirect:function(){var n,i,o,r=window.parent.location.pathname;if(s.some(this.actions,function(t){if(t.pathExp&&(i=new RegExp(t.pathExp),r.match(i))){o="!/"+t.patternName+":"+t.id;var e="";return t.expReplace&&(e=t.expReplace),n=r.replace(i,e),!0}},this),void 0===o)for(var t in this.redirects)if(i=new RegExp(t),r.match(i)){o="!/"+this.redirects[t],n=r.replace(i,"");break}void 0!==o&&this._changeLocation.apply(this,[n,o])},_changeLocation:function(t,e){window.parent.location.hash=e,window.parent.location.pathname=t},start:function(){t.history.start()},reset:function(){this.actions=[]}}))}),function(n){"function"==typeof define&&define.amd?define("jquery.form",["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e),e}:n(jQuery)}(function(M){"use strict";var h=/\r?\n/g,$={};$.fileapi=void 0!==M('<input type="file">').get(0).files,$.formdata=void 0!==window.FormData;var P=!!M.fn.prop;function r(t){var e=t.data;t.isDefaultPrevented()||(t.preventDefault(),M(t.target).closest("form").ajaxSubmit(e))}function a(t){var e=t.target,n=M(e);if(!n.is("[type=submit],[type=image]")){var i=n.closest("[type=submit]");if(0===i.length)return;e=i[0]}var o,r=e.form;"image"===(r.clk=e).type&&(void 0!==t.offsetX?(r.clk_x=t.offsetX,r.clk_
vendor: 16,662 bytes, line 3645
3645y=t.offsetY):"function"==typeof M.fn.offset?(o=n.offset(),r.clk_x=t.pageX-o.left,r.clk_y=t.pageY-o.top):(r.clk_x=t.pageX-e.offsetLeft,r.clk_y=t.pageY-e.offsetTop)),setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function L(){var t;M.fn.ajaxSubmit.debug&&(t="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t))}M.fn.attr2=function(){if(!P)return this.attr.apply(this,arguments);var t=this.prop.apply(this,arguments);return t&&t.jquery||"string"==typeof t?t:this.attr.apply(this,arguments)},M.fn.ajaxSubmit=function(A,t,e,n){if(!this.length)return L("ajaxSubmit: skipping submit process - no element selected"),this;var j,i,o,D=this;"function"==typeof A?A={success:A}:"string"==typeof A||!1===A&&0<arguments.length?(A={url:A,data:t,dataType:e},"function"==typeof n&&(A.success=n)):void 0===A&&(A={}),j=A.method||A.type||this.attr2("method"),o=(o=(o="string"==typeof(i=A.url||this.attr2("action"))?M.trim(i):"")||window.location.href||"")&&(o.match(/^([^#]+)/)||[])[1],A=M.extend(!0,{url:o,success:M.ajaxSettings.success,type:j||M.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},A);var r={};if(this.trigger("form-pre-serialize",[this,A,r]),r.veto)return L("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(A.beforeSerialize&&!1===A.beforeSerialize(this,A))return L("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var a=A.traditional;void 0===a&&(a=M.ajaxSettings.traditional);var s,l,I=[],c=this.formToArray(A.semantic,I,A.filtering);if(A.data&&(l=M.isFunction(A.data)?A.data(c):A.data,A.extraData=l,s=M.param(l,a)),A.beforeSubmit&&!1===A.beforeSubmit(c,this,A))return L("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[c,this,A,r]),r.veto)return L("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var u=M.param(c,a);s&&(u=u?u+"&"+s:s),"GET"===A.type.toUpperCase()?(A.url+=(0<=A.url.indexOf("?")?"&":"?")+u,A.data=null):A.data=u;var p,d,h,f=[];A.resetForm&&f.push(function(){D.resetForm()}),A.clearForm&&f.push(function(){D.clearForm(A.includeHidden)}),!A.dataType&&A.target?(p=A.success||function(){},f.push(function(t,e,n){var i=arguments,o=A.replaceTarget?"replaceWith":"html";M(A.target)[o](t).each(function(){p.apply(this,i)})})):A.success&&(M.isArray(A.success)?M.merge(f,A.success):f.push(A.success)),A.success=function(t,e,n){for(var i=A.context||this,o=0,r=f.length;o<r;o++)f[o].apply(i,[t,e,n||D,D])},A.error&&(d=A.error,A.error=function(t,e,n){var i=A.context||this;d.apply(i,[t,e,n,D])}),A.complete&&(h=A.complete,A.complete=function(t,e){var n=A.context||this;h.apply(n,[t,e,D])});var m=0<M("input[type=file]:enabled",this).filter(function(){return""!==M(this).val()}).length,g="multipart/form-data",v=D.attr("enctype")===g||D.attr("encoding")===g,y=$.fileapi&&$.formdata;L("fileAPI :"+y);var b,w=(m||v)&&!y;!1!==A.iframe&&(A.iframe||w)?A.closeKeepAlive?M.get(A.closeKeepAlive,function(){b=k(c)}):b=k(c):b=(m||v)&&y?function(t){for(var n=new FormData,e=0;e<t.length;e++)n.append(t[e].name,t[e].value);if(A.extraData){var i=function(t){var e,n,i=M.param(t,A.traditional).split("&"),o=i.length,r=[];for(e=0;e<o;e++)i[e]=i[e].replace(/\+/g," "),n=i[e].split("="),r.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return r}(A.extraData);for(e=0;e<i.length;e++)i[e]&&n.append(i[e][0],i[e][1])}A.data=null;var o=M.extend(!0,{},M.ajaxSettings,A,{contentType:!1,processData:!1,cache:!1,type:j||"POST"});A.uploadProgress&&(o.xhr=function(){var t=M.ajaxSettings.xhr();return t.upload&&t.upload.addEventListener("progress",function(t){var e=0,n=t.loaded||t.position,i=t.total;t.lengthComputable&&(e=Math.ceil(n/i*100)),A.uploadProgress(t,n,i,e)},!1),t});o.data=null;var r=o.beforeSend;return o.beforeSend=function(t,e){A.formData?e.data=A.formData:e.data=n,r&&r.call(this,t,e)},M.ajax(o)}(c):M.ajax(A),D.removeData("jqxhr").data("jqxhr",b);for(var x=0;x<I.length;x++)I[x]=null;return this.trigger("form-submit-notify",[this,A]),this;function k(t){var e,n,u,p,r,d,h,f,i,o,m,g,a=D[0],v=M.Deferred();if(v.abort=function(t){f.abort(t)},t)for(n=0;n<I.length;n++)e=M(I[n]),P?e.prop("disabled",!1):e.removeAttr("disabled");(u=M.extend(!0,{},M.ajaxSettings,A)).context=u.context||u,r="jqFormIO"+(new Date).getTime();var s=a.ownerDocument,l=D.closest("body");if(u.iframeTarget?(o=(d=M(u.iframeTarget,s)).attr2("name"))?r=o:d.attr2("name",r):(d=M('<iframe name="'+r+'" src="'+u.iframeSrc+'" />',s)).css({position:"absolute",top:"-1000px",left:"-1000px"}),h=d[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var e="timeout"===t?"timeout":"aborted";L("aborting upload... "+e),this.aborted=1;try{h.contentWindow.document.execCommand&&h.contentWindow.document.execCommand("Stop")}catch(t){}d.attr("src",u.iframeSrc),f.error=e,u.error&&u.error.call(u.context,f,e,t),p&&M.event.trigger("ajaxError",[f,u,e]),u.complete&&u.complete.call(u.context,f,e)}},(p=u.global)&&0==M.active++&&M.event.trigger("ajaxStart"),p&&M.event.trigger("ajaxSend",[f,u]),u.beforeSend&&!1===u.beforeSend.call(u.context,f,u))return u.global&&M.active--,v.reject(),v;if(f.aborted)return v.reject(),v;(i=a.clk)&&(o=i.name)&&!i.disabled&&(u.extraData=u.extraData||{},u.extraData[o]=i.value,"image"===i.type&&(u.extraData[o+".x"]=a.clk_x,u.extraData[o+".y"]=a.clk_y));var y=1,b=2;function w(e){var n=null;try{e.contentWindow&&(n=e.contentWindow.document)}catch(t){L("cannot get iframe.contentWindow document: "+t)}if(n)return n;try{n=e.contentDocument?e.contentDocument:e.document}catch(t){L("cannot get iframe.contentDocument: "+t),n=e.document}return n}var c=M("meta[name=csrf-token]").attr("content"),x=M("meta[name=csrf-param]").attr("content");function k(){var t=D.attr2("target"),e=D.attr2("action"),n=D.attr("enctype")||D.attr("encoding")||"multipart/form-data";a.setAttribute("target",r),j&&!/post/i.test(j)||a.setAttribute("method","POST"),e!==u.url&&a.setAttribute("action",u.url),u.skipEncodingOverride||j&&!/post/i.test(j)||D.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),u.timeout&&(g=setTimeout(function(){m=!0,S(y)},u.timeout));var i=[];try{if(u.extraData)for(var o in u.extraData)u.extraData.hasOwnProperty(o)&&(M.isPlainObject(u.extraData[o])&&u.extraData[o].hasOwnProperty("name")&&u.extraData[o].hasOwnProperty("value")?i.push(M('<input type="hidden" name="'+u.extraData[o].name+'">',s).val(u.extraData[o].value).appendTo(a)[0]):i.push(M('<input type="hidden" name="'+o+'">',s).val(u.extraData[o]).appendTo(a)[0]));u.iframeTarget||d.appendTo(l),h.attachEvent?h.attachEvent("onload",S):h.addEventListener("load",S,!1),setTimeout(function t(){try{var e=w(h).readyState;L("state = "+e),e&&"uninitialized"===e.toLowerCase()&&setTimeout(t,50)}catch(t){L("Server abort: ",t," (",t.name,")"),S(b),g&&clearTimeout(g),g=void 0}},15);try{a.submit()}catch(t){document.createElement("form").submit.apply(a)}}finally{a.setAttribute("action",e),a.setAttribute("enctype",n),t?a.setAttribute("target",t):D.removeAttr("target"),M(i).remove()}}x&&c&&(u.extraData=u.extraData||{},u.extraData[x]=c),u.forceSync?k():setTimeout(k,10);var $,T,_,C=50;function S(t){if(!f.aborted&&!_){if((T=w(h))||(L("cannot access response document"),t=b),t===y&&f)return f.abort("timeout"),void v.reject(f,"timeout");if(t===b&&f)return f.abort("server abort"),void v.reject(f,"error","server abort");if(T&&T.location.href!==u.iframeSrc||m){h.detachEvent?h.detachEvent("onload",S):h.removeEventListener("load",S,!1);var e,n="success";try{if(m)throw"timeout";var i="xml"===u.dataType||T.XMLDocument||M.isXMLDoc(T);if(L("isXml="+i),!i&&window.opera&&(null===T.body||!T.body.innerHTML)&&--C)return L("requeing onLoad callback, DOM not available"),void setTimeout(S,250);var o=T.body?T.body:T.documentElement;f.responseText=o?o.innerHTML:null,f.responseXML=T.XMLDocument?T.XMLDocument:T,i&&(u.dataType="xml"),f.getResponseHeader=function(t){return{"content-type":u.dataType}[t.toLowerCase()]},o&&(f.status=Number(o.getAttribute("status"))||f.status,f.statusText=o.getAttribute("statusText")||f.statusText);var r,a,s,l=(u.dataType||"").toLowerCase(),c=/(json|script|text)/.test(l);c||u.textarea?(r=T.getElementsByTagName("textarea")[0])?(f.responseText=r.value,f.status=Number(r.getAttribute("status"))||f.status,f.statusText=r.getAttribute("statusText")||f.statusText):c&&(a=T.getElementsByTagName("pre")[0],s=T.getElementsByTagName("body")[0],a?f.responseText=a.textContent?a.textContent:a.innerText:s&&(f.responseText=s.textContent?s.textContent:s.innerText)):"xml"===l&&!f.responseXML&&f.responseText&&(f.responseXML=N(f.responseText));try{$=O(f,l,u)}catch(t){n="parsererror",f.error=e=t||n}}catch(t){L("error caught: ",t),n="error",f.error=e=t||n}f.aborted&&(L("upload aborted"),n=null),f.status&&(n=200<=f.status&&f.status<300||304===f.status?"success":"error"),"success"===n?(u.success&&u.success.call(u.context,$,"success",f),v.resolve(f.responseText,"success",f),p&&M.event.trigger("ajaxSuccess",[f,u])):n&&(void 0===e&&(e=f.statusText),u.error&&u.error.call(u.context,f,n,e),v.reject(f,"error",e),p&&M.event.trigger("ajaxError",[f,u,e])),p&&M.event.trigger("ajaxComplete",[f,u]),p&&!--M.active&&M.event.trigger("ajaxStop"),u.complete&&u.complete.call(u.context,f,n),_=!0,u.timeout&&clearTimeout(g),setTimeout(function(){u.iframeTarget?d.attr("src",u.iframeSrc):d.remove(),f.responseXML=null},100)}}}var N=M.parseXML||function(t,e){return window.ActiveXObject?((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t)):e=(new DOMParser).parseFromString(t,"text/xml"),e&&e.documentElement&&"parsererror"!==e.documentElement.nodeName?e:null},E=M.parseJSON||function(t){return window.eval("("+t+")")},O=function(t,e,n){var i=t.getResponseHeader("content-type")||"",o=("xml"===e||!e)&&0<=i.indexOf("xml"),r=o?t.responseXML:t.responseText;return o&&"parsererror"===r.documentElement.nodeName&&M.error&&M.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,e)),"string"==typeof r&&(("json"===e||!e)&&0<=i.indexOf("json")?r=E(r):("script"===e||!e)&&0<=i.indexOf("javascript")&&M.globalEval(r)),r};return v}},M.fn.ajaxForm=function(t,e,n,i){if(("string"==typeof t||!1===t&&0<arguments.length)&&(t={url:t,data:e,dataType:n},"function"==typeof i&&(t.success=i)),(t=t||{}).delegation=t.delegation&&M.isFunction(M.fn.on),t.delegation||0!==this.length)return t.delegation?(M(document).off("submit.form-plugin",this.selector,r).off("click.form-plugin",this.selector,a).on("submit.form-plugin",this.selector,t,r).on("click.form-plugin",this.selector,t,a),this):this.ajaxFormUnbind().on("submit.form-plugin",t,r).on("click.form-plugin",t,a);var o={s:this.selector,c:this.context};return!M.isReady&&o.s?(L("DOM not ready, queuing ajaxForm"),M(function(){M(o.s,o.c).ajaxForm(t)})):L("terminating; zero elements found by selector"+(M.isReady?"":" (DOM not ready)")),this},M.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},M.fn.formToArray=function(t,e,n){var i=[];if(0===this.length)return i;var o,r,a,s,l,c,u,p,d,h,f=this[0],m=this.attr("id"),g=(g=t||void 0===f.elements?f.getElementsByTagName("*"):f.elements)&&M.makeArray(g);if(m&&(t||/(Edge|Trident)\//.test(navigator.userAgent))&&(o=M(':input[form="'+m+'"]').get()).length&&(g=(g||[]).concat(o)),!g||!g.length)return i;for(M.isFunction(n)&&(g=M.map(g,n)),r=0,c=g.length;r<c;r++)if((h=(l=g[r]).name)&&!l.disabled)if(t&&f.clk&&"image"===l.type)f.clk===l&&(i.push({name:h,value:M(l).val(),type:l.type}),i.push({name:h+".x",value:f.clk_x},{name:h+".y",value:f.clk_y}));else if((s=M.fieldValue(l,!0))&&s.constructor===Array)for(e&&e.push(l),a=0,u=s.length;a<u;a++)i.push({name:h,value:s[a]});else if($.fileapi&&"file"===l.type){e&&e.push(l);var v=l.files;if(v.length)for(a=0;a<v.length;a++)i.push({name:h,value:v[a],type:l.type});else i.push({name:h,value:"",type:l.type})}else null!=s&&(e&&e.push(l),i.push({name:h,value:s,type:l.type,required:l.required}));return t||!f.clk||(h=(d=(p=M(f.clk))[0]).name)&&!d.disabled&&"image"===d.type&&(i.push({name:h,value:p.val()}),i.push({name:h+".x",value:f.clk_x},{name:h+".y",value:f.clk_y})),i},M.fn.formSerialize=function(t){return M.param(this.formToArray(t))},M.fn.fieldSerialize=function(o){var r=[];return this.each(function(){var t=this.name;if(t){var e=M.fieldValue(this,o);if(e&&e.constructor===Array)for(var n=0,i=e.length;n<i;n++)r.push({name:t,value:e[n]});else null!=e&&r.push({name:this.name,value:e})}}),M.param(r)},M.fn.fieldValue=function(t){for(var e=[],n=0,i=this.length;n<i;n++){var o=this[n],r=M.fieldValue(o,t);null==r||r.constructor===Array&&!r.length||(r.constructor===Array?M.merge(e,r):e.push(r))}return e},M.fieldValue=function(t,e){var n=t.name,i=t.type,o=t.tagName.toLowerCase();if(void 0===e&&(e=!0),e&&(!n||t.disabled||"reset"===i||"button"===i||("checkbox"===i||"radio"===i)&&!t.checked||("submit"===i||"image"===i)&&t.form&&t.form.clk!==t||"select"===o&&-1===t.selectedIndex))return null;if("select"!==o)return M(t).val().replace(h,"\r\n");var r=t.selectedIndex;if(r<0)return null;for(var a=[],s=t.options,l="select-one"===i,c=l?r+1:s.length,u=l?r:0;u<c;u++){var p=s[u];if(p.selected&&!p.disabled){var d=(d=p.value)||(p.attributes&&p.attributes.value&&!p.attributes.value.specified?p.text:p.value);if(l)return d;a.push(d)}}return a},M.fn.clearForm=function(t){return this.each(function(){M("input,select,textarea",this).clearFields(t)})},M.fn.clearFields=M.fn.clearInputs=function(n){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,e=this.tagName.toLowerCase();i.test(t)||"textarea"===e?this.value="":"checkbox"===t||"radio"===t?this.checked=!1:"select"===e?this.selectedIndex=-1:"file"===t?/MSIE/.test(navigator.userAgent)?M(this).replaceWith(M(this).clone(!0)):M(this).val(""):n&&(!0===n&&/hidden/.test(t)||"string"==typeof n&&M(this).is(n))&&(this.value="")})},M.fn.resetForm=function(){return this.each(function(){var e=M(this),t=this.tagName.toLowerCase();switch(t){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var n=e.parents("select");return n.length&&n[0].multiple?"option"===t?this.selected=this.defaultSelected:e.find("option").resetForm():n.resetForm(),!0;case"select":return e.find("option").each(function(t){if(this.selected=this.defaultSelected,this.defaultSelected&&!e[0].multiple)return e[0].selectedIndex=t,!1}),!0;case"label":var i=M(e.attr("for")),o=e.find("input,select,textarea");return i[0]&&o.unshift(i[0]),o.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return e.find("form,input,label,select,textarea").resetForm(),!0}})},M.fn.enable=function(t){return void 0===t&&(t=!0),this.each(function(){this.disabled=!t})},M.fn.selected=function(n){return void 0===n&&(n=!0),this.each(function(){var t,e=this.type;"checkbox"===e||"radio"===e?this.checked=n:"option"===this.tagName.toLowerCase()&&(t=M(this).parent("select"),n&&t[0]&&"select-one"===t[0].type&&t.find("option").selected(!1),this.selected=n)})},M.fn.ajaxSubmit.debug=!1}),define("mockup-patterns-modal",["jquery","underscore","pat-base","mockup-patterns-backdrop","pat-registry","mockup-router","mockup-utils","translate","jquery.form"],function(p,l,t,i,o,e,r,a){"use strict";return t.extend({name:"plone-modal",trigger:".pat-plone-modal",parser:"mockup",createModal:null,$model:null,defaults:{width:"",height:"",margin:20,position:"center middle",triggers:[],zIndexSelector:".plone-modal-wrapper,.plone-modal-backdrop",backdrop:"body",backdropOptions:{zIndex:"1040",opacity:"0.85",className:"plone-modal-backdrop",classActiveName:"plone-backdrop-active",closeOnEsc:!0,closeOnClick:!0},title:null,titleSelector:"h1:first",buttons:'.formControls > input[type="submit"], .formControls > button',content:"#content",automaticallyAddButtonActions:!0,loadLinksWithinModal:!0,prependContent:".portalMessage, #global_statusmessage",onRender:null,templateOptions:{className:"plone-modal fade",classDialog:"plone-modal-dialog",classModal:"plone-modal-content",classHeaderName:"plone-modal-header",classBodyName:"plone-modal-body",classFooterName:"plone-modal-footer",classWrapperName:"plone-modal-wrapper",classWrapperInnerName:"modal-wrapper-inner",classActiveName:"in",classPrependName:"",classContentName:"",template:'<div class="<%= options.className %>">
3645  <div class="<%= options.classDialog %>">    <div class="<%= options.classModal %>">      <div class="<%= options.classHeaderName %>">        <a class="plone-modal-close">&times;</a>        <% if (title) { %><h2 class="plone-modal-title"><%= title %></h2><% } %>      </div>      <div class="<%= options.classBodyName %>">        <div class="<%= options.classPrependName %>"><%= prepend %></div>         <div class="<%= options.classContentName %>"><%= content %></div>      </div>      <div class="<%= options.classFooterName %>">         <% if (buttons) { %><%= buttons %><% } %>      </div>    </div>  </div></div>'},actions:{},actionOptions:{eventType:"click",disableAjaxFormSubmit:!1,target:null,ajaxUrl:null,modalFunction:null,isForm:!1,timeout:5e3,displayInModal:!0,reloadWindowOnClose:!0,error:".portalMessage.error, .alert-danger",formFieldError:".field.error",onSuccess:null,onError:null,onFormError:null,onTimeout:null,redirectOnResponse:!1,redirectToUrl:function(t,e,n){var i=/<body.*data-view-url=[\"'](.*)[\"'].*/im.exec(e);return i&&1<i.length||(i=/<body.*data-base-url=[\"'](.*)[\"'].*/im.exec(e))&&1<i.length?i[1].split('"')[0]:(i=/<base.*href=[\"'](.*)[\"'].*/im.exec(e))&&1<i.length?i[1]:""}},routerOptions:{id:null,pathExp:null},form:function(t){var a=this,s=a.$modal;a.options.automaticallyAddButtonActions&&(t[a.options.buttons]={}),t.a={},p.each(t,function(t,n){var e=l.union(l.keys(a.options.actionOptions),["templateOptions"]),i=p.extend(!0,{},a.options.actionOptions,l.pick(n,e));n.templateOptions=p.extend(!0,n.templateOptions,a.options.templateOptions);var o=l.union(l.keys(a.options.actionOptions),["actions","actionOptions"]),r=p.extend(!0,l.omit(n,o),a.options);p(t,p("."+n.templateOptions.classBodyName,s)).each(function(t){var e=p(this);e.on(i.eventType,function(t){t.stopPropagation(),t.preventDefault(),a.loading.show(!1),null!==i.modalFunction?a[i.modalFunction]():p.nodeName(e[0],"input")||p.nodeName(e[0],"button")||!0===n.isForm?a.options.handleFormAction.apply(a,[e,i,r]):null===n.ajaxUrl&&!p.nodeName(e[0],"a")||a.options.handleLinkAction.apply(a,[e,i,r])})})})},handleFormAction:function(o,r,a){var t,e,s=this,n={};if(n[o.attr("name")]=o.attr("value"),t=p.nodeName(o[0],"form")?o:o.parents("form:not(.disableAutoSubmit)"),e=null!==r.ajaxUrl?"function"==typeof r.ajaxUrl?r.ajaxUrl.apply(s,[o,r]):r.ajaxUrl:o.parents("form").attr("action"),r.disableAjaxFormSubmit)return o.attr("name")&&o.attr("value")&&t.append(p('<input type="hidden" name="'+o.attr("name")+'" value="'+o.attr("value")+'" />')),void t.trigger("submit");t.on("submit",function(t){t.preventDefault()}),t.trigger("submit"),s.loading.show(!1),t.ajaxSubmit({timeout:r.timeout,data:n,url:e,error:function(t,e,n){s.loading.hide(),"timeout"===e&&r.onTimeout?r.onTimeout.apply(s,t,n):r.onError?"string"==typeof r.onError?window[r.onError](t,e,n):r.onError(t,e,n):console.log("error happened",e," do something"),s.emit("formActionError",[t,e,n])},success:function(t,e,n,i){s.loading.hide(),0===p(r.error,t).size()&&0===p(r.formFieldError,t).size()?!0!==r.redirectOnResponse?(r.onSuccess&&("string"==typeof r.onSuccess?window[r.onSuccess](s,t,e,n,i):r.onSuccess(s,t,e,n,i)),!0===r.displayInModal?s.redraw(t,a):(o.trigger("destroy.plone-modal.patterns"),r.reloadWindowOnClose&&s.reloadWindow()),s.emit("formActionSuccess",[t,e,n,i])):"function"==typeof r.redirectToUrl?window.parent.location.href=r.redirectToUrl.apply(s,[o,t,r]):window.parent.location.href=r.redirectToUrl:r.onF
3645ormError?"string"==typeof r.onFormError?window[r.onFormError](s,t,e,n,i):r.onFormError(s,t,e,n,i):s.redraw(t,a)}})},handleLinkAction:function(t,i,o){var e,r=this;t.hasClass("pat-plone-modal")||(e=i.ajaxUrl?"function"==typeof i.ajaxUrl?i.ajaxUrl.apply(r,[t,i]):i.ajaxUrl:t.attr("href"),!1!==i.displayInModal?p.ajax({url:e}).fail(function(t,e,n){"timeout"===e&&i.onTimeout?i.onTimeout(r.$modal,t,n):i.onError?i.onError(t,e,n):window.alert(a("There was an error loading modal.")),r.emit("linkActionError",[t,e,n])}).done(function(t,e,n){r.redraw(t,o),i.onSuccess&&("string"==typeof i.onSuccess?window[i.onSuccess](r,t,e,n):i.onSuccess(r,t,e,n)),r.emit("linkActionSuccess",[t,e,n])}).always(function(){r.loading.hide()}):"_blank"===t.attr("target")?(window.open(e,"_blank"),r.loading.hide()):window.location=e)},render:function(t){var e,n,i,o=this;o.emit("before-render"),o.$raw&&(e=o.$raw.clone(),p("input:checked",e).each(function(){this.setAttribute&&this.setAttribute("checked","checked")}),n={title:"",prepend:"<div />",content:"",buttons:'<div class="pattern-modal-buttons"></div>',options:t.templateOptions},null===t.title?(i=p(t.titleSelector,e),n.title=i.html(),p(t.titleSelector,e).remove()):n.title=t.title,t.prependContent&&(n.prepend=p("<div />").append(p(t.prependContent,e).clone()).html(),p(t.prependContent,e).remove()),t.content?n.content=p(t.content,e).html():n.content=e.html(),o.$modal=p(l.template(o.options.templateOptions.template)(n)),o.$modalDialog=p("> ."+o.options.templateOptions.classDialog,o.$modal),o.$modalContent=p("> ."+o.options.templateOptions.classModal,o.$modalDialog),p("form",o.$modal).on("keydown",function(t){13===t.keyCode&&"TEXTAREA"!==t.target.nodeName&&(t.preventDefault(),p("input[type=submit], button[type=submit], button:not(type)",this).eq(0).trigger("click"))}),p(t.buttons,o.$modal).each(function(){var e=p(this);e.on("click",function(t){t.stopPropagation(),t.preventDefault()}).clone().appendTo(p(".pattern-modal-buttons",o.$modal)).off("click").on("click",function(t){t.stopPropagation(),t.preventDefault(),e.trigger("click")}),e.hide()}),o.emit("before-events-setup"),p(".plone-modal-header > a.plone-modal-close, .plone-modal-footer > a.plone-modal-close",o.$modal).off("click").on("click",function(t){t.stopPropagation(),t.preventDefault(),p(t.target).trigger("destroy.plone-modal.patterns")}),t.form&&t.form.apply(o,[t.actions]),o.$modal.addClass(o.options.templateOptions.className).on("destroy.plone-modal.patterns",function(t){t.stopPropagation(),o.hide()}).on("resize.plone-modal.patterns",function(t){t.stopPropagation(),t.preventDefault(),o.positionModal()}).appendTo(o.$wrapperInner),o.options.loadLinksWithinModal&&o.$modal.on("click",function(t){t.stopPropagation(),p.nodeName(t.target,"a")&&t.preventDefault(),o.$modal.trigger("modal-click")}),o.$modal.data("pattern-"+o.name,o),o.emit("after-render"),t.onRender&&("string"==typeof t.onRender?window[t.onRender](o):t.onRender(o)))}},reloadWindow:function(){window.parent.location.reload()},init:function(){var o=this;o.options.loadLinksWithinModal=p.parseJSON(o.options.loadLinksWithinModal),null!==o.options.routerOptions.id&&e.addRoute("modal",o.options.routerOptions.id,function(){this.show()},o,o.options.routerOptions.pathExp,o.options.routerOptions.expReplace),!0===o.options.backdropOptions.closeOnEsc&&p(document).on("keydown",function(t,e){o.$el.is("."+o.options.templateOptions.classActiveName)&&27===t.keyCode&&o.hide()}),p(window.parent).resize(function(){o.positionModal()}),o.options.triggers&&p.each(o.options.triggers,function(t,e){var n=e.substring(0,e.indexOf(" ")),i=e.substring(e.indexOf(" "),e.length);p(i||o.$el).on(n,function(t){t.stopPropagation(),t.preventDefault(),o.show()})}),o.$el.is("a")&&(o.$el.attr("href")&&!o.options.image&&(o.options.target||"#"!==o.$el.attr("href").substr(0,1)||(o.options.target=o.$el.attr("href"),o.options.content=""),o.options.ajaxUrl||"#"===o.$el.attr("href").substr(0,1)||(o.options.ajaxUrl=function(){return o.$el.attr("href")})),o.$el.on("click",function(t){t.stopPropagation(),t.preventDefault(),o.show()})),o.initModal()},createAjaxModal:function(){var o=this;
3645o.emit("before-ajax"),o.loading.show();var t=o.options.ajaxUrl;"function"==typeof t&&(t=t.apply(o,[o.options])),o.ajaxXHR=p.ajax({url:t,type:o.options.ajaxType}).done(function(t,e,n){o.ajaxXHR=void 0,o.$raw=p("<div />").append(p(r.parseBodyTag(t))),o.emit("after-ajax",o,e,n),o._show()}).fail(function(t,e,n){var i=o.options.actionOptions;"timeout"===e&&i.onTimeout?i.onTimeout(o.$modal,t,n):i.onError?i.onError(t,e,n):(window.alert(a("There was an error loading modal.")),o.hide()),o.emit("linkActionError",[t,e,n])}).always(function(){o.loading.hide()})},createTargetModal:function(){this.$raw=p(this.options.target).clone(),this._show()},createBasicModal:function(){this.$raw=p("<div/>").html(this.$el.clone()),this._show()},createHtmlModal:function(){var t=p(this.options.html);this.$raw=t,this._show()},createImageModal:function(){var t=this;t.$wrapper.addClass("image-modal");var e=t.$el.attr("href"),n=t.$el.attr("data-modal-srcset")||"",i=p.trim(t.$el.context.innerText)||"Image";t.$raw=p("<div><h1>"+i+'</h1><div id="content"><div class="modal-image"><img src="'+e+'" srcset="'+n+'" /></div></div></div>'),t._show()},initModal:function(){var t=this;t.options.ajaxUrl?t.createModal=t.createAjaxModal:t.options.target?t.createModal=t.createTargetModal:t.options.html?t.createModal=t.createHtmlModal:t.options.image?t.createModal=t.createImageModal:t.createModal=t.createBasicModal},findPosition:function(t,e,n,i,o,r,a){var s,l,c,u={},p=c=s="auto";return"left"===t?(c=r<i?"0px":n+"px",u.left=c):"right"===t?(p=r<i?"0px":n+"px",u.right=p,u.left="auto"):(c=r<i?"0px":r/2-i/2-n+"px",u.left=c),"top"===e?(s=a<o?"0px":n+"px",u.top=s):"bottom"===e?(l=a<o?"0px":n+"px",u.bottom=l,u.top="auto"):(s=a<o?"0px":a/2-o/2-n+"px",u.top=s),u},modalInitialized:function(){return null!==this.$modal&&void 0!==this.$modal},positionModal:function(){var t=this;if(t.modalInitialized()){t.$modal.removeAttr("style"),t.$wrapper.parent().is("body")&&t.$wrapper.height(p(window.parent).height());var e="function"==typeof t.options.margin?t.options.margin():t.options.margin;t.$modal.css({position:"absolute",padding:e}),t.$modalDialog.css({margin:"0",padding:"0",width:t.options.width,height:t.options.height}),t.$modalContent.css({width:t.options.width});var n=t.options.position.split(" "),i=n[0],o=n[1],r=t.$modalDialog.outerWidth(!0),a=t.$modalDialog.outerHeight(!0),s=t.$wrapperInner.width(),l=t.$wrapperInner.height(),c=t.findPosition(i,o,e,r,a,s,l);for(var u in c)t.$modalDialog.css(u,c[u])}},render:function(t){this.emit("render"),this.options.render.apply(this,[t]),this.emit("rendered")},show:function(){this.backdrop=this.createBackdrop(),this.createModal()},createBackdrop:function(){var e=this,n=new i(e.$el.parents(e.options.backdrop),e.options.backdropOptions),t=1041;return p(e.options.zIndexSelector).each(function(){t=Math.max(t,parseInt(p(this).css("zIndex"))+1||1041)}),e.$wrapper=p("<div/>").hide().css({"z-index":t,"overflow-y":"auto",position:"fixed",height:"100%",width:"100%",bottom:"0",left:"0",right:"0",top:"0"}).addClass(e.options.templateOptions.classWrapperName).insertBefore(n.$backdrop).on("click",function(t){e.options.backdropOptions.closeOnClick&&(t.stopPropagation(),t.preventDefault(),n.hide())}),n.on("hidden",function(t){void 0!==e.$modal&&e.$modal.hasClass(e.options.templateOptions.classActiveName)&&e.hide()}),e.loading=new r.Loading({backdrop:n}),e.$wrapperInner=p("<div/>").addClass(e.options.classWrapperInnerName).css({position:"absolute",bottom:"0",left:"0",right:"0",top:"0"}).appendTo(e.$wrapper),n},_show:function(){var t=this;t.render.apply(t,[t.options]),t.emit("show"),t.backdrop.show(),t.$wrapper.show(),t.loading.hide(),t.$el.addClass(t.options.templateOptions.classActiveName),t.$modal.addClass(t.options.templateOptions.classActiveName),o.scan(t.$modal),t.positionModal(),p(window.parent).on("resize.plone-modal.patterns",function(){t.positionModal()}),p("body").addClass("plone-modal-open"),t.emit("shown")},hide:function(){var t=this;t.ajaxXHR&&t.ajaxXHR.abort(),t.emit("hide"),t._suppressHide&&!window.confirm(t._suppressHide)||(t.loading.hide(),t.$el.removeClass(t.o
3645ptions.templateOptions.classActiveName),void 0!==t.$modal&&(t.$modal.remove(),t.initModal()),t.$wrapper.remove(),p(".plone-modal",p("body")).size()<1&&(t._suppressHide=void 0,t.backdrop.hide(),p("body").removeClass("plone-modal-open"),p(window.parent).off("resize.plone-modal.patterns")),t.emit("hidden"))},redraw:function(t,e){var n=this;n.emit("beforeDraw"),n.$modal.remove(),n.$raw=p("<div />").append(p(r.parseBodyTag(t))),n.render.apply(n,[e||n.options]),n.$modal.addClass(n.options.templateOptions.classActiveName),n.positionModal(),o.scan(n.$modal),n.emit("afterDraw")}})}),define("mockup-patterns-navigationmarker",["jquery","pat-base"],function(c,t){return t.extend({name:"navigationmarker",trigger:".pat-navigationmarker",parser:"mockup",init:function(){var l=document.querySelector('head link[rel="canonical"]').href||window.location.href;c("a",this.$el).each(function(){var t=this.href.replace("/view","");if(-1!==l.indexOf(t)){var e=c(this).parent(),n=e.find("> input");n.length&&(n[0].checked=!0);for(var i=l.split("/"),o=t.split("/"),r=!1,a=0,s=o.length;a<s;a++)r=!1,o[a]===i[a]&&(r=!0);r&&e.addClass("inPath"),l===t&&e.addClass("current")}})}})}),define("mockup-patterns-preventdoublesubmit",["jquery","pat-base","translate"],function(n,t,e){"use strict";return t.extend({name:"preventdoublesubmit",trigger:".pat-preventdoublesubmit",parser:"mockup",defaults:{message:e("You already clicked the submit button. Do you really want to submit this form again?"),guardClassName:"submitting",optOutClassName:"allowMultiSubmit"},init:function(){var e=this;e.$el.is("form")&&n(":submit",e.$el).click(function(t){return n(":submit").removeAttr("clicked"),n(this).attr("clicked","clicked"),n(this).hasClass(e.options.guardClassName)&&!n(this).hasClass(e.options.optOutClassName)?e._confirm.call(e):void n(this).addClass(e.options.guardClassName)})},_confirm:function(t){return window.confirm(this.options.message)}})}),function(t){define("bootstrap-collapse",["jquery"],function(){return function(){return function(a){"use strict";var s=function(t,e){this.$element=a(t),this.options=a.extend({},s.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function o(t){var e,n=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(n)}function l(i){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},s.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||t.data("bs.collapse",e=new s(this,n)),"string"==typeof i&&e[i]()})}s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var n=a.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){e&&e.length&&(l.call(e,"hide"),t||e.data("bs.collapse",null));var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return o.call(this);var r=a.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",a.proxy(o,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[i](this.$element[0][r])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return n.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var n=a(e);this.addAriaAndCollapsedClass(o(n),n)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=s,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var n=o(e),i=n.data("bs.collapse")?"toggle":e.data();l.call(n,i)})}(jQuery),window.jQuery.fn.collapse.Constructor}.apply(t,arguments)})}(this),function(t){define("bootstrap-dropdown",["jquery"],function(){return function(){!function(a){"use strict";function i(t){a(t).on("click.bs.dropdown",this.toggle)}var s='[data-toggle="dropdown"]';function l(t){var e=t.attr("data-target"),n="#"!==(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))?a(document).find(e):null;return n&&n.length?n:t.parent()}function r(i){i&&3===i.which||(a(".dropdown-backdrop").remove(),a(s).each(function(){var t=a(this),e=l(t),n={relatedTarget:this};e.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&a.contains(e[0],i.target)||(e.trigger(i=a.Event("hide.bs.dropdown",n)),i.isDefaultPrevented()||(t.attr("aria-expanded","fal
3645se"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",n)))))}))}i.VERSION="3.4.1",i.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var n=l(e),i=n.hasClass("open");if(r(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",r);var o={relatedTarget:this};if(n.trigger(t=a.Event("show.bs.dropdown",o)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(a.Event("shown.bs.dropdown",o))}return!1}},i.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=l(e),i=n.hasClass("open");if(!i&&27!=t.which||i&&27==t.which)return 27==t.which&&n.find(s).trigger("focus"),e.trigger("click");var o,r=n.find(".dropdown-menu li:not(.disabled):visible a");r.length&&(o=r.index(t.target),38==t.which&&0<o&&o--,40==t.which&&o<r.length-1&&o++,~o||(o=0),r.eq(o).trigger("focus"))}}};var t=a.fn.dropdown;a.fn.dropdown=function(n){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},a.fn.dropdown.Constructor=i,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery)}.apply(t,arguments)})}(this),function(t){define("bootstrap-tooltip",["jquery"],function(){return function(){!function(m){"use strict";var i=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},g=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,v=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=t;for(var o=m.map(e,function(t,e){return e}),r=m(i.body).find("*"),a=0,s=r.length;a<s;a++){var l=r[a],c=l.nodeName.toLowerCase();if(-1!==m.inArray(c,o))for(var u=m.map(l.attributes,function(t){return t}),p=[].concat(e["*"]||[],e[c]||[]),d=0,h=u.length;d<h;d++)!function(t,e){var n=t.nodeName.toLowerCase();if(-1!==m.inArray(n,e))return-1===m.inArray(n,f)||Boolean(t.nodeValue.match(g)||t.nodeValue.match(v));for(var i=m(e).filter(function(t,e){return e instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return 1}(u[d],p)&&l.removeAttribute(u[d].nodeName);else l.parentNode.removeChild(l)}return i.body.innerHTML}function y(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}y.VERSION="3.4.1",y.TRANSITION_DURATION=150,y.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:t},y.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=m(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(document).find(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var r,a,s=i[o];"click"==s?this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this)):"manual"!=s&&(r="hover"==s?"mouseenter":"focusin",a="hover"==s?"mouseleave":"focusout",this.$element.on(r+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,m.proxy(this.leave,this)))}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},y.prototype.getDefaults=function(){return y.DEFAULTS},y.prototype.getOptions=function(t){var e=this.$element.data();for(var n in e)e.hasOwnProperty(n)&&-1!==m.inArray(n,i)&&delete e[n];return(t=m.extend({},this.getDefaults(),e,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=o(t.template,t.whiteList,t.sanitizeFn)),t},y.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&m.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},y.prototype.enter=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),t instanceof m.Event&&(e.inState["focusin"==t.type?"focu
3645s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},y.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},y.prototype.leave=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),t instanceof m.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},y.prototype.show=function(){var t=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var n=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(r);s&&(r=r.replace(a,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?i.appendTo(m(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l,c,u=this.getPosition(),p=i[0].offsetWidth,d=i[0].offsetHeight;s&&(l=r,c=this.getPosition(this.$viewport),r="bottom"==r&&u.bottom+d>c.bottom?"top":"top"==r&&u.top-d<c.top?"bottom":"right"==r&&u.right+p>c.width?"left":"left"==r&&u.left-p<c.left?"right":r,i.removeClass(l).addClass(r));var h=this.getCalculatedOffset(r,u,p,d);this.applyPlacement(h,r);var f=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};m.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",f).emulateTransitionEnd(y.TRANSITION_DURATION):f()}},y.prototype.applyPlacement=function(t,e){var n=this.tip(),i=n[0].offsetWidth,o=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),t.top+=r,t.left+=a,m.offset.setOffset(n[0],m.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in");var s=n[0].offsetWidth,l=n[0].offsetHeight;"top"==e&&l!=o&&(t.top=t.top+o-l);var c=this.getViewportAdjustedDelta(e,t,s,l);c.left?t.left+=c.left:t.top+=c.top;var u=/top|bottom/.test(e),p=u?2*c.left-i+s:2*c.top-o+l,d=u?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(p,n[0][d],u)},y.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},y.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=o(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},y.prototype.hide=function(t){var e=this,n=m(this.$tip),i=m.Event("hide.bs."+this.type);function o(){"in"!=e.hoverState&&n.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),m.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(y.TRANSITION_DURATION):o(),this.hoverState=null,this},y.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},y.prototype.hasContent=function(){return this.getTitle()},y.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName,i=e.getBoundingClientRect();null==i.width&&(i=m.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&e instanceof window.SVGElement,r=n?{top:0,left:0}:o?null:t.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=n?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},i,a,s,r)},y.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},y.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r,a,s,l,c=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport);return/right|left/.test(t)?(r=e.top-c-u.scroll,a=e.top+c-u.scroll+i,r<u.top?o.top=u.top-r:a>u.top+u.height&&(o.top=u.top+u.height-a)):(s=e.left-c,l=e.left+c+n,s<u.left?o.left
vendor: 2,385 bytes, lines 3645-3646
3645=u.left-s:l>u.right&&(o.left=u.left+u.width-l)),o},y.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},y.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},y.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},y.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},y.prototype.enable=function(){this.enabled=!0},y.prototype.disable=function(){this.enabled=!1},y.prototype.toggleEnabled=function(){this.enabled=!this.enabled},y.prototype.toggle=function(t){var e=this;t&&((e=m(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},y.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},y.prototype.sanitizeHtml=function(t){return o(t,this.options.whiteList,this.options.sanitizeFn)};var e=m.fn.tooltip;m.fn.tooltip=function(i){return this.each(function(){var t=m(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.tooltip",e=new y(this,n)),"string"==typeof i&&e[i]())})},m.fn.tooltip.Constructor=y,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=e,this}}(jQuery)}.apply(t,arguments)})}(this),require(["mockup-patterns-autotoc","mockup-patterns-contentloader","mockup-patterns-cookietrigger","mockup-patterns-formautofocus","mockup-patterns-formunloadalert","mockup-patterns-livesearch","mockup-patterns-markspeciallinks","mockup-patterns-modal","mockup-patterns-navigationmarker","mockup-patterns-preventdoublesubmit","bootstrap-collapse","bootstrap-dropdown","bootstrap-tooltip"],function(){}),define("/home/vincentfretin/workspace/buildout.coredev-5.2/src/plone.staticresources/src/plone/staticresources/static/plone.js",function(){});
3646//# sourceMappingURL=plone-compiled.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.